Code review resolution
When aidev run executes, it also checks tasks in review status for unresolved PR code review comments. If any actionable threads are found, an AI agent is run to address them — either by fixing the code or replying to discussion comments.
How it works
- Fetches all tasks in your configured "in review" status
- For each task, finds the associated PR by branch name (via
ghCLI) - Fetches unresolved review threads from the PR
- Filters out threads where the last comment is from aidev itself
- Runs an AI agent to address the remaining threads — code fixes are committed and pushed, discussion replies are posted directly on the thread
- Resolved threads are marked as resolved on GitHub
This runs automatically as part of every aidev run (after processing open/pending tasks). No additional configuration is needed beyond having gh CLI installed and authenticated.
Prerequisites
The GitHub CLI must be installed and authenticated (gh auth login). If gh is not available, review task processing is silently skipped.