Files
alzeo/extras
Hasan BasbunarandClaude Opus 5.5 a52d89f599 auto-continue: the same refused request a third time in a row stops the relaunches
On the reference box a tool schema the provider refused (HTTP 400, which opencode marks
isRetryable false) came back 91 times in 28 minutes over 12 sessions, nearly always within a
second of its relaunch, one session up to the cap of 25 (2026-10-13). Only such refusals count:
a retryable error keeps the 25, since there one session got the same "engine restarted" answer
9 times in a row before the engine served it again. Numbers in the message do not make a new
refusal, and the idle that ends a refused turn is not progress. AC_SAME_REFUSAL_MAX sets the
count. Tests: the refusal one fails on v1.28.1, the retryable one on a rule that counted every
error, and five mutants fail them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 12:48:06 +02:00
..