Repository navigation
docs(issues): [#3037] add specification for reviewer-neutral PR review without a mandatory Copilot review - #3039
Conversation
Spec for making the PR review process reviewer-neutral: no mandatory Copilot review, poller watches every reviewer, audit records name the reviewer by login, review-bot check runs do not gate readiness. Co-Authored-By: Claude Opus 5.5 <[email protected]>
torrust#3037 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 9 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
[Low impact] This specification-only PR appears safe to merge. SummaryAdds the specification for reviewer-neutral PR reviews under issue #3037.
As documented by No actionable issues found. Reviews (1) · Last reviewed commit: "docs(issues): [#3037] add the EPIC #2003..." · Reviewed by Greptile |
|
ACK 389c2d2 |
…ithout a mandatory reviewer df67f9e docs(pr-reviews): [#3037] record review rounds 6 and 7 of PR 3044 (josecelano-bot) 4072037 docs(adrs): [#3037] list the affected code of the mandatory-reviewer ADR and link it from Reviewers (josecelano-bot) 8e9e0fd docs(merge-pull-request): [#3037] state the workflow-check readiness rule as pass or skipping (josecelano-bot) 1d8250e docs(watch-pull-request-checks): [#3037] create .tmp and make the workflow-check loop the wait after a push (josecelano-bot) f045f59 test(wait-for-pr-review): [#3037] pin the default reviewer set and the watch field at the command line (josecelano-bot) 2b9de50 docs(pr-reviews): [#3037] record review round 5 of PR 3044 (josecelano-bot) 9e743e5 docs(watch-pull-request-checks): [#3037] read the pull request head on every pass of the workflow-check wait (josecelano-bot) 69b440e docs(pr-reviews): [#3037] record review round 4 of PR 3044 (josecelano-bot) 146179e docs(watch-pull-request-checks): [#3037] treat a head with no checks yet as not ready in the workflow-check wait (josecelano-bot) 911ae3a docs(pr-reviews): [#3037] record the audit of review rounds 1 to 3 of PR 3044 (josecelano-bot) 9d19461 docs(watch-pull-request-checks): [#3037] end the workflow-check wait when the runs wait for approval (josecelano-bot) d186506 docs(watch-pull-request-checks): [#3037] stop the workflow-check wait on a gh error instead of retrying (josecelano-bot) 13b96f0 docs(wait-for-pr-review): [#3037] list every review on session start before waiting and before readiness (josecelano-bot) e57378d docs(watch-pull-request-checks): [#3037] wait for workflow checks alone and treat a cancelled check as unready (josecelano-bot) fa4c278 docs(issues): [#3037] record the manual verification and completion review (josecelano-bot) 1b97e25 docs(wait-for-pr-review): [#3037] clarify a failed review-service check and the Copilot reviewer login (josecelano-bot) 822b6ca docs(agents): [#3037] describe the review loop without a mandatory reviewer (josecelano-bot) 3b6aa90 docs(process-pr-review): [#3037] name the reviewer by login in new audit records (josecelano-bot) 243f0bc docs(merge-pull-request): [#3037] replace the Copilot review readiness check (josecelano-bot) 01fb495 docs(watch-pull-request-checks): [#3037] leave review-service check runs out of readiness (josecelano-bot) c58d791 docs(wait-for-pr-review): [#3037] make the review loop reviewer-neutral (josecelano-bot) 20d1ff9 feat(wait-for-pr-review): [#3037] watch every account except the PR author by default (josecelano-bot) 453df57 docs(adrs): [#3037] add ADR to review pull requests without a mandatory reviewer (josecelano-bot) Pull request description: Closes #3037 ## Summary Makes the pull-request review process reviewer-neutral, as the specification merged with PR #3039 describes (sub-issue of EPIC #2003). No skill, tool default or document now makes a review from a named reviewer (until now Copilot) a condition for a pull request to be ready. New ADR: `docs/adrs/20261124182709_review_pull_requests_without_a_mandatory_reviewer.md`, with an "Affected Code" section; `Reviewers` in the poller links back to it. - **Poller** (`wait-for-pr-review`): without `--reviewer` it now watches every account except the pull request's author, instead of `da2ce7` and the Copilot reviewer. `--reviewer` still narrows. The `wait_started` record carries `watch` (`all_except_author` or `listed`). - **`wait-for-pr-review` skill**: the exit condition needs every review received so far processed, not a Copilot review on the head; step 1 lists every review on the pull request when a session starts or takes over, because the poller reports only reviews after the commit it is given; agents request no review; "Re-Requesting a Review" becomes "A Review a Maintainer Requested" (only a maintainer requests a review; the Copilot timing facts stay for a manual request). - **`watch-pull-request-checks`**: new section "Review-Service Check Runs": check runs a review service posts from its own GitHub App (empty `workflow`, for example `CodeRabbit`, `Greptile Review`) do not count for readiness, and the workflow checks pass only when each is `pass` or `skipping` (a `cancel` needs attention). After a push, a token-free loop waits for the workflow checks alone: it reads the pull request head on every pass, treats "no checks reported" as "not yet", stops when the runs wait for a maintainer's approval (`action_required`), and stops with the error on any other `gh` failure. - **`merge-pull-request`** Merge Readiness: the "Copilot review" check becomes a reviewer-neutral "Reviews" check plus a "Checks" line with the same `pass`/`skipping` rule. - **`process-pr-review`** and `PR-REVIEW-TEMPLATE.md`: new audit rows name the reviewer by GitHub login in a `Reviewer` column instead of the `Copilot`/`Human`/`Unknown` author class. Existing records stay valid (`validate-audit-record.py` reads the table by position, unchanged). The contract check pins the new sentences and forbids the old classes. - **Wording**: `AGENTS.md` (no "re-request the review"), `pr-review-handler`, the skills index and `docs/agents/orchestration.md`. Out of scope, as the spec says: the 60-minute deadline and the hand-over report (#2977), `.github/agents/` (#2904), the deprecated `process-copilot-suggestions` redirect, Copilot as a coding agent. ## Validation - `linter all` exits `0`; pre-commit hook passed on every commit; pre-push hook on push. - `cargo test -p wait-for-pr-review` (stable Rust): all pass, with unit tests for the default reviewer set and the PR author and two CLI tests that pin the default and the `watch` field (each fails when the old default is restored or the `watch` strings are swapped); test-design review in `test-design-review.md`. - `cargo run -p agent-review-report-contract`: passes; a negative run with the old `Author class` line fails as expected. - Manual verification (`manual-verification-evidence.md`): the poller on PR #3042 woke on `greptile-apps[bot]` and skipped the author's own replies (V1), `--reviewer da2ce7` narrowed (V2), the check commands left out the review-service check runs (V3), old and new audit rows parse (V4), and a fresh agent that read only the updated skills processed CodeRabbit findings, requested no review and waited for no reviewer (V5). The two gaps it found are fixed in `docs(wait-for-pr-review): [#3037] clarify a failed review-service check and the Copilot reviewer login`. ## Review Reviewed by Greptile, CodeRabbit and da2ce7; every finding is recorded in `docs/pr-reviews/pr-3044-review/PR-REVIEW.md`. The maintainer raised the round limit to 7 for this pull request (recorded in the conversation). ## Note for #2904 Pinned sentences changed in the contract check: the `process-pr-review` step 2 lines and the `PR-REVIEW-TEMPLATE.md` `Author class` lines (now `Reviewer`). Entries that name `.github/agents/` are unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Workflow Updates** * Pull-request feedback is processed consistently across reviewers, with no named reviewer required for readiness. * By default, review monitoring includes all accounts except the pull-request author; specified reviewer filters remain available. * Readiness requires processing received reviews, resolving actionable threads, and passing workflow checks. Review-service checks do not gate readiness. * Agents do not request reviews; maintainers may do so. * **Documentation** * Updated review guidance and audit records to identify reviewers by GitHub login, while retaining compatibility with historical records. * Added guidance on monitoring workflow checks, handling review-service results, and stopping when checks require maintainer approval, alongside an architectural decision record and verification documentation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ACKs for top commit: da2ce7: ACK df67f9e — the audit record's new rows against their threads, each row's current-tree verification, the trial merge with develop and the validator logic were recomputed from the bytes at this head josecelano: ACK df67f9e Tree-SHA512: a3d96dbaf6bc8bb8173d525515e27d132a699f9acd37e100382e8badb888576c5bb0a44e0ca292fdc72f4fcc118da16c9fcd68666d340f3974ad279248e29c85
|
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This pull request changed documentation only: it added the specification of #3037 and its row in the EPIC table. |
Related to #3037
Summary
Spec-only PR for #3037 (sub-issue of EPIC #2003): make the pull-request review process reviewer-neutral, so no skill, tool default or document makes a Copilot review (or any named reviewer's review) a condition for readiness. The maintainer approved the specification on 2026-11-24 and placed this issue before #2977.
The specification records the maintainer's six decisions:
wait-for-pr-reviewskill: reviewer deadline, who re-requests a review, and a fixed hand-over report #2977 keeps the 60-minute deadline and the hand-over report.wait-for-pr-reviewpoller watches every account except the pull request's author by default.Reviewercolumn); existing records stay valid.CodeRabbit)..github/agents/(Migrate the custom agents to Claude Code and add an explicit orchestrator #2904) and theprocess-copilot-suggestionsredirect are not edited.Files
docs/issues/open/3037-2003-reviewer-neutral-pr-review/ISSUE.md: the specification.docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.md: row 25 and a progress-log line.project-words.txt:coderabbitai.Validation
linter allexits0; the pre-commit hook passed on both commits.🤖 Generated with Claude Code