mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
The commit path in import_identity_blocking resolved app_data_dir() and SecretStore::shared() internally, so a mock-driven fixture that drives the coordinator to a durable commit would write under the real ~/Library/Application Support and bind the process-global keychain. Hoist both durable-persist inputs — data_dir: PathBuf and store: &impl IdentityKeyStore — to the run_identity_transition boundary; both production callers (import_identity, import_recovered_identity) pass the real values they resolved before. This is dependency injection of genuine persist inputs (the downstream persist_imported_identity/classifier already take exactly these), not a test-only abstraction: it lets §7's no-scope and None->Some activation-race fixtures drive a real commit hermetically against a tempdir and a fake store. Zero logic change; monomorphized call sites are behavior-neutral. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
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