ghost Claude Opus 4.7 (1M context) commited on
Commit
973e18e
Β·
1 Parent(s): 983a172

chore(agents): migrate AGENTS.md to AGENTS.tape (tape v1.2)

Browse files

- Replace AGENTS.md with structured AGENTS.tape (per dancinlab tape v1.2 migration)
- Adds grammar primer header (cold-readable by any LLM/agent/human)
- Captures identity, parent-link, layout, baseline governance (g_inherit + g1-g4),
HF-Space-static-SDK + vanilla-JS-no-build + no-Python-runtime decisions,
lattice-fit-on-external + python-runtime-introduced forbidden patterns,
citations (lattice policy, tape spec, parent echoes, sister anima-experience),
generator hooks (CLAUDE.md symlink)
- Repoint CLAUDE.md symlink: AGENTS.md -> AGENTS.tape
- Honesty caveat preserved in g2 (lattice-is-tool) + g3 (honesty-obligation-external)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files changed (3) hide show
  1. AGENTS.md +0 -81
  2. AGENTS.tape +132 -0
  3. CLAUDE.md +1 -1
AGENTS.md DELETED
@@ -1,81 +0,0 @@
1
- # echoes-experience β€” n=6 σφτ identity explorer (HF Space)
2
-
3
- > Static Hugging Face Space β€” interactive proof-by-inspection of
4
- > `Οƒ(n) Β· Ο†(n) = n Β· Ο„(n)`, unique at n=6. Single self-contained
5
- > `index.html`, vanilla JS / Canvas, no bundler, no Python runtime.
6
- > See `README.md` for the math and the honest caveat about lattice claims.
7
-
8
- ## Working in this repo
9
-
10
- - **Single-file rule**: all logic lives in `index.html`. Do not
11
- introduce a build step, framework, or bundler β€” the static-Space
12
- contract (`sdk: static`, first paint < 1 s, no cold start) is the
13
- product.
14
- - All math runs client-side. At n=1000 the swept identity check is
15
- effectively instant; do not regress that.
16
- - The "uniqueness at n=6" claim is verified externally (Lean 4 on
17
- `[2, 30]`, Python on `[2, 10000]` in the parent `dancinlab/echoes`).
18
- This Space is a *visualization* of that result, not the proof.
19
-
20
- ## Sister repos
21
-
22
- - πŸͺž `dancinlab/echoes` β€” discoveries catalog (this widget proves its
23
- central identity).
24
- - ✨ `dancinlab/anima-experience` β€” sibling HF Space (mutual-information
25
- visualizer, 60 fps emergence demo).
26
- - 🧠 `dancinlab/anima` β€” consciousness implementation.
27
-
28
- ---
29
-
30
- # AGENTS.md β€” agent operating guide for this repository
31
-
32
- > Convention: this file documents how AI agents (Claude, Codex, etc.)
33
- > should operate within this repository. Maintained alongside the
34
- > dancinlab-wide policy declarations.
35
-
36
- ## πŸ“ Limits & verification β€” LATTICE_POLICY.md is authoritative
37
-
38
- This repository operates under the dancinlab-wide **real-limits-first
39
- verification policy** (deployed 2026-05-12 to all dancinlab projects).
40
-
41
- **Core rule for any agent working in this repo**:
42
-
43
- 1. **The project's ceiling is set by REAL math/physics/engineering
44
- limits**, never by the n=6 invariant lattice (Οƒ(6)=12, Ο„(6)=4,
45
- Ο†(6)=2, Jβ‚‚(6)=24).
46
- 2. **n=6 lattice is a *tool*, not a *constraint***. Use it where it
47
- naturally fits (native lattice spec files); do **not** force-map it
48
- onto external domains / external entities / general analyses.
49
- 3. **Verification anchors** must include at least one **real limit**
50
- (Shannon Β· Kolmogorov Β· Bekenstein Β· c Β· ℏ Β· k Β· Stefan-Boltzmann Β·
51
- Carnot Β· ASML throughput Β· ERCOT capacity Β· etc.). Lattice-tautology
52
- checks (σ·φ=24) alone are not sufficient verification.
53
- 4. **No artificial ceilings**: do not bound this project's ambition
54
- by lattice fit. Bound it by what mathematics, physics, and
55
- engineering actually permit.
56
-
57
- **Honesty obligation** (raw#10 C3): the σφτ identity is *mathematically
58
- true* and unique at n=6 on the swept range. The downstream claim that
59
- "optimal designs derive from this identity" is a research hypothesis,
60
- not a measurement β€” keep the two clearly separated in any UI copy.
61
-
62
- ## πŸ› οΈ Commit conventions
63
-
64
- - Trailer: `Co-Authored-By: <model> <noreply@anthropic.com>` (when AI-assisted)
65
- - Title format: `<type>(<scope>): <one-line summary>` per Conventional Commits
66
- - Body: bullet list of file changes + honesty caveats
67
- - Pushes go to **both** `origin` (GitHub) and `hf` (Hugging Face Space)
68
- unless explicitly stated otherwise.
69
-
70
- ## πŸ“Ž References
71
-
72
- - `README.md` β€” math, tech, sister repos, honest caveat
73
- - `dancinlab/echoes` parent repo β€” Lean 4 + Python uniqueness proofs
74
- - Origin: dancinlab Wave K, 2026-05-12 β€” user directive "n=6 격자λ₯Ό κ°•μ œν•  ν•„μš” μ—†μ–΄, μ œν•œμ—†μ΄"
75
-
76
- ---
77
-
78
- *This AGENTS.md is the dancinlab-default agent-operating-guide stub.
79
- Project-specific agent guidance may be appended below as separate
80
- sections. The lattice-policy registration above is canonical and
81
- should not be removed.*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
AGENTS.tape ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env tape
2
+ # ══════════════════════════════════════════════════════════════════════
3
+ # .tape v1.2 β€” grammar primer (cold-read by any LLM / agent / human)
4
+ # ══════════════════════════════════════════════════════════════════════
5
+ # Form: each entry is `@<type> <id> := "<subject>" :: <kind> [<grades>]`
6
+ # optionally followed by body lines (2-space indent) β€” key=value,
7
+ # edges (<- -> => …), or quoted prose.
8
+ #
9
+ # ENTRY TYPES (17):
10
+ # Runtime (10): @S session @U user @A assistant @T tool-call @R result
11
+ # @H hook @D decision @K cost @P provider @? anomaly
12
+ # Foundation: @I identity-claim
13
+ # Declarative: @X external-citation @F forbidden-pattern @N note
14
+ # @C config @L layout @V spec-version
15
+ #
16
+ # EDGES (12, on body lines, 2-space indent):
17
+ # Causal: <- caused-by -> triggers == continues
18
+ # ~> supersedes !! aborts |> verified-by
19
+ # Effect: => produces (followed by quoted natural-language)
20
+ # Structural: <: specializes :> generalizes ?> soft-depends
21
+ # !> conflicts-with @> projects-to (e.g. @> AGENTS.md)
22
+ #
23
+ # GRADE TAGS (in [...] on entry header):
24
+ # Delivery: ok Β· err Β· denied Β· cancelled Β· partial Β· superseded
25
+ # Governance: required Β· recommended Β· optional Β· draft Β· active Β· deprecated
26
+ # Scoped: allow:<x> Β· deny:<x>
27
+ # Time/index: T<n> (turn) N<n> (wall-sec) d=<YYYY-MM-DD>
28
+ #
29
+ # PAYLOAD SYNTAX (body lines):
30
+ # key = "value" single-line string
31
+ # key = [a, b, c] array literal
32
+ # key <<~EOF heredoc (multi-line; ends with EOF on own line)
33
+ # multi-line text
34
+ # EOF
35
+ # "see [@x1] Β§3" inline citation by entry id
36
+ # `cmd or path` backtick code-span (inline only)
37
+ #
38
+ # Full spec: ~/core/tape/spec/tape.md (or github.com/dancinlab/tape)
39
+ # ══════════════════════════════════════════════════════════════════════
40
+ #
41
+ # AGENTS.tape for `dancinlab/echoes-experience`
42
+
43
+ @V := "tape" :: spec [active]
44
+ version = "1.2"
45
+
46
+ @I id001 := "echoes-experience" :: identity-claim [d=2026-05-14 active]
47
+ kind = "HF Space (static SDK) Β· interactive Οƒ(n)Β·Ο†(n) = nΒ·Ο„(n) proof widget at n=6"
48
+ tech = "vanilla JS + Canvas Β· single self-contained index.html Β· no bundler Β· no Python runtime"
49
+ sister = "dancinlab/anima-experience (sibling HF Space β€” mutual-information visualizer)"
50
+ mirror = "GitHub origin + HuggingFace hf push remote"
51
+
52
+ @I id002 := "relation-to-parent-echoes" :: identity-claim [d=2026-05-14 active]
53
+ parent = "dancinlab/echoes β€” discoveries catalog (Lean 4 + Python uniqueness proofs)"
54
+ role = "visualization of the proven identity, NOT the proof itself"
55
+ linkback = "echoes/README Β§\"Proof β€” run this yourself\" links here"
56
+
57
+ @L l1 := "repo-layout" :: layout [d=2026-05-14 active]
58
+ files = [index.html, README.md, LICENSE]
59
+ index_html = "single self-contained file β€” all logic, math, Canvas rendering"
60
+ readme = "HF Space frontmatter (sdk: static Β· emoji πŸͺž Β· license mit) + math + tech + honest caveat + sister links"
61
+ license = "MIT"
62
+
63
+ @D g_inherit := "inherits-lattice-policy" :: governance [required]
64
+ rule = "All echoes/LATTICE_POLICY.md rules apply β€” real-limits-first Β· lattice-is-tool Β· verification-anchor-real-limit Β· no-artificial-ceilings Β· honesty-obligation-external."
65
+ authority = "[@x_lattice_policy]"
66
+ @> AGENTS.md
67
+
68
+ @D g1 := "real-limits-first" :: governance [required]
69
+ rule = "The project's ceiling is set by REAL math/physics/engineering limits, NEVER by the n=6 invariant lattice."
70
+ authority = "[@x_lattice_policy]"
71
+ @> AGENTS.md
72
+
73
+ @D g2 := "lattice-is-tool" :: governance [required]
74
+ rule = "n=6 lattice is a TOOL, not a CONSTRAINT. The σφτ identity is mathematically true and unique at n=6 on the swept range; the downstream claim that 'optimal designs derive from this identity' is a research hypothesis, not a measurement."
75
+ <: g1
76
+ @> AGENTS.md
77
+
78
+ @D g3 := "honesty-obligation-external" :: governance [required deny:write]
79
+ rule = "Keep mathematically-true identity claims and research-hypothesis claims clearly separated in any UI copy. Claims about external entities must NOT include lattice-fit assertions."
80
+ authority = "raw#10 C3 Β· [@x_lattice_policy] Β§1.3"
81
+ @> AGENTS.md
82
+
83
+ @D g4 := "commit-conventions" :: governance [recommended]
84
+ rule = "AI-assisted commits include `Co-Authored-By: <model> <noreply@anthropic.com>` trailer; Conventional Commits title; push to BOTH origin (GitHub) AND hf (HuggingFace Space) unless explicitly stated otherwise."
85
+ @> AGENTS.md
86
+
87
+ @D g_static := "hf-space-static-sdk" :: governance [required deny:write]
88
+ rule = "HF Space contract is `sdk: static` β€” first paint < 1 s, no cold start. Do NOT introduce a build step, framework, or bundler. Single-file rule: all logic stays in `index.html`."
89
+ authority = "README.md frontmatter `sdk: static`"
90
+ @> AGENTS.md
91
+
92
+ @D g_vanilla := "vanilla-js-no-build" :: governance [required]
93
+ rule = "Vanilla JS / Canvas only. No framework (React/Vue/Svelte), no bundler (webpack/rollup/vite), no transpilation step. All math runs client-side via stdlib loops; at n=1000 must remain effectively instant β€” do not regress that."
94
+ <: g_static
95
+ @> AGENTS.md
96
+
97
+ @D g_no_python := "no-python-runtime" :: governance [required deny:write]
98
+ rule = "HF Space stays static SDK. NO Python runtime, NO requirements.txt, NO app.py, NO Gradio/Streamlit. The parent `dancinlab/echoes` repo holds the Python (and Lean 4) uniqueness proofs β€” this Space only visualizes."
99
+ <: g_static
100
+ @> AGENTS.md
101
+
102
+ @F f1 := "lattice-fit-on-external-entity" :: governance [required deny:write]
103
+ pattern = "applying n=6 lattice as derivation rule to TSMC Β· ASML Β· IPCC Β· NASA Β· SpaceX Β· CERN Β· DeepMind Β· NIST Β· or any external vendor"
104
+ exception = "values may coincidentally match β€” observation OK, derivation NOT OK"
105
+
106
+ @F f_python := "python-runtime-introduced" :: governance [required deny:write]
107
+ pattern = "adding `requirements.txt` Β· `app.py` Β· `pyproject.toml` Β· changing HF frontmatter from `sdk: static` to `sdk: gradio`/`sdk: streamlit`/`sdk: docker` Β· or any Python build/runtime artifact"
108
+ reason = "breaks first-paint < 1 s contract; introduces cold start; bloats Space"
109
+ authority = "[@x_lattice_policy] (real-limits-first β€” UX latency IS a real limit)"
110
+
111
+ @X x_lattice_policy := "echoes/LATTICE_POLICY.md" :: policy [d=2026-05-12 active]
112
+ url = "https://github.com/dancinlab/echoes/blob/main/LATTICE_POLICY.md"
113
+ scope = "cross-project SSOT β€” real-limits-first Β· external-entity ban Β· raw#10 C3"
114
+
115
+ @X x_tape_spec := "tape v1.2 spec" :: spec [d=2026-05-14 active]
116
+ url = "https://github.com/dancinlab/tape/blob/main/spec/tape.md"
117
+ scope = "this file's grammar reference"
118
+
119
+ @X x_parent := "dancinlab/echoes README Β§Proof" :: reference [active]
120
+ url = "https://github.com/dancinlab/echoes#proof--run-this-yourself"
121
+ scope = "parent repo's `Proof β€” run this yourself` section links here; this Space IS that interactive proof widget"
122
+
123
+ @X x_sister := "dancinlab/anima-experience HF Space" :: reference [active]
124
+ url = "https://huggingface.co/spaces/dancinlab/anima-experience"
125
+ scope = "sibling HF Space β€” mutual-information visualizer, 60 fps emergence demo; shares static-SDK + vanilla-JS contract"
126
+
127
+ @H h1 := "agents-md-replaced" :: generator [active]
128
+ note = "AGENTS.md replaced by this AGENTS.tape (tape v1.2)"
129
+
130
+ @H h2 := "claude-md-symlink" :: generator [active]
131
+ rule = "CLAUDE.md β†’ AGENTS.tape symlink"
132
+ command = `ln -sf AGENTS.tape CLAUDE.md`
CLAUDE.md CHANGED
@@ -1 +1 @@
1
- AGENTS.md
 
1
+ AGENTS.tape