Answer prose round 1: 0 🔴, 1 🟡; list no kinds of rejected reply in the changelog, say rejected throughout, and rewrap the help paragraph

This commit is contained in:
2026-10-16 23:27:24 +02:00
parent 3be800cb46
commit d9d007fa7a
6 changed files with 11 additions and 12 deletions
+1 -2
View File
@@ -76,7 +76,7 @@ JUDGE_SCHEMA = {
@dataclasses.dataclass(frozen=True)
class Rejected(Failure):
"""The judge replied, and loop-claude refused the reply for the reason; reply is what the judge returned, as json."""
"""A judge reply loop-claude rejected: reason says why, reply holds the reply as json."""
reply: str
@@ -134,7 +134,6 @@ def verdict_from(output: object) -> Verdict | Failure:
def judge(root: str, task: str, premises: str, records: str, rendered_transcript: str, rung: Rung, effects: Effects, keep: typing.Callable[[Rejected], Stop | None]) -> Verdict | Stop:
"""keep sees each reply loop-claude rejected, the last of three included; a Stop from it ends the retrying."""
return retried("judge", lambda: judge_once(root, task, premises, records, rendered_transcript, rung, effects), effects, lambda failure: keep(failure) if isinstance(failure, Rejected) else None)