Files
buzz/desktop
Duncan ebda26b2df fix(desktop): wire fail-closed secrets + legacy dir cleanup + Phase 2 tests
Paul-review deltas on PR #5486:

- local_setup now reflects secrets_unavailable: both status_for_with and
  unkeyable_failed_status set local_setup = false when a record has a
  dangling keyring ref. Previously, runtimes like claude/codex (which pass
  agent_readiness without API-key checks) would show local_setup = true
  even when spawn was blocked by spawn_key_refusal. The flag was already
  wired to spawn refusal; this closes the status gap.

- Legacy Sprout app-data agents dir cleanup: migrate_legacy_app_data_dir
  copies the old xyz.block.sprout.app agents/ into Buzz but leaves the
  source. cleanup_secret_artifacts now also runs on the legacy source dir
  after a verified extraction boot, scrubbing backups and deleting
  .invalid/temp artifacts from the Sprout-era plaintext store.

- Phase 2 artifact cleanup tests: add filesystem-backed tests for
  atomic-write temp deletion, .invalid deletion, parseable-backup scrub,
  symlink escape (unix-only), and deletion-failure tolerance. These cover
  the cleanup_secret_artifacts inventory that the spec requires.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-10 13:24:05 -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