ADR 0018: A coordinator-chosen reveal policy, per-revision readiness, and a placeholder comparison
Context#
ADR 0016 defined the mutual exchange but nothing let a participant start one, and ADR 0014 left the reveal route deny-by-default. Readers of a comparison must never learn more than reading each draft would allow.
Decision#
- The draft set holds a reveal policy, defaulting to
independent: nothing is ever revealed.voluntaryreveals among any two or more participants who mark a revision ready, and only those.allReadyreveals only when every participant who currently holds the draft grant is ready. New shared reflection records now selectallReadywhen their first draft set is created; legacy records and existing draft sets keep their previous behavior (see ADR 0016). - The optional
namedRecipientspolicy lets each author release their current exact draft revision to explicitly selected active participants without waiting for reciprocal releases. The private draft set records its contribution, revision, recipient IDs and release time. Later edits remain private; releasing to a different person does not extend an earlier release. The author must retain draft access and the recipient must retain publication access to read a named release. Non-drafters see only explicitly named releases, never private offer state or mutual releases. They may also read publication moments sealed to a current revision they can read; private, changed, or unsealed moments remain hidden. Releases identify the recipients explicitly allowed to read without draft access. Earlier releases, and releases to someone who held draft access at the time, do not gain that permission if they become a reader: the author must release again after the role change. The release checks the authorization revision read when choosing recipients. Older releases cannot read stored releases with the new non-draft-recipient field. As with other committed reveals, a copy already read cannot be recalled, and restoring the same participant's access makes their previously named releases readable again. Proposed source moments may be sealed and shown with the released revision under ADR 0063. Changing policy does not undo a completed release. Older open.blog versions cannot read a draft set containing this new policy or a named release. - A new action
SetRevealPolicytargets the publication and is held by Site owners and Coordinators. It reads no draft. A coordinator who is not a drafter can set the policy and sees the policy only. - Marking ready names one exact revision of the caller's own draft and goes through
EditDraft. The offer is private and can be replaced or taken back at any time before the reveal commits. When the policy condition is met, the same write turns all offers into one revealed exchange (ADR 0016 semantics), so every member reads every committed revision at once or nobody does. Edits after an offer or reveal stay private. Withdrawing a draft takes back its offer. - Changing the policy clears every standing offer and reveals nothing itself, so a policy change
cannot expose prose that was offered under another policy. Offers cannot exist under
independent, and stored data that says otherwise fails to load. - Participant removal: the route computes the active drafters through
authorizeon each binding. A removed or downgraded participant neither counts towardallReadynor joins a reveal. Their earlier offers and any reveal already committed are untouched, and a copy already read cannot be recalled. voluntaryvisibility is derived at read time and never stored or merged. A publication has one author set, made up of the participants the maintainer (site owner or coordinator) added, and it never splits into groups. Undervoluntary, a reader V may read participant T's draft only when the policy isvoluntary, V and T differ, both are active, both hold a standing ready offer, and T's draft is not withdrawn. V then sees exactly the revision T marked ready, matched on participant and contribution, never a later unmarked revision or a different contribution. The reason is that a stored circle had to be merged and carried over across removals, which could hand one person's prose to people it was never offered to; deriving it from the standing offers means nothing is stored that could outlive its meaning. A participant who marks a newer revision ready moves the shared revision forward. Retracting readiness, withdrawing, being removed, or a policy change that clears the offers ends the visibility, and a participant who becomes active again while the offer still stands rejoins the author set. Marking ready returns "revealed" only when another active participant has a standing offer. Exchanges created byallReady, by the explicit open and commit API, or stored by v0.21.0 keep their old meaning: they are never pulled into voluntary visibility and never feed it.DraftSet::viewandDraftSet::comparetake the active list so the comparison goes through the same check.- The comparison lists every contract participant in contract order with their display name. Each
slot is the caller's own latest revision, a revision revealed to the caller (decided by
DraftSet::view), or a placeholder that is identical for missing, unrevealed, withdrawn and unknown drafts. A placeholder says only whether that participant has offered a revision. Prose, names and metadata are JSON strings; a client renders them as text, never as markup. - The sharing response names the requester's own offered revision, if any. Admin warns when the offer names an older revision than the latest save; no other participant's offered revision number is disclosed by that field.
- Routes:
GET /admin/api/collaboration/reveal,PUT .../reveal/policy,PUT .../reveal/ready. All need the Admin session, writes need CSRF and strict JSON, every refusal is the same 404, and writes use the revision-checked draft store (409 on a race, nothing changed).POST .../reveal/namedrequires a current revision and explicit recipient IDs; the server resolves the author from the session and rejects inactive or repeated recipients. Admin shows recipients and asks for confirmation before sharing. Manual exchange creation andPOST .../contribution/revealstill have no route.
Consequences#
- Reveal never approves anything and the contract is untouched.
- Publication approval and group-safe state beyond this model stay with later stories.