Files
buzz/desktop
2b4ff6fd03 fix(desktop): scope nest AGENTS.md to active, non-archived agents
The managed "Active Agents" table in ~/.buzz/AGENTS.md was rendered from
every managed-agent record with no filtering, so archived duplicate instances
and records pinned to defunct relays kept appearing under the active relay's
header.

Two independent, separately-tested predicates now gate each record:

- Relay scope: a local check that the record's relay_url equals the active
  workspace relay (normalized: trim, drop trailing slash, lowercase).
  Unconditional — there is no fetch to fail open on.
- Identity archive: skip pubkeys present in the relay's kind:13535 snapshot.
  Local records can't tell — they all carry is_active: true (archived
  *definition*, not identity-archived), so archive truth lives only relay-side.
  Fails open: an unreachable relay yields an empty set and hides no one.

The archive read is async, so try_regenerate_nest spawns the regen as a
fire-and-forget task (matching its existing contract) rather than changing its
12 sync call sites. A just-archived agent may linger one regen cycle.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-17 19:00:16 -04:00
..
2026-08-03 21:51:17 -04:00
…

Buzz

Desktop chat shell with:

  • Tauri + React + TypeScript + Vite
  • Tailwind CSS
  • shadcn/ui-ready shared components
  • Biome (lint/format/check)
  • Feature-driven frontend structure

Scripts

  • pnpm dev - run the web frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm format - Biome format (write)
  • pnpm check - Biome check

Structure

  • src/shared - reusable app-wide code (ui, lib, styles)
  • src/features - feature modules (vertical slices)
  • src/app - top-level app composition