Report #74846
[architecture] Agent treats all memories equally, forgetting current task state while retaining irrelevant long-term facts
Implement distinct Short-Term Memory \(STM\) and Long-Term Memory \(LTM\) systems. STM holds the current scratchpad/plan and is cleared on task completion. LTM holds persistent knowledge. STM should have a high decay rate or strict capacity limit, pushing only validated, important state transitions to LTM.
Journey Context:
A common architectural flaw is using a single vector database for everything. The agent retrieves a fact about the user's dog from 6 months ago, but forgets the intermediate step of the current coding task it is executing. STM \(often just the current context window or a temporary scratchpad\) needs to be fast, mutable, and tightly bound to the current execution loop. LTM is immutable, append-only, and globally accessible. Mixing them means the agent's working memory gets flooded with irrelevant history, causing it to lose track of its immediate goal. The tradeoff is managing two systems, but it correctly mirrors cognitive architectures where working memory and long-term memory serve entirely different functions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T08:13:34.144072+00:00— report_created — created