# Library Index — program → lesson → worked example → check → consumer

All checks below were re-run by the integrator in this tree after
distillation (not taken from lane reports). Filed numbers are reproduced
from the house record each program cites in its `PROGRAM.md`; anything not
reproduced at unit level is named *cited* there, never silently implied.

Run everything: `node workshop/library/run-checks.cjs` ·
In the suite: `node tools/agent-workbench.cjs run library`

| Program | Lesson | Worked example | Check (integrator-verified) | Consumed by |
|---|---|---|---|---|
| `materials` | material-identity — *A surface must read as its material* | Seven classes: pairwise separation + grayscale battery (`materials/example.cjs`) | **PASS 104 FAIL 0** — 21/21 pairs distinct, median separation 1.46; grayscale 14 SURVIVES / 5 DEGRADED / 2 COLLAPSED, median retention 0.895 | Emblem deepening · board · GameM8c art |
| `world-clock` | world-clock-purity — *Appearance is a pure function of the hour* | Six pinned hours computed (`world-clock/example.cjs`) | **PASS 54 FAIL 0** — determinism deep-equal; all six filed panels exact through the module (5.5h: elev −7.9, twilight 0.88, ambient 0.081) | Board · emblem renders · GameM8c scenes · N64 rendition |
| `depth-instrument` | depth-one-frame — *Measure depth in one frame, or not at all* | Synthetic control + a live cross-frame refusal (`depth-instrument/example.cjs`) | **PASS 19 FAIL 0** — synthetic control **77/77 as filed**, control baseHash equals the filed hash; cross-frame comparison throws | Board · emblem sheets · GameM8c frame grading |
| `rendition-stages` | rendition-stage-order — *Light is projected, spilled, and graded — in that order* | 64×64 synthetic scene through grade → shadows → spill → water (`rendition-stages/example.cjs`) | **PASS 34 FAIL 0** — shadow synthetic test **6/6**; spill peak 13.845 (filed 13.84), 19:00 factor 0.4944, hard zero ≥2.0 cells; tune deltas grass +0.020 / water +0.025 / roof −0.010; water band shape 0.480/0.436/0.331/0.174/0.035 vs filed 0.479/0.436/0.335/0.176/0.050 | Board · emblem lighting · Emerald + N64 rendition |
| `painting-grammar` | paint-own-palette — *Paint the character from its own palette* | Rival painted from real extracted fixture (`painting-grammar/example.cjs`) | **PASS 28 FAIL 0** — silhouette bit-exact, zero-on-opaque 0, modal 565 values 63937/31640/64714 as filed, convicted ramp steps absent, `ramp` op refused | GameM8c art · Emerald characters · emblem texture authoring |
| `texel-invariant` | zero-is-not-black — *Zero is a sentinel, not a colour* | Real artwork claims pass; real v16 claims fire; synthetic control detected 12/12 (`texel-invariant/example.cjs`) | **PASS 39 FAIL 0** — artwork subset 0 violations (the filed pack-gate value); v16 per-claim counts 161/145/137/118/116/114 as the house tool measures; pack-level 14,979/218 cited, not reproduced | GameM8c pack gate · Emerald packs |
| `frame-probe` | probe-first — *Run the five-minute probe before the five-hour lane* | The picture conviction, end-to-end on the real frames (`frame-probe/example.cjs`) | **PASS 21 FAIL 0** — v16→v17 diff **546 px**, sole transition (0,0,0)→(0,0,8); road grey **223/206** (v16, v17) → **0/0** (v18); v17→v18 diff 3040 | Every visual lane (pre-flight) · classroom discipline |
| `fields` | fields-and-breath — *Falloff is a family; breath is a dose* | Falloff table + breath threshold trace (`fields/example.cjs`) | **PASS 76 FAIL 0** — the solo suite's own check body, verbatim (it emits 76 PASS lines; an earlier secondhand figure of 75 was wrong — the file wins) | Board water/breath · emblem environment · effects |
| `gravity-wells` | integrator-fingerprints — *Integrators have fingerprints* | Euler vs RK4 vs the ancestor stepper on one orbit (`gravity-wells/example.cjs`) | **PASS 20 FAIL 0** — wells 8.0/6.4/7.2/5.8 (Σ 27.4); ancestor zero-field position gain 3.1 vs RK4 1.0, preserved and documented | Star-system work · motion studies |
| `scope-algebra` | deny-path-strength — *A grant is only as strong as its deny path* | Grant/deny evaluations incl. the hard-deny refusal (`scope-algebra/example.cjs`) | **PASS 28 FAIL 0** — both historical defects (connectivity leak, precedence repealing a hard rule) stay dead under test; seal golden vector reproduced | NASL governance tooling · Gate work |
| `eyes-proof` | claims-carry-instruments — *Every claim carries its instrument* | Corpus GLB metered; manifest verified incl. one tampered claim (`eyes-proof/example.cjs`) | **PASS 22 FAIL 0** — meter equals glbmeter.py ground truth on the fixture (V 119 · F 202 · χ 18 · watertight); proofgate verdict identical to the Python gate (6 PASS · 1 FAIL · 1 UNVERIFIED, tamper refused by name); anchorcheck rows incl. the standing FAIL negative control | Emblem GLB metering · build proof manifests |
| `emblem-style-engine` | deepen-from-the-family — *Deepen a surface from its own material family* | Garnet/brass/quartz families authored into maps (`emblem-style-engine/example.cjs`) | **PASS 31 FAIL 0** — all nine authored maps reproduce their sha256; re-authoring byte-identical; quartz luma std 29.82 vs the flat fill's 0 | Emblem deepening · house graphics style |

**Library self-check total: PASS 476 FAIL 0** (12 programs).

Lesson catalog: `lessons.json` (12 lessons, school curriculum schema —
companion to the untouched 14-lesson `workshop/school/curriculum.json`).
Registry: `programs.json`. Expansion record: `LIBRARY-RECEIPT.md` (tree root).
