mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
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>
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 frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm 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