diff --git a/bin/loop_claude/cycle/judge_reply.py b/bin/loop_claude/cycle/judge_reply.py index cee54be5..266352ac 100644 --- a/bin/loop_claude/cycle/judge_reply.py +++ b/bin/loop_claude/cycle/judge_reply.py @@ -3,7 +3,8 @@ import typing from failure import Failure -ANSWERS_RECORDED = "every answer the human typed in it that a later chunk could need is recorded in README.md's Goals or Audience, AGENTS.md, docs/decisions.md, todo.md or a comment at the one place it governs" +RECORD_PLACES = "README.md's Goals or Audience, AGENTS.md, docs/decisions.md, todo.md or a comment" +ANSWERS_RECORDED = f"every answer the human typed in it that a later chunk could need is recorded in {RECORD_PLACES} at the one place it governs" 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 " @@ -31,9 +32,9 @@ JUDGE_RULES = ( "finished=true when the chunk is complete: merged, or nothing remains that the agent could do on " f"its own. Even then, it is finished only once {ANSWERS_RECORDED}. An answer counts as recorded " "where README.md or the records above hold it, ~/.claude/CLAUDE.md included. It also counts where " - "the transcript shows the agent writing it into README.md's Goals or Audience, AGENTS.md, " - "docs/decisions.md, todo.md or a comment; writing it into ~/.claude/CLAUDE.md does not count. finished=false when work remains that a further run can continue: an open PR, a review " - "not yet run, CI not yet reported, an answer not yet recorded." + f"the transcript shows the agent writing it into {RECORD_PLACES}; writing it into " + "~/.claude/CLAUDE.md does not count. finished=false when work remains that a further run can " + "continue: an open PR, a review not yet run, CI not yet reported, an answer not yet recorded." )