Desktop @-mention picker: typing a prefix filters out an agent that appears in the full list
Summary
An agent shows correctly in the full @ mention list (unfiltered), but disappears from the list the moment the mention-picker's text filter is applied — e.g. typing v when the agent's name is "Vera" removes it from the suggestions instead of narrowing to it.
Repro
- Open a channel where the agent is a member (confirmed: agent is a channel member,
kind:0display_name is clean ASCII "Vera" with no hidden/invisible characters,kind:10100agent-directorynamefield is also clean ASCII "Vera", agent status isonline). - Type
@— the full picker opens and the agent appears in the list correctly, tagged "agent", with an online indicator. - Continue typing
v— the agent drops out of the filtered suggestions and cannot be selected via the picker. - Confirmed server-side the agent is fully functional: an out-of-band
buzz messages send --mention <pubkey>to this agent was picked up and replied to within 7 seconds, so this is a picker/filter UI bug, not a broken agent or a brokenkind:10100mention-eligibility record. - Restarting Buzz Desktop fully (quit + relaunch) does not resolve it — ruled out stale local cache/index.
Environment
- Desktop v0.5.25
- Verified against a self-hosted relay (Postgres inspected directly) —
kind:0andkind:10100records for the affected pubkey are both present, fresh (republished within the last 30 min via our own directory-sync job, schema mirrors the one in #5546), and byte-clean (checked via UTF-8 hex encode, no zero-width/invisible characters).
Why this isn't already-known ground
This looks adjacent to the duplicate-name mention-binding work in #7133/#7124/#7385, but it isn't a duplicate-name collision (only one identity with this name exists in the channel) and it isn't a missing/stale kind:10100 record (confirmed present and current). It reproduces specifically on the filter-by-keystroke step of the picker, after the full list has already rendered the entry correctly.
Impact
Makes an agent effectively unreachable via the picker for anyone who types to narrow the list rather than scrolling the full one — the common case on a busy channel with many members.
Follow-up with a much cleaner repro, isolated from the picker-filter bug and from any duplicate/stale data on our side.
What we ruled out first
- Server-side
kind:0/kind:10100records for the affected agent ("Vera") are clean, current (republished every 30 min), and correctly show her as an online channel member. - We found and cleared a large batch of duplicate builtin-persona entries (Fizz/Honey/Pollen/Bumble — both a stale server-side
userscache and, separately, Desktop's own locally-cachedmanaged-agents.json/teams.json, seeded from Desktop's built-in "Welcome Team" template) that were flooding the picker. After clearing both, the picker list is short (~20-25 real entries), matching the actual roster size. - Desktop's separate Channel Members dialog (the one opened from the member-count button in the channel header, not the composer
@picker) finds this agent instantly via its own search box, shows her online, correctly tagged "agent". So she is a confirmed, current channel member by every other measure. - A hand-typed
@Vera(bypassing the picker entirely) posts as plain text but does not create a real mention — confirmed server-side, the resulting event has noptag. So typing a name manually is not a working substitute for picking from the list.
The remaining bug
With the picker's duplicate-persona pollution cleared, we scrolled the entire unfiltered @ picker list end to end, several times, across app restarts. It contains every other real teammate — including several added since our first report — but this one specific agent never appears in it, consistently, regardless of list ordering (which itself isn't stable between opens — different runs show different relative ordering of the same entries, so this isn't simply being cut off by a render limit at a fixed position).
This looks like a bug specific to how the composer's @-mention picker's data source treats this one identity, distinct from:
- the duplicate-selection bug fixed in #7133/#7124/#7385,
- the persona-duplication issue in #4814/#4815 (not a duplicate-name collision here — only one identity exists with this name in the channel),
- and the filter-narrows-to-nothing bug reported in the OP of this issue (which is also still present, separately, on the same build).
Happy to share the agent's pubkey/kind:10100 payload privately if useful for reproducing against a synthetic community, since posting it here would be spammy for other subscribers.