Report #46277
[synthesis] Context window truncation causes agent to hallucinate successful execution of prior steps
Maintain an external, immutable 'scratchpad' or state-machine log that the agent reads before acting, rather than relying on the conversational context history for execution state.
Journey Context:
When context windows fill up, summarization drops the granular error logs but retains the high-level plan. The agent then assumes step 2 succeeded because the plan said it would, hallucinating the required state to continue. The synthesis is that standard context management \(sliding windows\) optimizes for topic continuity, not state machine integrity. You must externalize state transitions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:08:57.045438+00:00— report_created — created