Search router: recall_grep via ripgrep crates, recall_resolve via nucleo #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-17T20:50:34Z - https://github.com/coilysiren/repo-recall/issues/187
Problem
repo-recall ships one search surface today: tantivy-backed
recall_search, indexed lexical match over the corpus. That's the right default but it doesn't cover two adjacent query shapes:closes #\d+across my repo radius right now." tantivy can't answer regex; the index would have to be re-shaped per query.These compose rather than cascade. Each answers a different question with a different input shape. Adding them gives agents two new query shapes without disturbing the existing tantivy surface.
Proposal
Two new MCP tools and matching HTTP endpoints:
recall_grepbacked by the ripgrep crates (grep,grep-regex,grep-searcher,grep-printer,grep-matcher). Regex content search over the configured repo radius, in-process, no subprocess fork. Honors the sameignorewalker as the rest of repo-recall.recall_resolvebacked by nucleo. Fuzzy match against already-loaded identifier sets: repo IDs, session UUIDs, file paths within indexed repos. Returns the top-N candidates with scores.The composition story is "tantivy is the default lexical search; ripgrep is the regex escape hatch; nucleo is the identifier resolver." Three endpoints, no router logic, agents pick by query shape.
Why merged
Both are cheap to add (no language-specific work, no upstream coverage gaps), and together they round out the search surface in one increment rather than two. Splitting would create artificial sequencing between two independent endpoints.
Out of scope
Open sub-questions
recall_grepfirst, thenrecall_resolveif identifier-resolution friction actually shows up. Or both at once. Lightly leaning ship-both since they're each small.Origin
Conversation 2026-05-17. Sibling issues: structural-facts pass, code-metrics (rust-code-analysis), per-source refresh rates.