You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let a Worker Merge a Promotion Whose Head Round States No Coverage When Every Change Was Covered - #2615
Implements the standing rule the maintainer adopted on #2583, widened on #2609: a develop -> main promotion on which pr_review.py exits 45, because the newest Copilot round on its head states no coverage and carries no file table, may merge without a decision issue where all three conditions hold on the live head.
Every change the promotion carries had full coverage on its own feature -> develop pull request, each changed file named by a Copilot file table or the round's coverage statement, or read by a local-strict-review pass recorded for that pull request at that head or a later one.
Every review thread on the promotion is resolved, and every check passes.
Exit 45 is the only reason pr_review.py does not report the promotion ready.
The rule is stated once, in pr-review-conduct's Merge Gate item 2, as the one exception for a promotion, with item 5's permission still owed and every other pull request still owing item 2 in full. The other surfaces point at it:
unattended-handoff "The Worker" step 3 names the exception for scopes main and release.
merge-and-release step 2 reads an exit 45 meeting that case as no partial gate.
scripts/pr_review.py's exit-45 remedy text and its exit-code docstring name the case before handing everything else to the maintainer.
GOVERNANCE.md "PR Review Etiquette" says a promotion whose head round states no coverage has one further way to be covered, and names the Merge Gate as where it is stated.
Constituent coverage reuses item 2's own definition: each constituent pull request met item 2 at its merged head by coverage rather than by the maintainer's permission, or failing that each file it changed has positive evidence of a full read at the head that last changed it or later: an unnoted Copilot table row where no round on that pull request ever stated or appeared to state partial coverage, a round stating full coverage, or a recorded local strict review pass whose diff held the file. Condition 3 is read from the digest, since exit 45 returns before the exit 50 check runs, and an answered VERDICT WITH NO COUNTED FINDING headline is not a second reason. merge-and-release checks the case again on every re-run of its gate read.
Regenerated with build_dist.py, and build_dist.py --check is clean.
Verification
python3 scripts/build_dist.py --check: current.
python3 scripts/prose_lint.py . --diff origin/develop, spec/validate.py, repo_gate.py --check eol, ruff format and check, mypy: clean.
python3 -m unittest discover -s tests: 2389 tests OK.
Nine local strict review passes ran. The last, recorded for the pushed head, raised no findings.
State the maintainer's standing rule from #2583 once, in the
pr-review-conduct Merge Gate's coverage item: a develop -> main
promotion on which pr_review.py exits 45 satisfies that item where
every constituent change had full coverage on its own pull request,
every promotion thread is resolved and every check passes, and exit 45
is the only shortfall. unattended-handoff "The Worker" step 3,
merge-and-release's gate check, and pr_review.py's exit-45 remedy text
point at it. Regenerated with build_dist.py.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answer the local strict review of the #2583 change: say which head a
recorded local pass must reach, read the third condition from the
digest since exit 45 returns before the exit 50 check, align the exit
45 docstring with its printed remedy, point GOVERNANCE.md's PR Review
Etiquette at the Merge Gate's promotion case, and keep the new
sentences under the 25-word cap.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answer the second local strict review: the case applies only where the
digest's NO FILE TABLE STANDS IN line reads no table on the head, so a
partial round or a mismatched head table stays a shortfall, every
coverage route is bound to the head that last changed the file, and
the case is framed as one further case beside the carried readings.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A constituent file now counts as covered only where a Copilot table
names it on a row with no note, a round states full coverage, or a
recorded local strict review read it, so a noted row or a partial
statement no longer satisfies the promotion case's first condition.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The promotion case's first condition now reuses item 2's own coverage
definition: each constituent pull request met item 2 at its merged
head by coverage rather than by the maintainer's permission, and a file
that coverage missed counts only where a recorded local strict review
pass read it. A partial round therefore never covers a file, while a
carried statement or table that met item 2 still does. The trigger is
exit 45 alone, as #2583 states it, on both GOVERNANCE.md and the skill.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Distinguish answered verdicts from unresolved exit-45 blockers
.agents/skills/pr-review-conduct/SKILL.md:97
[P1] Distinguish answered verdicts from unresolved exit-45 blockers. report_verdict returns 45 before it evaluates the uncounted-verdict check, and the digest still prints VERDICT WITH NO COUNTED FINDING even after item 3's headline has been answered. As written, a worker cannot tell whether that line is an additional shortfall, while treating the exit code as decisive could allow an unanswered headline; define the condition in terms of unresolved reasons and explicitly exclude an answered headline.
…line
A constituent pull request now qualifies by meeting item 2 by coverage
or, failing that, by a recorded local strict review pass reading each
file its coverage missed, at the head that last changed the file or a
later one. An answered VERDICT WITH NO COUNTED FINDING headline no
longer counts as a second reason the promotion is not ready.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… GOVERNANCE
merge-and-release now checks the promotion coverage case again on
every re-run of its gate read and records the evidence for the head
step 3 merges, so a change merged to develop meanwhile is checked
too. GOVERNANCE.md points at the case by the coverage state rather
than by a hub script's exit code.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answering the previously missed Copilot finding "[P1] Distinguish answered verdicts from unresolved exit-45 blockers" on .agents/skills/pr-review-conduct/SKILL.md: fixed in 0bfa01b. The third condition now says a VERDICT WITH NO COUNTED FINDING headline is a second reason until it is answered under item 3, and not after, and still reads the condition from the digest's lines since exit 45 returns before the exit 50 check runs.
Where a constituent pull request did not meet item 2 by coverage, each
file it changed now needs positive evidence of a full read at the head
that last changed it or later: an unnoted Copilot table row on a round
stating no partial coverage, a round stating full coverage, or a
recorded local strict review pass whose diff held the file.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The constituent fallback now applies item 2's own pull-request-wide
bar to table evidence: an unnoted row counts only where no Copilot
round on that pull request, on any commit, states or appears to state
partial coverage, so the table item 2 refused cannot return through
the fallback.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A recorded local strict-review pass covers head 1e93d1d7f64d6647e14a3b97af4844f1628abb80, the content this pull request carries at that commit against develop, and it recorded 0 findings.
…d Promotions (#2616)
## Summary
Promotes develop to main.
- #2549: hand a spent local edit budget to the pull request's review
rather than the maintainer, and narrow an unattended run to develop when
a `decision` issue blocks the promotion.
- #2615: let a develop -> main promotion whose head round states no
coverage satisfy the Merge Gate's coverage item where every constituent
change was covered, every thread is resolved, every check passes, and
exit `45` is the only shortfall.
Fixes#2534Fixes#2583
🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the standing rule the maintainer adopted on #2583, widened on #2609: a develop -> main promotion on which
pr_review.pyexits45, because the newest Copilot round on its head states no coverage and carries no file table, may merge without adecisionissue where all three conditions hold on the live head.local-strict-reviewpass recorded for that pull request at that head or a later one.45is the only reasonpr_review.pydoes not report the promotion ready.The rule is stated once, in
pr-review-conduct's Merge Gate item 2, as the one exception for a promotion, with item 5's permission still owed and every other pull request still owing item 2 in full. The other surfaces point at it:unattended-handoff"The Worker" step 3 names the exception for scopesmainandrelease.merge-and-releasestep 2 reads an exit45meeting that case as no partial gate.scripts/pr_review.py's exit-45 remedy text and its exit-code docstring name the case before handing everything else to the maintainer.GOVERNANCE.md"PR Review Etiquette" says a promotion whose head round states no coverage has one further way to be covered, and names the Merge Gate as where it is stated.Constituent coverage reuses item 2's own definition: each constituent pull request met item 2 at its merged head by coverage rather than by the maintainer's permission, or failing that each file it changed has positive evidence of a full read at the head that last changed it or later: an unnoted Copilot table row where no round on that pull request ever stated or appeared to state partial coverage, a round stating full coverage, or a recorded local strict review pass whose diff held the file. Condition 3 is read from the digest, since exit
45returns before the exit50check runs, and an answeredVERDICT WITH NO COUNTED FINDINGheadline is not a second reason.merge-and-releasechecks the case again on every re-run of its gate read.Regenerated with
build_dist.py, andbuild_dist.py --checkis clean.Verification
python3 scripts/build_dist.py --check: current.python3 scripts/prose_lint.py . --diff origin/develop,spec/validate.py,repo_gate.py --check eol, ruff format and check, mypy: clean.python3 -m unittest discover -s tests: 2389 tests OK.Closes on promotion: #2583
🤖 Generated with Claude Code