Skip to content

v1.93.38.0 fix(review): one record per native finding at its stated severity; blocker count keys on Blocks; fix-check is never a pass (GST-1031) - #3894

Merged
capy-ai[bot] merged 6 commits into
mainfrom
gst-1031-severity-collect
Nov 3, 2026

Conversation

@garrytan

@garrytan garrytan commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3894,
  "head": "cb557daaab970fcff016d06f9a9ec5b227cae2ee",
  "version": "1.93.22.0",
  "base": "main",
  "gate": {
    "remote_gate": {
      "pass": 34210,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "eb363b8ebb4743d30b3b4b6f344dc7c49bf5c8e8",
  "product_patch_id": "03df2696b8ee0aacd3486316ccaccbe67bbb0662",
  "gstack_version": "1.93.22.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 135,
    "rules": "b2272efd321ce7cb",
    "base": "8965b915aec61c686900890b0144e21575267476",
    "registry": "8965b915aec61c686900890b0144e21575267476",
    "gate_scan": {
      "tagged": 0,
      "head": "cb557daaab970fcff016d06f9a9ec5b227cae2ee"
    },
    "reasons": [
      "gate-class",
      "risk:money",
      "runtime=135"
    ],
    "risk": [
      "money"
    ]
  },
  "pregate": "requires-remote cleared @eb363b8ebb47 (7 checks, current for cb557daaab97)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41550035275/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=eb363b8ebb47 tests=34210 skipped=71 runs=41550035275/1 profiles=ci-reuse/free-tests heads=cb557daaab97 verified=2026-11-03T00:09:55.752Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, ship/sections/, review/sections/ against 82db89ab..cb557da (inline parent read-only audit); docs/review-policy.md is updated in the diff; debt: the pinned adversarial.md sentences (ship 112/169, review 101/158) still predate ruling A (open note 4, needs a no-loss replay)"
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 10,
    "deferred": 0,
    "noted": 0,
    "fixed": 5,
    "scope": "frozen",
    "fix_checks": 1,
    "rounds": 3,
    "unrecorded": 7,
    "ledgers_read": 3,
    "dispatches": {
      "specialist": 2,
      "red-team": 2,
      "adversarial-native": 1,
      "outside-voice": 1,
      "targeted": 2,
      "fix-check": 1
    }
  },
  "review_loop_exception": {
    "accepted_by": "GStack Minder (Captain, GSTA-36)",
    "date": "2026-11-02",
    "via": "GSTA-36 Rule 23 grant a-3d48b9a30549",
    "reason": "one scoped fix-check on the 515847f and 6c59cd2 hunks after round 2, cross-family reader; no further round; open notes ship as listed",
    "fix_check": {
      "head": "cb557daaab970fcff016d06f9a9ec5b227cae2ee",
      "findings": 0
    }
  },
  "review_targeted": {
    "classes": [
      "money"
    ],
    "rules": "c82addff6fb60fa0",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "03df2696b8ee0aacd3486316ccaccbe67bbb0662",
    "status": "done",
    "findings": 0,
    "raised_by": "targeted"
  }
}

What changed

The /ship review collector and its blocker count now follow what the reader actually wrote (GST-1031, Captain ruling A).

  • One record per native finding, at its stated severity. A native adversarial finding that states one Severity and the field Blocks: no now collects once, at that severity, on every review class. A numbered finding heading keeps its body until its fields arrive, so the severity line no longer splits off as a second CRITICAL record. FIXABLE still raises a finding that has no Blocks: no field.
  • Closing summaries can be dismissed on record. A line like "so nothing is CRITICAL" or "covers the CRITICAL fix" still collects at its label, now marked summary_candidate. Lead judgment may lower it with a reason, and judge records that as dismissed.
  • The blocker count keys on Blocks. A CRITICAL with the Blocks: no field (colon required, no Blocks yes in any form, never on a JSON finding) is left out of the ledger blocker count.
  • A fix-check is never a pass. The Capy pass program turns a review start into review-fix-check on a fix-check manifest.
  • A non-behavioral harness re-pin is metadata. finish routes a scripts/harness-version.json edit that only records non-behavioral pins at the same version and patterns as release metadata.

Why

GEVA-196 (gstack-evals #153) and GSTA-150 (GST-1027) looped Steps 9 to 11 at about 12M tokens per hit on the FIXABLE heading split. GSTA-212 and GST-986 r2 stopped /ship with NEXT: stop because closing prose was collected as CRITICAL. ggstack#52 showed a fix-check counted as a second pass and a CRITICAL marked Blocks: no counted as unresolved.

Proof

Each case reproduced on 82db89a first (failing tests for the fix-check start and the harness re-pin; fixtures test/fixtures/review-ledger/gst-1031-*.txt). The invariant test/review-ledger-invariant.test.ts passes on the gate and code classes. A replay of every pinned input, generated shape and reader fixture (1,733 inputs, 1,882 findings) against 82db89a finds 49 gate-class and 20 code-class blocking-to-non-blocking flips. Each one carries an explicit Blocks: no field, and no finding gets stronger.

Blast radius

This changes collect, judge, ledgerBlockers, classify and finish routing, and so the merge checks themselves. It makes no network calls, reads no secrets, and adds no dependencies or workflow edits.

Open notes

  • A prose finding that quotes a backticked Blocks: no still lowers its own count. Main already did this through a looser parse; anchoring the field to its position is a policy call.
  • Step 9.4 does not copy stated into its findings file yet, so classify's Blocks: no check applies only to findings that carry it.
  • Phantom CRITICALs from readers that quote a brief's severity words inflate blocking_found (this PR's loop shows blocking_found=10 against fixed=5).
  • adversarial.md parent prose still says "Blocks: no never lowers a FIXABLE one", which disagrees with ruling A. Changing that pinned brief needs its own no-loss replay, so it stays as is here.

Open in Capy

Ship receipt

Review-loop exception: accepted by GStack Minder (Captain, GSTA-36) 2026-11-02 via GSTA-36 Rule 23 grant a-3d48b9a30549: one scoped fix-check on the 515847f and 6c59cd2 hunks after round 2, cross-family reader; no further round; open notes ship as listed (fix-check at cb557da, 0 findings)

SHIP_RECEIPT: pr=3894 head=cb557daaab97 version=1.93.22.0 base=main session_kind=unattended depth=full passes=2 blocking_found=10 deferred=0 fix_checks=1 rounds=3 dispatches=9

garrytan and others added 4 commits November 2, 2026 23:01
…ocker count keys on Blocks; fix-check start; harness re-pin is metadata (GST-1031)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…Blocks: field lowers the count (GST-1031 review pass 1)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…BLE check takes only a Blocks: field (GST-1031 review pass 2)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…idates need a closing noun and cover label lists (GST-1031 Step 11)

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

trunk-io Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 2 commits November 2, 2026 23:36
…oss bytes (GST-1031)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title fix(review): one record per native finding at its stated severity; blocker count keys on Blocks; fix-check is never a pass (GST-1031) v1.93.38.0 fix(review): one record per native finding at its stated severity; blocker count keys on Blocks; fix-check is never a pass (GST-1031) Nov 3, 2026
@capy-ai
capy-ai Bot merged commit a654048 into main Nov 3, 2026
45 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.

1 participant