create_tasks
Create many tasks on a single plan in one batch, resolving internal dependency links and rejecting cycles before syncing to GitHub and Slack.
Instructions
Bulk task creation for orchestrator bootstrap (e.g. Phase 0 of an audit). Accepts a list of tasks on a single plan. Each item may carry 'depends_on_ids' (uuid list referencing tasks already in the database) AND/OR 'depends_on_external_keys' (string list referencing other items in this same batch by their external_key — resolved to ids after the first pass). The batch is processed in two passes: first every task is inserted with no dependencies, then edges are wired up using the resolved id map. Cycles are rejected — the call returns the first cycle's task and rolls back nothing (already-inserted tasks remain, so the caller can fix the bad edge and re-run idempotently using unique external_keys). Board sync always fires for every inserted task so the Project V2 board reflects the batch. Slack is opt-in: 'notify_slack' defaults to false to avoid flooding the channel with a task.created burst — pass true if you want every task announced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Tasks | Yes | ||
| PlanId | Yes | ||
| as_agent | No | ||
| NotifySlack | No |