Repository navigation
Description
What happens
Incoming agent-to-agent message cards in a thread can show the sender as "Unnamed participant" even when the sender is a named agent. The participant list (j5_list_participants) and the Fleet page show the right name for the same agent. The stored envelopes carry the correct sender ids and project titles.
Found in the #466 live test on 2026-10-18 at 747aa7955f (report: J5 artifact test-reports/466-no-project.md).
Repro from the live test
The receiver was a Haiku thread started from the UI in "No project". Every incoming card in it showed "Unnamed participant", from all of these senders:
| Sender | Kind |
|---|---|
| Its scratch-spawned Luna helper | plain message and Exchange reply |
| An unrelated UI-started "No project" thread on Luna | asks, follow-ups, and a reply after a restart |
| A UI-started thread in the ordinary test project | asks and a follow-up |
- It persisted across navigation and an at-rest server restart.
- It is not universal: the helper threads named their parent correctly. The other "No project" parent showed "Unnamed participant" on one visit and the correct names on a later one.
- It is not yet known whether this is specific to "No project". One failing sender was in an ordinary project, but every failing receiver was in "No project".
The tester kept the test home, so this can be reproduced: <tester worktree>/.j5code/live-test/home, receiver thread 9ee45107-dfb8-4535-845d-41898522e52e.
Lead (not confirmed)
The timeline collects every sender id in the thread and resolves them in one read (useParticipantIdentities → readParticipantIdentities, apps/web/src/j5/a2a/archiveFlowClient.ts). On the server, readParticipantIdentities decodes the whole list as ParticipantId. One id that doesn't decode fails the whole read with "A participant id is invalid." (apps/server/src/j5/a2a/clientReadRpc.ts:55). The client turns any failure into an empty map (archiveFlowClient.ts:23), so every card in that thread falls back to "Unnamed participant" (ParticipantIdentity.ts).
That fits "all cards in one thread, other threads fine". Check:
- which id the thread contributes: a Crew notice, a turn-ended notice, or a sender id the envelope parser extracts;
- whether the read actually fails, from the trace or the server log.
Done when
- Named senders show their names in that thread.
- One unresolvable id can no longer blank every name in a thread: either the server skips ids it can't decode, or the client resolves what it can.
- A focused test covers the failing input.
Activity