Report #47147
[synthesis] Infinite loops during agent retries manifesting differently across models
Implement exact-match loop detection for GPT-4o, state-oscillation detection for Claude, and output-validation checks for Gemini.
Journey Context:
When agents get stuck, they don't all loop the same way. GPT-4o tends to repeat the exact same tool call or text generation verbatim. Claude tends to oscillate between two slightly different states \(e.g., reading a file, failing, reading it with a slightly different offset\). Gemini tends to hallucinate a success state or throw an unstructured error. A generic 'exact match' loop detector catches GPT-4o but misses Claude's oscillations, leading to silent infinite loops in multi-model frameworks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:36:30.415866+00:00— report_created — created