needfix_link_existing_task
Atomically links a NeedFix to an existing finished, accepted task so managers can record integration and prevent duplicate or conflicting task links.
Instructions
Manager-only: atomically link a NeedFix to an existing, finished, accepted task.
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": {
"needfix_id": "<needfix_id>",
"existing_task_id": "<existing_task_id>"
},
"name": "needfix_link_existing_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| needfix_id | Yes | NeedFix id, e.g. NF-2026-01447. | |
| existing_task_id | Yes | Id of an existing task in this repository; the NeedFix must be accepted or task_planned. Re-linking the same task is a no-op; a different task conflicts. | |
| integrated_commit | No | Optional commit sha (7-40 hex characters) that must be reachable from HEAD; required to link an archived superseded task, and a verified commit resolves the NeedFix. Default empty. |