create_task
Create a pending task on a Workstream plan with optional dependencies, so agents can sequence blocked work and run unblocked tasks in parallel.
Instructions
Create a new task on a plan, in pending status. Optional 'depends_on' is a list of task ids this new task depends on — claim_next_task and claim_specific_task both skip tasks whose predecessors are not in a terminal state (done / deferred / skipped / out_of_scope), so the orchestrator can parallelize unblocked work and sequence blocked work. All predecessors must live on the same plan; cycles are rejected at insert. The board sync always fires so the BoardSyncWorker creates a draft item on the bound GitHub Projects V2 board (Backlog column) on first drain. Slack is opt-in: 'notify_slack' defaults to false to keep the channel quiet during plan setup and admin imports; pass true to post a task.created message if the project has Slack configured. Used by orchestrators that decompose larger work units into tasks at runtime, and by admin tools that import work from external sources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Paths | No | ||
| Title | No | ||
| PlanId | Yes | ||
| PhaseId | No | ||
| Priority | No | ||
| as_agent | No | ||
| DependsOn | No | ||
| Description | No | ||
| ExternalKey | No | ||
| NotifySlack | No | ||
| ReferencePointer | No |