Report #16593
[architecture] Semantic search retrieves outdated code that breaks current task
Implement hybrid retrieval \(BM25 \+ Vector\) and enforce recency decay scoring on retrieved memories before injection.
Journey Context:
Pure vector similarity ignores time and exact string matches. An agent might retrieve a 6-month-old workaround for a bug that is now fixed, or miss a specific UUID. By combining BM25 for exact token matching and applying a time-decay function \(e.g., exponential decay based on timestamp\) to the vector similarity score, you prevent zombie memories from overriding current, valid context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:08:55.407100+00:00— report_created — created