T81 Foundation

T81 Architecture Overview

Status: Active
Last Verified (UTC): 2026-02-26
Maturity: Mixed (Frozen core, Experimental periphery)

Architecture File Style Guide

Purpose

Canonical architecture snapshot of implemented T81 boundaries and bounded determinism claim scope.

Layer Cake

flowchart TD
    L[T81Lang Frontend/Stdlib]
    I[TISC ISA]
    V[T81VM Interpreter]
    A[Axion Policy Engine]
    C[CanonFS]
    X[Experimental: Cognitive Tiers + Hanoi Concepts]

    L --> I --> V --> A --> C
    X -. optional / non-DCP .-> V
    X -. optional / non-DCP .-> A

Diagram source: diagrams/overview-layer-cake.mmd

Current State by Layer

Layer Primary code Primary spec Maturity Notes
Data types core/types/ spec/t81-data-types.md Frozen Deterministic-core surface.
TISC ISA core/isa/ + VM decode/dispatch spec/tisc-spec.md Frozen Opcode semantics/freeze governed.
VM interpreter core/vm/ spec/t81vm-spec.md Stable DCP includes interpreter path, not JIT.
Axion governance kernel/axion/ spec/axion-kernel.md Stable (bounded) Policy verdicts integrated in VM step path.
CanonFS src/canonfs/ + include/t81/canonfs/ spec/supplemental/canonfs-spec.md Stable (bounded) Integrity controls implemented; claims remain bounded.
Experimental tiers/kernel concepts experimental/ spec/cognitive-tiers.md, spec/supplemental/hanoi-kernel-spec.md Experimental / Stubbed Not part of DCP guarantees.

Binary Host Execution Boundary

T81 is a ternary semantic architecture executed on binary hardware. This is an intentional design choice, not a compromise. The platform implements native ternary semantics through a binary substrate compatibility layer:

Key Invariants

  1. Determinism claims are bounded to verified surfaces in DETERMINISTIC_CORE_PROFILE.md and DETERMINISM_SURFACE_REGISTRY.md.
  2. VM execution is policy-aware: interpreter dispatch and trace paths call Axion verdict evaluation before protected effects.
  3. Fault behavior is explicit trap semantics, not undefined behavior (include/t81/vm/traps.hpp + VM dispatch checks).
  4. Dependency boundaries are governed by DEPENDENCY_FIREWALL.md.

Execution Summary

sequenceDiagram
    participant FE as Frontend
    participant ISA as TISC Program
    participant VM as Interpreter
    participant AX as Axion
    participant FS as CanonFS

    FE->>ISA: deterministic bytecode emit
    ISA->>VM: load_program()
    VM->>AX: eval syscall context (step/opcode)
    AX-->>VM: Allow/Warn/Deny + reason
    VM->>FS: guarded persistence/read paths (when invoked)
    VM-->>VM: trap or continue deterministically

Diagram source: diagrams/governance-axion-sequence.mmd

Indeterminate

Evidence

Acceptance Criteria