Files
buzz/desktop
DuncanandWill Pfleger f4621562e4 fix(archive): reject a partial scope-age index in M4 shape validation
`pragma_index_info` reports an index's key columns but not whether it
carries a `WHERE` predicate, so a partial index with the exact expected
columns passed `scope_age_index_is_correct` and M4 wrote its marker over
it. That index cannot serve the unrestricted scope-age range scan the
Phase-2 prune query needs — SQLite falls back to the primary-key
autoindex — so the marker would certify a missing access path.

Probe `pragma_index_list`'s `partial` flag inside the same
`BEGIN IMMEDIATE` transaction and treat a partial named age index like
any other wrong shape: drop and rebuild it non-partial (an index carries
no data, so a rebuild is safe). A mutation-sensitive test precreates a
partial index with correct table and ordered columns and asserts M4
replaces it with a non-partial index before committing the marker.

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
…

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