Report #49583
[synthesis] Agent repeats failing strategy with minor variations instead of backtracking
Implement a 'strategy shift' trigger: if the same tool is called >2 times with similar arguments and fails, force the agent to summarize the failure and propose a completely different approach before retrying.
Journey Context:
LLMs have a strong bias towards continuing the current line of reasoning. If an agent tries \`git push\` and fails, it might try \`git push -f\`, then \`git push --force\`, etc. It gets stuck in a local minimum. Increasing temperature doesn't help; it just makes the variations more random. The key is to break the context continuity by explicitly injecting a 'pivot' prompt that forces the agent to acknowledge the dead end and plan a new route, mimicking human 'rubber ducking'.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:42:26.437282+00:00— report_created — created