Skip to content

docs(contract): add RSVP read evidence - #186

Merged
KalebCole merged 3 commits into
mainfrom
spec/166-rsvp-read-evidence
Aug 12, 2026
Merged

KalebCole merged 3 commits into
mainfrom
spec/166-rsvp-read-evidence

Conversation

@KalebCole

@KalebCole KalebCole commented Aug 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Evidence-backed contract continuation of #166. This supersedes the policy in closed PR #185 with owner-authorized, sanitized read facts. It proposes product/remote revision 2026-08-12.3; shipped Go constants remain unchanged. No credentials were used and no live call or mutation was made during this work.

  • commits the sanitized aggregate artifact and a privacy-safe observation note
  • records 330 successful event-detail reads plus explicit currentGuest null/object variants
  • maps explicit null to create without guestId and a valid object to update with private guestId
  • requires caller-supplied displayName for going/not-going
  • requires RSVP-enabled, non-application, non-ticketed, unprotected compatible events
  • blocks going at capacity and does not invent waitlist behavior
  • enforces named-party consistency, max-per-guest, remaining-capacity delta, and latest questionnaire version
  • binds exact private request, account, currentGuest marker/ID/status/count, and normalized event safeguards
  • redacts guest/account/user IDs from public plans and adds a direct guestId regression
  • consumes a five-minute single-use plan before one attempt, with no retry
  • returns minimal submitted intent only; no persisted-state claim or post-write read

The existing .2 addGuest and markEventInterest request/completion facts are unchanged. Interest still requires truthy success and matching interested. All server rejections and unobserved variants remain protocol drift.

Validation

  • contract tests: 35 passed
  • full non-live JavaScript suite: 356 passed, 6 skipped
  • TypeScript check passed
  • go test -race ./..., go vet ./..., and go build ./... passed
  • Go module verify/tidy checks passed
  • strict artifact schema/privacy tests passed
  • privacy and diff checks passed

Explicitly unsupported

Ticketed events, application events, password-protected events, at-capacity going/waitlist flows, missing or alternate currentGuest variants, unobserved server errors, mutation business success, and post-write state remain unsupported.

Part of #166.

Summary by CodeRabbit

  • Documentation

    • Updated the RSVP contract to revision 2026-08-12.3.
    • Clarified current-guest responses, including valid guest data and explicit no-guest results.
    • Documented RSVP validation for names, plus-ones, questionnaires, capacity, event compatibility, and privacy-safe response handling.
    • Added evidence describing RSVP and event safeguard behavior while preserving unknown and fail-closed cases.
  • Tests

    • Expanded contract coverage for RSVP response variants, event safeguards, redaction rules, and revision metadata.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@KalebCole, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 43 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: dddba7f8-7c4e-423a-9e5f-9ae3f91d77e4

📥 Commits

Reviewing files that changed from the base of the PR and between fc0d7e7 and 28dc506.

📒 Files selected for processing (8)
  • docs/CLI-PRODUCT-CONTRACT.md
  • docs/REMOTE-API-CONTRACT.md
  • docs/research/2026-08-10-partiful-api-contract-evidence-ledger.md
  • docs/research/2026-08-12-rsvp-mapping-public-assets.md
  • spec/partiful.api-evidence.json
  • spec/partiful.openapi.json
  • spec/research/rsvp-read-evidence-redacted-20260812.json
  • tests/remote-api-contract.test.js

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 166d5641-6696-471d-9783-c2c8b75ebb06

📥 Commits

Reviewing files that changed from the base of the PR and between af0c469 and fc0d7e7.

📒 Files selected for processing (11)
  • docs/CLI-PRODUCT-CONTRACT.md
  • docs/REMOTE-API-CONTRACT.md
  • docs/adr/0001-greenfield-go-module-seams.md
  • docs/research/2026-08-10-contract-evidence-sources.md
  • docs/research/2026-08-10-partiful-api-contract-evidence-ledger.md
  • docs/research/2026-08-12-rsvp-mapping-public-assets.md
  • docs/research/2026-08-12-rsvp-read-observation.md
  • spec/partiful.api-evidence.json
  • spec/partiful.openapi.json
  • spec/research/rsvp-read-evidence-redacted-20260812.json
  • tests/remote-api-contract.test.js

📝 Walkthrough

Walkthrough

The contract revision advances to 2026-08-12.3. RSVP reads now support validated object or null current-guest responses. RSVP writes add display-name, safeguard, questionnaire, stale-plan, single-attempt, and minimal-result rules. Evidence artifacts and tests record the revised schemas and observations.

Changes

RSVP contract and evidence

Layer / File(s) Summary
RSVP evidence and schemas
docs/REMOTE-API-CONTRACT.md, docs/research/*, spec/partiful.api-evidence.json, spec/partiful.openapi.json, spec/research/*, tests/remote-api-contract.test.js
The contract records sanitized RSVP observations from 330 event details. CurrentGuest supports observed object and null variants. EventInfo includes typed RSVP, capacity, questionnaire, ticketing, guest-action, and waitlist fields. Tests validate the evidence artifact, schema shapes, aggregates, citations, privacy constraints, and revision metadata.
RSVP planning and single-attempt apply
docs/CLI-PRODUCT-CONTRACT.md, docs/adr/0001-greenfield-go-module-seams.md, tests/remote-api-contract.test.js
RSVP writes require and normalize displayName, plus-ones, messages, timezones, and questionnaire input. Plans bind pre-read guest and event facts. Apply rereads and compares those facts, consumes the token before dispatch, makes one request, and returns only {eventId, intent, submitted}.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant CLI
  participant RemoteAPI
  participant MutationPlan
  participant TokenStore
  CLI->>RemoteAPI: Read event and current guest
  CLI->>MutationPlan: Store normalized RSVP input and safeguards
  CLI->>RemoteAPI: Re-read bound facts during apply
  RemoteAPI-->>MutationPlan: Return current event and guest facts
  MutationPlan->>TokenStore: Consume the single-use token
  MutationPlan->>RemoteAPI: Dispatch one RSVP mutation
  RemoteAPI-->>CLI: Return minimal submitted result
Loading
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: adding RSVP read evidence to the contract documentation.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch spec/166-rsvp-read-evidence

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-12 14:35 UTC

Ubuntu added 2 commits August 12, 2026 14:31
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 7b842425-e150-41a6-9cd2-6b0842fe8c01
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 7b842425-e150-41a6-9cd2-6b0842fe8c01
@KalebCole
KalebCole merged commit c7fca72 into main Aug 12, 2026
2 checks passed
@KalebCole
KalebCole deleted the spec/166-rsvp-read-evidence branch August 27, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant