Skip to content

feat(agent): encode myRsvp enum semantics so SENT is understood without inference #68

Open

Description

@KalebCole

Parent

#206

User scenario

As an attendee or host, I want every personal RSVP value to have deterministic machine-readable meaning.

Problem

Raw RSVP values are preserved, but sent, host precedence, interested, waitlist, approval, and unanswered invitation semantics are not fully encoded in current Go schema/help.

Evidence and current state

The current Go list and RSVP reads plus issue #206 getMyRsvps evidence provide a fresh basis. This is primarily a product-semantics slice; the remote-contract step may produce a reviewed no-change decision.

Proposed experience

partiful events list --when upcoming
partiful rsvp list

Commands use the existing JSON envelope, schema catalog, structured errors, pagination model, and privacy projection.

Scope boundaries

Preserve raw status fidelity. Derived labels must not collapse host, invited, interested, maybe, waitlist, approval, or declined states.

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

The current Go list and RSVP reads plus issue #206 getMyRsvps evidence provide a fresh basis. This is primarily a product-semantics slice; the remote-contract step may produce a reviewed no-change decision.

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

  1. 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.
  2. Audit the current spec/partiful.openapi.json and spec/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.
  3. Obtain owner approval for the remote contract before implementation treats new evidence as authoritative.
  4. 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.
  5. Implement the required internal/remote transport 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.
  6. 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.
  7. 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.
  8. 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

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.

Related work

Activity

  1. added
    documentation
    enhancement
    on Jul 25, 2026
  2. added
    wayfinder:task
    on Sep 6, 2026
  3. KalebCole commented on Nov 14, 2026

    @KalebCole
    OwnerAuthor

    Triage bot: held for Kaleb. Encoding myRsvp semantics in schema and help changes the public contract and schema goldens, which need his review (draft VISION (#256)). Needs: the enum meanings confirmed against spec/partiful.openapi.json and deliberately updated goldens.

  4. added
    held
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationenhancementheldwayfinder:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions