Repository navigation
Description
Problem
The current remote API contract was reconstructed in #153 from the best evidence available at the time. The Explore prototype found a newer first-party surface in Partiful Android 3.8.28:
getDiscoverFeedV2supports dynamic areas such as Seattle;getDiscoverSectionsV2returns current social discovery modes;getDiscoverEventItemDecoratorsreturns authenticated mutual context; and- the mobile bundle contains callable operations and request builders that are absent from the current OpenAPI spec.
This raises a useful but unproven possibility: some direct Firestore operations in the CLI may have current callable equivalents that were missed because earlier research focused on the web client and historical TypeScript code.
Prototype evidence:
- Branch: https://github.com/KalebCole/partiful-cli/tree/prototype/explore-api/prototype/explore
- Commit: 5cb55f4
Research question
What callable operations exist in the current mobile client, which ones are already represented accurately in spec/partiful.openapi.json, and which could replace direct Firestore access in a future CLI contract revision?
The goal is evidence, not a predetermined callable-only migration. Some Firestore access may remain the correct transport for realtime or collection behavior.
Work
- Acquire the latest publicly distributed Android package through a legitimate source and record its version and hashes. Do not commit the APK, bytecode bundle, or full decompiler output.
- Enumerate every statically recoverable Partiful callable name from the mobile bundle.
- Recover request construction, response consumption, pagination, and relevant client-side projection logic for operations that overlap supported CLI tasks.
- Diff the mobile inventory against:
spec/partiful.openapi.json;spec/partiful.api-evidence.json;- production callable use under
internal/remote/; and - production Firestore reads, collection queries, and patches.
- Classify each operation as:
- already represented accurately;
- newer replacement or version;
- new capability;
- possible Firestore replacement;
- unrelated internal operation;
- stale/dead code; or
- unresolved.
- Run bounded, authenticated, read-only probes for high-value candidates. Capture only sanitized shapes and safe aggregates.
- For possible mutation replacements, use static first-party evidence by default. A live write requires a separate, explicit throwaway-event plan and owner approval. This issue does not require any live mutation.
- Recommend follow-up contract tickets and a command-by-command migration order. Do not change production transports in this issue.
Priority questions
- Is there a current callable replacement for direct event Firestore PATCH?
- Can current callables replace Firestore guest collection reads?
- Is there a callable for host-message or blast-history reads?
- Do newer event-detail operations expose the fields currently missing from
getEventInfo? - Are cohost precondition reads available through callables?
- Which Firestore paths are inherently realtime data-plane behavior rather than migration candidates?
Deliverables
- A machine-readable mobile callable inventory with, at minimum:
- operation name;
- mobile app version;
- evidence source;
- recovered request fields;
- observed or consumed response fields;
- current OpenAPI status;
- current CLI use;
- related Firestore use;
- probe status; and
- disposition.
- A concise research note that explains the transport map and unresolved gaps.
- A complete inventory of production Firestore call sites, each classified as
callable replacement verified,candidate,no replacement found, orrealtime/data-plane exception. - Follow-up issue recommendations for evidence promotion and migration. Canonical OpenAPI changes remain owner-reviewed follow-up work.
Acceptance criteria
- Every statically recoverable mobile callable is included exactly once in the inventory.
- Inventory counts are computed mechanically and checked for duplicates.
- Every production Firestore call site is mapped to one disposition.
- Existing OpenAPI operations are compared by request and consumed-response behavior, not name alone.
- High-value read candidates have reproducible, sanitized live probes or an explicit blocker.
- Write candidates are not live-probed without a separate approved plan.
- No credentials, phone numbers, user IDs, guest IDs, real names, raw response bodies, APKs, or decompiled proprietary bundles are committed.
- The research separates current public-web projections, current mobile callable behavior, Firebase authentication, and Firestore data-plane access without calling one transport "legacy" merely because another is richer.
- The result says whether a callable-first migration is practical, which commands can move, and what must remain mixed-transport.
-
go test ./...,go vet ./..., repository privacy checks, and research-artifact validation pass.
Related work
-
Reconstruct and approve the remote Partiful API contract #153 reconstructed the existing owner-reviewed remote contract. This issue refreshes the evidence source and does not reopen that completed reconstruction.
-
Establish Firestore transport compatibility in Go #147 established the earlier Firestore adapter scope.
-
[P1] Investigate Firestore SDK for event updates #26 tracked the original event-update Firestore investigation.
-
Add a DRY, API-derived MCP server to partiful-cli #204 depends on one shared application-operation model for CLI and MCP. A fresher transport inventory can inform that model, but this research does not block unrelated MCP plumbing.
-
hermes 🤖
Activity
KalebCole commentedon Sep 5, 2026
Research fanout is running across eight lanes:
The browser lane is using the authenticated durable profile and the Printing Press capture rules. Live writes are limited to user-owned throwaway events and one explicitly authorized attendee test target. It will not send blasts, invite real contacts, alter cohosts on real events, cancel real events, or guess mutation endpoints.
Agent reports are evidence leads, not accepted findings. Each result will be checked against the repo, sanitized captures, remote readback, and cleanup state before the final inventory or follow-up tickets are posted.
KalebCole commentedon Sep 6, 2026
Research fanout results
Fourteen focused lanes completed across two waves. I reconciled their reports against the current repo, the sanitized mobile inventory, fresh live reads, remote branch state, and write cleanup.
Research branch: https://github.com/KalebCole/partiful-cli/tree/research/issue-206-mobile-callables
Commit: 34b7f2f
Verdict
A callable-first migration is practical and worth pursuing. A callable-only migration is not supported by the evidence.
Partiful Android 3.8.28 contains 275 unique first-party callable names. Nineteen match the current OpenAPI and production Go callable references; 256 have no current CLI command mapping. The current Go CLI has five direct Firestore route shapes.
The mobile callable surface is much richer than the current contract, but the current first-party editor still uses Firestore for generic event edits and the Auto-Reminders toggle. Several callable reads overlap current Firestore state, but they do not yet preserve every field or precondition the CLI needs.
Verified callable findings
getEventInfo, home event lists,getCurrentGuest, andgetMyRsvpsare current callable reads.getEventComments,getEventDisplayedHostMessages, andgetPendingCohostRequestForEventare live callables with{eventId}requests.setEventLocationpersisted a free-form location and passed independentgetEventInforeadback.updateDisplaySettingspersisted the final theme and passed independent readback.addGuestproduced the authorized final declined RSVP state, which remains verified.deleteEventremoved both self-owned throwaway events. Fresh reads returnEVENT_NOT_FOUNDfor both.Firestore that must remain for now
enableGuestReminders:false.checkIn, whichgetGuestsdoes not currently prove.A fresh host
guests listprobe also reproducesGUESTS_PROTOCOL_CHANGED, sogetGuestsneeds a dedicated response-drift investigation before it can support migration work.Important blocker
The create UI labeled throwaway events Private, but fresh callable readback showed public/published state. Publish/unpublish testing was intentionally stopped because safe reversal was unclear. Visibility needs its own controlled contract ticket.
Artifacts
Mechanical checks passed: 275 rows, 275 unique operation names, zero duplicates, priorities sum to 275, and five unique Firestore routes.
go mod verify,go test ./...,go vet ./...,go build ./..., the repo PII guard, staged whitespace checks, and remote SHA verification passed.The canonical OpenAPI and evidence ledger remain unchanged. This issue stays open for owner review and follow-up ticket decisions.
KalebCole commentedon Sep 6, 2026
Missing-feature issue portfolio
The mobile callable research is now split into full contract-to-release vertical slices.
New issues
Foundation and personal state:
getGuestscontract driftEvent lifecycle:
Communication, social, and media:
Ticketing and scheduling:
Communities and account:
Existing issues extended instead of duplicated
guests mutualsto find known people on an event attendee list #76: event-scoped MutualsExplore remains #102; no duplicate was created.
Every created or updated issue includes the full lifecycle: current evidence capture, OpenAPI and evidence-ledger treatment, owner review, CLI product contract and schema, typed Go operation and transport, privacy and failure tests, controlled live readback for writes, README/skill updates, and native release gates.
Independent GitHub readback verified 22 new issues, 13 updated issues, 35 unique titles, expected labels, exact remote bodies, required lifecycle sections, and resolved dependency references.
guests mutualsto find known people on an event attendee list #769 remaining items
KalebCole commentedon Sep 6, 2026
Resolution
Kaleb approved using this research to begin the Explore implementation tracked by Browse the Partiful Explorer feed before choosing an event.
Accepted findings:
getDiscoverFeedV2,getDiscoverSectionsV2, andgetDiscoverEventItemDecorators.Durable evidence:
The canonical OpenAPI and released CLI remain unchanged by this research ticket. Feature issues own evidence promotion, owner review, implementation, and release.