Read first — the decomposition
subject:edge(rest).AGENTS.md § Read first — the decompositionstrlen(s) is wrong — not because it appears on a list, but because len is the edge
and s is the subject: s:len().
That is the whole rule, and it is generative in a way a rule list can never be. A list is checked against a name you have
already chosen, so its violations are by omission: the entry you needed is the one that was not on it.
strlen has no underscore, no capital, no trailing digit, no plural — it passes nearly every lexical gate.
No checker can save you. Knowing where the seam falls can.
Four consequences carry everything else
- SUBJECT-ONE
r(subject, a)ISsubject:r(a)— one relation, two faces. Subject-first composes:v:scale(2):scale(3)reads in the order the work happens, and no throwaway intermediate is what makes INTERMEDIATE-ZERO affordable. A throwaway binding is where a glued compound gets born.- EDGE CONVERGED
:lenis universal;:size/:lengthdo not occur. What survives is thousands of names that glue a subject onto the front of an edge. Decompose tosubject:edge.- WORLD = REACH
- An injected world adds reach and never takes a name.
osis default-injected, soenv[k]andarg[i]are canonical; the anchoredos.env[k]only disambiguates a contested scope. A local spelledenvMUST WIN. - LAW-16
- One irreducible lowercase word, singular —
arg, notargs. The subject ofwriteis the stream:stdout:write(x), neverio.write.a[i]is projection;a(i)is application;voidis inferred;end/then/funare Lua vestigials.
Law pins (docs/spec/law.md — supreme compact law)
Why a gate can't do it alone — the executable teaching
The teaching is executable: each canonical form is placed beside the retired one it replaces and they are required to agree on every input. Agreement count IS the exit. Reading it teaches the decomposition; running it proves the teaching is current.
# the executable version lives in the tree this rule stands in: cd ../idol-native && ./bin/idol run gate/subject.id # its companions do one ruling each: access.id, control.id, word.id, shadow.id
Numbers live in the runner that checks them, never in prose — every number on this page is pulled from
measured artifacts (assets/facts.json), not typed into HTML.
The migration preflight (what the gate scans in added diff lines)
Live demo — real idol programs, really executed by the bootstrap compiler
Each program below was compiled and run by zig-out/bin/idol (compile → native ARM64) on the teaching tree;
source, output and measured compile wall-time are the recorded run. Pick a program:
source .id
output stdout
the same run, as the compiler saw it
What the compiler refuses — real diagnostics, real refusals
Captured from idol check exit 1 runs on the compiler's own teaching diagnostics. These are not mockups:
each is the exact structured finding the compiler emitted for the violating line.
Retired → canonical (the decomposition applied)
Every row is the decomposition applied once. The left form is not on a list because it is wrong — it is retired because the seam falls somewhere else. Filter by domain:
| retired face | canonical face | why the seam falls there |
|---|
Graph explorer — idol graph output, schema idol.graph.v1 (v19)
The semantic graph of the featured subject-first demo (scale chains, msg:len()).
One graph owns meaning; names/paths/spans are provenance. Click a node to see its edges and applications.
source
nodes
detail
facts about this graph
Observatory — the tree, measured
tree census
semantic graphs lifted by idol graph
| file | nodes | edges | applications | unresolved | fact coverage (pub/boot) | dominant kinds |
|---|
demo runs (measured wall time, 3 runs each)
| program | exit | compile wall (best) | runs |
|---|
canonicality of load-bearing files
Where the frontier stands (read, not claimed)
- The repository is at S0: a pinned-Zig seed builds the host compiler; the lexer boundary is executed; parser and later stages remain host-owned. No production
idolcompiler binary exists yet. - The dependency order: lexical identities (GAP-145) → machine-readable grammar authority (GAP-134) → generated grammar roles → immutable token view → executed Idol parser recognition → binding & scope → graph and application authority → demand → realization and machine → seed builds B → B builds C → proved B/C closure.
- FTCFTW is not a scalar score: verified Pareto dominance per dimension, or equality with a proven lower bound; an open loss is named, never averaged away.
- This page reports what the compiler measures today — graph schema
idol.graph.v1v19, check pass on all six load-bearing files, refusals on the retired shapes the teaching predicts.
/ChatGPT/Idol (clpi/idol @ 8ae7abed) · compiler facts via idol check /
idol graph / idol run · law sources: docs/spec/law.md (supreme),
docs/spec/constitution.md (C0), CLAUDE.md (operative projection), AGENTS.md (mechanical preflight) —
a projection never overrides the law above it.Static Space — nothing here runs on compute; artifacts are pre-measured, payload
assets/facts.json.