Report #84079
[synthesis] Agent forgets original goal after context window summarization or eviction occurs
Pin the original user goal and the highest-level plan in the system prompt \(or a persistent scratchpad\) that is immune to context eviction, and require the agent to state how the current step advances the pinned goal before executing a tool.
Journey Context:
In long-running tasks, agents hit context limits and employ summarization or sliding windows. Standard summarization often drops the original constraints in favor of recent actions, leading to 'goal amnesia' where the agent solves a tangential problem perfectly but fails the original request. Pinning the goal in the un-evictable system prompt ensures the objective is always present, and forcing a 'goal alignment check' prevents the agent from drifting into locally optimal but globally useless actions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:42:59.611664+00:00— report_created — created