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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user