Answer the last prose and stability nits: the judge's first rule and evidence wording, the floor entry's new paragraph, rewrap --help

This commit is contained in:
2026-10-03 15:43:04 +02:00
parent e906ebc87b
commit 2cd26461e8
4 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ JUDGE_PROMPT_CHARS = 400000
JUDGE_RULES = (
"Decide whether the human must now be interrupted. interrupt=true when any of these appear:\n"
"- the agent asks the human anything, seeks approval, or says a decision is the human's, and neither "
"README.md nor the project's records settle the matter, or a [loop] line already answered it\n"
"README.md nor the project's records settle the matter, or it asks again a question a [loop] line already answered\n"
"- it carried on under an assumption that decides the deliverable, that the human could "
"reasonably reject and that neither README.md nor the project's records settle; a caveat about "
"transient state it then handled is not one\n"
@@ -43,7 +43,7 @@ JUDGE_RULES = (
@dataclasses.dataclass(frozen=True)
class Reply:
answer: str = dataclasses.field(metadata={"description": "With interrupt false, the passage of README.md or the project's records that answers the agent's question, quoted verbatim. Empty otherwise."})
evidence: str = dataclasses.field(metadata={"description": "A verbatim quote of the transcript line the verdict rests on: what triggers the interrupt, what the agent asked for a quoted answer, else what shows the chunk finished or the work remaining."})
evidence: str = dataclasses.field(metadata={"description": "A verbatim quote of the transcript line the verdict rests on: what triggers the interrupt; for a quoted answer, the agent's question; else what shows the chunk finished or the work remaining."})
finished: bool
interrupt: bool
question: str = dataclasses.field(metadata={"description": "With interrupt true, the single question to put to the human. With a quoted answer, the agent's question that the answer field answers. Empty otherwise."})
+5 -5
View File
@@ -52,11 +52,11 @@ 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 or quotes an answer without a question, or quotes a line the transcript does 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.
interrupts or quotes an answer without a question, or quotes a line the transcript does 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.
Exit 2, when the human is needed and cannot answer:
- stdin or stdout is not a terminal, when a model must be picked or an interrupt answered