add_task_node
Add a task node to the active workflow graph with optional phase and category, validating dependencies and preventing cycles before insertion.
Instructions
Add a new task node dynamically into the active workflow graph with optional phase and category. Validates dependency references and checks for cycles before inserting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique node ID | |
| tags | No | ||
| phase | No | Execution phase (must match a phase in the project phase_order) | |
| title | Yes | Task title | |
| category | No | ||
| priority | No | ||
| depends_on | No | IDs of prerequisite nodes | |
| description | Yes | Task description | |
| max_attempts | No | Maximum validation retry attempts (default: 3) | |
| output_artifacts | No | ||
| estimated_minutes | No | ||
| validation_command | Yes | Validation shell command | |
| acceptance_criteria | No |