feat: a search box for a matter, in the documents view

↗ view on GitHub · Ethan Ward · 2026-08-18 · 642d4475

Adds the search box the earlier stages were building toward. In a project's
documents view you can now search the whole matter two ways: "Find passages"
lists the best-matching passages with their document, page, and how each was
found (exact words, meaning, an approximate match, or the file's own name);
"Ask the matter" returns one consolidated answer that cites the document and
page, drawn only from the matter's documents. Both call the endpoints added
earlier (GET /search and POST /search/answer); this is the interface for them.

Type-checked against the frontend; contains no build-tool-specific code.
Repository wardethan2000-eng/mike
Author Ethan Ward <ethanward321@hotmail.com>
Authored
Parents 9618c5ea
Stats 3 files changed , +257
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-642d4475.md from inside the repo you want the change in.

⬇ Download capture-commit-642d4475.md