From f9d37f4a14d2e5ed1a406283965b1487ed5d84a2 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 24 Sep 2026 20:49:49 +0200 Subject: [PATCH] Name a release ready to cut as a handoff in the contract and the judge rules --- bin/loop-claude | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/loop-claude b/bin/loop-claude index 71d6d56f..6aa21a50 100755 --- a/bin/loop-claude +++ b/bin/loop-claude @@ -4,9 +4,10 @@ usage: loop-claude 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"