A platform team runs Claude Code as an automated pull request reviewer in the CI pipeline for a payments service. The job triggers on every push to an open branch and reviews the full branch diff against trunk each time. Reviewers report that a typical pull request with nine pushes carries the same four findings repeated nine times, so genuinely new findings are buried in the thread. Which change most effectively addresses the reported symptom?
- ATrigger the review job only when the pull request is first opened, so later pushes to the branch reuse the findings already posted rather than producing fresh ones.
- BAdd a line to the project CLAUDE.md instructing the reviewer to avoid repeating a comment it has posted before on the same pull request, and cite that rule in the review prompt.
- CHave the job fetch the review comments already posted on the pull request and pass them to Claude Code as context, instructing it to raise only findings that are not already present. Correct
- DResume the earlier run with the --resume flag so the reviewer carries forward the findings it produced on the previous push to the same branch and skips them.
Why A is wrong: It is tempting because it removes the duplication in one line of workflow configuration, but it also removes review coverage of every commit pushed after the pull request was opened, which is where late fixes and rushed changes usually land.
Why B is wrong: CLAUDE.md is a plausible home for review policy and it is loaded on every run, but it carries instructions rather than history, so the reviewer still has no record of what it posted earlier and cannot act on the rule.
Why C is correct: This supplies the one piece of state a fresh CI run cannot have, namely what was already said on the pull request, so the reviewer can compare its findings against the existing thread while still reviewing the current code in full.
Why D is wrong: Resuming is a real capability and sounds like the right shape of fix, but CI runners are ephemeral and each job starts with no session store from the previous one, so there is nothing on disk to resume.