Repository navigation
v1.91.201.0 fix(confidence): one severity scale, CRITICAL/INFORMATIONAL, for /ship's review army and /plan-eng-review (#3349) - #3402
Merged
Conversation
|
😎 This pull request was merged. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
/ship Step 9's confidence rubric asked for
[P1]/[P2]labels and a "P0" rule, while the rest of Step 9 uses CRITICAL/INFORMATIONAL. Now it asks for that one scale./plan-eng-review renders the same rubric, so its findings use CRITICAL/INFORMATIONAL too (Garry's call on #3349).
Two captured plan-eng-review first-review questions, with only their label changed. Before this PR, the paid-test detectors rejected the new labels. Now they accept CRITICAL and INFORMATIONAL, and
[HIGH],[critical]and[P4]are still rejected.scripts/resolvers/confidence.ts(the default branch, rendered intoship/sections/review-army.mdandplan-eng-review/sections/review-sections.md): every finding carries a severity, CRITICAL (blocks shipping) or INFORMATIONAL (lower severity, still actioned). The format and the examples use those labels. A 1-2 confidence finding is reported only for a suspected release-blocking catastrophe, at CRITICAL severity and marked explicitly speculative, which is /review's existing rule. I also shortened repeated sentences in the gate. Ship's skeleton plus sections shrinks by 77 bytes, to 313,204 against the 313,281 parity cap.test/helpers/eng-cache-writer-decision.tsandtest/helpers/pty/boundaries.tsaccept[CRITICAL]and[INFORMATIONAL]alongside[P0]–[P3]. Without this, a plan-eng-review run that follows the new prompt fails its paid case because of the detector, not the skill.test/eng-first-review.test.tsgets positive cases (both captures under all three labels) and negative controls ([HIGH],[critical],[Critical],[P4],[CRITICAL|INFORMATIONAL], no label).Why
#3349 (thanks @dgrant): the shared confidence rubric gave /ship's review army and /plan-eng-review the P0–P2 scale, while /review, the specialist JSON schema and
review/checklist.mduse CRITICAL/INFORMATIONAL. One /ship file therefore held both scales, and the "P0" threshold for speculative findings had no definition there. With two scales, findings from different skills can't be compared, deduplicated or gated the same way.Fixes #3349
Approvals
Source: gstack-approvals record for fix/3349-single-severity-scale (display only; not an approval citation).
Gate edits
eng-cache-writer-decision.ts:9,pty/boundaries.ts:237)CRITICALandINFORMATIONALalongsideP0–P3[HIGH],[critical],[Critical],[P4],[CRITICAL|INFORMATIONAL]and no label all stay false. Mutation checks: restoringP[0-3]alone fails the positive cases, and widening to[^\]]+,P[0-9]or a case-insensitive CRITICAL fails the negative controls.No threshold, budget, timeout, trial count or case kind changed.
Evidence
bun run gen:skill-docsand--host codexare fresh.review-workflow-clarity,regression-1539-review-self-verify,parity-suite,parity-sectioned,gen-skill-docs(558 pass), pluseng-first-review,claude-pty-runner.boundaries.unit,spawnsync-timeout-tripwire,skill-validationandtouchfiles(704 pass).harness-versionandskill-md-size-guardpass after the pin commit.plan-eng-review/SKILL.md sectionspassed (median clarity 3, completeness 5, actionability 4) andship/SKILL.md workflowpassed (median 4/4/4).plan-eng-review-format-coveragebehavior 3/3 andplan-eng-review-format-kindbehavior 3/3.plan-eng-multi-finding-batchingrule 1/1,plan-eng-finding-floorrule 1/1 andship-skipped-queued-findingrule 1/1.