Files
buzz/desktop
Duncan fdd41e551b fix(desktop): guard concurrent definition edits with an authoritative pre-write fetch
The concurrent-definition guard compared the seed-time revision against the
React-query-cached ctx.updatedAt, which can lag a concurrent writer. Writer B
could submit before its cache received writer A's newer write, so both values
read stale-equal, the guard passed, and B's full-replacement input clobbered
A's fields. Refetch the persisted definition before the first write and compare
that authoritative revision, closing the TOCTOU window.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-28 14:11:10 -04:00
..
2026-08-03 21:51:17 -04:00
…

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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