Say in the comment at UNFINISHED_LIMIT that it counts every unfinished verdict

This commit is contained in:
2026-10-28 02:24:41 +01:00
parent 2135afe8d7
commit ca6bce76ce
+1 -1
View File
@@ -145,7 +145,7 @@ from loop_claude.stop import needs_human, Stop
# Seconds routing waits for origin to name its default branch, asked only where the checkout records none; past them, the chunk runs on the project's rung.
ORIGIN_TIMEOUT = 60
# How many unfinished verdicts running end the loop, so a worker and a judge that disagree about a chunk cannot cycle unattended without end. A policy number, not derived from the routing steps: well above the one unfinished verdict any archived chunk has had, and low enough that a stuck pair spends six worker and judge runs, not more. "loop-claude --help" states it.
# How many unfinished verdicts running end the loop, so a worker and a judge that disagree about a chunk cannot cycle unattended without end. A policy number, not derived from the routing steps: well above the one unfinished verdict any archived chunk has had, and low enough that a stuck pair spends six worker and judge runs, not more. It counts every unfinished verdict, including those of cycles where the human answered an interrupt: a rerun is cheap, and a chunk that needs six answers is worth a look. "loop-claude --help" states it.
UNFINISHED_LIMIT = 6