Record in the comment at UNFINISHED_LIMIT that the human confirmed 6, counting every unfinished verdict

This commit is contained in:
2026-10-28 09:40:31 +01:00
parent 243a9d872d
commit 48f795b1a3
+1 -1
View File
@@ -148,7 +148,7 @@ from claude_code.session import Session, session_named, session_open, transcript
# 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 two unfinished verdicts running that archived chunks have reached at most, and low enough that a stuck pair is stopped after six cycles. It counts every unfinished verdict, including those of cycles where the human answered an interrupt: a rerun is cheap, and a chunk that needs that many answers is worth a look.
# 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 the human confirmed as 6, counted this way, and not derived from the routing steps: well above the two unfinished verdicts running that archived chunks have reached at most, and low enough that a stuck pair is stopped after six cycles. It counts every unfinished verdict, including those of cycles where the human answered an interrupt: a rerun is cheap, and a chunk that needs that many answers is worth a look.
UNFINISHED_LIMIT = 6