Add Merge & continue and Other… to ready cards

This commit is contained in:
Ian Gulliver
2026-10-20 11:01:59 -07:00
parent 25f275e012
commit ef98b1179d
13 changed files with 363 additions and 88 deletions
+7 -1
View File
@@ -444,6 +444,11 @@ paths:
(merge_after_review is set) and made, as this caller and with this target, when the review of the
task's latest snapshot finishes with no findings, that snapshot is still the latest and no turn is
running; otherwise it is dropped with a transcript note. Refused (409) unless that review is running.
With keep_open (target main only, not with after_review), the task's agent gets a turn that merges the
default branch in, resolving any conflicts, and then lands the work so far with merge_to_main titled
merge_title (the task's own merge_title is unchanged); the task stays open. The task's other agents are held
until that turn ends: their messages queue and nothing starts their turns. It clears a standing
ready_for_merge. Refused (409) while any of the task's agents is mid-turn, or while it is merging.
requestBody:
required: true
content:
@@ -459,9 +464,10 @@ paths:
x-enum-varnames: [MergeTargetMain, MergeTargetParent]
description: "main (the default): squash onto the project's default branch. parent: merge into the parent task's branch; only for a subtask."
after_review: { type: boolean, description: "Merge once the running review of the latest snapshot finishes with no findings, instead of now." }
keep_open: { type: boolean, description: "Land the work so far and keep the task open, instead of closing it." }
responses:
"202":
description: The merge was started, held, or set to start after the review.
description: The merge was started, held, set to start after the review, or (keep_open) its turn started.
content:
application/json:
schema: { $ref: "#/components/schemas/Task" }