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
Repeated reads beyond EOF evade doom_loop when the model changes the offset. Reads at offsets 636, 700 and 800 of the same unchanged 635-line file fail equivalently, but have different inputs. A valid read between those failures also prevents consecutive-call detection.
A bounded local fake-provider regression continues to another provider call instead of requesting the configured doom_loop permission. Expected: recognize equivalent range failures within one user turn, preserve explicit permission rules, and reset when the file changes.
Related: #45442 and #53032. This concerns varying invalid reads on maintained v1; that PR targets identical calls in the newer core.
Thanks for the detailed report and the fake-provider regression.
This is about OpenCode v1 (1.19.5). v1 now only gets fixes for critical bugs: data loss, security problems, or crashes and breakage with no workaround. doom_loop is a best-effort heuristic, and reads at varying out-of-range offsets getting past it doesn't meet that bar, since the session can still be interrupted. So this is unlikely to be fixed in v1.
We'd encourage moving to v2 (@opencode/cli), where loop protection is being worked on. Related items:
Closing this as not planned. It's about OpenCode v1 (1.19.5), which only gets critical fixes, and we didn't hear back that it's critical or also happens on v2. Thanks again for the detailed report and regression test.
Loop protection for repeated tool calls is being worked on in v2 (see #53032 and #45442). If you can reproduce varying out-of-range reads getting past loop detection on v2, please open a new issue with the v2 version and steps.
Activity
opencodejr commentedon Oct 30, 2026
Thanks for the detailed report and the fake-provider regression.
This is about OpenCode v1 (1.19.5). v1 now only gets fixes for critical bugs: data loss, security problems, or crashes and breakage with no workaround.
doom_loopis a best-effort heuristic, and reads at varying out-of-range offsets getting past it doesn't meet that bar, since the session can still be interrupted. So this is unlikely to be fixed in v1.We'd encourage moving to v2 (
@opencode/cli), where loop protection is being worked on. Related items:If you think this is critical, or you can reproduce it on v2, please reply here with the details.
opencodejr commentedon Oct 31, 2026
Closing this as not planned. It's about OpenCode v1 (1.19.5), which only gets critical fixes, and we didn't hear back that it's critical or also happens on v2. Thanks again for the detailed report and regression test.
Loop protection for repeated tool calls is being worked on in v2 (see #53032 and #45442). If you can reproduce varying out-of-range reads getting past loop detection on v2, please open a new issue with the v2 version and steps.