Desktop: Selected people chips show truncated pubkeys instead of display names
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- react, typescript
- Domain
- authorization, frontend
Research direction
Start in desktop/src/features/agents/ui/RespondToField.tsx and compare its AllowlistPicker with PersonaShareRecipients and SelectedRecipientChip. Trace how useUsersBatchQuery can resolve the persisted pubkeys after reopening the editor. Done means selected-user chips show displayName, then nip05Handle, then the truncated pubkey fallback, with an avatar when available, while respond_to_allowlist remains hex pubkeys.
Written by the indexing model from the issue text.
Description
Summary
In Edit agent → Who can send instructions → Selected people, the selected-user chips render truncated hex pubkeys (e.g. 3fa38fb8…a2ef) instead of display names / NIP-05 handles. Search results already show names, but chips discard that metadata after add.
This makes it hard to tell who was granted agent access (computer/files/tools) when revisiting the allowlist.
Repro
- Open Edit agent on a managed agent.
- Set Who can send instructions to Selected people.
- Search for a community member by name and Add them.
- Observe the chip shows truncated pubkey, not the name from search.
- Close and reopen Edit agent — same truncated pubkey chips (no profile re-lookup).
Expected
Chips show displayName → nip05Handle → truncated pubkey fallback, with avatar when available — same pattern as PersonaShareRecipients / SelectedRecipientChip.
Actual
Chips always use truncatePubkey + <PubKey> with avatarUrl={null} in AllowlistPicker (desktop/src/features/agents/ui/RespondToField.tsx). Allowlist state is correctly persisted as hex pubkey strings; only the chip label needs profile resolution (e.g. useUsersBatchQuery).
Notes
- Persistence should remain hex pubkeys (
respond_to_allowlist). - Related but distinct from allowlist persistence bugs (#2501, #3030, #4487) and people-search matching (#3353).
- Dominant language
- Rust
- Stars
- 33.7k
- Forks
- 4.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 239
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from block/buzz
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
workflow_sink's mention parser never masks code regions — @name inside a code span wakes the agent Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 Half a day Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100