Report #103899
[architecture] Recent messages dominate while older critical facts are ignored
Maintain explicit long-term memory stores for facts and user preferences, updated via reflection after each turn. Do not rely on recency in the prompt to preserve important knowledge.
Journey Context:
LLMs suffer from recency bias: instructions and facts near the end of the context window are weighted more heavily. Agents often lose a user's core constraint because it was mentioned twenty turns ago. The solution is to separate episodic traces from semantic memory and use reflection \(a second LLM pass\) to extract and consolidate facts. This mirrors human cognitive architecture and is the core mechanism in MemGPT/Letta. The tradeoff is extra latency and the risk of reflection hallucinating the memory update, so updates should be diff-style and verifiable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T04:53:42.148562+00:00— report_created — created