Files
buzz/desktop
Eva bd856e9565 Keep boot reconcile unit tests off the live OS keyring
The defect-(2) fix routed boot reconcile through storage::hydrate_keys,
which resolves the ambient agent_secret_store(). From a unit test on
macOS that reaches the real Keychain: the ACL prompt for the shared
buzz-desktop-dev service blocks a headless test binary forever, so
'cargo test --workspace' (the desktop-tauri-test gate) never terminates
on any machine that has run the dev desktop. Ubuntu CI has no keychain,
which is why it stayed green.

Thread the existing KeyStore seam through the reconcile core instead:
reconcile_agents_in_dir_with takes Option<&impl KeyStore>, the
production wrapper passes agent_secret_store(), and the test helper
passes None so no reconcile unit test can ever reach the OS keyring.
New test injects the FakeKeyStore to pin the hydration behavior itself:
keyring-resident nsec -> first 30179 published and decrypts back to the
same key; None store -> empty-nsec skip, no 30179. That test fails if
the hydrate call is dropped.

No production behavior change: reconcile_agents_in_dir_at resolves the
same store hydrate_keys did, and hydrate_keys_with is the same code
path it already wrapped.

Co-authored-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>
Signed-off-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>
2026-08-20 17:32:11 -04:00
..
2026-08-03 21:51:17 -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