ADR 0177: Feature consent binds the exact text and the name, and a material edit needs renewed consent
- Status: Accepted
- Date: 2026-10-26
- Decision issue: #214
- Parent story: #205
- Parent epic: #16
- Builds on: ADR 0110, ADR 0111, ADR 0167, ADR 0176
Context#
The reader agreed to feature the words they saw. Words can change: a clarification replaces the text,
an editor can slip while hand-editing the published file, and a name can be hidden or, if a stored
history were wrong, widened. The lesson of RD13's creditRevision applies: an agreement that does not
match the text must not carry over to different text.
Decision#
- A material edit is any change to the reflection's text. Only a clarification the reader answers
changes it, as the next text revision (ADR 0111). It leaves the old
featureRevisionbehind, so the consent covers the old words only. A feature of the old text istextChangedand comes off. - Only an explicit agreement renews, and a change to anything else never does. A consent change
carries a three-way feature choice,
FeatureChange::Keep,Agree { revision_seen }orDecline, never a flag.Keep(what every change to the name or to being asked to clarify sends) carries thefeatureRevisionin effect forward exactly as it was, still naming the old text. OnlyAgreebinds a revision, and only the revision the reader saw: the approved one once approved, or the current one before a decision; an agreement for any other revision is refused (staleRevision). The first design rebound a kept agreement to the current text whenever any consent change was made, so a reader who merely switched off clarification after rewriting their reflection silently agreed to feature words they had not agreed to; that is now impossible by construction. Stored consent records are unchanged and read as before: this alters only what a new change may write. - Legacy consent records are taken on trust. Records already stored are read exactly as written and are not re-verified: nothing can show what text a reader saw beyond the revision the record names, and a record is never rewritten to fit a rule that came later. The risk is low. No record made by a released version holds a feature agreement at all (the field is new with RD14, so every older record reads as "not agreed"), and the rebinding fault described above lived only in the unreleased first design. A stored agreement also does nothing alone: an editor must still choose the reflection, the feature binds the revision and the digest of the exact text (so an agreement for other words never matches), Admin previews the page's own projection before choosing, and the reader can decline from their receipt at any time.
- The words are bound twice. A feature records the revision the reader agreed to and the digest of
that text (
body_digest, a domain-separated BLAKE2s-256 of the exact bytes). The hosted check compares the revision, the approved revision and the digest; the static page compares the published text's digest. A hand edit of the published reflection, a republication of changed text or a restored older text hides the feature until it is featured again for that text. - The reader's words are shown whole or not at all. A featured reflection is the approved text, byte for byte, never an excerpt, truncation, pull quote or edited version, because a cut can change what the reader said. The editor says why it is worth reading in their own note, labelled as theirs (ADR 0180).
- A name may only narrow, and it lives in one file. A feature keeps no name: the page shows the name
the published reflection shows (none when the reader kept it private or it matched a credited name),
so a second committed copy of a name does not exist to forget. A reader who later hides their name
changes nothing else: the feature stands, anonymously. The hidden name does remain in
third-perspectives.jsonuntil that reflection is published again, and so would a feature's own copy have; Admin therefore compares the published name with the hosted copy on every inbox load (PublishedPerspective::name_standing,NameStanding::Narrowed) and shows, on the card and in the banner on every tab, "Republish without the name", the one step that drops it (ADR 0115 promised this action; RD14 builds it). Until the owner commits and publishes, the name is still in the public file and in git history (ADR 0179). A feature of a reflection whose published name is stale is refused (publishedDiffers) until it is republished. A reader cannot widen a name after approval at all (ADR 0110). - Editing the note is not a material edit. The note is the editors' own words about the reflection; changing it needs no consent from the reader and shows no new reader text. It must still pass ADR 0180's rules.
- Declining is immediate and renewing is explicit. Declining to feature (a narrowing change, ADR 0110) takes effect at once and the reflection stays published; to be featured again the reader agrees again, explicitly, for the revision they see. A reader who revoked publication cannot be featured at all.
Considered options#
- Bind only to the revision number. Rejected: it does not catch a hand-edited published file, which the static build alone must refuse.
- Rebind a kept agreement to the current text on any change. Rejected: it renewed consent the reader never gave (RD10 behaved so until this correction; the stored records are unaffected).
- Allow light editing of featured text (trimming, spelling). Rejected: any edit puts words in the reader's mouth; if the reader wants a change they clarify and renew.
- Keep the name in the feature record and narrow it with a second republish. Rejected: it doubles the places Admin must clean when a reader hides their name, for no field the page needs; one projection decides what a reader's name is.