Answer the architect: fail a judge that answers without interrupting, read every checkout file through one function

This commit is contained in:
2026-10-03 00:39:20 +02:00
parent 6340e5a993
commit 160b1dae5f
6 changed files with 32 additions and 26 deletions
+4 -4
View File
@@ -37,8 +37,8 @@ loop-claude --help succeeds: the loop reloads into the edited script.
Exit 1, saying why, when:
- no task is given
- git cannot start or finds no checkout
- README.md, or AGENTS.md or docs/decisions.md where they exist, cannot be read or is not UTF-8
- README.md holds no premises
- AGENTS.md or docs/decisions.md cannot be read, or is not UTF-8
- the models file cannot be read or written
- claude leaves no transcript
- a transcript cannot be read or archived
@@ -50,9 +50,9 @@ Exit 1, saying why, when:
- the worker or the judge fails three times running, retried a minute apart within the cycle. A
worker fails when claude cannot start, exits non-zero, is killed, or ends without a result event;
a judge when claude cannot start or exits non-zero, or its reply misses or mistypes a field,
interrupts without a question, quotes a line the transcript does not hold, or quotes an answer
the premises and the records do not hold. A usage limit is
not a failure, and restarts the count of three: the worker or the judge is retried 2 minutes
interrupts without a question, answers without interrupting, quotes a line the transcript does
not hold, or quotes an answer the premises and the records do not hold. A usage limit is not a
failure, and restarts the count of three: the worker or the judge is retried 2 minutes
after the limit resets, or every 10 minutes when the reset time is unknown or more than 2
minutes past. The judge's reply gives its reset time only as text, so the judge is always
retried every 10 minutes. stderr says when the next try is due.