ADR-0141 — A setting the form does not collect is a read of nothing
Status: Accepted · Date: 2026-08-31 · Supersedes: —
Context
BlockSettingsForm draws exactly the field spec the server serves for a block
type: blockType?.fields, one control per entry, and no generic name box behind
them. So a key absent from a type's spec has no control anywhere in the product.
A descriptor that binds settings.title for a type whose form collects name
is reading something no author can write — the binding falls back, or draws
nothing, for every block of that type ever placed, and the page looks correct
because the fallback is what it always drew.
003's phase 01 census classified all 85 render arms by what they drew. It
never asked whether what an arm read could be written, and the answer kept
arriving by accident, one migration slice at a time: socials reading a
settings shape no writer produces (ADR-0063), cashapp reading username where
its form collects cashtag, so a free-plan payment block drew nothing at all
(ADR-0064), heading's text_color and review's five *_color reads
(ADR-0061/0066). Seven instances found by hand, each one a surprise, each
recorded in 003's open items as "the unreachable-settings sweep" — a repair
nobody could scope, because nobody knew how many there were.
There are forty-two, across 35 of the 85 types.
Decision
Ask the question once, mechanically, and keep the answer from growing.
npm run check:settings-reach reads every settings.<key> a descriptor binds
in props, derive or style — never note, which discusses keys in English
— and holds three rules:
- S1. Every read is collected by that type's field spec, or is a row in
scripts/settings-reach-ledger.json. A read that is neither fails the build. - S2. Every ledger row is still unreachable. A row whose key the spec now collects, or whose binding is gone, is deleted in the commit that did it.
- S3. Every row names a real descriptor.
S2 is what makes this a ratchet rather than an allowlist. A row is by definition
open — there is no closed status, because a closed row is a row with nothing
to say — and it leaves when the read becomes reachable. With S1 refusing new
reads and S2 refusing stale rows, the count can only fall.
Two shapes are in the forty-two, and the fix differs:
- The same idea under a word the spec does not use.
ctaandbig_linkbindtitlewhere the form collectsname;donation,productandservicebindnamewhere the form collectstitle. The fix is to bind the collected key — but it changes what a page draws, so each is its own slice with its own proof, not a find-and-replace. - An idea nothing collects at all.
image_comparisonbinds two alt texts the form has never asked for, so every comparison image in the product has shipped without one;linkedin_profilebinds a headline and an image over a form that collects a URL;cashappandvenmobind a currency beside an amount. Twenty-four of the card-link family bindsettings.nameover forms that collect onlylocation_url— an author's own label for a block that has no label field. Each fix is a field added or a binding dropped, and adding a field is a product call.
Consequences
The sweep is finite and visible. It was seven known instances and an unknown
remainder; it is forty-two rows and a number in the success line — 101 of 143 descriptor reads reach a collected field. Every future slice moves that number
or the build says nothing changed.
The gate does not fix anything. Landing it changes no rendered byte, which is deliberate: forty-two fixes in one commit would be forty-two unproved behaviour changes, and three of the seven found by hand turned out to be product calls rather than repairs.
The other direction is not gated here. A field spec collecting a key no
descriptor binds — the author writes and no page reads — is the larger and
softer half. Much of it is deliberate: donation and appointment_calendar
collect whole forms for surfaces this product has not built, both now marked in
block_types.go (ADR-0140) and both owner decisions. Gating that half would
mean a disposition per field across all 85 types, and it would fail on the
product's own open questions rather than on defects. It stays an open item.
Source: docs/decisions/0141-a-setting-the-form-does-not-collect-is-a-read-of-nothing.md