Desktop mints a new agent identity when adding an existing agent to a channel/project
Desktop mints a new agent identity when adding an existing agent to a channel/project
Version: Buzz Desktop 0.5.23 (deb), relay ghcr.io/block/buzz:main (self-hosted, open mode)
What happens
Adding an existing managed agent to a new channel (or project channel) via the Desktop UI sometimes creates a brand-new keypair/identity for the same persona instead of reusing the existing one. The result is two live identities with the same display name and avatar, both channel members.
Evidence (all from one machine, same day)
Robin: instance05b8d468…created 09:27:30, second instancee0b1a6fb…created 09:26:20 — ~70s apart, same persona014a650c…, same system prompt. I never created Robin twice.Luffy: instances444feab8…,72253163…+ template, all active at once.Yamato: keeperba72d883…(08:27) plus a fresh copy6f52dc66…minted at 18:20 exactly when I added Yamato to a new project channel (sifali-defter) via the UI.- Project-channel roster auto-fill picked the stale copies (
82a21569…,01db232…,5256d74b…,787d4a16…, old Robin) instead of the live ones.
Consequences: duplicate @mention targets, double replies risk, and manual cleanup (delete/deactivate + channel remove-member per copy).
Related repair-loop damage
After I deactivated the duplicate records, the boot repair (team-membership-repair) unbound the keeper, deletion-reconcile tombstoned the persona head (kind:30175), and the keeper became a permanent orphaned agent instance (missing_persona_id), re-logged every boot:
buzz-desktop: team-membership-repair: unbinding instance "444feab8…" — persona "37e79106…" left its team's roster with no single-team successor
buzz-desktop: deletion-reconcile: tombstoning orphan kind:30175 head '37e79106…'
orphaned agent instance: pubkey=444feab8…, missing_persona_id=37e79106…
Restoring the persona template record + team roster entry did not resolve it (leaving unresolvable persona id … (0 candidate(s))), because the relay head stays tombstoned. I had to create a brand-new Luffy identity and re-do all channel memberships.
Expected
- Adding an agent to a channel reuses its existing identity, or at least prompts ("use existing Luffy (444fea…) or create new?").
- Deactivating a duplicate never tombstones a persona still referenced by other records.
- Repair should be reversible / namespaced per record, not per display name.
came here to add my comment and help escalate this issue... cause it matches my experience so far with the 2nd community i set up duplicating the bots with the same name making it ultra confusing.
aside: noticed your naming "Luffy", which is the name of my desktop rig and it totally threw me for a loop... had to check several times to confirm Buzz didnt actually leave this message on my behalf. it didnt, we just both love OnePiece!
ok, on to the report:
version and platform
- buzz version: 0.5.23 (desktop)
- os: windows 11 pro 22631
describe the bug
after creating a second community, the new community's relay holds three identities with the display name Fizz. only one is a real agent. the other two are members of zero channels and have never come online, but the desktop @-mention picker lists all three. all three share the same display name and the same avatar image, so the only thing separating the rows is a truncated npub.
two defects compound here:
- extra agent identities get minted and are never bound to a channel.
- the picker offers those identities as mention targets.
steps to reproduce
- create a community (
xyz) and let setup provision the welcome team. - create a second community (
abc) from the same desktop install. - create a private channel in the second community (
#123) and addfizzto it. - open the composer and type
@fi. - observe three rows named
fizz, two of them markednot in channel.