Repository navigation
Description
Parent
User scenario
As an attendee, I want events get to show the location I am allowed to see without revealing a hidden exact address.
Problem
Guest event reads can contain locationInfo while the current product projection returns null location/address. Approximate and exact locations have different privacy semantics.
Evidence and current state
Issue #206 confirmed getEventInfo as the current detail read and write-verified setEventLocation separately. This issue owns recipient-safe read projection only.
Proposed experience
partiful events get <event-id>
Commands use the existing JSON envelope, schema catalog, structured errors, pagination model, and privacy projection.
Scope boundaries
Use only the visibility-appropriate fields returned to the caller. Never turn an approximate location into an exact address, and do not reuse display projection as clone/create input.
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 confirmed getEventInfo as the current detail read and write-verified setEventLocation separately. This issue owns recipient-safe read projection only.
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; not blocked by host setting writes.
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. Fixing the guest location projection changes public output and schema goldens, and golden changes need his review. Needs: the guest
locationInfoshape reviewed intospec/partiful.openapi.json, explicit approximate vs exact location privacy rules, and deliberately updated goldens.