docs(external): describe unit-branch routing in the review_task tool description

This commit is contained in:
mika kuns
2026-10-01 11:27:22 +02:00
parent 823368484e
commit a353897345
+4 -2
View File
@@ -628,8 +628,10 @@ public sealed class ExternalMcpService
[McpServerTool, Description( [McpServerTool, Description(
"Act on a task that is WaitingForReview — the only way to approve, reject or retire a reviewed run. " + "Act on a task that is WaitingForReview — the only way to approve, reject or retire a reviewed run. " +
"'approve' is review+merge, exactly like the UI's Approve: a childless task merges its worktree into " + "'approve' is review+merge, exactly like the UI's Approve: a childless task merges its worktree into " +
"targetBranch then goes Done; a task with children drives the unit merge (parent worktree if active + each " + "targetBranch then goes Done; a parent whose children were fast-forwarded into its own worktree (the unit " +
"Done child in order); a task without an active worktree approves straight to Done. Fails if the task is " + "branch) merges that worktree the same way; a child of such a unit is absorbed into the unit branch instead " +
"of the target; an older unit with unabsorbed Done children drives the unit merge (parent worktree if active " +
"+ each Done child in order); a task without an active worktree approves straight to Done. Fails if the task is " +
"not WaitingForReview (except 'cancel', which also works while Running/Queued). mergeStatus 'conflict' " + "not WaitingForReview (except 'cancel', which also works while Running/Queued). mergeStatus 'conflict' " +
"means the merge stopped on conflicts, with the files listed. emptyChildren (parent approve only) lists " + "means the merge stopped on conflicts, with the files listed. emptyChildren (parent approve only) lists " +
"the Done children about to be unit-merged whose own review range contributed nothing (e.g. a child that " + "the Done children about to be unit-merged whose own review range contributed nothing (e.g. a child that " +