feat: update review instructions and enhance team operations documentation
- Modified review request instructions to include an optional note parameter for better context during reviews. - Added clarification flag instruction to team operations documentation, improving guidance for task management.
This commit is contained in:
parent
572cfab1a5
commit
72ae20bda7
2 changed files with 2 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ function requestReview(context, taskId, flags = {}) {
|
||||||
`FIRST call review_start to signal you are beginning the review:\n` +
|
`FIRST call review_start to signal you are beginning the review:\n` +
|
||||||
`{ teamName: "${context.teamName}", taskId: "${task.id}", from: "<your-name>" }\n\n` +
|
`{ teamName: "${context.teamName}", taskId: "${task.id}", from: "<your-name>" }\n\n` +
|
||||||
`When approved, use MCP tool review_approve:\n` +
|
`When approved, use MCP tool review_approve:\n` +
|
||||||
`{ teamName: "${context.teamName}", taskId: "${task.id}", notifyOwner: true }\n\n` +
|
`{ teamName: "${context.teamName}", taskId: "${task.id}", note?: "<optional note>", notifyOwner: true }\n\n` +
|
||||||
`If changes are needed, use MCP tool review_request_changes:\n` +
|
`If changes are needed, use MCP tool review_request_changes:\n` +
|
||||||
`{ teamName: "${context.teamName}", taskId: "${task.id}", comment: "..." }`
|
`{ teamName: "${context.teamName}", taskId: "${task.id}", comment: "..." }`
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -557,6 +557,7 @@ function buildTeamCtlOpsInstructions(teamName: string, leadName: string): string
|
||||||
`- Link dependency: task_link { teamName: "${teamName}", taskId: "<id>", targetId: "<targetId>", relationship: "blocked-by" }`,
|
`- Link dependency: task_link { teamName: "${teamName}", taskId: "<id>", targetId: "<targetId>", relationship: "blocked-by" }`,
|
||||||
`- Link related: task_link { teamName: "${teamName}", taskId: "<id>", targetId: "<targetId>", relationship: "related" }`,
|
`- Link related: task_link { teamName: "${teamName}", taskId: "<id>", targetId: "<targetId>", relationship: "related" }`,
|
||||||
`- Unlink: task_unlink { teamName: "${teamName}", taskId: "<id>", targetId: "<targetId>", relationship: "blocked-by" }`,
|
`- Unlink: task_unlink { teamName: "${teamName}", taskId: "<id>", targetId: "<targetId>", relationship: "blocked-by" }`,
|
||||||
|
`- Set clarification flag: task_set_clarification { teamName: "${teamName}", taskId: "<id>", value: "lead"|"user"|"clear" }`,
|
||||||
``,
|
``,
|
||||||
`Review operations — use MCP tools directly (text comments do NOT change kanban state):`,
|
`Review operations — use MCP tools directly (text comments do NOT change kanban state):`,
|
||||||
`- Request review (after task_complete): review_request { teamName: "${teamName}", taskId: "<id>", from: "${leadName}", reviewer: "<reviewer-name>" }`,
|
`- Request review (after task_complete): review_request { teamName: "${teamName}", taskId: "<id>", from: "${leadName}", reviewer: "<reviewer-name>" }`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue