Repository navigation
v1.91.367.0 fix(ship): collect never counts a non-review as clean, and a severity word used as a word is no finding (GST-434, GST-435) - #3677
Merged
Conversation
… as a non-review, never clean (GSTA-167) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… finding keeps its detail bullets (GST-435) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…ct table rows keep their label; register the review-ledger fixtures (pre-landing review) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…cker stays, detail bullets need no gap and no locus; a re-sent review voids a refusal and the outside voice can be collected unavailable (pre-landing review) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… phrase with and/or stays negated, table negation counts, --unavailable refuses an output with findings, VOIDED needs a re-send (fix-check) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…cells, which ends a negated subject, and a negated subject never cancels a label on a file:line line (fix-check) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nding; "of which" stays inside a negated subject (fix-check) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # bin/gstack-review-dispatch
…dation: line, the marker its brief prescribes (#3665 integration) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… moves to its own PR (seed branch gsta-435-seed). Keeps the non-review rule and the detail-bullet merge (split) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
garrytan
added a commit
that referenced
this pull request
Oct 31, 2026
…ew under GST-434's collect (main #3677) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
4 tasks done
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.
Pre-Landing Review:
REVIEW_LOOP: passes=1 blocking_found=1 deferred=0 noted=4 fixed=1 scope=frozen fix_checks=6. Six fix-checks against a cap of one: GStack Minder approved going over it and the GST-435 split. The pass-1 review-log row is missing, a known gap.What this fixes
A reviewer that says it could not review counted as clean (GST-434, S1). In the GSTA-196 replay the batched specialist replied in prose that the diff base did not exist: "I'm not returning NO FINDINGS, because that would claim a clean diff I never saw."
collectparsed that to zero findings andverifymarked the brief collected, so VERIFY would have read clean from a reader that never saw the diff.Now a reply with no finding must carry the clean marker its own brief asks for. Without one,
collectrecordsreview: false, printsCOLLECT_NOT_REVIEWEDand exits 1.verifythen reports that briefNOT_COLLECTEDand the outputNOT_REVIEWED, so VERIFY is dirty. A refusal isn't a dead end: re-send the brief verbatim and collect a real review, and verify marks the refusalVOIDED. The outside voice may fail without blocking, socollect --unavailable '<reason>'records its failure as missing coverage (UNAVAILABLE,unavailable=N). That flag is refused for every other reader, for an empty reason, and for an output that holds findings.This PR also fixes one GSTA-196 over-split. The native adversarial voice wrote 4 findings, each a bold paragraph, then unlabeled bullets, then
Severity: …. Each bullet closed the open finding, so eachSeverity:line opened a phantom: 8 findings. An unnumbered, unlabeled bullet with no file:line under a paragraph finding whose fields haven't come yet is now that finding's detail, so the sample collects as 4.Split. On GStack Minder's ruling, this PR carries GST-434 only. Every label and negation change to
parseFindings(GST-435) is reverted to main. Those changes and their tests are on branchgsta-435-seed(4dccba2) for the follow-up, which comes after #3670's replay.The clean markers, from the sections' current text
NO FINDINGSalone on a lineNO FINDINGSNO FINDINGSNO FINDINGSNO FINDINGSor theRecommendation:lineRecommendation:lineA marker counts only on its own line, with optional backticks or bold around it. A marker named inside a sentence doesn't count: the GSTA-196 refusal names NO FINDINGS in a sentence and is still a non-review. For a ledger written before this change,
verifychecks the marker again in the output file when the file still hashes to the recorded sha. Otherwise it falls back to collect'sreviewfield, so a legacy ledger with neither fails closed.Proof (head 6a5ed54, main 71af16c)
split-proof.tsruns main'sparseFindingsand this head's over 25 raw reader outputs (GSTA-189 and GSTA-196 baselines) and 2,172 finding records (arms C6, L6, A3668 u14 and 14pr, G1, L). It exits 1 on any difference other than a merge of fragments. Result:{"units":2197,"identical_units":2196,"old_findings":1405,"new_findings":1401,"fragment_merges":4,"other_differences":0}. The one changed unit is the GSTA-196 native sample, which has 4 merges and lowers no label: INVESTIGATE+High→High, CRITICAL+Low→CRITICAL, CRITICAL+Low→CRITICAL, INVESTIGATE+Low→Low (Low ranks above INVESTIGATE). As a negative control, the same script run against the GST-435 parser (4dccba2) exits 1 with 4 other differences.NO FINDINGSreply that still collects and verifies clean, a findings reply that is unchanged, a per-role marker matrix, the void and--unavailablepaths, and the GSTA-196 native sample (8 findings on main, 4 here).gstack-review-dispatch rendergives the same hash at main 71af16c and at this head for all 14 briefs, with the same slots. No section, checklist, resolver orlib/review-brief.tsbyte changed.VERIFY: clean briefs=16 outputs=16 voided=1on both. All six of its zero-finding outputs carry their marker. GSTA-196 p1b and fc are clean on both. The abandoned GSTA-196 p1 now names the refusal (OUTPUT specialist-batched NOT_REVIEWED).PREGATE_REMOTE: tree=6502b04ac2a8 tests=3335 failed=0 spent=0.05. The VM was destroyed (left=0 owner=gsta167).Sibling PR #3665
#3665 merged first as v1.91.362.0. This branch merges main at c8e63c3 under GStack Minder's Rule 19 grant, and the one conflict was the
../lib/review-ledgerimport line, resolved as a union. #3665's fake host intest/review-pass.test.tsanswered the outside voice withNO FINDINGS, which the outside prompt doesn't prescribe, so it now ends with aRecommendation:line (4dccba2).Noted, not fixed (fix-check 6, below the floor)
--unavailable(the Capy pass program does this) leaves its first output rowNOT_REVIEWEDeven after the lead re-collects it as unavailable. Only a re-send followed by a review voids it, so VERIFY stays dirty until a fresh pass. This fails closed.--unavailablewhose file has aRecommendation:line verifies as a review, not asUNAVAILABLE. No finding is lost. The targeted reader (money, gate) at this head raised the same point as its only finding, INFORMATIONAL.Limits