Repository navigation
Owner rulings close a stopped review whose findings were logged in a findings file (GST-3296) - #4568
Merged
Merged
Conversation
…findings file (GST-3296) When /ship's final review is logged with --findings, or the native reader's row lists no findings, gstack-review-read now matches the owner's rulings against the collected findings, so Step 11.5 binds both rows (harness-evals#515). A row that claims issues but lists none says so. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…s read from another folder gstack-review-log now stores the findings file as an absolute path, so gstack-review-read finds it from any working directory. Review-Finding: p1/specialist-batched#1 reader=specialist-batched Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…on them The gate-disposition paragraph still said a row derived from a findings file is never cleared; since GST-3296 it clears only through the findings gstack-review-read shows from that file. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 20, 2026
- Two /ship approval records stop needing workarounds. (#4549) - For contributors: the paid auto-decide check counts a start step that ran while the skill loaded. (#4543) - The destructive-command check closes three ways past its disk-wipe and force-push blocks. (#4534) - A green CI run still counts when the repository's artifact storage is full. (#4536) - `/cso` now audits repositories that track symlinks. (#4567) - A doc-sync eval stops failing when the audit child drops one field from its result line. (#4555) - The browse daemon no longer picks port 10080, which Chromium refuses to open. (#4554) - Opted-in telemetry now says why a skill run ended, which coding agent and model family ran it, and whether an upgrade worked. (#4542) - A preregistration with only its write-up and plain data now gets the write-up review: one reviewer, one round. (#4544) - When owner rulings don't clear a stopped review, `gstack-review-read` now says which findings are left. (#4553) - The prompt-routing hook now names your installed bug-fix skill on bug reports, alone, and never puts /verify ahead of it. (#4539) - Owner rulings now close a stopped review whose findings were logged in a findings file. (#4568) - /ship can finish after the owner accepts a stopped review's findings as open notes. (#4552) - /ship no longer starts the full test suite on your machine when CI's earlier run can't be reused (GST-3277). (#4565) - The prompt-routing hook no longer acts on words inside backticks. (#4566) - In Claude Code, a gstack skill's start step now runs when the skill loads, so the model can't skip it. (#4509) - gstack's telemetry backend only accepts writes through its own validated endpoint, and the community dashboard now counts real use. (#4537) - gstack now says what it's adding before it adds a background job or a browser extension. (#4538) - For contributors: every flaky pass in Free Tests is now recorded. (#4572) - For contributors: Free Tests on pull requests starts its test shards one round of small jobs sooner. (#4570) - Secret values written as `name=value` at the end of a path are now hidden. (#4571) 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.
When /ship's final review is logged with
--findings <file>, or the native reader's row lists no findings, the owner'sgstack-approvals rulerows now close those rows at Step 11.5.Why: harness-evals#515 had all 12 rulings recorded and green CI, yet /ship stopped at Step 11.5 because the rulings had nothing to match.
Nothing to do: rows that already work read the same, and an unruled blocker, a noted CRITICAL or an unfinished pass still refuses.
What changed
A stopped review logged with a findings file now reads CURRENT once the owner rules its blockers; before, the rulings had nothing to match.
Tests
bun test test/ship-finish-ruled-notes.test.ts test/review-log-findings.test.ts: green on the fixed tree (54 cases, none failing).bun run typecheck: exit 0.Before/after as text: A stopped review logged with a findings file now reads CURRENT once the owner rules its blockers; before, the rulings had nothing to match
The owner had ruled every blocker on harness-evals#515, CI was green, and /ship still stopped: the final review row kept its findings in a separate file and the native reader's row listed none, so the rulings had nothing to match. Now:
gstack-review-readshows a stopped row's findings from its findings file (findings_fromnames it), but only while the file still gives the counts the row recorded. A changed or missing file attaches nothing.gstack-review-logstores the findings file as an absolute path, so the review reads the same from any folder.Why
"All 12 rulings recorded, CI green, and /ship still stops at Step 11.5" (harness-evals#515). Owner rulings are how a stopped review ships with its notes disclosed, so a review logged with a findings file now gets the same path as one with inline findings.
Blast radius
Only
gstack-review-read's view of stored rows and the pathgstack-review-logstores change. Every new path fails closed: an unreadable, changed or unmatched file attaches nothing and the row stays UNVERIFIED, which the negative-control tests and QA captures 006/008 show (script ran).Test Coverage
Coverage audit (audit only, no tests generated): 13 of 18 changed paths have a test (72%). Gaps: an unreadable findings file, a native row with no matching review row, a malformed log line, and two guard orders; all fail closed.
Tests: 37 → 38 in test/ship-finish-ruled-notes.test.ts (+1 for the relative-path case, which fails without the fix and passes with it).
Tests ran: test 1719 files (CI run 44804801877).
Pre-Landing Review
One review pass (a batched specialist reader and the native adversarial reader), one fix, and one follow-up read of the fix.
Deferred findings
Blocking findings in code this PR did not change (review scope: frozen). They stay on this PR and are not filed as issues.
adversarial-native#1Collected line '- A noted CRITICAL still needs its own ruling.' (the reader's list of new test cases; its verdict line says blocking=0).Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
lib/review-evidence.ts:397Native-row fallback matches on pass, which the adversarial-review row template does not log; fails closed.lib/review-evidence.ts:396A native row that lists no findings takes the Step 9 row's findings with no check that they include the native reader's own.lib/review-evidence.ts:384Findings file is matched to its row by derived counts only, not by content hash.lib/review-evidence.ts:385Stored findings path is read without an isFile or size check; a FIFO there would hang review-read.lib/review-evidence.ts:414The lists-no-findings reason now also attaches to fix-range or non-converged rows that claim issues; gate unchanged, reason text wider.Exploratory QA
Target: gstack-review-read and gstack-review-log on PR #4568 (functional CLI surface), isolated ship-bin fixtures under /tmp, no network, no production access.
Required smoke checks on current inputs (after the pre-landing fix):
exploration-010.json)): pass.exploration-009.json)): pass after the fix; it failed closed (UNVERIFIED, ENOENT) before it ([checkpoint 006] (exploration-006.json), replay [checkpoint 008] (exploration-008.json)).Evidence tool verdict: inconclusive, open only on superseded optional captures 002 and 005 (probe setup defects: a non-git log directory and a probe argument bug) and 007 (the relative-path control from the checkout root, not rerun after the fix). Every checkpoint: [002] (
exploration-002.json) [003] (exploration-003.json) [004] (exploration-004.json) [005] (exploration-005.json) [006] (exploration-006.json) [007] (exploration-007.json) [008] (exploration-008.json) [009] (exploration-009.json) [010] (exploration-010.json).Design Review
No frontend files changed — design review skipped.
Eval Results
No prompt-related files changed — evals skipped (the eval selector picked no probes or judges).
Review bot comments
No review bot comments.
Plan Completion
No plan file: bug fix, exempt from plan review.
TODOS
No TODO items completed in this PR.
Documentation
Status: updated. One factual correction in docs/ship-policy.md; no blockers.
Scope: base 6287c75..head 0393094 on owner-rulings-close-findings-file-reviews, 5 committed files and nothing staged, unstaged or untracked. The change is that owner rulings now close stopped reviews whose findings were logged with
--findings, and an adversarial-review row that lists no findings takes the findings of the review row from the same pass (GST-3296).Documentation health:
Coverage debt:
withCollectedFindingsand thefindings_fromandfindings_unreadfields are documented only as reference in ship-policy.md, with no troubleshooting entry for the new 'it lists no findings (fcount 0)' reason. This is a common gap.Diagram drift: none.
Agent notes
GST-3296, lane GSTA-673 for GStack Minder. A replay of the real #515 rows (copied from HARN-108) through the new code reads both rows CURRENT with the recorded rulings.
Refs p1/specialist-batched#1
REVIEW_LOOP: passes=1 blocking_found=1 deferred=1 noted=5 fixed=1 scope=frozen ledgers_read=4 fix_checks=1 dispatches=2 est_input_tokens=9351
Pre-Landing Review: 8 issues — 1 auto-fixed, 1 asked and skipped, 1 deferred, 5 noted
Gate edits: none detected (1 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Deferred adversarial-native#1: a collector parse of the native reader's list of test cases ("A noted CRITICAL still needs its own ruling."); the reader's verdict line says blocking=0, and the judge step refuses lowering a list-item row.
Approvals
No approvals recorded for branch owner-rulings-close-findings-file-reviews.
Plan: exempt: bug fix (--kind fix) with a failing-first test, no plan review (R65)
Plan check: exempt bug fix