You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Thrash detector: interrupt same-error retry loops with rollback and a provider switch #391
From the vibe-coder research: the signature wound is paying for an agent that retries the same failing fix forever. Detect 'same file / same error signature, Nth attempt' across a thread and auto-interrupt with: rollback to last green, a retry from a DIFFERENT provider, and a plain-language explanation of what happened. Meta-supervision of the agent's loop, distinct from #160 (automation circuit breaker) and #238 (goal blocked detection).
From the opencode doc-mine: the doom_loop permission — a configurable rule that fires when the agent repeats an identical tool call 3x, defaulting to ask. Loop detection shaped like a permission rule (approve-and-continue vs reject) instead of a silent kill; neat UX for the thrash detector.
Round 23 intel, three retry-storm patterns from the field: (1) OpenCode capped automatic session retries and added jitter (Aug 12) explicitly "to reduce repeated retry storms". (2) Factory fixed a custom-model endpoint with broken credentials to fail fast and name the problem instead of retrying the same request (v0.194.0), and sessions now recover from empty model responses instead of erroring the turn (v0.190.0). (3) Droid's agent loop no longer runs unbounded when turns produce no output (v0.140.0). Classification before retry is the theme: credential/config errors are fatal (never retry), capacity/rate-limit errors back off with jitter, empty responses recover once then escalate to the thrash detector.
Activity
currentbits commentedon Aug 18, 2026
From the opencode doc-mine: the doom_loop permission — a configurable rule that fires when the agent repeats an identical tool call 3x, defaulting to ask. Loop detection shaped like a permission rule (approve-and-continue vs reject) instead of a silent kill; neat UX for the thrash detector.
currentbits commentedon Aug 18, 2026
Round 23 intel, three retry-storm patterns from the field: (1) OpenCode capped automatic session retries and added jitter (Aug 12) explicitly "to reduce repeated retry storms". (2) Factory fixed a custom-model endpoint with broken credentials to fail fast and name the problem instead of retrying the same request (v0.194.0), and sessions now recover from empty model responses instead of erroring the turn (v0.190.0). (3) Droid's agent loop no longer runs unbounded when turns produce no output (v0.140.0). Classification before retry is the theme: credential/config errors are fatal (never retry), capacity/rate-limit errors back off with jitter, empty responses recover once then escalate to the thrash detector.
Stop agents retrying the same failing fix: roll back and retry on ano…
Stop agents retrying the same failing fix: roll back and retry on ano…