Repository navigation
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b26df2680a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| report = recommend_next_action( | ||
| [ | ||
| _task("blocked", "Blocked Task", "planned", dependencies=["dependency"], due="2026-06-01"), | ||
| _task("dependency", "Dependency", "todo", due="2026-06-02"), |
There was a problem hiding this comment.
Fix fixtures so blocked dependency tests pass
In this fixture, dependency is still an active task with no declared dependencies and an earlier due date than ready, so the recommender will include it as an unblocked candidate and select Dependency, not Ready Task. The same setup also means the later “all active tasks are blocked” case is not actually all blocked. With dependencies installed, these new tests fail rather than validating the dependency-aware behavior.
Useful? React with 👍 / 👎.
Summary
Improves next-action recommendation so it selects only tasks whose declared dependencies are complete.
Changes
Closes #42.