pub fn is_task_ready(tasks: &HashMap<String, Task>, task: &Task) -> boolExpand description
Return true if task is individually ready to work on.
A task is ready when:
- its status is
Status::Open, - its type is a task (not an epic), and
- every entry in
depends_onresolves to aStatus::Donetask; a missing dependency is treated as not done and therefore blocks readiness.
This is the single canonical readiness predicate used by both
Graph::ready and the TUI’s Ready filter.