Repository navigation
v1.94.30.0 review: risk-scaled review depth, today's panel by default (GSTA-258 build C) - #3920
Merged
Merged
Conversation
…ested fixes no longer force a second review loop (GST-407, GST-384, GST-391) 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>
…-triggers Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # ship/DRIVER.md # ship/DRIVER.md.tmpl
…ds; trim elsewhere 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>
comparePath returns same only when every hunk sits where the base change puts it (patch-ids ignore positions) and treats a file-mode change as changed; the scoped-review packet says when a fence is truncated; --docs-result must be the posted audit's result; the --context-reviewed record goes beside the packet, outside the worktree. Negative controls for each. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
A test edit routes as tests= only when it adds lines with no gate tag; a removed or changed line or an unreadable test diff goes through the full loop. Diffs skip textconv. A hunkless patch (binary, empty, mode-only) is same when its patch-id matches. Without --reviewed-base test files route as before. finish's packet path and attempt's state directory have fallbacks. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ew is release metadata (GBRA-251) gateEditedPaths reads removed lines only inside hunks; carry refuses when a path listing fails; docs freshness stops on a failed listing; attempt counts an unreadable state file. releasePaths includes stamp_files paths whose edit is a version swap under stamp_patterns. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…t state A test-only edit with no gate tag gets the scoped fix-check of its test hunks instead of a lanes-only rerun. Packet write failures print a STOP or RECEIPT_CARRY_REFUSED. attempt's allowance uses an exclusive create. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…t diff outside context paths The attempt STOP no longer echoes the audit child's fix text. A scoped-review carry now requires the product patch-id without the context paths to match at both heads. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ch; name-only test globs only in test dirs A scoped-review packet section over 200 lines sends that path to the full loop instead of a truncated packet. The docs-result path match is exact. test_*.py, *Test.java and similar count as test code only under a test directory. 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>
…roubleshooting (docs-a-1) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…like ship-release (run 41193336209) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…-triggers Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # bin/gstack-ship-receipt
… and repair when a pass's tree moved (GST-430) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e receipt fails closed on a failed diff (GST-448) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… review; carry --dry-run writes no packet (GST-442) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…the --docs-requested fix; trims keep the cap (GST-442, GST-444) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… temp and diff refusals - A notes-only pass is recorded clean only when every finding is fixed, or noted or deferred below the blocking floor (never CRITICAL or blocking), by its logger-stamped action, and the findings account for the claimed issue and critical counts (GST-430). - The preflight scoped carry route commits and pushes the base-merge fix before writing the packet (GST-442). - patchId refuses by name on an unwritable TMPDIR; the tree receipt names why its diff failed (GST-448). - Step 16 stage 3 spells out --docs-requested with its --docs-result (GST-444). 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>
…ng reads UNVERIFIED (red-team, pass 1) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…n rule, stale patch-id dirs swept - deriveFromFindings stamps gate rows with the session kind before deriving status, so a findings file cannot dispose of a gate finding the unattended logger forces open (outside-voice#1). - reviewFreshness reads a claimed row's findings with isOpenByAction, the rule the notes-only rewrite uses; noted and deferred clear a finding only when it is marked blocking: false and is not CRITICAL. - patchId sweeps gstack-patch-id-* directories over an hour old that a killed carry left in TMPDIR. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ion; resolved gate, skipped and below-floor actions stay CURRENT - isOpenFinding treats action 'open' (the logger's forced-open stamp) as open before a row's status or disposition. - reviewFreshness flags a claimed clean row only for an 'open' action or a CRITICAL or blocking deferral or note, so interactive kept and restored gates, skipped advisories and INFORMATIONAL deferrals read CURRENT as before. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…the git dir; changelog matches the review-log floor Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… finding reads UNVERIFIED (pass 2 red-team) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…fusal (docs-d-1 audit) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…hip-workflow-clarity pin) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…timeout (60 s); pregate literals check Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…uild C, option B) Today's reviewer panel stays the default dispatch. review.panel risk (and off) opt in to the one-reader shape, whose no-loss replay came back FIX-METHOD (readers saw only the diff, no repository: 2/68 non-risk blockers). Raise-only additions stay on by default: HARN-1, eval and policy classes, GST-1129 spend-binding money and --declare-risk, doc secrets. Platform depth stays off by default. Repins ship/sections/review-army.md, ship/sections/adversarial.md, lib/review-depth.ts and lib/review-risk.ts under no-loss check GSTA-258-C: the planner over the last 200 first-parent main commits to 6f1dfd5 plans the same depth, classes and dispatches on 196 and only raises on the other 4; brief bodies still hash to their pins. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
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>
…; a lean grant needs the fix-check count; hermetic receipt tests; key version past main's 1.94.0.0 Repins lib/review-depth.ts under GSTA-258-C: the edit touches only the opt-in lean grant (review.panel risk/off), so the default panel-all plan is unchanged. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
….0); platform evidence is the latest bot review at the head Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…d-call checks; platform depth needs a docs or tests class and the newest bot review; verify re-hashes the outside voice's diff file Repins lib/review-depth.ts and lib/review-risk.ts under GSTA-258-C: the planner over the same 200 main commits to 6f1dfd5 still plans 196 identically and the other 4 only raise (handoffs/GSTA-258/C-planner-noloss/plan-c200-final.tsv). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… merge) lib/review-risk.ts: RISK_RULES keeps main's SECURITY_JOINED beside C's patterns; the merged file is main's GST-942 bytes plus exactly the GSTA-258-C lines. Repins lib/review-risk.ts under no-loss check GSTA-258-C+GST-942. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… fields (Step 14.5 audit ship1-docs-c1) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ew_depth fields (Step 14.5 audit ship1-docs-c1)" This reverts commit 8497f51.
This was referenced Nov 3, 2026
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>
…6; review pins ported per GSTA-202 recipe) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
6 tasks done
garrytan
added a commit
that referenced
this pull request
Nov 3, 2026
Resolve lib/ship-policy.ts against #3920: keep main's stamped REVIEW_POLICY_KEY_VERSION and its review entry, and append release_gate to the same POLICY_KEY_INTRODUCED line. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
garrytan
added a commit
that referenced
this pull request
Nov 3, 2026
…e 19 grant) Option 1: config _usd price or rate keys are money outside a results tree, on top of #3920's path-only rule; per-file pins repinned. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
3 tasks done
garrytan
added a commit
that referenced
this pull request
Nov 3, 2026
#3920 (GSTA-258 build C) conflicts, resolved mechanically: - bin/gstack-ship-receipt: keep this branch's ship-recheck import beside main's depth import (now with platformReceiptDepth) and review-risk import; the help keeps --no-stop beside main's --declare-risk and --platform-review. - review-army pin: both sides repinned ship/sections/review-army.md, which merged cleanly; repin it to the merged bytes under a combined GSTA-258-C+GSTA-258-L4 replay (pin-file recipe, GSTA-202). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
garrytan
added a commit
that referenced
this pull request
Nov 3, 2026
…review-exclude fixture) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 3, 2026
capy-ai Bot
added a commit
that referenced
this pull request
Nov 4, 2026
…orted costs aren't money (GST-961, GST-962) (#3942) * test(review-risk): failing tests for incidental money signals (GST-961, GST-962) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(review-risk): unread data files and cost_usd reads no longer raise money (GST-961, GST-962) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(review-risk): keep reservations, estimates, spend guards and pricing tables money (GST-961, GST-962 review) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(review-risk): a <> inequality on a reported cost stays money (GST-962 round-2 grant) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * changelog: GST-961+962 fragment under the branch slug Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: money row names the full reported-cost rule and the results-tree exemption Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(review): receipts/ joins the config price-key carve-out (#3920's review-exclude fixture) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * test(review-pins): the merged repin's justification says the no-loss replays were not rerun (GST-961+962) 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>
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's review still runs today's reviewer panel by default (
review.panel all). Everything new that's on by default can only send more diffs to full review:eval(scorer, judge and grader paths),policy(a repo's ownreview.risk_paths), and money for code that reserves, binds, leases or settles spend next to a ledger, budget, cost or credits word (GST-1129). A docs line that can print a credential counts as security.gstack-review-plan --declare-risk <classes>andgstack-ship-receipt write --declare-risk <classes>can only raise the depth. The receipt keepsreview_depth.declaredbeside.detected._usdvalue in a JSON, YAML or config record, or a stats script under aresults/tree, no longer reads as money. A key, a spend cap or a paid-provider call in those files still counts.reviewpolicy key.panel(allby default;riskoroffopt in to one reader on non-risk code),reader_model,platform(offby default) andrisk_paths.UBICLOUD_API_KEYlineREVIEW_DEPTH: light, no risk classREVIEW_DEPTH: full reasons=risk:money, full panelWhy
GSTA-258 asked /ship to scale review to risk (R51, R65). The one-reader shape is opt-in because its preregistered no-loss replay did not pass. The reader (C1, Opus 5.5 high) found 2 of 68 non-risk blocker-runs at CRITICAL against a 90% bar, or 22 of 68 counting findings it rated non-blocking. The masked no-gstack arm found 6 of 68, and GPT-6.1 Sol found 0 of 24 on ggstack#52 and #60. Spend was $27.57 of a $40 cap, and no run was retried or cancelled.
Why null? Verdict: FIX-METHOD. The readers saw only the diff and had no repository to read. The live panel, working in the repo, found 33 of 38 of the same non-risk blockers. So this replay can't say whether one reader is enough. A rerun with readers in a checkout of each unit's head comes next, as a pilot first.
Product flag: the reader often finds the real blocker and then rates it "Blocks: no": 20 of C1's 22 hits were downgraded this way. That's a severity-calibration problem, separate from recall. L4 is fixing the related collector issue.
Blast radius
The default dispatch is unchanged except that depth only goes up. The planner no-loss check is
GSTA-258-C/GSTA-258-C+GST-942intest/review-packets-removed.test.ts, with the scans in GStack Minder drive handoffs/GSTA-258/C-planner-noloss/. Every reviewer brief body still hashes to its pin. The outside voice now reads its diff from a file the brief names with its sha256, verify re-hashes that file, and a diff over 2,000,000 bytes is sliced (it used to be refused). There are no new network calls, environment reads, permission changes, workflow, setup or install edits, or dependencies.Approvals
reviewkey row and review_depth receipt fields deferred to L7 (GST-1177/1178) to stay inside the reviewed diff; re-accepted at 8bdc632 after the rule 19 base merges.Documentation
Documentation exception: accepted by GSTA-258 2026-11-03 via named-risk decision, GSTA-258 build C (GSTA-258 trail row 23): decided by GSTA-258 (2026-11-03): docs/ship-policy.md
reviewkey row and review_depth receipt fields deferred to L7 (GST-1177/1178) to stay inside the reviewed diff; re-accepted at 8bdc632 after the rule 19 base mergesThe Step 14.5 audit (/document-release, ship1-docs-c1) found that docs/review-policy.md was already current, and it proposed the docs/ship-policy.md rows that are deferred above. The text is in GStack Minder drive handoffs/GSTA-258/C-docs-followup.md.
Issues
Refs #356
Refs #3122
Refs #3512
Refs #3662
Refs #3670
Refs #3705
Refs #3744
Refs #3745
Refs #3764
Refs #3765
Refs #3795
Refs #3852
Refs #3887
Pre-Landing Review
REVIEW_LOOP: passes=2 blocking_found=18 deferred=0 noted=7 fixed=0 scope=frozen fix_checks=3 rounds=5 (pass 1, pass 2, the granted fix-check at 6e7fc84, the scoped merge-hunk check at 7d24281, and the scoped check at 8bdc632 after the rule 19 merges of main; Step 11 voices ran at 6865485, at 7d24281 and, as the tool required after RECEIPT_CARRY_PRODUCT_CHANGED, at 8bdc632, where GStack Minder ruled none of the 17 findings at the floor)
Review-loop exception: accepted by GStack Minder 2026-11-03 via review_loop_exception granted by GStack Minder 2026-11-03 (GSTA-36): rule 19 merges of main into #3920 made RECEIPT_CARRY_PRODUCT_CHANGED (union lines in bin/gstack-review-plan and lib/review-depth.ts); Step 11 reran at 8bdc632 as the tool requires (17 findings, none at the floor per GSTA-36, shipped as open notes), then one scoped check on the two union lines, the lib/ship-policy.ts hunk and the seven review-pin files (fix-check at 8bdc632, 0 findings)
Earlier on this PR: the fix-check at 6e7fc84 (4 informational) and the merge-hunk check at 7d24281 (0 findings) ran under GStack Minder's standing grant, GSTA-258 builds, 2026-11-03 (approval a-24ab9e51d079).
Gate edits:
bin/gstack-review-plan,bin/gstack-review-dispatch,bin/gstack-ship-receipt,lib/ship-policy.ts,lib/ship-receipt-depth.ts(review depth, declared risk, platform receipt), plus the reviewer-depth pins undertest/fixtures/review-pins/(three replays and four repins, ported per GSTA-202 after #3903).Open notes. None of these is at the blocking floor on the default path.
.outfile, executables included, is classed as docs, so underreview.platform onit can plan no reader. L7 (GST-1177/1178).sliceDiffcan drop a git-quoted filename that comes before the first unquoted header, and that file isn't listed as left out (diffs over 2 MB only). L7 (GST-1177/1178).reader_model: cross-familyfalls back to the lane's family on non-Anthropic lanes (opt-in lean).max_cost_usdin YAML or JSON isn't money (HARN-1's path-only rule).STATS_SCRIPTmatches anyresults/directory,app/results/*.pyincluded.reviewkey row and the newreview_depthfields. The audit's text is in handoffs/GSTA-258/C-docs-followup.md for L7.logs/directory (BINARY_DATA_PATH) classes as docs, soscripts/logs/prunedrops from code/security to docs/light. A shebang or exec bit should mean code; L7 adds the failing test first.--fix-checks(opt-in lean).review_depth.declared/.detected, and a--name mergedrender yields no targeted record (fails closed).review.risk_pathsdoesn't raise JSON config files, because DATA_PATH extensions skip the policy matcher (opt-in).GST-1177 in lane L7 stacks on this PR and covers the classing of outside-model prompt builders (
lib/autoplan-lean.ts, the review dispatch and packet builders) as security.