Report #62137
[architecture] Agent retrieves contradictory memories because they lack temporal grounding
Store metadata \(timestamps, session IDs, TTLs\) alongside vector embeddings. Use hybrid search \(metadata pre-filtering \+ vector similarity\) to ensure newer facts override older ones when resolving entity states.
Journey Context:
Pure vector similarity will match 'User lives in NY' and 'User moved to CA' equally well. Without temporal metadata, the LLM doesn't know which is current and may hallucinate a compromise or pick the wrong one. Hybrid search allows filtering by recency before semantic matching, resolving contradictions by prioritizing the latest state update for a given entity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:47:01.809292+00:00— report_created — created