tasks_add
Add tasks to a dependency-aware ready queue and set blockers. A task becomes ready once all dependencies finish or are dropped, preventing cycles.
Instructions
Add a task to the dependency-aware ready queue. depends_on lists task ids that must finish first (done or dropped unblocks); each must exist and must not create a cycle. The task is 'ready' once it has no open/in_progress blocker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | optional details / acceptance criteria (aliases: content, text) | |
| plan | No | optional plan slug (plan:<slug> convention) that composes this task as a step of a plan. Plan steps are excluded from the default ready-queue and surfaced under the plan filter. | |
| title | Yes | short task title | |
| project | No | project slug; defaults to the bound/ambient session's project. An unknown slug CREATES that project -- naming a new one is normal and never an error. Pass project=global ONLY for knowledge that belongs in EVERY project's briefing; it is not a neutral default. With no session and no explicit project the call is rejected as ambiguous. A session bound to a confidential or sealed project can write ONLY into that project. | |
| session | No | the session to act as: the name session_start returned, the cc/<id> or cx/<id> on your briefing's 'Seam session' line, or a session ULID. It scopes and credits this call. Defaults to this connection's session; pass it on every call when session_start reports the connection as stateless | |
| depends_on | No | task ids this task is blocked by (a comma-separated string is also accepted) |