Skip to content
Toolkit

ADR-0060 — A setting nothing has read takes the kit's shape

  • Status: Accepted
  • Date: 2026-08-25
  • Deciders: Repository owner, track 003 phase 02 (d)
  • Follows: ADR-0031 (the kit is reference material, gaps feed upstream), ADR-0058 (a repeat counts where the block counts), ADR-0059 (the variant that wins is the one with a stylesheet)

Context

Every phase 02 (d) slice so far has had an arm to be faithful to. The descriptor's bindings were written by reading what the arm drew, and the tests assert the migration draws the same thing — the whole discipline of "never renders worse than it did before".

social_proof has no such arm to read. Its editor form collects a title (name), a description, and an items list labelled Testimonials. Its arm draws none of those: it reads count/value, title, label and image, and opens with

if (!count && !s.title) return null

None of those five settings is in the block's field spec, and BlockSettingsForm renders the typed spec when there is one. So no author can set them, count and s.title are always undefined, and the arm has returned null for every social_proof block ever placed. The block is a Pro-plan entry in the palette that has never drawn a pixel — the third such finding in this phase, after the two feed blocks (twenty-fifth slice) whose address was not configurable either.

That leaves items with no defined shape at all. faq established the convention that a markers-list blob's entry keys are whatever its arm read (title/content), but here nothing has ever read it, so there is no convention to inherit and no data in the wild that a reader would break.

Decision

When a Cardsite setting has never been read by anything, its shape is the kit's.

social_proof maps to the kit's testimonials, whose items are {text, author, role?, avatar?, rating?}, and the descriptor binds those keys. The block's description, which testimonials has no prop for, stays presentation and rides the upstream feed (ADR-0059's rule, ADR-0031's channel).

The rule is narrow on purpose. It applies only where no consumer exists — not to a setting some other surface reads, not to one an arm reads badly, and not as licence to reshape settings that carry real data. Where an arm does read a setting, faithfulness to the arm still wins, exactly as before.

Consequences

  • social_proof renders for the first time, from the settings its own editor form collects, and the arm's five unreachable settings go with the case.
  • Phase 03's premise gets a cleaner subject: a block type whose data shape is the kit's needs nothing hand-written on the client at all.
  • The kit's schema becomes load-bearing for authoring, not only for rendering. That is what makes ADR-0031's feed matter: a gap in the kit is now a gap in what Cardsite can collect, and rows 5–8 of the session's upstream feed are exactly those.
  • review — the other bespoke row with a testimonials counterpart — is not covered by this rule. Its arm reads every setting the block collects, so its migration is an ordinary faithful one, and its stars are a rating question rather than a testimonials one.
  • The unreachable-settings finding is now a pattern with three instances. It is worth a sweep of its own once phase 02 (d) closes: the census classified arms by what they drew, never by whether their settings could reach them.

Source: docs/decisions/0060-a-setting-nothing-has-read-takes-the-kits-shape.md

Library