Name the minute's sleep and the exec at their call sites

This commit is contained in:
2026-09-28 21:13:09 +02:00
parent 2602231b23
commit 4cd79e5b1a
5 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import subprocess
from loop_claude.claude_code import structured_output
from loop_claude.outcome import Failure
from loop_claude.strike import strike
from loop_claude.strike import stop_or_sleep_a_minute
JUDGE_RULES = (
"Decide whether the human must now be interrupted. interrupt=true when any of these appear:\n"
@@ -60,7 +60,7 @@ def judge(root, task, premises, transcript, model):
failure = f"the judge quoted {verdict['evidence']!r}, nothing in the transcript" + (f", for the question: {verdict['question']}" if verdict["interrupt"] else "")
else:
return verdict
if stop := strike("judge", failures, failure):
if stop := stop_or_sleep_a_minute("judge", failures, failure):
return stop