idol idiom · demo / explorer / observatory

The executable teaching layer of Idol: one rule — a name is a subject and an edge — and everything it generates (SUBJECT-ONE, INTERMEDIATE-ZERO, LAW-ONE, no std, no directives). Every number on this page was measured by the real bootstrap compiler (idol check, idol graph, idol run) on the teaching tree.

Read first — the decomposition

A name is a subject and an edge. The edge is the relation; the subject is the value the relation is about. You write subject:edge(rest).AGENTS.md § Read first — the decomposition

strlen(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) IS subject: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
:len is universal; :size / :length do not occur. What survives is thousands of names that glue a subject onto the front of an edge. Decompose to subject:edge.
WORLD = REACH
An injected world adds reach and never takes a name. os is default-injected, so env[k] and arg[i] are canonical; the anchored os.env[k] only disambiguates a contested scope. A local spelled env MUST WIN.
LAW-16
One irreducible lowercase word, singular — arg, not args. The subject of write is the stream: stdout:write(x), never io.write. a[i] is projection; a(i) is application; void is inferred; end/then/fun are 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)

Built from the teaching tree /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.