Replan Task
replan_taskReplace an unretryable blocked task without losing its lineage.
Creates a fresh, explicitly planned task under the same roadmap item and
attempt lineage, transfers prerequisites and downstream dependents, and
cancels the stale task with supersession provenance. The old PR, task,
failures, criteria, and evidence remain in the audit history; nothing is
marked delivered. Inputs over 200 title characters, 20,000 body characters,
10 criteria or 2,000 decision characters are rejected without writes;
accepted specifications are never shortened.
``workspace_strategy`` is required whenever structured records identify
undelivered implementation: ``fresh_main`` starts the replacement clean,
while ``carry_forward`` reuses the declared ``recovery_source_pr_number``
after an authenticated GitHub read verifies an available, unmerged PR. The
head SHA is always resolved by the server. ``carry_forward`` stays refused
until the deployment enables the runner path.
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": {
"project_id": "<project_id>",
"task_id": "<task_id>",
"title": "<title>",
"body_md": "<body_md>",
"acceptance_criteria": "<acceptance_criteria>",
"decision_md": "<decision_md>"
},
"name": "replan_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| body_md | Yes | ||
| task_id | Yes | ||
| project_id | Yes | ||
| decision_md | Yes | ||
| workspace_strategy | No | ||
| acceptance_criteria | Yes | ||
| recovery_source_pr_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |