Let the agent set the merge commit title, defaulting to the task title

This commit is contained in:
Ian Gulliver
2026-10-14 21:21:54 -07:00
parent 73f6dd73d2
commit 01c60d6618
24 changed files with 373 additions and 202 deletions
+5 -3
View File
@@ -132,8 +132,9 @@ paths:
operationId: mergeTask
description: >
Starts the same agent turn as merge-in. When that turn ends normally, byre squashes the task's worktree
into one commit on the project's default branch, fast-forwards the project's checkout to it, then removes
the worktree and branch and marks the task merged. Nothing is pushed. Refused while a turn is running or queued.
into one commit titled with the task's merge_title on the project's default branch, fast-forwards the project's
checkout to it, then removes the worktree and branch and marks the task merged. Nothing is pushed. Refused while
a turn is running or queued.
responses:
"202":
description: The merge turn was started or queued.
@@ -508,11 +509,12 @@ components:
Task:
type: object
required: [id, project_id, title, branch, worktree_path, base_ref, status, created_by, created_at]
required: [id, project_id, title, merge_title, branch, worktree_path, base_ref, status, created_by, created_at]
properties:
id: { type: string }
project_id: { type: string }
title: { type: string }
merge_title: { type: string, description: "The title of the squash commit Merge makes: the task title until the agent sets another with set_merge_title." }
branch: { type: string }
worktree_path: { type: string }
base_ref: { type: string }