Per-account local workspace file leaks agent roster & relay info across communities
On a single Buzz account with multiple communities (e.g. a personal community and a separate business community), the local on-disk workspace directory is shared across all of that account's communities — including the file that lists active agents and workspace info (AGENTS.md).
Actual channel membership is correctly scoped: calling the channel-members endpoint for a given channel only returns the bots actually added to that specific channel.
However, the shared workspace file lists the full agent roster from every community under the account, not just the current one, and its documented relay differs from the relay the current session is actually connected to (each community appears to connect via its own relay subdomain, e.g. <community>.communities.buzz.xyz). Several agent entries also appear duplicated in the roster table, consistent with the file being appended to by multiple communities without deduplication.
Expected: the local workspace file (or equivalent) should be scoped per-community, or at minimum clearly label which community each roster entry/relay reference belongs to.
Actual: roster and relay info from one community bleeds into another community's workspace file on the same account — likely also surfacing in Desktop's agent list/picker UI, which is confusing when a user has more than one community.
+1. Buzz, Fizz, and Honey come back with a vengeance across all communities.
Confirmed on Desktop 0.5.3 with a three-community account — and the leak isn't only cosmetic: the shared unscoped roster is the mechanism behind the cross-community @mention collisions in #2515.
What we saw. One account, three communities: two Block-hosted (dev-da, vibecoding) and one self-hosted relay. A grep of the desktop's local state (~/Library/Application Support/xyz.block.buzz.app/agents/ plus the Buzz-managed ~/.buzz/AGENTS.md) returned, from a single account:
- Relay URLs for all three communities side by side —
wss://dev-da.communities.buzz.xyz(by far the most-referenced),wss://vibecoding.communities.buzz.xyz, and the self-hostedwss://…— i.e. the documented relay does not match whichever community is currently active, exactly as reported. - Duplicate roster rows: the same built-in display names (
Bumble,Fizz,Honey) each appearing twice, consistent with the file being appended to per-community with no dedup. We had to prunemanaged-agents.jsonby hand to clear them.
Channel membership was correctly scoped (the channel-members endpoint only returned bots actually in that channel) — so this is purely the local file, matching your "actual membership is correct, the file is not" split.
The functional consequence (ties this to #2515). Duplicate display names in the shared roster don't just confuse the reader — on this build an ambiguous @Name resolves to no p tag at all (no error, no log line), so a name duplicated across communities becomes silently unmentionable. So the per-community-scoping fix you propose here would also remove the collision surface in #2515: one unscoped, un-deduped roster file is what lets two same-named identities coexist in one mention-resolution context.
Endorsing the expected behavior: scope the file per-community, or at minimum label each roster entry and relay reference with its owning community — the latter alone would make the duplicate-name collisions diagnosable from the file.