docs(pr-flow): make an exhaustive Copilot review loop the step after opening a PR - #2466
Conversation
…opening a PR (#2464) AGENTS.md now requires the loop, unprompted, after every PR, and requires findings to be weighed against the issue with scope expansion declined. pr-flow step 7 becomes the loop: request, wait for a posted review or for Copilot's pending request to lapse without one (plus a 25-minute cap), then a stop/continue table. The first clean round is the stopping point; no confirming round. The description leads with "create a PR for an issue" and eval cases pin that prompt shape. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
A timed-out pending request cannot be retried as a distinct round using the documented mutation.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Adds a mandatory post-creation Copilot review loop to the repository’s PR workflow.
Changes:
- Documents review-loop and scope-control rules.
- Adds request, wait, retry, and exit procedures.
- Expands skill-trigger evaluation cases.
| File | Description |
|---|---|
AGENTS.md |
Establishes review-loop rules. |
.claude/skills/pr-flow/SKILL.md |
Documents the operational workflow. |
.claude/skills/pr-flow/evals/evals.json |
Adds trigger cases. |
…#2464) Closing keywords do not link a PR whose base is not the default branch, so a v2 card showed no linked PR. The GraphQL mutation adds a manual closing reference, which populates the card's Linked pull requests field. Verified on #2466/#2464 with the manual link removed first. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
|
Copilot round 1: 1 finding, fixed.
Also in this push (2623167), at the maintainer's request:
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The documented workflow is coherent, complete, and consistent with issue #2464.
Review effort: Balanced
Findings: None
Resolved since last review (1)
|
Copilot round 2: clean. Review loop closed. No inline comments, no finding in the headline ("coherent, complete, and consistent with issue #2464"), and no |

Closes #2464
What changed
AGENTS.md, Issue-driven Work Style: new rule. After opening a PR, run a Copilot review loop to exhaustion without being asked, weigh each finding against the issue the PR closes, and decline scope expansion. The same scope rule is added to Responding to Code Reviews.pr-flowstep 7 is now the loop:Suppressed commentsblock are all empty.pr-flowstep 6 now links the PR to its issue with theaddCloseIssueReferencesGraphQL mutation. Closing keywords do not link a PR whose base isv2/main, so a v2 card showed nothing in the board's Linked pull requests field. Step 6 also ends with "go straight to step 7". TheAGENTS.mdnote onCloses #Npoints to the recipe.pr-flowdescription leads with "create a PR for an issue", and three new eval cases pin that prompt shape and the review-loop request.Verification
npm run local:gate: EXIT=0.verify:skills: OK, listing share 3,775/4,000.skills:eval -- pr-flow,RUNS=4: all 10 cases at 100% under bothAGENT=claudeandAGENT=copilot, includingcreate a PR for #2463.skills:eval: 68/74. All six misses aresecurity-advisoryand reproduce at 0% on unchangedv2/main, so they are unrelated to this change. Filed as security-advisory skill never auto-loads under Claude: all six skills:eval positives score 0% (Copilot: 100%) #2465, which is Claude-only; Copilot passes those cases.Verified live on this PR
reviewRequestsreturned{"__typename":"Bot","login":"copilot-pull-request-reviewer"}, which the query matches. Round 1 resolved asROUND=posted.addCloseIssueReferencesalone put docs(pr-flow): make an exhaustive Copilot review loop the step after opening a PR #2466 in pr-flow: make an exhaustive Copilot review loop the default step after opening a PR #2464'sclosingIssuesReferencesand in the card's Linked pull requests field on board Add tab and approval flow for server -> client sampling #28.🤖 Generated with Claude Code