Report #31413
[synthesis] Agent subtly shifts the goal of the task over multiple steps ending up solving a different problem than requested
Periodically inject a compressed version of the original user goal and success criteria into the agent context, especially after long tool execution chains.
Journey Context:
As the context window fills with tool calls, observations, and intermediate reasoning, the original prompt gets pushed further back. The agent attention drifts toward the most recent text, causing it to pivot to a tangential sub-problem it discovered. This is goal drift. Simply relying on the initial prompt is not enough. The fix is to use a goal preservation mechanism, repeating the core directive, so the agent has a local anchor to evaluate its current action against.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T07:06:41.667339+00:00— report_created — created