Repository navigation
stewards: accept a reviewer marker on an earlier sha, and default review guidance (BB-18) - #37
Conversation
…iew guidance (BB-18)
|
Independent review running in bb thread @thread:thr_9qi5z4qycn. _— from bb thread |
Review round 1 (GLM 5.3, at 404712f)Owner review required: yes — the change modifies existing behaviour of a live plugin: Suggestions
Checked
— from bb thread thr_9qi5z4qycn |
|
Round 1 addressed in b2a69c3.
The reviewer's approval stands for this follow-up (a test coverage change within the reviewed diff, per AGENTS.md). Still waiting on @trotterdylan's owner approval. _— from bb thread |
Review round 2 (GLM 5.3, at b2a69c3)Owner review required: yes — unchanged from round 1: the PR changes the gate behaviour of a live plugin (an No new round was asked for, and none was needed: the round-1 approval is of the pull request and stands. This comment only repeats the marker on the new head so the merge gate as deployed today can read it there; once this PR ships, exactly this repetition becomes unnecessary — which is rather the point. Resolved since round 1
Checked
— from bb thread thr_9qi5z4qycn |
|
LGTM |
Implements BB-18. The PR lane gate now honours the reviewer's latest
approvedmarker whatever sha it names, so a rebase, a merge ofmainor a small follow-up push no longer voids an approval; checks must still be green on the current head. The same PR folds in BB-8: the two default review principles (an approval survives small follow-ups; when a human must approve) land in the stewards skill and thegithub-prs/github-reviewstemplates.Classification
owner-reviewed: the gate changes existing behaviour of a live plugin (a marker on an earlier sha now counts), which is the "changes or removes existing behaviour" trigger. The skill and template additions are additive but ride along.
What changes
plugins/stewards/reconcile.ts:prGatedrops themarkerOnHeadrequirement frommarkerApproved,gateMetandneedsOwnerApproval; the "reviewer round N is on X; the head is Y" branch leavesmissing; thePrGatecomment is updated.ownerApprovalis untouched.plugins/stewards/wake.ts: the "Lane gate: met" line names the reviewer's sha and, when it differs, the head, e.g.Lane gate: met (reviewer approved bbbbbbb, head aaaaaaa, checks green, lane no-review).plugins/stewards/DESIGN.md: theapprove-prrow and the "One gate function" rule.plugins/stewards/skills/stewards/SKILL.md: two default principles (an approval survives small follow-ups; when a human must approve), both marked as overridable by the project's guidance.plugins/stewards/templates.ts:GITHUB_PRSandGITHUB_REVIEWSagree with the skill.reconcile.test.ts(approved on an earlier sha in both lanes, laterchanges-requested, failing checks),wake.test.ts(both shas named),config.test.ts(templates agree).Testing
npm run typecheckin plugins/stewards: pass.npm testin plugins/stewards: pass (202 tests; the plugin is not in the CI matrix).contract.test.tsunchanged; no source-contract change.prGateoutput covered by unit tests.