Repository navigation
v1.92.36.0 fix(review): keep every severity label, so a blocker after "no CRITICAL issues except" is no longer lost (GSTA-167 S1) - #3803
Merged
Conversation
…ty word collects at its label (GSTA-167 S1, failing first) Adds the six exception-clause probes that collect nothing on 8cef24c, GST-435's label-keeping probes and fixtures (PR #3703, read as text), and turns GST-766's negated-label test into a kept-label test. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…l as before 8cef24c, stated stays (GSTA-167 S1) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… stays at its label in the judged set and folds only into a finding at least as severe) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
This was referenced Nov 1, 2026
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
The six exception-clause blockers collected nothing on main; they collect CRITICAL again on this branch.
Before/after as text: The six exception-clause blockers collected nothing on main; they collect CRITICAL again on this branch
Why
"No CRITICAL issues except the token leak in log.ts:3" collected nothing on main, so /ship's review gate never saw that blocker. v1.92.29.0 (#3787, GST-766) skipped any severity word a negation governs, to quiet closing lines like "found nothing CRITICAL", and that also dropped real blockers named in an exception clause. The collector now reads labels exactly as it did before v1.92.29.0, and the reviewer's stated Severity and Blocks are still recorded beside the label.
Blast radius
Only
parseFindingsinlib/review-ledger.tschanges behavior. Its body is now byte-identical to 8cef24c^ (checked by diffing the function at both revisions), andcollect()still writesstatedwithout touching the label. Every caller ofcollectandjudgesees what it saw before v1.92.29.0. Evidence rung: script ran (label lists for 9 fixtures plus the 6 probes, each under 5 reader roles, are identical at 8cef24c^ and this head: 75 of 75 rows).Approvals
No approvals recorded for branch gsta-167-revert-negation-drop.
The Captain (GStack Minder, GSTA-36) approved this as an S1 fix lane under GSTA-167: revert #3787's negation drop and keep its
statedrecording.Summary
#3787 made the review collector skip a severity label when a negation word governed it. Every one of these collected nothing on main 8cef24c, where the collector before it collected CRITICAL:
This PR removes
NEGATED,NEGATION_LIST,MARKUP, theasserted()filter and the rule that a line whose labels are all negated closes the open finding. It keeps #3787'sStated,stated(),MergedLine.statedand the code that writes them. The cost is the one gstack had before v1.92.29.0: a reviewer's closing summary ("Neither finding is CRITICAL.") collects at its label as a known phantom.Tests changed or removed (with reasons)
No test was removed. One #3787 test encoded the behavior being reverted, so it now asserts the label is kept:
a negated severity word is not a finding: GEVA-92 fix-check#5 and its negated formsis renameda negated severity word still collects at its label: GEVA-92 fix-check#5 and its negated forms are known phantoms, with the same inputs. Reason: each assertion expected a negated label to collect nothing or a weaker label, which is the drop this PR reverts. Each expectation now equals what 8cef24c^ collects:INFORMATIONAL, INFORMATIONAL, CRITICAL(it was the two INFORMATIONAL lines only).[]).LOW, CRITICAL(it wasLOW).statedtests are unchanged (a finding keeps the severity and Blocks its reviewer stated beside the collected labelin test/review-dispatch.test.ts, and the deferred-issue test in test/review-scope.test.ts).Tests added
a blocker in an exception clause after a negated severity word collects at its label: the six probes above, each under the outside-voice, fix-check, red-team and adversarial-native readers, must collect CRITICAL.gst-435-collect-labels:collect keeps every label at the strongest on its line: no wording drops a blocker,known phantoms: closing summaries keep their label until the summary_candidate follow-upanditem layouts collect as on main; the later-paragraph split and indented label headings are known deferred shapes.Test Coverage
All 4 changed code paths have ★★★ tests (Step 7 audit, audit-only).
Tests: 1611 → 1611 (+0 new files)
Coverage: 100% value-weighted (100% including 0 weakly covered paths)
Test value: 0 tests written, 0 rejected by the authoring gate, 0 existing tests extended, 0 paths weakly covered.
Failing first: at 43cdd9a (the new tests over main's collector)
bun test test/review-dispatch.test.tsgives 41 pass, 4 fail (the six-probe test, the negated-forms test and two GST-435 tests). At 6e6685f it gives 45 pass, 0 fail.Tests ran: typecheck count unavailable
Tests ran: review 210
Pre-Landing Review
Pass 1 found 1 issue. It was auto-fixed: the docs said lead judgment can fold a closing-summary phantom, but judge() only folds into a finding at least as severe, so the docs and changelog now say that.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=1 scope=frozen fix_checks=1 dispatches=4
Gate edits: none detected (gate scan tagged 10 hunks in lib/review-ledger.ts and docs/review-policy.md, read in full; the change restores 8cef24c^'s collector)
Cross-family fix-check (openai/gpt-6.1-sol), aimed at "does any line that collected a label at 8cef24c^ collect nothing or a weaker label now": NO FINDINGS. Targeted reader (money, gate): NO FINDINGS.
Outside review (openai/gpt-6.1-sol): one finding,
Blocks: yes(collected CRITICAL), skipped on purpose. It says a clean reply holding only "There are no CRITICAL findings." now collects a CRITICAL that judge() cannot drop, and it asks for the summary-dismissal path to ship with this revert. That is the closing-summary phantom gstack had before v1.92.29.0, which the S1 brief chose to accept. Its fix is the deferredsummary_candidatefollow-up and is out of scope here. It is not a lost or lowered label. The native adversarial voice raised the same trade at Medium,Blocks: no.Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
lib/review-ledger.ts:100INVESTIGATE (Medium, Blocks: no): a closing summary negating a severity word becomes a finding that judge() cannot drop; documented pre-v1.92.29.0 trade.Exploratory QA
Smoke probes, run by the parent on the current tree: the six exception-clause probes at main (each collects nothing) and at this head (each collects CRITICAL), and the 75-row label diff against 8cef24c^ (identical). No required plan checks.
Design Review
No frontend files changed, so design review was skipped.
Eval Results
No prompt, template, judge or eval-harness file changed, so evals were skipped. The selector maps lib/review-ledger.ts to 264 dependent gate cases; the train gate runs them.
Rule 25 trial merges
bun test test/review-dispatch.test.tsgives 46 pass, 0 fail.Issues
Refs #3703
TODOS
No TODO items completed in this PR.
Documentation
Status: current. No documentation edits were needed.
Scope: the committed diff on
gsta-167-revert-negation-drop(head6e6685f6) against base83ae96e0:lib/review-ledger.ts,docs/review-policy.md,changelog.d/gsta-167-revert-negation-drop.md, review-ledger fixtures andtest/review-dispatch.test.ts. There was no staged, unstaged or new-file content. I searched every tracked and new file for references to the GST-766 negation drop.Documentation health:
docs/review-policy.md: Current. The collect step 3 text, which this branch already updated, matches the reverted collector: a negated severity word collects at its label, and closing-summary phantoms stay in the judged set.changelog.d/gsta-167-revert-negation-drop.md: Current. Reviewed only; it is owned by the parent.Coverage debt: none found. Diagram drift: none.
Test plan