Report #39613
[agent\_craft] Agent uses semantic search for specific string literals \(like error codes\) and gets irrelevant results
Route exact match queries \(error codes, variable names, specific log lines\) to lexical search \(grep/ripgrep\) and conceptual queries \(how to authenticate\) to vector search.
Journey Context:
Embeddings average meaning; they are terrible at exact string matches. Searching for Error 404 in a vector DB might return docs about client errors. A hybrid router recognizes the intent of the query and selects the tool that matches the data type.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T20:57:47.514738+00:00— report_created — created