Skip to content

Commit d0faf39

Browse files
dancinlifeclaude
andcommitted
agents: migrate AGENTS.md → AGENTS.tape (tape v1.2) — n6 sibling format
Expand the prior AGENTS.tape stub with the full v1.2 layout: - 39-line grammar primer (cold-readable by any LLM/agent/human) - @i id001/id002 — n6 semantic-atlas identity + 4-sibling-format role (n6 semantic · hxc byte-canonical · n12 12-axis cube · tape trace) - @l l1 — repo layout (spec/ · algorithms/ · examples/ · syntaxes/ · …) - @d g_inherit + g1..g4 — lattice-policy inheritance, real-limits-first, lattice-is-tool, honesty-external, commit conventions - @f f1 — forbid lattice-fit derivation on external entities - @x x_lattice_policy / x_tape_spec / x_self_spec / x_siblings cross-refs - @h h1/h2 — generator hooks (AGENTS.md replaced · CLAUDE.md symlink) CLAUDE.md → AGENTS.tape symlink and AGENTS.md removal already in place from prior commit 0f1c0ce. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0f1c0ce commit d0faf39

1 file changed

Lines changed: 67 additions & 7 deletions

File tree

AGENTS.tape

Lines changed: 67 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,56 @@
3838
# Full spec: ~/core/tape/spec/tape.md (or github.com/dancinlab/tape)
3939
# ══════════════════════════════════════════════════════════════════════
4040
#
41-
# AGENTS.tape for `dancinlab/n6`
41+
# AGENTS.tape for `dancinlab/n6` — NEXUS-6 Knowledge Atlas
42+
43+
# ─── §1 Spec version ──────────────────────────────────────────────────
4244

4345
@V := "tape" :: spec [active]
4446
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) ──────────────────────────────────
4551

4652
@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, @?]
4859
parent = "dancinlab ecosystem · cites echoes/LATTICE_POLICY.md as authority"
4960

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+
5091
@D g_inherit := "inherits-lattice-policy" :: governance [required]
5192
rule = "All echoes/LATTICE_POLICY.md rules apply — real-limits-first · lattice-is-tool · verification-anchor-real-limit · no-artificial-ceilings · honesty-obligation-external."
5293
authority = "[@x_lattice_policy]"
@@ -63,17 +104,22 @@
63104
@> AGENTS.md
64105

65106
@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."
67108
authority = "raw#10 C3 · [@x_lattice_policy] §1.3"
68109
@> AGENTS.md
69110

70111
@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."
72113
@> AGENTS.md
73114

115+
# ─── §5 Forbidden patterns ────────────────────────────────────────────
116+
74117
@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"
76119
exception = "values may coincidentally match — observation OK, derivation NOT OK"
120+
authority = "[@x_lattice_policy] §1.2/§1.3"
121+
122+
# ─── §6 External citations ────────────────────────────────────────────
77123

78124
@X x_lattice_policy := "echoes/LATTICE_POLICY.md" :: policy [d=2026-05-12 active]
79125
url = "https://github.com/dancinlab/echoes/blob/main/LATTICE_POLICY.md"
@@ -83,9 +129,23 @@
83129
url = "https://github.com/dancinlab/tape/blob/main/spec/tape.md"
84130
scope = "this file's grammar reference"
85131

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+
86145
@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"
88148

89149
@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"
91151
command = `ln -sf AGENTS.tape CLAUDE.md`

0 commit comments

Comments
 (0)