Files
buzz/desktop
c4ba81b2b1 fix(desktop): drop nest relay filter, serialize regen, split tests
The nest renderer had three defects surfaced in review:

Relay-scope filter contradicted the agents-everywhere model. render_dynamic_section
dropped records whose stored relay_url differed from the active workspace, but
effective_agent_relay_url() deliberately ignores that legacy creation-era field —
every agent is eligible on every community, and snapshot-imported records store
relay_url empty by design. The filter silently hid valid, runnable agents after a
workspace switch or import. Removed the relay-pin predicate; the archive filter is
now the only roster gate. The foreign-relay relic records leave the table via record
deletion, not code.

Detached regenerations could publish stale whole-file state out of order. Each
try_regenerate_nest spawned an unconstrained task that snapshotted state, awaited two
relay requests, then wrote — so a slow pre-edit generation could overwrite a newer
one, deterministically at boot where the fallback-relay regen races the
apply_workspace regen. Added NestRegenCoalescer: a monotonic generation is claimed
synchronously at request time (encoding call order) and gates the write under one lock
spanning the compare-and-write, so a lower-generation task drops its result instead of
rolling the file back.

nest/tests.rs blew the 1000-line file-size ratchet. Split the renderer, upsert, and
new coalescer tests into nest/render_tests.rs.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-17 19:00: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