Repository navigation
Description
🤖 Kaleb's Grok Bot:
Problem
partiful events get and partiful events list never return who is hosting an event. The product envelopes have no host, owner, creator, or organizer field. userRole on list is only the current user's role (host or attendee), not the host's identity.
This was reproduced against v3.1.0 (tag 6618674, product contract 2026-11-12.3) and the same omission is still in current main (017e0f2). On events get, userRole and myRsvp are always null, even when list has values for the same event.
guests list is not a workaround: it is host-only (exit 4, HOST_PERMISSION_REQUIRED for guest events), and even the host view has no host flag. There is no cohosts list (COMMAND_NOT_FOUND).
Repro
- Run
partiful events list --when upcoming. - Inspect any item: keys are
eventId,title,start,end,timezone,state,userRole,myRsvp. No host or owner field. - Run
partiful events get <event-id>for a guest event and for a hosted event. - Both responses use the same data keys, none of them a host field.
userRoleandmyRsvpare null in both cases.
Root cause
The raw API is not missing host identity entirely. It returns ownerIds (opaque user IDs, not display names). The CLI already parses them, then drops them from the product envelope. Line numbers below are from current main (017e0f2).
- Remote contract in
spec/partiful.openapi.json:HomePageEvent.ownerIds(line 3589) andEventInfo.ownerIds(line 3654) arestring[]. Neither schema documentshost,hostName,creator, ororganizer. - The remote layer already maps that field to
remote.Event.OwnerIDs/OwnerIDsPresent: struct atinternal/remote/events.go:32-33, homepage list decoder atinternal/remote/events.go:365-399,getEventInfodecoder atinternal/remote/events.go:443-477(also stores every raw key, includingownerIds, inRawFields). - The product mapper uses
OwnerIDsonly to set the current user'suserRoleon list (internal/app/events.go:154-183, host check at lines 160-167). It never emits the IDs.executeEventGet(internal/app/events.go:185-244) copies title, dates, state, and a handful ofRawFields, and leavesuserRoleandmyRsvpunset (JSONnull).eventDetail(internal/app/events.go:20-36) has no host or owner field. - Product contract
2026-11-12.3encodes the omission ineventCollectionSuccessSchemaandeventGetSuccessSchema(internal/app/app.go:928-1008). On get,userRoleandmyRsvpare typed as"null"(lines 997-998).
Proposed fix
- Bump the product contract and add a reviewed host field to both
events.listitems andevents.get, at minimum the already-parsedownerIds(for examplehostIds). Wire it inprojectEventSummaryandexecuteEventGetfromevent.OwnerIDs. - Also project
userRoleandmyRsvponevents getwith the same logic list already uses. Today get advertises those keys but the schema forces them to null. - Do not invent display names. See the name-resolution findings below.
- Do not treat
guests listor a newcohosts listas the fix. The first is host-only. The second does not exist and would be a separate command.
This changes the output schema and goldens, so it is on the hold list. Do not merge without Kaleb's yes.
Name resolution (spec on main)
Researched read-only in spec/partiful.openapi.json on main (017e0f2; the file is unchanged from v3.1.0). The spec is the source of truth. One command may make only one remote call.
- The same-call event payloads do not include host display names.
getMyUpcomingEventsForHomePage(line 1195) andgetMyPastEventsForHomePage(line 1296) returnHomePageEventwithownerIdsonly (line 3589).getEventInfo(line 215) returnsEventInfowithownerIdsonly (line 3654).EventDisplaySettingsis theme, effect, and titleFont (line 4065). There is nohost,hostName,ownerName,creator, ororganizerfield on those schemas. - There is no spec operation that looks up arbitrary user IDs and returns display names. No
getUser,getProfile, or similar path exists. lookupFirebaseUser(line 2190,POST /v1/accounts:lookup) takes only the current sessionidToken(lines 2197-2203) and can returnFirebaseLookupUser.displayName(line 3380) for the authenticated Firebase user. It is not a general profile lookup forownerIds.getContacts(line 306) returnsContactitems withid,name, andsharedEventCount(schema lines 3902-3921). That is a separate call, so using it fromevents getorevents listwould be a chained call, which is out of scope. The spec also does not document thatContact.idmatchesownerIds, so this is not a reviewed join.getGuests(line 415) returnsGuestListItemwithnameand optionaluserId(lines 4350-4381). That is also a separate call, and guests are not the host list. The CLI already treatsguests listas host-only.
So names cannot come from the same list or get call as specified today. Resolving ownerIds to display names needs a follow-on research and contract review, not an invented endpoint or inferred join.
Related issues (not duplicates)
- feat(events): expose my personal RSVP (myRsvp) in events list + fix isHost via JWT identity #56 (closed): expose
myRsvpand fix the current user's host flag on list only. That shipped asuserRole/myRsvpon list. It did not add a host identity field, and get still returns both as null. - events get shows null location for guest events (locationInfo not mapped) #60 (open, held):
events getdrops another populated detail field (location/locationInfo). Same class of product-mapping omission, different field. - bug(events): get drops populated event detail fields as null #232 (closed):
events getdropped populated detail fields as null. Host was not in scope.
No existing issue asks to return the event host on events get or events list.
Activity
KalebCole commentedon Nov 23, 2026
🤖 Kaleb's Grok Bot:
Contract review on main (
017e0f2) for host names: no typed same-call source is in the spec, so I did not open a PR.HomePageEventandEventInfodocumentownerIdsonly (spec/partiful.openapi.jsonL3589 and L3654). List and get responses have no users map or host profile object. The only name-like clue is research:hostNamewas present on 17 of 330getEventInforesponses (spec/research/rsvp-read-evidence-redacted-20260812.jsonL227-228), but type and values were redacted. VISION.md keeps that as research until it is reviewed into the spec, so I will not guess that it is a display-name string. List fixtures do not retain enough key names to confirm the field there. VISION.md also says the CLI must not print Partiful user IDs, so I am not shipping rawownerIdsas a stand-in.A second call would need your explicit exception to the one-call rule.
getContactscan return names, but it is a paged traversal (2,451 contacts over 4 pages in the 2026-08-11 observation) andContact.idis not a reviewed match forownerIds.getGuestsis one extra call per event, host-only today, and is a guest list rather than a host list.The clean path is a typed, privacy-safe observation of
hostNameon get and list, then a held PR once that is in the spec. Details are in tasks.db row 94. Waiting on you.KalebCole commentedon Nov 24, 2026
🤖 Kaleb's Grok Bot:
Kaleb said the vision should allow a JSON of host IDs, so I opened two held PRs. Names stay unset; I did not guess them. Neither PR is merged.
hostIds. CI is green (verify and deploy-preview succeeded; CodeRabbit skipped; Codex review found nothing).hostIds(from same-callownerIds) toevents listandevents get, projectsuserRole: "host"on get when the current user is an owner, and leavesmyRsvpnull because getEventInfo has no guest status. Product contract is2026-11-23.1. CI is green. Codex's review asked to keep IDs redacted under the current AGENTS.md rule; I replied that docs(vision): allow printing phones, emails, and Partiful user IDs #263 is the policy change and this PR should follow it.Exact new VISION.md line:
The CLI never prints phone numbers, email addresses, or access tokens. It may print event host IDs (Partiful user IDs of event owners) as
hostIds, and it never prints other Partiful user IDs.Waiting on your merge yes for both.