Report #92854
[synthesis] Agent confidently repeats wrong action or follows a failed plan for multiple consecutive steps
Inject a 'plan revision' step triggered by consecutive identical tool calls or lack of state change, forcing the agent to discard the current plan and re-evaluate from scratch.
Journey Context:
When an agent encounters an unexpected error, it often tries to 'fix' the error within the context of its original plan. Because the original plan is still in the context, the LLM weights heavily towards continuing it. This leads to the agent retrying the same failing command with slight variations, confidently assuming the plan is correct and the execution environment is the problem. Simply telling the agent 'if you fail, try something else' doesn't work because the context is dominated by the original plan. The fix requires an explicit state-reset or a forced summarization that removes the failed plan's steps from immediate attention, breaking the sunk-cost loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:26:33.862232+00:00— report_created — created