Repository navigation
Description
Parent
User scenario
As a host, I want to review and safely promote waitlisted guests when capacity becomes available.
Problem
The CLI can read WAITLIST as a status but intentionally refuses at-capacity and waitlist mutations. The old issue body had no verified transport, privacy model, or confirmation boundary.
Evidence and current state
Issue #206 identifies host guest-mutation candidates but does not establish waitlist order, promotion, capacity, notification, or persistence semantics.
Proposed experience
partiful waitlist list <event-id>
partiful waitlist promote <event-id> --guest <selector>
partiful waitlist promote-next <event-id> --count <n>
Commands use the existing JSON envelope, schema catalog, structured errors, pagination model, and privacy projection.
Scope boundaries
Never expose phone numbers or emails. Promotion and notification are consequential, require exact guest/capacity preconditions, one dispatch attempt, and independent roster/capacity readback.
Discovery needed
- Exact request, response, authorization, pagination, and error behavior
- Successful, empty, malformed, unauthenticated, unauthorized, and protocol-drift fixtures
- Current first-party field consumption and projection rules
- Mutation idempotency, notification, reversal, and readback behavior where applicable
Acceptance criteria
- The user scenario is demoable through the public CLI and stable JSON.
- Empty states succeed without becoming permission or protocol errors.
- Private identifiers and backend bodies remain redacted.
Contract-to-release lifecycle (2026 mobile callable refresh)
Updated evidence starting point
Issue #206 identifies host guest-mutation candidates but does not establish waitlist order, promotion, capacity, notification, or persistence semantics.
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
- Blocked by fix(remote): repair current getGuests contract drift #207 and feat(guests): add evidence-backed host guest management actions #209.
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 Nov 14, 2026
Triage bot: held for Kaleb. Every new command waits for his review for now (draft VISION (#256)), and a command ships only for an operation defined in
spec/partiful.openapi.json, with Go tests and reviewed schema goldens. Waitlist promotion is a guest mutation, so it needs TTY confirmation, --dry-run, and one-shot dispatch. Needs: Kaleb's go-ahead, then the waitlist read and promote operations reviewed into the spec.