ONBOARDING is the contributor entry point. One runbook. Ten minutes. Your first governed scope.
~/CANONIC/ exists and contains the GOV workspace (canonic-canonic + hadleylab-canonic submodules) ~/.canonic/bin/ is in your $PATH (the RUNTIME toolchain) You can run magic validate ~/CANONIC/canonic-canonic and see output
If any of these fail, ask a maintainer to run install-hooks first.
Pick a parent scope to inherit from. Every scope must have a parent.
``bash
mkdir ~/CANONIC/canonic-canonic/FOUNDATION/MY_SCOPE ``
magic heal auto-generates the TRIAD (CANON.md + VOCAB.md + README.md) plus COVERAGE.md.
``bash magic heal ~/CANONIC/canonic-canonic/FOUNDATION/MY_SCOPE `
This creates:
Open CANON.md and fill in:
inherits: — set to your parent scope path (e.g., canonic-canonic/FOUNDATION)
```markdown
inherits: canonic-canonic/FOUNDATION
The SPEC is {SCOPE}.md — it defines what the scope IS (beyond just rules).
bash
touch ~/CANONIC/canonic-canonic/FOUNDATION/MY_SCOPE/MY_SCOPE.md
Write a heading, inherits line, axiom, and any sections relevant to your scope.
bash
magic validate ~/CANONIC/canonic-canonic/FOUNDATION/MY_SCOPE
This returns a score from 0 to 255. Each dimension adds bits:
At minimum, aim for COMMUNITY tier (D + E + S = 35 bits).
| Dimension | File | Bits |
|---|---|---|
| Declarative (D) | CANON.md | ✓ |
| Evidential (E) | VOCAB.md | ✓ |
| Structural (S) | inherits + axiom + constraints | ✓ |
| Reproducible (R) | {SCOPE}.md | ✓ |
| Transparent (T) | ROADMAP.md | optional |
| Operational (O) | COVERAGE.md | ✓ |
| Linguistic (L) | LEARNING.md | optional |
| Language (LANG) | inherited from parent | automatic |
Run the full build pipeline to verify your scope compiles into the fleet:
bash
build
If the build succeeds, your scope is now part of the governed tree.
Use magic heal –scan to see which dimensions are missing:
bash
magic heal --scan ~/CANONIC/canonic-canonic/FOUNDATION/MY_SCOPE
Add ROADMAP.md and LEARNING.md to reach ENTERPRISE (63) and AGENT (127) tiers. Inherit LANGUAGE from your parent to reach FULL (255).
Standard git workflow:
``bash cd ~/CANONIC git add canonic-canonic/FOUNDATION/MY_SCOPE/ git commit -m “GOV: add MY_SCOPE scope — [purpose]” `
The pre-commit hook runs magic validate` automatically. If it fails, fix the governance gap before retrying.
| *ONBOARDING | SPEC | FOUNDATION* |