Skip to content

v1.91.201.0 fix(confidence): one severity scale, CRITICAL/INFORMATIONAL, for /ship's review army and /plan-eng-review (#3349) - #3402

Merged
capy-ai[bot] merged 4 commits into
mainfrom
fix/3349-single-severity-scale
Oct 25, 2026
Merged

capy-ai[bot] merged 4 commits into
mainfrom
fix/3349-single-severity-scale

Conversation

@garrytan

@garrytan garrytan commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

What changed

ship review army before/after
/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 before/after
/plan-eng-review renders the same rubric, so its findings use CRITICAL/INFORMATIONAL too (Garry's call on #3349).

detector before/after
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 into ship/sections/review-army.md and plan-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.
  • Detectors test/helpers/eng-cache-writer-decision.ts and test/helpers/pty/boundaries.ts accept [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.
  • Tests: test/eng-first-review.test.ts gets 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.md use 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

Date Asked Exact words Outcome Covers Still pending
2026-10-24 Ten triage calls; #9: which severity scale plan-eng-review findings use (#3349) “do it” (Garry (via GStack Minder)) approved #3349: plan-eng-review (and the shared rubric /ship renders) use CRITICAL/INFORMATIONAL; ship through a train none
2026-10-24 Add test/helpers/eng-cache-writer-decision.ts, test/helpers/pty/boundaries.ts and test/eng-first-review.test.ts to GSTA-86's scope, to accept CRITICAL/INFORMATIONAL in the plan finding detectors “Do it. Add the two detectors and test/eng-first-review.test.ts to your scope, with the verdict and the negative controls you listed. Also add one control showing that [P4] stays false” (GStack Minder (captain)) approved those three files, the gate verdict and the negative controls including [P4] none
2026-10-24 Merge when green through a merge train; paid focused runs “standing (CREW 5, captain-approvals A)” (Garry) standing approval train merge by GStack Minder; focused paid cases none

Source: gstack-approvals record for fix/3349-single-severity-scale (display only; not an approval citation).

Gate edits

Gate Change Verdict Negative controls
plan-eng-review first-review detectors (eng-cache-writer-decision.ts:9, pty/boundaries.ts:237) The annotation label accepts CRITICAL and INFORMATIONAL alongside P0–P3 Not a weakening. The label is metadata. Every substantive check (native decision, current assessment, distinct actors, opposed options) is unchanged, and old captures still match. [HIGH], [critical], [Critical], [P4], [CRITICAL|INFORMATIONAL] and no label all stay false. Mutation checks: restoring P[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-docs and --host codex are fresh.
  • Focused free tests pass: review-workflow-clarity, regression-1539-review-self-verify, parity-suite, parity-sectioned, gen-skill-docs (558 pass), plus eng-first-review, claude-pty-runner.boundaries.unit, spawnsync-timeout-tripwire, skill-validation and touchfiles (704 pass). harness-version and skill-md-size-guard pass after the pin commit.
  • Free-tier pregate, remote on Ubicloud, at e549d90: 17,317 tests, 0 failed, $0.05.
  • Paid, focused at e549d90, all on the first attempt with no reruns:
    • Quality judges: plan-eng-review/SKILL.md sections passed (median clarity 3, completeness 5, actionability 4) and ship/SKILL.md workflow passed (median 4/4/4).
    • plan-eng-review-format-coverage behavior 3/3 and plan-eng-review-format-kind behavior 3/3.
    • plan-eng-multi-finding-batching rule 1/1, plan-eng-finding-floor rule 1/1 and ship-skipped-queued-finding rule 1/1.
  • No flaky cases.

garrytan and others added 2 commits October 25, 2026 02:13
…p's review army and /plan-eng-review (#3349)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ATIONAL labels (#3349)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 2 commits October 25, 2026 02:24
…review size pins (#3349)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…AL, for /ship's review army and /plan-eng-review (#3349)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title fix(confidence): one severity scale, CRITICAL/INFORMATIONAL, for /ship's review army and /plan-eng-review (#3349) v1.91.201.0 fix(confidence): one severity scale, CRITICAL/INFORMATIONAL, for /ship's review army and /plan-eng-review (#3349) Oct 25, 2026
@capy-ai
capy-ai Bot merged commit 749a238 into main Oct 25, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confidence calibration uses two severity scales: CRITICAL/INFORMATIONAL for /review, P0-P2 for /ship's review army and /plan-eng-review

1 participant