hub_next
Determines the one task to work on next, filtering out tasks with open dependencies, existing claims, or owner assignment, and states why it was chosen.
Instructions
The ONE task to do now, and why it won — not a list. Picking from a list is work, and a session that has to pick tends to pick the easy one. A task whose dependencies are still open is never eligible, however loud it is. Says explicitly when the chosen one is the owner's to press rather than an agent's.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hub_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for | No | a role: the first ready task in the same order that this role may take. Its own task first, else one with no assignee that no other agent has claimed (task:<id>) and that passes the tag filters. The owner's tasks and tasks assigned to another role are never handed out. Returns {task, why, eligible, ready, skipped:{assigned, claimed, tags, owner}}. Not together with assignee. | |
| project | No | ||
| assignee | No | ||
| onlyTags | No | with for: an unassigned task must carry at least one of these tags; the role's own tasks are not narrowed | |
| skipTags | No | with for: a task carrying any of these tags is never handed out, the role's own included; why and skippedOwn name the own tasks kept back |