Report #21637
[frontier] Agent drifts from the original user goal during long multi-step plans
Maintain a Goal State object in the agent's working memory separate from the scratchpad. Inject a read-only summary of the original intent into every LLM call, or use a separate Critic agent to verify alignment with the Goal State before executing actions.
Journey Context:
Agents optimize locally for sub-task completion. Without a persistent global goal check, they drift into irrelevant tangents. Re-injecting the goal is token-expensive but necessary for alignment. The Critic pattern is more robust but adds latency. Choose based on the cost of failure for the specific task.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:43:49.855266+00:00— report_created — created