Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion plugins/stewards/skills/build-tickets/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
54 changes: 45 additions & 9 deletions plugins/stewards/skills/pr-reviewer/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -203,20 +221,38 @@ or

### Checked
- Ran: <the repo's test command> (pass; not in the CI matrix) ...
- Verified against ticket: <one line per acceptance criterion, met/not met>
- Verified against ticket: <only the criteria that are not met, or that took real work to verify and how>
```

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 <value of $BB_THREAD_ID>_`.

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

Expand Down
Loading