From 23f0a47932aea1ff1f1055845fef9fb556f58f81 Mon Sep 17 00:00:00 2001 From: Dylan Trotter Date: Sun, 1 Nov 2026 12:13:19 +0000 Subject: [PATCH] stewards: review comments as long as their findings The pr-reviewer skill's comment template was a form, and reviewers filled in every field whatever the diff: a line per acceptance criterion even on a lockfile bump, "Not run" lists for suites the diff could not touch, "Blockers: None" sections, the lane restated verbatim in round 2, and suggestions the reviewer itself called harmless, out of scope or optional. "When in doubt, it is a suggestion" was the direct cause of the last. A wrong Classification line also cost a full round on an unchanged sha, because it was a blocker. Make the Checked section an exceptions list, require a suggestion to be a change the reviewer wants made in this PR, let a clean PR be "Looks good", and have a Classification-line fix ride on the marker's lane rather than a new round. On the author side, a body correction is done without asking for a round, and suggestion answers are one line. Co-Authored-By: Claude Fable 5.1 --- .../stewards/skills/build-tickets/SKILL.md | 7 ++- plugins/stewards/skills/pr-reviewer/SKILL.md | 54 +++++++++++++++---- 2 files changed, 51 insertions(+), 10 deletions(-) diff --git a/plugins/stewards/skills/build-tickets/SKILL.md b/plugins/stewards/skills/build-tickets/SKILL.md index bcec79c3..2d96e3df 100644 --- a/plugins/stewards/skills/build-tickets/SKILL.md +++ b/plugins/stewards/skills/build-tickets/SKILL.md @@ -188,10 +188,15 @@ Repeat until the merge gate below is met: - Reviewer **Blockers**: fix each one or, if you believe it is wrong, do not change the code and write why in your PR reply. A blocker you dispute is still open until the reviewer accepts the argument. + - A **PR body correction** the reviewer asks for (the Classification + line, a wrong image name, a stale testing note): edit the body and + say so in your reply. The marker's lane is what the gate reads, so + this never needs a round. - Reviewer **Suggestions**, on every round including an `approved` one: take the ones that improve the change within the ticket's scope; decline the rest with a one-line reason. Every suggestion - gets an answer in your PR reply before the merge gate is checked. + gets an answer in your PR reply before the merge gate is checked; + one line each, and when there were none, say nothing about them. - **Human** review comments: address them the same way. - **Failing checks**: fix them. Reply on the PR with one comment listing each point and what you did diff --git a/plugins/stewards/skills/pr-reviewer/SKILL.md b/plugins/stewards/skills/pr-reviewer/SKILL.md index 8060447c..349c7e80 100644 --- a/plugins/stewards/skills/pr-reviewer/SKILL.md +++ b/plugins/stewards/skills/pr-reviewer/SKILL.md @@ -16,6 +16,16 @@ signed") or the project steward when the matching entry is `decide: project` — while no-review PRs merge on your verdict alone. Be thorough on substance and quiet on style. +**Thorough is about what you check, not what you write.** The comment +is as long as its findings. A clean PR gets the marker, the lane line, +one line naming what you ran, and "Looks good." Do not list things that +did not happen (suites you did not run because the diff does not touch +them, migrations a diff has none of, sections with "None" in them), do +not restate what the PR body says when it is right, and do not post an +observation you would not want the author to act on. A reader who sees +a suggestion from you should be able to take it; a reader who sees no +suggestions should trust that you looked and found nothing. + You run on a different model than the author on purpose. Do not defer to the PR description: verify it. @@ -82,8 +92,14 @@ worker that spawned you. additive changes and tweaks are no-review even in a live plugin, and needing a release or a server restart is never the trigger. When you genuinely cannot tell, it is owner-reviewed. If the PR's Classification - line claims no-review for an owner-reviewed change, that is a blocker - (the body must be corrected); the other direction is a note. + line claims no-review for an owner-reviewed change, the body must be + corrected; the other direction is a note. Neither needs a round of + its own: the lane in your marker is what the merge gate reads, not + the body, so when the Classification line is the only thing wrong, + give the verdict the code earns, put the correct lane in the marker, + and ask for the body edit in the lane line. The author fixes the body + without asking for a new round. When the Classification line is + right, say nothing about it. The decide list (`stewards/project.json`, `bigDecisions`) names who approves. Read it and match the diff's changed files to its entries the @@ -123,7 +139,9 @@ worker that spawned you. the changed repo's test command yourself (the project's guidance names it), plus `typecheck` and any other check the repo defines. A red result you can reproduce is a blocker, with the output quoted. Say in - the comment which suites CI skipped and that you ran them. + the comment which suites CI skipped and that you ran them. Do not + list suites you did not run because the diff does not touch what + they cover. 7. **Post the comment** (format below) and stop. ## Later rounds @@ -203,20 +221,38 @@ or ### Checked - Ran: (pass; not in the CI matrix) ... -- Verified against ticket: +- Verified against ticket: ``` +The Checked section is an exceptions list, not a transcript. Name the +command you ran and its result. An acceptance criterion gets a line +only when it is not met, or when confirming it took something a reader +cannot see from the diff (a run against a live service, a throwaway +test, a read of another repo); a criterion the diff plainly satisfies +gets no line. Leave out rollout notes when there is no migration, no +new dependency and no contract change, and leave out walkthrough +sections when there is no UI. In a later round, do not repeat round 1's +Checked list: say what you re-ran and what the new diff is, and nothing +about criteria that did not change. + A blocker is something that would be wrong to merge: a bug, a missing piece of the ticket, a failing or missing test for the behaviour, a -security, data-safety or contract problem. Everything else is a -suggestion. When in doubt, it is a suggestion; the human reviewer sees -your comment too and can promote it. +security, data-safety or contract problem. A suggestion is a change you +want the author to make in this PR and would not block the merge on. If +you would not want it made, do not post it: nothing out of the ticket's +scope, nothing you have already called harmless or unreachable, nothing +that only "would be tighter", no rewording of a sentence that reads +fine, no follow-up idea for another ticket (file that on the ticket, in +one line, if it matters). A wrong fact in the PR body is one line, not a +bullet with rationale. Every suggestion costs the author a reply and +the owner a read, so when in doubt, leave it out. End the body with the signature line, `_— from bb thread _`. -Say when you are unsure. "I could not run the suite because ..." is more -useful than silence. +Say when you are unsure about something that matters to the verdict. +"I could not run the suite because ..." is more useful than silence; +"I ran the suite although CI also did" is not. ## Stopping