Report #76302
[synthesis] Agent loops on the same failing tool call with minor parameter variations instead of changing strategy
Implement a 'strategy shift' mechanism: if a tool fails N times consecutively, force the agent to use a different tool or ask the user for clarification, rather than retrying with tweaked args.
Journey Context:
LLMs are trained to be helpful and often exhibit 'perseverance' which becomes a loop. They see \`Error: file not found\` and try \`file\_not\_found.txt\`. They don't realize the fundamental approach is wrong. A hard retry limit with a forced strategy pivot breaks the local minima, preventing token waste and infinite loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:39:54.435170+00:00— report_created — created