What problem does it solve?
It prevents risky merges by ensuring PRs receive structured comment triage plus objective checks for blast radius impact and architectural drift.
Core Features & Use Cases
- Triage-read: Fetches and categorizes PR review comments from GitHub by impact level (security → breaking → logic → performance → naming → style) for fast developer action.
- Blast radius + risk scoring: Runs score and blast analysis on each changed file to flag high-risk areas (risk > 60) before any merge.
- Architecture drift enforcement: Detects architecture violations introduced by the PR by running drift since the base SHA and reporting any breaks.
- Triage-fix workflow: Waits for explicit developer approval (e.g., “@agent fix #N” or “@agent fix all”) and applies fixes in prioritized order with one commit per fix item.
Quick Start
Use pr-review-agent to review an open pull request by running triage, scoring and blast checks on changed files, performing a drift scan, and summarizing everything into a unified report.