Report #99763
[architecture] Old conversation context silently changes how the agent interprets a fresh request
Reset or clearly demarcate working memory at task boundaries. Pass a compact 'state snapshot' rather than the full chat history, and version it so the agent knows what is current vs historical.
Journey Context:
This is the contamination problem: even high-quality retrieved facts can bias a model if they are formatted like part of the ongoing conversation. The safest pattern is to rebuild the prompt from scratch each turn from a canonical state object \(current files, current plan, current constraints\) plus a short, labeled history. Do not append indefinitely to a single message list. Many agent implementations keep the entire message history for 'continuity,' but that continuity becomes a liability when old misinterpretations compound. A state-snapshot approach also makes debugging deterministic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-30T05:01:04.104911+00:00— report_created — created