|
38 | 38 | # Full spec: ~/core/tape/spec/tape.md (or github.com/dancinlab/tape) |
39 | 39 | # ══════════════════════════════════════════════════════════════════════ |
40 | 40 | # |
41 | | -# AGENTS.tape for `dancinlab/n6` |
| 41 | +# AGENTS.tape for `dancinlab/n6` — NEXUS-6 Knowledge Atlas |
| 42 | + |
| 43 | +# ─── §1 Spec version ────────────────────────────────────────────────── |
42 | 44 |
|
43 | 45 | @V := "tape" :: spec [active] |
44 | 46 | version = "1.2" |
| 47 | + uses = [@I, @L, @D, @F, @X, @H, "<:", "@>", "[required]", "[@id]"] |
| 48 | + primer = "see top-of-file 39-line comment block" |
| 49 | + |
| 50 | +# ─── §2 Identity claims (what n6 IS) ────────────────────────────────── |
45 | 51 |
|
46 | 52 | @I id001 := "n6" :: identity-claim [d=2026-05-14 active] |
47 | | - kind = "semantic atlas — typed verified atoms · grade ladder · sister format" |
| 53 | + kind = "NEXUS-6 Knowledge Atlas — semantic atom layer" |
| 54 | + tagline = "typed verified atoms · grade ladder · provenance edges" |
| 55 | + axis = "semantic-atlas serialization (not byte canon, not runtime trace)" |
| 56 | + grammar = "append-only · line-oriented · grep-friendly · type-graded" |
| 57 | + grade-ladder = "0–10 numeric grade with `*` verified · `!` breakthrough · `?` hypothesis" |
| 58 | + type-alphabet = [@P, @R, @F, @C, @X, @S, @L, @D, @?] |
48 | 59 | parent = "dancinlab ecosystem · cites echoes/LATTICE_POLICY.md as authority" |
49 | 60 |
|
| 61 | +@I id002 := "n6.sibling-format-role" :: identity-claim [d=2026-05-14 active] |
| 62 | + <: id001 |
| 63 | + role = "the SEMANTIC layer of the 4-sibling dancinlab format family" |
| 64 | + siblings = ["n6 (semantic atoms)", "hxc (byte-canonical wire)", "n12 (12-axis sparse cube)", "tape (agent-execution trace)"] |
| 65 | + cross-axis <<~EOF |
| 66 | + n6 : WHAT is true — typed verified atoms, grade ladder |
| 67 | + hxc : HOW it ships — byte-canonical JSON/JSONL on the wire |
| 68 | + n12 : WHERE it sits — 12-axis sparse cube coordinates |
| 69 | + tape: WHEN it ran — append-only causal-temporal trace |
| 70 | + EOF |
| 71 | + note = "n6 entries can be cited from .tape bodies (`see [@x_n6]`) and serialized to .hxc on the wire — orthogonal placements, not competing" |
| 72 | + |
| 73 | +# ─── §3 Repo layout ─────────────────────────────────────────────────── |
| 74 | + |
| 75 | +@L l1 := "repo-layout" :: structure [active] |
| 76 | + README.md -> "human intro · type alphabet · live preview" |
| 77 | + AGENTS.tape -> "this file · governance + identity (.tape v1.2)" |
| 78 | + CLAUDE.md -> "symlink → AGENTS.tape (Claude Code auto-discovery)" |
| 79 | + LICENSE -> "CC0-1.0" |
| 80 | + TAPE-AUDIT.md -> ".tape v1.1 → v1.2 adoption audit" |
| 81 | + spec/n6.md -> "full n6 grammar spec (v1)" |
| 82 | + algorithms/ -> "atlas_* operators (absorb · bloom · bootstrap · query · scan_opt · mmap · hot_shard …)" |
| 83 | + examples/ -> "sample .n6 corpora" |
| 84 | + syntaxes/ -> "TextMate / shiki grammar bundles" |
| 85 | + docs/ -> "logo · preview-{dark,light}.svg · preview.html" |
| 86 | + scripts/ -> "render_svg.mjs · regenerate live preview" |
| 87 | + tool/ -> "lint / validator helpers" |
| 88 | + |
| 89 | +# ─── §4 Governance rules ────────────────────────────────────────────── |
| 90 | + |
50 | 91 | @D g_inherit := "inherits-lattice-policy" :: governance [required] |
51 | 92 | rule = "All echoes/LATTICE_POLICY.md rules apply — real-limits-first · lattice-is-tool · verification-anchor-real-limit · no-artificial-ceilings · honesty-obligation-external." |
52 | 93 | authority = "[@x_lattice_policy]" |
|
63 | 104 | @> AGENTS.md |
64 | 105 |
|
65 | 106 | @D g3 := "honesty-obligation-external" :: governance [required deny:write] |
66 | | - rule = "Claims about external entities (companies · fabs · vendors) must NOT include lattice-fit assertions. Use their OWN invariants." |
| 107 | + rule = "Claims about external entities (companies · fabs · vendors · standards bodies) must NOT include lattice-fit assertions. Use their OWN invariants." |
67 | 108 | authority = "raw#10 C3 · [@x_lattice_policy] §1.3" |
68 | 109 | @> AGENTS.md |
69 | 110 |
|
70 | 111 | @D g4 := "commit-conventions" :: governance [recommended] |
71 | | - rule = "AI-assisted commits include \`Co-Authored-By: <model> <noreply@anthropic.com>\` trailer; Conventional Commits title." |
| 112 | + rule = "AI-assisted commits include `Co-Authored-By: <model> <noreply@anthropic.com>` trailer; Conventional Commits title." |
72 | 113 | @> AGENTS.md |
73 | 114 |
|
| 115 | +# ─── §5 Forbidden patterns ──────────────────────────────────────────── |
| 116 | + |
74 | 117 | @F f1 := "lattice-fit-on-external-entity" :: governance [required deny:write] |
75 | | - pattern = "applying n=6 lattice as derivation rule to TSMC · ASML · IPCC · NASA · SpaceX · CERN · DeepMind · NIST · or any external vendor" |
| 118 | + pattern = "applying n=6 lattice as derivation rule to TSMC · ASML · IPCC · NASA · SpaceX · CERN · DeepMind · NIST · or any external vendor / standards body" |
76 | 119 | exception = "values may coincidentally match — observation OK, derivation NOT OK" |
| 120 | + authority = "[@x_lattice_policy] §1.2/§1.3" |
| 121 | + |
| 122 | +# ─── §6 External citations ──────────────────────────────────────────── |
77 | 123 |
|
78 | 124 | @X x_lattice_policy := "echoes/LATTICE_POLICY.md" :: policy [d=2026-05-12 active] |
79 | 125 | url = "https://github.com/dancinlab/echoes/blob/main/LATTICE_POLICY.md" |
|
83 | 129 | url = "https://github.com/dancinlab/tape/blob/main/spec/tape.md" |
84 | 130 | scope = "this file's grammar reference" |
85 | 131 |
|
| 132 | +@X x_self_spec := "n6 v1 spec" :: spec [active] |
| 133 | + url = "https://github.com/dancinlab/n6/blob/main/spec/n6.md" |
| 134 | + path = "spec/n6.md" |
| 135 | + scope = "n6 grammar SSOT — entry types · edges · grade markers · validation" |
| 136 | + |
| 137 | +@X x_siblings := "dancinlab sibling formats" :: cross-ref [d=2026-05-14 active] |
| 138 | + n12 = "https://github.com/dancinlab/n12 — 12-axis sparse cube" |
| 139 | + hxc = "https://github.com/dancinlab/hxc — byte-canonical wire (JSON/JSONL canon)" |
| 140 | + tape = "https://github.com/dancinlab/tape — agent-execution trace (this file's format)" |
| 141 | + scope = "4-sibling orthogonal-axis ecosystem · see [@id002] cross-axis table" |
| 142 | + |
| 143 | +# ─── §7 Generator hooks ─────────────────────────────────────────────── |
| 144 | + |
86 | 145 | @H h1 := "agents-md-replaced" :: generator [active] |
87 | | - note = "AGENTS.md replaced by this AGENTS.tape (tape v1.2)" |
| 146 | + note = "AGENTS.md replaced by this AGENTS.tape (tape v1.2 migration)" |
| 147 | + fallback = "downstream agents.md tooling that doesn't speak .tape can render via `tape_to_agents_md` algorithm" |
88 | 148 |
|
89 | 149 | @H h2 := "claude-md-symlink" :: generator [active] |
90 | | - rule = "CLAUDE.md → AGENTS.tape symlink" |
| 150 | + rule = "CLAUDE.md → AGENTS.tape symlink so Claude Code auto-discovery picks up the grammar primer first" |
91 | 151 | command = `ln -sf AGENTS.tape CLAUDE.md` |
0 commit comments