T81 Foundation

Dependency Firewall

This document is the normative structural dependency policy for the t81-foundation repository.

Allowed Dependency Graph

graph TD
  CT[core/types]
  CI[core/isa]
  CV[core/vm]
  KA[kernel/axion]
  RT[runtime/tracing]
  RJ[runtime/jit]
  EX[experimental/*]
  TOOLS[tools/*]
  PUB[include/t81/**]
  INT[internal/**]

  CI --> CT
  CV --> CI
  CV --> CT
  KA --> CT
  KA --> CI
  KA --> CV
  RT --> CT
  RT --> CI
  RT --> CV
  RJ --> CT
  RJ --> CI
  RJ --> CV
  EX --> CT
  EX --> CI
  EX --> CV
  EX --> KA
  EX --> RT
  EX --> RJ

  TOOLS --> PUB

  PUB -.forbidden.-> INT
  CT -.forbidden.-> EX
  CI -.forbidden.-> EX
  CV -.forbidden.-> EX

Rules

Enforcement

The following scripts enforce this firewall:

Both scripts must pass before merge for structural changes.

Enforcement Escalation Plan