Skip to content
Toolkit

ADR-0047 — The pages that stay hand-written but may not lie

Status: Accepted · Date: 2026-08-22 · Project: 002-renaissance, LEDGER drain (row 109's remaining half)

Context

The two preview pages under .station/jobs/002-renaissance/preview/ went stale silently, twice, in the same week. DateTimePicker's card on current-design.html outlived the component it described — a bare datetime-local under a heading naming an archived file — and §10/§11 of studio-design.html tagged five families gap that were authored, promoted, retired or dispositioned not-planned. Both were found by a run reading the pages, not by any gate, and both took a PR of hand edits to fix (#155, #156). LEDGER row 109 named the residue: nothing regenerates either page from parity/ledger.json.

Decision

The pages are not generated. They are gated.

  • Hand-written stays. The pages' value is prose no generator can emit: provenance ("what this card replaced and why"), archaeology (why a stale card survived), links from a card to the ADR that decided it. A generated page would flatten that to a table studio/docs/parity-ledger.md already is — generating a second one adds nothing.
  • Claims become checkable. Every card whose <h3> is exactly one known component name and whose pv-tag asserts a fact — converted, converged, gap, not-planned, retired, or an untagged pv-spec demo on the Studio page — is verified by scripts/check-preview-claims.mjs against the same truth check-studio-parity.mjs reads: the @studio/react export surface, components/ui's export surface, and ledger.json's dispositions and aliases (rules P1–P5, in the script header). It runs in npm run verify as check:preview-claims.
  • Cards may exist or not; lying cards may not. Symmetric with the parity gate's S1 ("skew may exist, silent skew may not"): the gate never demands a card for a new component — it demands that the cards that do exist tell the truth. Prose cards ("Button loading state", "Block palette") name patterns, not components, and stay untouched.

Consequences

  • Converting, authoring, retiring or re-dispositioning a component now fails verify until the preview cards that name it are retagged — the page edit #155 made by archaeology becomes a build error at the commit that causes it.
  • A retired claim about a name no source knows is vacuously consistent and unchecked — retirement erases the truth to check against. That is the gate's floor, accepted: the record for those lives in the ADR the card links.
  • 51 claims across the two pages are checked as of this ADR; all six rule classes were proven to fire by deliberate single-tag lies before the gate landed.

Source: docs/decisions/0047-the-pages-that-stay-hand-written-but-may-not-lie.md

Library