feat: search across a matter, with an assistant tool (stage 3)

↗ view on GitHub · Ethan Ward · 2026-08-18 · b3146cf1

The assistant can now be asked a question of a whole matter - "which files
mention the summons", "where is the indemnity clause" - and find the answer
across every document, without being handed them by name.

- migrations/20260818_02_search_passages.sql - one database function that
  searches the passages. Full-text search understands word stems and phrases;
  a word-similarity fallback tolerates the character errors a scan carries, so
  an OCRd document is still found when whole-word search misses it. Only the
Repository wardethan2000-eng/mike
Author Ethan Ward <ethanward321@hotmail.com>
Authored
Parents dc4ed269
Stats 5 files changed , +354
Part of Matter-wide document search and grounded answers

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-b3146cf1.md from inside the repo you want the change in.

⬇ Download capture-commit-b3146cf1.md