Report #15799
[architecture] Agent repeats outdated instructions or uses deprecated code from earlier in the session
Implement explicit memory overwriting. When a fact is updated, delete or mark the old fact as invalid in the vector store, and use a working memory scratchpad that gets cleared per sub-task.
Journey Context:
LLMs weight all context equally. If an old instruction says 'use library v1' and a new one says 'use library v2', the model might mix them. Vector stores return top-k regardless of temporal validity. You need temporal metadata filtering and explicit state updates to prevent context poisoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T01:09:25.043642+00:00— report_created — created