add_task
Append a new task to an initialized plan with conflict protection via expected revision. Provide task details and dependencies to update the collaborative blackboard.
Instructions
Append one new task to an already-initialized Plan. A stale revision is rejected as a conflict.
task uses the same shape as one entry of initialize_project's tasks
(id/task/role). dependencies lists the IDs of tasks the new task
requires; targets must already exist in the Plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| task | Yes | ||
| reason | No | ||
| plan_id | No | project | |
| actor_id | Yes | ||
| priority | No | ||
| dependencies | No | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||