Report #42420
[synthesis] Agent silently abandons the original user goal in favor of a tangential sub-task discovered mid-execution
Append the original user goal as an immutable system message that is re-injected at every turn, and require the agent to explicitly score how its current action advances the primary goal.
Journey Context:
In multi-step tasks, an agent might encounter an interesting error or a secondary task \(e.g., while fixing a bug, it notices bad formatting and decides to refactor\). Because LLMs have recency bias, the immediate context \(the formatting issue\) outweighs the distant context \(the original bug\). The agent finishes the refactor, declares success, and forgets the bug entirely. Re-injecting the goal prevents recency bias from causing goal drift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:40:27.373522+00:00— report_created — created