What this thread does
Use automated AI code review as revision-specific feedback: choose triggers and scope, reconcile findings after each change, and make the merge policy explicit ([GitHub][g], [Anthropic][a]).
Do first: agree one repository policy recording trigger; base/head commits; full or incremental diff; checks and exclusions; comment owner; permissions; merge decision owner. This recommended policy derives from the controls below ([GitHub][gc], [Anthropic][as], [Cursor][b]).
As of November 2026; checked 2026-11-03. Anthropic's March 9, 2026 launch says “that's still a human call” about approval ([Anthropic][launch]).
Decide when and what gets reviewed
| Decision | Documented behavior and policy implication |
|---|---|
| Creation, readiness, or every push? | Copilot's repository rule separates automatic review from merge protection; push and draft reviews are optional. Our recommendation: start with ready PRs if draft noise is costly; enable push reviews when feedback must follow revisions ([GitHub, 2025-09-10][g], [current settings][gc]). |
| What happens after a fix? | Claude offers once after creation, every push, or manual review. Automatic reviews skip drafts and forks; a writer can request those manually. A reply alone starts no new review. Our recommendation: choose a rerun owner if reviews are manual ([setup][as], [responses][ar]). |
| Which revision and diff? | Record the base/head commits and diff mode for each run. Claude exposes checks by head commit; Bugbot defaults to changes since its previous review, with full-diff review available. Our recommendation: before merging, account for all commits after the last review; a review of an earlier head is historical feedback ([Anthropic][ar], [Cursor][b]). |
| Which checks and rules? | Define behavior/security checks, excluded generated paths, and what CI already enforces. Claude documents review-only REVIEW.md rules, severity calibration and evidence requirements; when applied, the file comes from a base/default branch, never the PR's changes. Protect the default branch and merge rule changes first ([Anthropic customization][ac]). |
Concrete settings check: in Copilot's repository ruleset, inspect Review new pushes and Review draft pull requests; confirm both against the agreed policy. GitHub documents once-only review when the first is off ([GitHub][gc]).
Keep one decision per finding
Our recommended handling is to assign an author or reviewer to each finding, inspect the cited code on the current revision, and record fix, reject with reason, or defer with an owner. Ask for a source location and failing scenario before treating a behavioral allegation as a merge blocker. Claude documents evidence-based review instructions and reasoning attached to findings; its built-in finding checks do not establish that every comment is correct ([customization][ac], [finding details][ar], [service limits][a]).
For custom publishing, our recommended deduplication key is PR + rule/problem + affected code, retaining the original thread across line moves. Before posting, compare existing comments; update or link the matching thread instead of adding another copy. After a push, recheck the claim against the new head: an outdated location is a reason to reassess, not proof of a fix. Claude's next review can resolve earlier findings and reads replies; Copilot explicitly warns that rereviews may repeat resolved comments ([Anthropic][ar], [GitHub][gu]).
Evidence for this policy: [Gladwin Johnson (gladjohn), May 1, 2026][i], reports “Near-duplicate comments” in the MSAL repository. Independently, [Gabriel Ferreira, August 13, 2026][f], reports “two separate reviews covering overlapping ground” after running two reviewers. These reports do not establish general failure rates. Cursor's week-of-October-12 notes describe a fix for handling outdated inline comments, including minimizing older ones; that is comment maintenance, not evidence a bug was fixed ([Cursor][bn]).
Separate reading, commenting, fixing, and merging
For a custom Action, our recommended boundary is read access for analysis, narrowly scoped PR-comment write access for publishing, and an explicit separate decision before granting branch-write/fix authority. GitHub's permissions controls distinguish contents from pull-requests; setting individual permissions sets unspecified ones to none. Inspect granted permissions ([GitHub syntax][p]).
Fork PRs under pull_request normally receive a read-only token and no repository secrets. Do not solve missing credentials by executing fork code with secrets under pull_request_target: it uses trusted base-repository context and elevated access. Keep untrusted analysis separate from a trusted publisher, treating its inputs as data. These are workflow boundaries, not claims about a managed vendor app's installation permissions ([GitHub Actions security][s]).
Our recommended starting policy is advisory AI feedback plus named human acceptance of findings and the final revision. Enforce required checks, human/code-owner review and stale-approval rules separately. Copilot now offers approvals that can count toward merge requirements: keep that counting option off when human approval is required. Claude's check never fails; requiring it alone cannot enforce a no-findings policy. Bugbot findings default to neutral; fail-on-unresolved behavior is a separate option where available ([GitHub approval controls][gc], [branch protection][h], [Claude check semantics][ar], [Bugbot statuses][b]).
Limits
No findings is not a security or correctness guarantee ([Anthropic][a]). A completed review check and an approving review have different merge effects; read the configured vendor semantics and repository rules together ([Anthropic][ar], [GitHub][gc], [Cursor][b]).
Not for: local diff review before opening a PR → automatic-code-review-before-pr; explaining different Bugbot/custom Cursor bug counts → bugbot-vs-own-cursor-agent-review-workflow; enabling Claude's managed service → Claude setup; implementing a secret-safe Codex Action → Codex bot setup; deciding human review by risk tier → risk tiers; ending repeated review/fix cycles → stop the loop; writing reviewer rules → team rules; locating Claude's findings cards → card surfaces.
[g]: https://github.blog/changelog/2025-09-10-copilot-code-review-independent-repository-rule-for-automatic-reviews/ [gc]: https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot/configure-code-review [gu]: https://docs.github.com/en/copilot/how-tos/use-copilot-agents/use-code-review [launch]: https://claude.com/resources/articles/code-review [a]: https://code.claude.com/docs/en/code-review [as]: https://code.claude.com/docs/en/code-review-setup [ar]: https://code.claude.com/docs/en/code-review-pull-requests [ac]: https://code.claude.com/docs/en/code-review-customize [b]: https://cursor.com/docs/bugbot [bn]: https://cursor.com/docs/release-notes/bugbot#week-of-oct-12-2026 [i]: https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5967 [f]: https://forum.cursor.com/t/bugbot-vs-a-custom-automation-for-pr-review-how-do-you-decide-and-does-running-both-cause-duplicate-comments/168304 [p]: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#permissions [s]: https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target [h]: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches
Started from a post by @Anthropic, packaged by the editor. Original post