Skip to content

Browse the Partiful Explorer feed before choosing an event #102

Open

Description

@KalebCole

Parent

Expand partiful-cli to the current Partiful capability surface

User scenario

I want to discover public Partiful events from the CLI before I know an event ID, see which events involve my Mutuals, and then use the existing canonical event and RSVP commands.

Problem

The current Go CLI has no explore command group. It can read or act on a known event ID, but it cannot browse the current discovery feed, return social sections, or paginate through public events.

The retired pre-v3 TypeScript CLI and historical notes are research evidence only. Do not preserve or recreate old explore rsvp or explore interested aliases. Existing events get, rsvp get, and rsvp set remain the canonical commands after discovery.

Verified evidence

Issue #206 and the throwaway Explore prototype verified the current Android 3.8.28 callable surface:

  • getDiscoverFeedV2 returns dynamic-area events and opaque cursor paging;
  • getDiscoverSectionsV2 returns generated Trending, Friends, Open Invite, and Followed Orgs sections;
  • getDiscoverEventItemDecorators returns authenticated mutual-guest previews;
  • Seattle works as {type:"DYNAMIC",countryCode:"US",state:"Washington",city:"Seattle"}; and
  • a complete observed Seattle feed returned 17 unique events across two pages.

Research artifacts:

This evidence is not yet part of the owner-approved OpenAPI contract.

Approved first release

partiful explore list \
  --city Seattle \
  --state Washington \
  --country US

partiful explore list \
  --city Seattle --state Washington --country US \
  --section <trending|friends|open-invite|followed>

partiful explore list \
  --city Seattle --state Washington --country US \
  --date-filter <anytime|today|tomorrow|this-week|this-weekend>

partiful explore list \
  --city Seattle --state Washington --country US \
  --all --max-items 100

The command requires the existing Partiful authentication/session path even when a tested feed read also works signed out. Authenticated operation gives one stable product boundary and enables mutual context.

Each event result includes only reviewed fields:

{
  "eventId": "evt_example",
  "url": "https://partiful.com/e/evt_example",
  "title": "Example event",
  "start": "2026-09-12T19:00:00-07:00",
  "end": null,
  "timezone": "America/Los_Angeles",
  "location": ["Seattle, WA"],
  "mapsUrl": null,
  "goingCount": 42,
  "maybeCount": null,
  "interestedCount": 19,
  "mutuals": [
    {"displayName": "Example Mutual", "status": "going"}
  ],
  "mutualsPreviewComplete": null
}

mutualsPreviewComplete remains null until the remote contract proves completeness. Location output must preserve approximate and hidden-location behavior.

Date facets reproduce the first-party event-local overlap rules. They are local transformations over fetched event dates; filtered completeness must be explicit when unread cursor pages remain.

V1 transport scope

Promote and implement only:

  • getDiscoverFeedV2
  • getDiscoverSectionsV2
  • getDiscoverEventItemDecorators

Defer from V1:

  • getDiscoverTagsV2, which has no recovered current caller and returned an empty catalog;
  • map-pin commands;
  • date-range/calendar commands;
  • arbitrary full-text or radius search;
  • public Next.js /_next/data fallback;
  • Interest or RSVP aliases under explore; and
  • every discovery write.

Full delivery lifecycle

  1. Convert the sanitized V2 feed, sections, and decorator evidence into a proposed remote-contract revision. Update spec/partiful.openapi.json, spec/partiful.api-evidence.json, and the remote-contract research notes without guessing unobserved variants.
  2. Obtain owner approval for the remote-contract revision.
  3. Update docs/CLI-PRODUCT-CONTRACT.md with the command, input model, output projection, pagination, errors, authentication boundary, privacy behavior, and local date-filter semantics.
  4. Add explore.list to the typed application and command catalog so partiful schema explore.list is generated from the same definition used by execution.
  5. Implement bounded remote clients for the three approved callables. Keep raw user IDs, owner IDs, guest IDs, tokens, device metadata, and backend bodies private.
  6. Add fixture-backed request/response tests, malformed and unknown-variant failures, cursor tests, local date-filter tests, authentication failures, empty feed/section results, location privacy cases, mutual-preview uncertainty, and CLI/MCP operation parity when MCP is available.
  7. Run a read-only authenticated Seattle E2E against the current service. Verify pagination has no duplicates, section counts compose, and mutual decoration does not alter events.
  8. Update README and the Partiful skill. Run go mod verify, go test ./..., go test -race ./..., go vet ./..., go build ./..., the PII guard, and ./scripts/verify-native-release.sh.

Acceptance criteria

  • partiful explore list returns a stable JSON collection of reviewed event summaries.
  • Dynamic area input requires explicit city, state, and country fields; the CLI does not guess unsupported region codes.
  • Trending, Friends, Open Invite, and Followed sections are selectable through stable product values, not exposed remote section IDs.
  • Opaque cursor and --all --max-items behavior follows the existing bounded collection contract without duplicates.
  • Date filters match first-party event-local overlap semantics and report incomplete filtering when unread pages remain.
  • Authenticated mutual previews include display name and normalized status without private IDs.
  • Empty feed, empty section, and no-mutual states are successful empty results.
  • Hidden and approximate locations remain privacy-safe.
  • Unknown fields, malformed variants, invalid cursors, unsupported areas, auth failures, and remote drift produce structured errors.
  • Existing events get, rsvp get, and rsvp set behavior is unchanged.
  • No explore rsvp or explore interested alias is added.
  • OpenAPI, evidence ledger, remote contract, CLI product contract, schema, help, code, tests, README, and skill ship together.
  • Full Go, race, vet, build, privacy, and native release gates pass.

Blocked by

Research current mobile callables and Firestore migration candidates

Related work

Activity

  1. added
    enhancement
    on Aug 5, 2026
  2. added
    wayfinder:task
    on Sep 6, 2026
  3. self-assigned this
    on Sep 6, 2026
  4. KalebCole commented on Sep 6, 2026

    @KalebCole
    OwnerAuthor

    Implementation worker started.

    • Profile: coder
    • Process recovery anchor: proc_4f888eda00a8 (PID 94827)
    • Worktree: /Users/kalebcole/repos/partiful-cli/.worktrees/feat-issue-102-explore-v1
    • Branch: feat/issue-102-explore-v1
    • Base: edbdd4de7c1c6e768394bed1a989f8091364231d
    • Scope: authenticated Explore V1 from the current issue body
    • Stop condition: verified PR against main; no merge, issue closure, release, global install, or event/RSVP mutation

    The exact Hermes session ID has not appeared in startup output yet. This process handle is the recovery anchor until the worker reports its session ID.

    • hermes 🤖
  5. 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. Needs: Kaleb's go-ahead, then the Explorer feed read reviewed into the spec.

  6. 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

Labels

enhancementheldwayfinder:task

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions