Files
buzz/desktop
DuncanandWill Pfleger 0da7b4e424 fix(archive): validate scope-age index collation and direction in M4
pragma_index_info reports key column names but not per-key collation or
sort direction, so a named non-partial index with the exact ordered
columns but COLLATE NOCASE on a key was certified by M4's shape check
even though the binary-equality prune-age query cannot use it (the plan
falls back to the PK autoindex plus a temp B-tree sort). Switch key-shape
validation to pragma_index_xinfo as the single source of key semantics,
asserting name + BINARY collation + ascending direction; index_list stays
only for ownership and partiality. A wrong-collation index is dropped and
rebuilt inside M4's BEGIN IMMEDIATE like any other wrong shape.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-14 10:38:07 -04:00
..
2026-08-03 21:51:17 -04:00
2026-06-11 15:06:24 +00: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