Repository navigation
Closed
Description
Derived from the approved architecture in #155 and ADR 0001 (PR #160).
Contract status
RSVP mapping revision 2026-08-12.2 passed delegated review and merged as af0c469 through #184. PR #185 was closed unmerged after review. Evidence-backed revision 2026-08-12.3 passed delegated review and merged as c7fca72 through #186. Full implementation is proposed in #187 at 3c1cfdf; it uses the approved contract and makes no live call during tests.
Executable surface after delegated approval
rsvp setacceptsgoing,not-going, andinterested. Going and not-going require nonempty caller-supplieddisplayName; interested rejects it.- Explicit
currentGuest: nullselects create and omitsguestId. An object with valid ID/status and compatible count selects update and includes the private ID. A missing property or any other variant iscontract.protocol_changed. - Planning reads
getEventInfoandgetCurrentGuestonce. It requires RSVP-enabled, non-application, non-ticketed, unprotected compatible events. Going does not support at-capacity or waitlist flows. - Party input uses named plus ones, exact party-size consistency,
maxCountPerGuest, andremainingCapacitywith update delta from the bound current-guest count. - Going requires the latest questionnaire version when enabled. Going omits questionnaire data when disabled; not-going always omits it.
- The private plan binds operation, normalized input, exact request, account fingerprint, currentGuest marker/ID/status/count, and the normalized event safeguard snapshot. Public plans redact guest/account/user IDs.
- Apply re-reads both facts once. Any bound change returns
safety.plan_stale. Apply then consumes the five-minute single-use token before exactly one transport attempt. There are no retries; uncertainty requires a new plan. - Going/not-going return only
{eventId,intent,submitted:true}after reviewed callable completion. Interested additionally requires truthysuccessand matchinginterested. No result claims persisted RSVP state or performs a post-write read. rsvp getreturns the reviewed object status or{eventId,status:null}for explicit currentGuest null. Unconstrained fields remain unavailable.
Implementation acceptance
- The no-apply invocation has no mutation effect.
- Fixture tests cover null/create, object/update, private-ID redaction, each compatibility exclusion, party and questionnaire checks, changed event/currentGuest/account/input, expiry, reuse, ambiguous transport, completion-predicate failure, and no post-write read.
- Server rejection statuses, endpoint failures, and all unobserved response variants remain protocol drift.
- Ticketing, applications, password-protected RSVP, waitlist, persisted business state, and post-write reads remain unsupported.
Tracked dependencies
Metadata
Metadata
Assignees
Labels
No labels
Activity
docs(contract): approve RSVP mapping (#166)
KalebCole commentedon Aug 12, 2026
RSVP wire mapping revision
2026-08-12.2passed one review, full validation, CI, and merged asaf0c469. The same agent is now defining the executable S5 product boundary: explicit display-name input, null-safe current-guest create/update selection, current-guest-only stale precondition, and submitted-request success without claiming persisted state or doing an unreviewed post-write read.KalebCole commentedon Aug 12, 2026
PR #185 is closed without merge after its single review found two concrete blockers: (1)
getCurrentGuestnull/missing behavior must be observed before create-vs-update selection; (2) current event read facts must cover questionnaire version, password protection, ticketing, and party/limit safeguards before going/not-going apply. A minimal authenticated read-only capture is now the next action. No RSVP mutation will be sent.KalebCole commentedon Aug 12, 2026
The specific read-only blockers are now captured without mutation: explicit
currentGuest:nullfor a no-guest event, one typed existing-guest object, and safeguard facts across 330 event details (RSVP enablement, capacity, plus-one rules, questionnaire versions, ticketing, guest action, waitlist, and password fields). Raw private data was deleted; a sanitized artifact is onspec/166-rsvp-read-evidence. The same agent is replacing closed PR #185 with an evidence-backed safe policy.docs(contract): approve RSVP read evidence (#166)
KalebCole commentedon Aug 12, 2026
Implementation PR #187 is ready for the single delegated review.
SHA:
3c1cfdf0d4935cc048db6ffcf9889eaac1e99582It implements the full accepted RSVP surface through
app.Execute: private-ID-free reads, exact create/update/interest mappings, approved compatibility checks, atomic five-minute single-use plans, stale re-reads, one-shot apply, and submitted-only results. Full Go race/vet/build/module checks, 356 non-live JS tests (6 skipped), TypeScript, privacy, and diff checks pass. No live call or mutation was used. No known blockers.feat(rsvp): add safe reads and mutation plans (#166)