Report #53136
[frontier] Naive RAG retrieves irrelevant historical context while missing recent critical user preferences
Implement tiered memory: working context \(recent turns\), episodic cache \(vector search with time-decay TTL\), and semantic core \(condensed facts\) with explicit promotion/demotion policies
Journey Context:
Flat vector search treats yesterday's weather and user's core preferences equally. LangMem \(2025\) introduces explicit hierarchies where working memory is token-limited, episodic memory uses vector similarity combined with TTL \(time-to-live\) for decay, and semantic memory stores extracted facts. This prevents context pollution while preserving critical long-term knowledge.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:40:55.031574+00:00— report_created — created