form_intention
Create a plan to achieve a goal with a hierarchical task tree and inline dependencies. Use draft status for human review before activation, or active for direct execution.
Instructions
Create a plan that achieves a goal, including an initial phase/task tree, in one call. Declare execution order inline: give nodes a ref and list prerequisite refs/titles in depends_on to create 'blocks' edges in the same call — don't ship a bare hierarchy. The response returns a structure summary and warns (created_without_dependencies) when a multi-task plan has no edges. Defaults to status='active' for human-directed creation; pass status='draft' for autonomous loops so a human can review before promotion. Drafts surface in the dashboard pending queue and auto-promote to active when work begins on any node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal_id | Yes | Goal this plan serves. | |
| title | Yes | ||
| description | No | ||
| rationale | Yes | Why this plan. Surfaces in human review when status=draft. | |
| status | No | active | |
| visibility | No | private | |
| tree | No | Recursive tree of nodes (phases, tasks, milestones). Children nest under parents via the 'children' array. |