Every new scope enters the world the same way.
Seven phases. Each phase completes before the next begins. Each phase is idempotent.
Determine the parent scope, inherits path, and scope slug.
`` INPUT: Target directory path OUTPUT: parent_scope (nearest ancestor CANON.md), inherits_path, scope_slug (SCREAMING_CASE) GATE: Parent CANON.md must exist. Inherits path must resolve. `
Create the TRIAD. Scope enters at COMMUNITY tier.
` INPUT: scope_slug, inherits_path OUTPUT: CANON.md, VOCAB.md, README.md GATE: All three files exist. CANON.md contains inherits + ## Axiom + MUST. `
Add governance files to advance through tiers.
` COMMUNITY → BUSINESS: Add {SCOPE}.md BUSINESS → ENTERPRISE: Add COVERAGE.md + ROADMAP.md ENTERPRISE → AGENT: Add LEARNING.md AGENT → MAGIC: Score 255/255 on all 8 dimensions `
Run magic validate. Enforce 255 before merge.
` INPUT: Scope directory OUTPUT: 255/255 VALID or FAIL with dimension breakdown GATE: Score < 255 blocks merge to main. `
Register in the topology. Scope becomes routable.
` INPUT: Validated scope (255/255 from Phase 4) OUTPUT: Scope present in scopes.json. ORG/USER routing operational. GATE: magic://SCOPE resolves. `
Compile governance to runtime. The transaction fires.
` INPUT: Governed .md tree + TOOLCHAIN binaries OUTPUT: Generated JSON (_generated provenance), fleet sites, deployed surfaces GATE: build completes. All outputs carry _generated. magic validate 255 on fleet. `
Stabilize. Eliminate drift. Lock for production.
` INPUT: Running system (Phases 1-6) OUTPUT: Merged repos, extinct drift terms, _generated enforced, SHOP/CHAT operational GATE: Zero drift. All COVERAGE.md gaps = None. Production ready. ``
| *INIT | SPEC | TOOLCHAIN* |