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
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- The main-run review (`pr-review-main.yml`) no longer reviews a head again when both lanes already have a verdict the merge gate binds there: pr-require-checks completes several times on one head, and each completion started both model reviews. The trigger job reads each lane's verdict artifacts, their runs and the head's record check runs, and decides with the gate's own predicate, counting a verdict only when its run's main commit has main's current review criteria (`criteria.txt`, which the copy steps also read); a verdict judged under other criteria, a failed or cancelled review, another head of the same tree, or any failed read reviews again. No review leg or record job starts for a pull request that changes no lane source, or for a head already reviewed.
19 changes: 19 additions & 0 deletions .github/scripts/pr-review-main/criteria.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# What a pr-review-main review reads from main: the lane's criteria, the
# standards, and the prompt, scripts, actions, trusted actors and workflow
# that run it; the model setting (docs/conventions/pr-pipeline.yaml) is left
# out, so a model change alone does not review again.
# Each line is `<how> <path on main> [<path under the data directory>]`;
# {skill} is the lane's skill. `copy` must exist, `copy-if-present` may be
# absent, and `read` runs in place from the main checkout. The copy steps copy
# these; the trigger job counts a verdict only when none of them differs from
# main's tip.
copy plugins/review/skills/{skill} review/skills/{skill}
copy plugins/review/reference review/reference
copy REVIEW.md standards/REVIEW.md
copy docs/standards standards/standards
copy-if-present docs/review standards/review
copy-if-present .claude/rules standards/rules
read .github/scripts/pr-review-main
read .github/actions
read .github/standards/trusted-actors
read .github/workflows/pr-review-main.yml
Loading
Loading