Files
buzz/desktop
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d c7624cb41f refactor(agents): remove the lazy spawn parameter — eager is structurally unrepresentable
Review round on the lazy flip (Wren + Max, independently): the
source-contract test only scanned direct spawn_agent_child call sites,
so mutating a start_pair caller from true to false reintroduced eager
init for a real Desktop flow while the test stayed green — the guard
was narrower than the invariant it claimed.

Both reviewers converged on the same best fix: delete the boolean seam
instead of widening the parser. spawn_agent_child now writes
BUZZ_ACP_LAZY_POOL=true unconditionally (with the full rationale at the
write site), and the lazy parameter is gone from spawn_agent_child and
start_pair — there are no legitimate eager Desktop callers, so the
regression Max mutated into existence can no longer be expressed.

The 70-line window scanner shrinks to spawn_lazy_pool_env_is_unconditional:
the env write must be exactly one unconditional literal. Mutation-verified:
making the write conditional reds the test; restored green.

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
2026-07-26 17:38:08 -04:00
..
2026-03-09 13:02:11 -07:00
2026-06-11 15:06:24 +00:00
2026-03-09 13:02:11 -07: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