claim_next_task
Claim the highest-priority root task from todo and set it to in-progress, then work through its children. Returns null when no task matches.
Instructions
Claim the highest-priority ROOT task in todo and set it to in-progress. Never claims a child: a root is the unit of work, so work through its children after claiming it. Mirrors 'vibeflow tasks --next'. An empty board is a SUCCESS, not a failure: the result is then null (an object means a task was claimed, null means there was nothing to claim), the same as 'vibeflow tasks --next --json' reporting task:null with exit 0. A valid filter that matches no task is the same situation and gives the same null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| type | No | ||
| user | No | ||
| dryRun | No |