Skip to content

Add privacy-safe event-contextual Crush discovery and sending #105

Open

Description

@KalebCole

User scenario

I am viewing an event and want to find an eligible Mutual, send them a private Crush, and learn only whether it becomes a mutual match. I should not have to expose the event roster or weaken Partiful's anonymity rules to use the CLI.

Problem

Crush is an event-contextual, app-only social feature. The CLI has no candidate discovery, send operation, monthly quota, match state, notification preference, or host setting. contacts list can return Mutuals and shared-event counts, but it is not a verified Crush eligibility source. guests list is host-only and cannot serve as a privacy bypass for attendees.

Verified product behavior

Partiful's current first-party documentation says:

  • users may Crush a Mutual, meaning someone with whom they have attended an event;
  • the recipient receives an anonymous notification;
  • the notification may identify the last shared event;
  • Partiful suppresses the shared event when it is small enough to reveal the sender;
  • identities are revealed only after the recipient sends a Crush back;
  • users can send up to 10 Crushes per month;
  • hosts can disable guest Crushes for an event;
  • Crush is currently available in the Partiful app.

Current web code exposes Crush notification types and the event field disableCrush. It does not expose a complete candidate or send protocol. Guessed read operations returned 404 and are not a contract. No Crush was sent during investigation.

Sources:

Proposed experience

Exact names remain subject to mobile API capture:

partiful crush candidates --event <eventId> --query "name"
partiful crush send --event <eventId> --user-id <id> --dry-run
partiful crush status
partiful events update <eventId> --allow-crushes
partiful events update <eventId> --disable-crushes

crush status should expose only safe account state such as remaining quota and server-confirmed matches whose identities Partiful has already revealed. It must never list incoming anonymous senders.

Scope boundaries

  • Preserve server eligibility, block state, event-size privacy, monthly limits, and match transitions.
  • Never infer an anonymous sender from event attendance, notification timing, roster size, or local history.
  • Never expose a received-Crush list before a server-confirmed mutual match.
  • Require exact target resolution, confirmation, and --dry-run for sends.
  • Host enable/disable is an event setting and requires host permission plus read-back.
  • Turning off Crush notifications must not be described as preventing incoming Crushes unless the product proves that behavior.
  • Do not implement guessed endpoint names or payloads.

Discovery needed

Capture the mobile app's canonical event selection, candidate listing/search, send request, response, quota, cancellation if any, pending state, match transition, notification preference, host-setting update, idempotency, and error contracts. Verify whether a Crush can be canceled, repeated, or redirected, and what happens after a block or event setting change.

Acceptance criteria

  • Candidate discovery uses only Partiful's canonical eligibility response and respects event and roster privacy.
  • Users can search eligible candidates without exposing hidden attendees or internal IDs in normal output.
  • crush send requires exact selection, confirmation, and supports a zero-mutation --dry-run.
  • Send results reveal no more than Partiful's app reveals at that state.
  • Monthly quota and safe pending/match state are machine-readable when the server provides them.
  • Anonymous incoming Crushes remain anonymous until a server-confirmed mutual match.
  • Hosts can read and change the event's Crush setting with permission checks and read-back.
  • Empty candidates, disabled events, ineligible targets, limits, blocks, duplicates, and state conflicts produce structured results or errors.
  • CLI help, schemas, privacy-focused unit tests, and a controlled E2E plan with explicit participants ship together.

Related work

#76 owns the general task of intersecting Mutuals with a visible attendee list. Crush may depend on its discovery work, but it must use the stricter server-provided Crush eligibility contract rather than treating every visible Mutual as eligible. The Block List issue owns durable account blocking, which Crush must honor without trying to infer its implementation.

Contract-to-release lifecycle (2026 mobile callable refresh)

Updated evidence starting point

Issue #206 confirms only inventory-level Crush and eligibility names. The original anonymity, quota, block, match, and host-setting boundaries remain mandatory.

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.

Activity

  1. added
    enhancement
    on Aug 5, 2026
  2. added
    wayfinder:task
    on Sep 6, 2026
  3. KalebCole commented on Nov 14, 2026

    @KalebCole
    OwnerAuthor

    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. Must keep Partiful's anonymity rules and not expose the roster. Needs: Kaleb's go-ahead, then the Crush discovery and send operations reviewed into the spec.

  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

    enhancementheldwayfinder:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions