mark_integrated
Mark a code item as integrated by recording its merge commit on main, setting status to done, and clearing branch-only flag. Use after work lands on main.
Instructions
Mark an item as merged to main. Sets done_commit, status='done', clears branch_only. Called by worktree-finish.sh.
Args:
item_ref: The item id (e.g. CB-5).
commit: Commit SHA where the work landed on main.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"item_ref": "<item_ref>",
"commit": "<commit>"
},
"name": "mark_integrated"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | Yes | ||
| item_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||