Nomos Developer Documentation
ARCHITECTURE · FORMAL CONTRACTS (8)

Open-Core Architecture Specifications

Canonical design-time contracts synchronized from the Apache 2.0 mgantlett/nomos repository. Every specification follows the deterministic Blueprint spine with compiled Go SSoT contracts and table-driven verification vectors.

LIVE DOGFOODING SPECIMEN // SELF-HOSTED 4-LAYER COMPILER (mgantlett/nomos @ 9301e74) Inspect Live Repo on GitHub ->

Live 4-Layer Progressive Intent Compiler Sample (mgantlett/nomos)

Open-Core nomos compiles and enforces its own 8 core domains across all four progressive layers (86/86 bound TC-* vectors). Select any layer below to inspect the live Trunk artifact, Go SSoT contract, and 9-spec Git Notes receipt.

LAYER 0 intent/intent.md Day 1 · 1-Page Charter · 7 Laws & 8 Domains
Open intent/intent.md ->

Defines what nomos does in plain English, its 7 non-negotiable engineering laws, and the 8 Canonical Domain Specifications mapped 1:1 to substrate/ Go packages.

# The Nomos Layer 0 North Star Charter (intent/intent.md)
Nomos is a deterministic Git worktree and AST compiler harness for AI coding agents.

| Domain # | Canonical Layer 2 Specification            | Target substrate/ Package   |
| -------- | ------------------------------------------ | --------------------------- |
| 1        | go_ssot_and_json_schema_spec.md            | core/config, core/types     |
| 2        | nomos_hermetic_worktree_spec.md            | core/workspace, core/capbac |
| 3        | task_lifecycle_cli_spec.md                 | modules/task, core/storage  |
| 4        | nomos_intent_traceability_spec.md          | modules/verify              |
| 5..8     | tree_sitter / mneme / ncte / physics specs | treesitter, mem, ncte, cli  |

Agent Control, Hooks & Security

2 specs

Hermetic Git worktree isolation, CapBAC capability-flow taint tracking, zero-trust MCP boundaries, and NCTE-100 agent steering.

Tasks, Worktrees & 2PC Lifecycle

2 specs

Causal INT/SUB plane DAGs, phase state machines, atomic Two-Phase Commit releases, Git Notes receipts, and SQLite Mneme memory.

42-Gate Verification & Polyglot AST

2 specs

Tree-sitter and WASM polyglot AST scanners, software physics collision hulls, and deterministic structural verification.

Schemas, CLI, Memory & Prose

2 specs

Reflected Draft 2020-12 JSON Schema SSoT, actionable NomosError contracts, and bilateral AST @intent / @verifies obligation traceability.

Ask Sophia Docs & Specs Sophia AI · Grounded Nomos Architecture & Docs Concierge