Repository navigation
Description
Problem
Hosts need to set when RSVPs close and cap attendance while creating or updating a party. The CLI exposes --capacity, but does not expose an RSVP deadline. A real create also showed a capacity write mismatch: events create --capacity 12 returned success while the Partiful editor still displayed Unlimited spots.
User scenario
Create a picnic for August 22 at 3 PM, close RSVPs on August 20 at noon, and cap attendance at 12. This should be possible in one agent-safe CLI operation and verifiable with read-after-write.
Desired CLI
partiful events create \
--title "Sunset Picnic" \
--date "Aug 22 2026 3:00pm" \
--timezone America/Los_Angeles \
--capacity 12 \
--rsvp-deadline "Aug 20 2026 12:00pm"
partiful events update <event-id> \
--capacity 12 \
--rsvp-deadline "Aug 20 2026 12:00pm"Acceptance criteria
events createandevents updateaccept--rsvp-deadline <date>and parse it in the event timezone.--capacity Npersists the exact guest limit during create and update.- Machine-readable schemas document both fields.
- Structured output returns normalized deadline and capacity values.
- Read-after-write verification detects rejected or silently ignored fields.
- Invalid deadlines fail closed: malformed timestamps, deadlines after event start, and non-positive capacity.
- Unit tests cover payload encoding, timezone conversion, validation, create, update, and schema output.
- No guessed API fields: RSVP deadline wire format is established from captured first-party behavior or an authoritative endpoint response.
Reproduction for capacity mismatch
- Run
partiful events create ... --capacity 12 --format json. - Command returns success.
- Open the new party in Partiful editor.
- Capacity displays Unlimited spots.
Notes
The existing code appears to encode create and update capacity through different payload paths. Treat RSVP deadline as an API-contract discovery task before implementation; do not ship a plausible but unverified field name.
Contract-to-release lifecycle (2026 mobile callable refresh)
Updated evidence starting point
Issue #206 confirms current event-detail readback and a mixed callable/Firestore editor. Existing TypeScript evidence must be refreshed into the current Go remote and product contracts before deadline/capacity implementation.
Issue #206 and its research branch are evidence inputs, not authority. Operation names alone do not establish request schemas, authorization, response semantics, persistence, or safe mutation behavior.
Delivery lifecycle
- Capture current first-party request, response, authorization, pagination, failure, and consumed-field evidence. Use read-only probes first and controlled self-owned fixtures for writes.
- Audit the current
spec/partiful.openapi.jsonandspec/partiful.api-evidence.json. Propose the smallest remote-contract revision needed, or record a reviewed no-change decision when the existing transport contract is sufficient. - Obtain owner approval for the remote contract before implementation treats new evidence as authoritative.
- Update
docs/CLI-PRODUCT-CONTRACT.md, the typed application operation, public command catalog,partiful schema, help, output projection, empty states, structured failures, and safety metadata together. - Implement the required
internal/remotetransport and one typed application operation that the CLI uses directly and a future MCP adapter can reuse. Do not expose raw callable, Firestore, or shell escape hatches. - Add fake-transport contract tests, input and projection tests, privacy regressions, permission/error cases, pagination bounds, and CLI/MCP semantic parity when MCP is available.
- Run controlled end-to-end verification. Every mutation needs dry-run, exact authorization and precondition checks, at-most-once dispatch, independent readback, and fixture cleanup.
- Update README and the Partiful skill, then run
go mod verify,go test ./...,go test -race ./...,go vet ./...,go build ./..., the PII guard, and./scripts/verify-native-release.sh.
Dependency updates
- Related to feat(events): add scoped location, display, and reminder settings #210 for other scoped host settings.
Additional acceptance gates
- Operation-specific evidence is sanitized, reproducible, and classified by source.
- OpenAPI and evidence-ledger treatment is owner-approved before implementation lands.
- CLI product contract, schema, help, safety metadata, and JSON output agree.
- Empty, malformed, unauthenticated, unauthorized, not-found, and protocol-drift cases are explicit.
- Private identifiers and backend bodies do not enter normal output, errors, diagnostics, fixtures, or MCP context.
- Controlled live verification exercises the actual transport and independent readback.
- Full Go, race, vet, build, privacy, contract, and native release gates pass.
Activity
KalebCole commentedon Aug 8, 2026
Implementation update:
events update --capacity N, which live read-after-write confirmed persistsguestLimit: 12.KalebCole commentedon Nov 14, 2026
Triage bot: question for Kaleb. RSVP deadline support shipped in #108, and b1d9eeb now reports capacity in
events get. If the create-time capacity mismatch no longer reproduces, this can close. Needs: confirmation, not a live test from triage.