aiworkhub_needfix_convert
Converts accepted NeedFix records into task cards; previews and commits a task plan in one call, refusing when conversion checks fail.
Instructions
Convert an accepted NeedFix into a task card; task_plan alone commits in one call.
With task_plan and no plan_digest this previews the plan and, only when
the preview is convertible with no input refusal, commits it with the digest
that preview returned, in the same call. A captured or triaged NeedFix whose
task_plan names non-empty allowed_writes is auto-promoted to accepted (reason
auto_promoted_by_convert) first. Any refusal returns the preview and commits
nothing. plan_digest alone also commits the exact plan its preview signed;
a digest this server no longer holds is refused with previewed_plan_unavailable.
The digest re-check is unchanged, so NeedFix drift still fails closed.
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>"
},
"name": "aiworkhub_needfix_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| launch | No | Also launch a worker for the card this call committed, through aiworkhub_agent_launch_task; default false. Only a NEW commit launches; a refused or already-converted NeedFix never does, and the reply then carries launch with skipped set. | |
| task_plan | No | Task card fields as in aiworkhub_needfix_preview_convert. Given without plan_digest, the plan is previewed and committed in one call. | |
| needfix_id | Yes | NeedFix id, e.g. NF-2026-01447. | |
| plan_digest | No | plan_digest from the matching aiworkhub_needfix_preview_convert; optional when task_plan is given. A digest this server no longer holds is refused. | |
| include_plan | No | Return the plan body verbatim instead of a summary of its identity and counts; default false. | |
| launch_adapter_id | No | Adapter for that launch, passed through to aiworkhub_agent_launch_task; omit to let it derive the adapter. Refused with launch_adapter_requires_launch unless launch is true. |