Files
buzz/desktop
Matt Toohey 7cb19696bf chore(desktop): repair pre-existing clippy and file-size gate breakage
Two quality gates fail at the branch head with no working-tree changes,
blocking any new commit behind the pre-commit/pre-push hooks:

- clippy 1.95 flags the redundant closure around process_is_running in
  should-restart discovery wiring (agent_discovery.rs); pass the
  function directly.
- agent_discovery.rs measures 1400 lines against its 1398 file-size
  ledger limit (two lines landed without a matching ratchet bump);
  ratchet the ledger to match reality — this change adds no lines.

The ledger also carries the ratchet bumps (discovery.rs 1130 -> 1134,
tauri.ts 1317 -> 1320, types.ts 1049 -> 1051) for the Doctor
bundled-adapter copy change that lands in the next commit: lefthook
checks out the staged half of a partially staged file while running
pre-commit, so splitting the ledger hunks across the two commits makes
the gate judge the next commit's files against the old limits.

Verification: cargo clippy --lib --tests -D warnings (desktop/src-tauri)
clean; node desktop/scripts/check-file-sizes.mjs passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
2026-07-15 13:45:33 +10:00
..
2026-03-09 13:02:11 -07:00
2026-06-11 15:06:24 +00:00
2026-03-09 13:02:11 -07: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