mirror of
https://github.com/block/buzz.git
synced 2026-10-29 05:21:31 +00:00
IMPORTANT 1 — add C1-stale actual-hook test (failed-bootstrap stale replay must adopt, not publish). Causality: drop !pendingIsRestoredReplay guard → exception fires → publishes stale edit over newer head → 2 reds (sections + sort). IMPORTANT 2 — assert original queuedAt persists in transferred v2 outbox before debounce fires. Causality: replace restoredQueuedAt with undefined in writeOutbox call → stamps wall-clock value → 2 reds (sections + sort). IMPORTANT 3 — add runWholeBlobP2a1HookSuite driving blocked-bootstrap sequence through the real hook: bootstrap parked → click via hook API → H102 live → release bootstrap → real .then() reads/replays outbox naturally → debounce → H102 adopted as genuine advance. Causality: publishBaseline = lastRemoteHead in publish(_, true) → H102 folds into baseline → publishes over H102 → 2 reds (hook: sections + sort). MINOR — extract clearPendingState() helper shared by discardPending() and adoptRemote(), so adoptRemote's gen===pendingGeneration branch also clears pendingIsRestoredReplay and pendingRestoredQueuedAt on adopt. 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