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
+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",