Answer prose round one: the chunk as the agent's current work, the release last in its list, one idea per comment, the changelog for its reader

This commit is contained in:
2026-10-03 16:09:28 +02:00
parent 8f272dd87a
commit 9d74a5c54e
6 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -21,8 +21,8 @@ JUDGE_RULES = (
"- 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"
"- it is blocked on something only the human can supply: a credential, a version bump, a release "
"ready to cut, which only the human may publish, a choice outside the repo\n"
"- it is blocked on something only the human can supply: a credential, a version bump, a choice "
"outside the repo, or a release ready to cut, which only the human may publish\n"
"- it flags that the goals, the plan in todo.md or the task itself is unclear, missing or in need of change\n"
"- it chose between alternatives that neither README.md nor the project's records discriminate "
"between - neither rules the rejected one out - and the choice materially changes the deliverable\n"
@@ -36,7 +36,7 @@ JUDGE_RULES = (
"Where README.md or the project's records answer the agent's own question and no [loop] line has "
"quoted that answer yet, set interrupt=false, put that question in question and quote the passage that answers it in answer, verbatim; the agent is "
"then given that passage in place of the human's reply.\n"
"The chunk is the one piece of work the task asks for, shipped as one pull request. "
"The chunk is the piece of work the agent is on, shipped as one pull request. "
"finished=true when the chunk is complete: merged, or nothing remains that the agent could do on "
"its own. finished=false when work remains that a further run can continue: an open PR, a review "
"not yet run, CI not yet reported."
+2 -1
View File
@@ -45,8 +45,9 @@ def worker_args(task: str, session: Session, model: str, resuming: bool, answere
elif resuming:
start = ["-p", "Continue the task; the previous run stopped before it was finished.", "--resume", str(session.id)]
else:
# --session-id creates the session under the id loop-claude keeps, which --resume then continues.
start = ["-p", f"{task}\n\nContinue any open draft PR or worktree for the chunk before creating a new one.", "--name", session.name, "--session-id", str(session.id)]
# --session-id starts a session under the id loop-claude keeps, which --resume continues; -p needs --verbose for stream-json, one JSON event a line, the last a result event.
# -p fails without --verbose under stream-json.
return [
*start,
"--output-format", "stream-json",