-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Bug
get_next_task (MCP) and ohno next (CLI) return "No tasks available" even when an unblocked todo task exists.
Reproduction
- Have todo tasks with dependencies set via
add_dependency - One task's only dependency is on a done task →
is_blocked: false - Its parent epic is
in_progress, its story isin_progress - Call
get_next_taskorohno next
Expected: Returns the unblocked task
Actual: { "message": "No tasks available" }
Evidence
get_task_dependencies confirms the task is not blocked:
{
"dependencies": [
{
"task_id": "task-40ed14e8",
"depends_on_task_id": "task-3c81b59a",
"dependency_type": "requires",
"depends_on_status": "done"
}
],
"blocking": [],
"is_blocked": false
}Ruled out
- Epic/story status: Set both to
in_progress— still not found - Version: Reproduced on both v0.11.4 and v0.19.0
Likely cause
The next-task query filters out tasks that have any dependency records, rather than only filtering tasks whose dependencies are unsatisfied.
Environment
- ohno-cli v0.19.0
- macOS Darwin 25.2.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels