Repository navigation
Say When an Earlier Partial Round Exits 42 in pr_review Docs - #3433
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
A recorded local strict-review pass covers head |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
A recorded local strict-review pass covers head |
There was a problem hiding this comment.
🟡 Changes recommended
The new exit-42 condition in the skill and the README does not match coverage(), so an agent could treat a blocked head as passing.
3 open issues
What changed in this PR
This PR updates the documentation for pr_review.py. After #3423, an earlier partial round can make a head with an unclear coverage reading exit 42. The docs in pr-review-conduct and scripts/README.md still described only a stated partial as an exit 42. The change rewraps the Merge Gate paragraph and the exit-code table, then copies the skill into the generated mirrors.
Changes:
- The
pr-review-conductMerge Gate item 2 paragraph now describes when the earlier-partial path gives exit 42. - The
scripts/README.mdexit-code table andcoverage=paragraph use the same condition. - The generated skill mirrors and their source digest are updated to match the source.
| File | Description |
|---|---|
| scripts/README.md | Updates the exit-42 table row and the coverage= paragraph to describe the earlier-partial case. |
| .github/skills/pr-review-conduct/SKILL.md | Generated mirror of the Merge Gate paragraph. It should follow the source once regenerated. |
| .claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md | Generated plugin mirror of the same Merge Gate paragraph. |
| .claude-plugin/fleet-skills/.source-digests/pr-review-conduct | Updates the source digest to match the regenerated skill. It must change again once the source is corrected. |
| .agents/skills/pr-review-conduct/SKILL.md | Hand-authored source for the Merge Gate paragraph, where the condition is stated. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3433 +/- ##
==========================================
Coverage ? 80.76%
==========================================
Files ? 23
Lines ? 8839
Branches ? 0
==========================================
Hits ? 7139
Misses ? 1700
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…xes to Main (#3434) ## Summary Promotes the pull requests merged into develop since release 2.0.1158. - [#3422](#3422): `drive-pr` and `backlog-burndown` have every draft of a pull request body go in a file named for its repository and branch. Two lanes sharing one `pr-body.md` had published each other's drafts. - [#3423](#3423): in `pr_review.py`, an earlier partial round outranks a head round reading `unknown`, printing `coverage=PARTIAL` and exiting 42. - [#3427](#3427): the prose gate takes run-block heredoc bodies from its patched Bash lexer's heredoc tokens and lexes each alone, so an apostrophe in a body no longer hides later comments. Inline Markdown comments are numbered with code spans masked. The gate's size ceiling moves from 1800 to 1840 lines, as the maintainer decided on that pull request. Two edge cases are deferred to #3429 and #3430, and a pre-existing one is filed as #3428. - [#3431](#3431): deletes `spec/carried_text.py` and reads carried Markdown regions through markdown-it-py in the new `spec/fidelity_text.py`. `carry.py`, `build_dist.py`, and `canonical_review.py` carry PEP 723 metadata, and every caller runs them as `uv run --no-project --script`. The full audit sweep is identical before and after. The `validate.py` remainder is #3426, and a pre-existing include-marker gap is #3432. - [#3433](#3433): `pr-review-conduct` and `scripts/README.md` say exactly when the earlier-partial path exits 42, following #3423. Closes #3412 Closes #3413 Closes #3414 Closes #3425 ## Constituent coverage Each change this promotion carries had coverage on its own pull request into develop, at its merged head: | Pull request | Merged head | Coverage | | --- | --- | --- | | [#3422](#3422) | `b645b429` | attested local pass, and a Copilot table naming exactly the changed files, `coverage=table` | | [#3423](#3423) | `3f893b65` | attested local pass, and a carried Copilot table, `coverage=carried:table` | | [#3427](#3427) | `2511b62b` | attested local pass, and a carried Copilot table, `coverage=carried:table` | | [#3431](#3431) | `92755285` | attested local pass, `coverage=local` | | [#3433](#3433) | `cceba3af` | attested local pass, `coverage=local` | 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Summary
After #3423,
pr_review.pylets an earlier partial round outrank a head round readingUNKNOWN, printingcoverage=PARTIALand exiting 42.pr-review-conductandscripts/README.mdstill said only a stated partial exits 42.pr-review-conductMerge Gate item 2 andscripts/README.md(the exit-code table and thecoverage=paragraph) now say when the earlier-partial path gives exit 42.Closes on promotion: #3425
Introduced findings
introduced,.agents/skills/pr-review-conduct/SKILL.md:49-50,scripts/README.md:206,scripts/README.md:227: the earlier-partial condition read "no head round states full". That excluded a head with one full and oneUNKNOWNround, which exits 42, and covered a head with no round at all, which exits 0 instatus. The wording now names a head round readingUNKNOWN, and a head with non-refusal rounds none stating coverage. The last local pass checked every head state againstcoverage()andreport_verdict()and found nothing.pre-existingbut adjacent: "A round covering the head that states full coverage satisfies this item" now adds "where no other head round readsUNKNOWNor partial".Pre-existing findings, not filed
pre-existing,scripts/README.md:227: seven sentences on this paragraph line run past 25 words. Develop's copy of the line has eight, and none of the seven was written by this change.pre-existing,.agents/skills/pr-review-conduct/SKILL.md:54: thecoverage=carried:tablesentence runs to 28 words, word for word as on develop. The rewrap touched its line.🤖 Generated with Claude Code