PR — Final Merge-Readiness Review
Launch the reviewer agent with scope: branch (model opus) for a comprehensive final review.
Determine Scope
- If a branch is specified, compare it against the base branch (main/master)
- If no branch specified, review all changes on the current branch vs. base
- Use
git diff main...HEAD(or equivalent) to identify all changes
Review Checklist
The reviewer (scope: branch) will perform:
- Security Audit — Vulnerability scan, OWASP Top 10 checks
- Credential Scan — Hardcoded keys, tokens, passwords, private keys
- Code Quality — Technical debt, duplication, error handling, resource leaks
- Convention Adherence — Naming, structure, imports, test organization
- Plan Compliance — Every acceptance criterion met (if plan exists)
- Test Verification — Full suite passes, meaningful coverage
- Documentation Check — Docs updated for new features
Verdict
- APPROVED — Code is merge-ready
- HAS_FINDINGS — Issues must be fixed first (with specific fix suggestions)