Name a release ready to cut as a handoff in the contract and the judge rules

This commit is contained in:
2026-09-24 20:49:49 +02:00
parent 3d419f5666
commit f9d37f4a14
+6 -5
View File
@@ -4,9 +4,10 @@
usage: loop-claude <task>
Run it in a project checkout whose README.md has ## Goals and ## Audience. Each round a worker runs
the task; a judge then reads the transcript against the README. A question only the human can answer
opens `claude --resume` on the terminal. An unfinished chunk resumes the same session next round; a
finished one starts a fresh session. Rounds continue until Ctrl-C.
the task; a judge then reads the transcript against the README. A question only the human can answer,
or a release ready to cut, hands the session over: `claude --resume` on the terminal. An unfinished
chunk resumes the same session next round; a finished one starts a fresh session. Rounds continue
until Ctrl-C or that handoff.
Exit 1: no task, the README gate blocks, claude leaves no transcript, or claude fails three rounds
running. Exit 2: the human is needed and no terminal is attached, or the handoff ended without them
@@ -39,8 +40,8 @@ JUDGE_RULES = (
"- the agent asks the human anything, seeks approval, or says a decision is the human's\n"
"- it carried on under an assumption that decides the deliverable and that the human could "
"reasonably reject; a caveat about transient state it then handled is not one\n"
"- it is blocked on something only the human can supply: a credential, a version bump, a choice "
"outside the repo\n"
"- it is blocked on something only the human can supply: a credential, a version bump, a release "
"ready to cut, a choice outside the repo\n"
"- it flags that the goals, the plan or the task itself is unclear, missing or in need of change\n"
"- it chose between alternatives the README text does not discriminate between - it does not "
"rule the rejected one out - and the choice materially changes the deliverable\n"