mirror of
https://github.com/block/buzz.git
synced 2026-11-09 10:51:42 +00:00
Four pass-3 findings resolved: 1. CRITICAL — generation-gate the enforcement phase: added `is_current()` on `ReadinessClaim`; `run_boot_barrier_for_scope` now checks it while holding `managed_agents_store_lock` and returns `Abandoned` without writing if the claim is preempted. Stale relay evidence (e.g. `HeadState::Absent` re-opening a parked coordinate) can no longer reach `run_decision_pass`. 2. IMPORTANT — test (j): exercises the stale barrier's actual decision pass through the enforcement seam. Vacuity block confirms the stale evidence WOULD clear `publish_blocked` on an unguarded scratch db; enforcement seam shows the guard blocks the write on the real store. 3. IMPORTANT — `import_identity` now calls `force_claim_in_progress` and `spawn_event_sync_with_held_claim` after swapping keys, so the new owner's disk projections are enqueued and the barrier certifies the scope ready. Without this, config publication stopped silently until restart. 4. IMPORTANT — reconcile legs return `Result`: `migrate_personas_to_events`, `migrate_teams_to_events`, and `reconcile_agents_to_events` all return `Result<(), String>`; `run_event_sync` propagates with `?`; `spawn_event_sync_with_held_claim` drops the claim without completing when any leg fails, leaving the scope `Unready` for retry rather than certifying `Ready` after a partial reconcile. All four fixes are in `desktop/src-tauri` only. 2111 tests pass, clippy -D warnings clean, cargo fmt clean, just desktop-check green. 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