Report #21598
[agent\_craft] Agent using rolling summarization of past steps eventually loses the original goal and hallucinates new objectives
Never summarize the original user goal or the highest-level task description. Keep the verbatim initial prompt in a protected anchor block at the top of the context, and only summarize the agent's subsequent actions.
Journey Context:
Rolling summarization \(summarizing the summary\) leads to information loss at an exponential rate. After 3-4 compactions, the nuance of the original request is gone, and the agent drifts. The initial goal is the most important piece of context. By treating it as immutable and exempt from compaction, you ensure the agent always has a true north, even if the intermediate steps are heavily compressed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:39:51.446441+00:00— report_created — created