This quickstart is the manifesto portal for automated agents: follow these steps to prove every session is reproducible, Axion-safe, and spec-aligned before publishing artifacts.
The goal is to give you the deterministic ledger keys (tools, specs, workflows) that map directly to the README portal.
Before making any edits, load and skim the following files:
../../AGENTS.md
– Canonical rules for agents, expectations, and constraints.
../explanation/ARCHITECTURE.md
– High-level overview of the T81 stack, layers, and directories.
../../spec/index.md
– Entrypoint into the formal specification documents.
cpp-quickstart.md
– Practical guide for building, running tests, and using the C++ API.
If the task relates to a specific subsystem:
../../spec/t81vm-spec.md, ../../spec/tisc-spec.md../../spec/t81lang-spec.md../../spec/t81-data-types.md../../spec/axion-kernel.md, ../../spec/cognitive-tiers.mdT81 is a C++-first, spec-driven project with supporting Python and Node tooling.
You will typically need:
-DT81_USE_CXX23=OFF)In GitHub-hosted environments or devcontainers, these are usually preinstalled or configured via the repository’s CI setup.
Unless otherwise specified, all commands are run from the repository root.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
You may use a different build type (e.g., Debug) when debugging:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build --parallel
ctest --test-dir build --output-on-failure
When adding or modifying core behavior, always run the tests and add new tests as needed under tests/cpp/.
Use this as a quick navigation reference:
Core specs (normative):
../../spec/ – formal specification for T81, VM, language, Axion, and cognitive tiers.../../spec/rfcs/ – proposals and accepted changes to the spec.Code:
../../include/t81/ – public C++ API headers (primary interface).../../src/ – C++ implementations and C API bridge.../../tests/cpp/ – C++ tests.Docs and site:
../ – documentation for users and contributors.../search/ – search index tooling.Legacy reference:
../../legacy/hanoivm/ – historical CWEB implementation, used as reference for migration.AI guidance:
../../AGENTS.md – main agent instructions.../explanation/ARCHITECTURE.md – architectural overview.../explanation/DESIGN.md – design principles and invariants.../status/TASKS.md – suggested tasks for humans and agents.../../CLAUDE.md, ../../.github/copilot-instructions.md, ../../.cursorrules – tool-specific adapters.Good targets for automated assistance:
Tests
Add or improve unit tests in tests/cpp/ for:
Implementation cleanups
src/ to better match include/t81/*.hpp.Documentation
spec/*.md and docs/*.md without altering defined behavior.Tooling and developer experience
cpp-quickstart.md, onboarding.md, or similar guides.../search/ and ../../scripts/.When in doubt, prefer tasks that improve clarity, test coverage, or maintainability over introducing new features.
These rules are intended for all agents and tools (Copilot, Claude, Cursor, etc.):
Spec-first
../../spec/ as the source of truth.Determinism
Separation of concerns
include/t81/src/tests/cpp/legacy/ (do not extend legacy for new features).Safety and Axion
../../spec/axion-kernel.md and ../../spec/cognitive-tiers.md.Scope of changes
Documentation discipline
When changing behavior, update:
../../spec/.../../include/t81/ and ../../src/.../../tests/cpp/.Keep docs and code synchronized.
A typical AI-assisted change should follow this loop:
Identify the target
Determine whether the task is about:
Find the relevant spec documents via ../../spec/index.md.
Read before writing
../../AGENTS.md, ../explanation/ARCHITECTURE.md, and the specific ../../spec/*.md that governs the behavior.../../include/t81/.Plan
Describe the intended change in plain language:
Implement
Verify
Rebuild and run tests:
cmake --build build --parallelctest --test-dir build --output-on-failureSummarize
Agents should request explicit human review or confirmation when:
Modifying:
spec/ semantics,Introducing:
include/t81/,For routine refactors, documentation clarity, and additional tests, standard review is still expected but does not usually require architectural decisions.
By following this quickstart, agents can integrate into the T81 Foundation workflow in a predictable way, improving the system without undermining its specification, determinism, or safety guarantees.
These diagrams echo the same quick mental model offered in docs/user-manual.md.
graph TD
A["T81Lang Source (.t81)"] --> B{Lexer}
B --> C["Token Stream"]
C --> D{Parser}
D --> E["AST"]
E --> F{Semantic Analyzer}
F --> G["Verified AST"]
G --> H{IR Generator}
H --> I["TISC IR"]
I --> J{Binary Emitter}
J --> K["TISC Bytecode"]
K --> L{Virtual Machine}
L --> M["Deterministic Result + Axion Trace"]
style A fill:#fff5e6,stroke:#ff9933
style K fill:#e6f3ff,stroke:#3399ff
style M fill:#e6ffe6,stroke:#33cc33
graph LR
subgraph Tooling
CLI["t81 CLI"] -->|compile| TISC["TISC bytecode"]
TISC -->|run| VM["HanoiVM + Axion"]
CLI -->|weights import/quantize| Weights[".t81w / GGUF"]
end
VM --> Trace["Axion log + `VERDICT_*`"]
Weights --> VM
CLI -->|benchmark| Bench["Benchmark runner"]
Bench --> Docs["`docs/reference/benchmarks.md`"]
Trace --> Docs
Docs --> Research["Research artifacts & publications"]