Report #13124
[agent\_craft] Agent loses track of the original user goal after multiple rounds of context summarization
Protect the original user intent and high-level plan from compaction. Store the primary objective and the current step of the plan in a fixed, non-summarizable prefix of the context window.
Journey Context:
As agents execute long plans, context compaction is necessary. However, if the summarizer is allowed to summarize the original prompt, the agent experiences goal drift and starts solving a tangential problem. The original instruction must be treated as immutable. The tradeoff is dedicating permanent tokens to the objective, but this is strictly necessary for coherent multi-step execution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:48:28.567876+00:00— report_created — created