Report #15806
[architecture] Agent fails to retrieve specific variable names, error codes, or exact function signatures from memory
Use hybrid search \(combining sparse/BM25 and dense/vector retrieval\) for code-related memories, not pure vector search.
Journey Context:
Dense embeddings are great for semantic similarity \('authentication logic'\) but terrible for exact string matches \('ErrorCode::ERR\_404A'\). Code retrieval heavily relies on exact token matching. Hybrid search merges the recall of BM25 with the semantic understanding of vectors, preventing missed lookups on identifiers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T01:10:24.706701+00:00— report_created — created