mirror of
https://github.com/block/buzz.git
synced 2026-10-31 06:21:34 +00:00
The prune worker's startup trigger hung off start_archive_sync, but the renderer skips start_archive_sync while observer reconciliation is not ready (useArchiveSync returns early), so an archive whose reconciliation never succeeds and takes no new commits was never pruned — violating the plan's startup + post-commit trigger contract. Move the startup trigger into spawn_warm_init, which runs on every application startup after the init barrier warms, and drop the now-redundant sync-start hook. Also make the partition worklist deterministic (ORDER BY identity/relay) so a mid-worklist failure leaves a well-defined pruned prefix, and rework the failure regression to fail only the later partition, assert the earlier committed with the gate unstamped, then clear the fault and prove the retry completes the remainder and stamps success. 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