ARCHIVED [experiment over]: An AI agent built to do Ralph loops - plan mode for planning and ralph mode for implementing.

feat(graph): dependency resolution, ready surfacing, next task recommendation master

Task 5: Implement P1b.AC4.1, P1b.AC4.2, P1b.AC4.3 - Add check_dependencies_met() helper in src/graph/dependency.rs to query DependsOn edges - Status transition hook already in update_node(): completes task promotes dependent Pending to Ready - get_ready_tasks() returns all Ready tasks under a goal using recursive CTE - get_next_task() returns highest-priority Ready task, breaking ties by downstream unblock count - Comprehensive test coverage: dependency transition, ready surfacing, priority selection Tests verify: - P1b.AC4.1: Pending task promoted to Ready when all DependsOn targets complete - P1b.AC4.2: get_ready_tasks filters correctly (only Ready with satisfied deps) - P1b.AC4.3: get_next_task respects priority (Critical > High > Medium > Low) and downstream count Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>


+371 -2
2 changed files