Summary
The PR reviewer currently treats "no review score yet" as "all good" and skips the PR. When it does fix, it only addresses CI failures and merge conflicts — ignoring code quality bugs, performance issues, and other review feedback.
Desired Behavior
- No review yet → Post a review (score the PR), exit without fixing
- Review exists, score < threshold → Fix ALL flagged issues (bugs, code quality, performance, CI, merge conflicts), push, exit
- After fixing → Exit. Next scheduled run (or GH Actions on push) re-scores
- Score >= threshold → Skip (unchanged)
PRD
See docs/prds/reviewer-review-first-fix-later.md
Key Files
scripts/night-watch-pr-reviewer-cron.sh — cron orchestration
instructions/night-watch-pr-reviewer.md — reviewer/fixer prompt
.github/workflows/pr-review.yml — GH Actions review trigger
.github/prompts/pr-review.md — scoring criteria
Summary
The PR reviewer currently treats "no review score yet" as "all good" and skips the PR. When it does fix, it only addresses CI failures and merge conflicts — ignoring code quality bugs, performance issues, and other review feedback.
Desired Behavior
PRD
See
docs/prds/reviewer-review-first-fix-later.mdKey Files
scripts/night-watch-pr-reviewer-cron.sh— cron orchestrationinstructions/night-watch-pr-reviewer.md— reviewer/fixer prompt.github/workflows/pr-review.yml— GH Actions review trigger.github/prompts/pr-review.md— scoring criteria