Repository navigation
gstack-pr-wait ignores cancelled checks a newer pass replaced, and the npm git-dependency hint names allow-git - #4832
Merged
capy-ai[bot] merged 3 commits intoNov 25, 2026
Conversation
…e npm git-dependency hint names allow-git A cancelled check that a newer passing run replaced no longer blocks gstack-pr-wait (#4807); the DEPS_MISSING hint names npm's allow-git for git dependencies (#4815); the docs audit /gstack-ship launches is admitted by /gstack-ship's own install record and an install refusal no longer spends its re-audit. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
This was referenced Nov 25, 2026
ship preflight: DEPS_MISSING hint 'npm ci' fails under npm 12 for git dependencies (EALLOWGIT)
#4815
Closed
…-voice install replaced the shared verdict Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team 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 25, 2026
- gstack now picks the newest Opus, Fable, Sol and Astra everywhere it chooses a model. (#4811) - /autoplan no longer asks the owner a third time for changes his "do it" already approved. (#4809) - The destructive-command check no longer asks before deleting a file inside another `git worktree` of the same repository, or elsewhere in the session's own worktree. (#4834) - New guide section: you don't need to cut back on MCP servers for accuracy, up to about 300 tools, as long as Claude Code's tool search stays on. (#4814) - This release's notes no longer contradict each other. (#4839) - An owner can now let a small edit made after the final review ship as a disclosed note, and /ship honours it. (#4818) - `/eval-plan` lets a judge that grades code be checked against a third model's labels instead of people's (R126). (#4824) - `gstack-pr-wait` no longer blocks on a cancelled check that a newer passing run of the same check replaced. (#4832) - The `DEPS_MISSING` stop names npm's `allow-git` setting when the lockfile installs a package from git. (#4832) - The docs audit /gstack-ship launches starts after a reviewer's install replaced the shared install verdict. (#4832) - `gstack-ship-receipt write` leaves a retired `scoped-fix-check` row out of `--no-stop`, (#4832) - The QA-only cleanup test no longer fails at random in CI. (#4823) - Three tests that failed at random now pass reliably. (#4821) - Six tests that failed at random now pass reliably. (#4830) - /gstack-ship honours a ruled edit after the final review, and a stop on a second-model blocker records. (#4829) - `/ship` is now `/gstack-ship`, so Claude Code loads gstack's shipping skill again (#4775). (#4839) - make-pdf's new layout handles three more cases. (#4828) - make-pdf has a bold new default look, and `--style plain` keeps the old one. (#4820) - The CI image now runs Claude Code 2.1.326 and Codex 0.172.0, versions that know gstack's newest default models. (#4822) - `bin/gstack-capy-install` reads the Codex setup model from the astra row of `lib/model-families.ts` instead of naming it, so the next Astra release is still a one-line change. (#4822) - The default judge's move to claude-fable-5-2 is checked against the labelled controls next to its callers (plan-decision and DX peer-comparison calibrations, the redaction semantic pass): every item agreed with its label. (#4822) - The test harness keeps working on Claude Code 2.1.326. (#4822) - A release no longer rewrites version numbers inside changelog entries, counts subsection headings as changes, or prints a subsection heading twice. (#4803) - The /cso security audit skill is gone, because a plain request for a security audit now finds more real problems. (#4839) - /gstack-ship no longer has round grants, fix-check grants or the review-loop exception: after two review rounds a blocker ships only as an owner's ruled note, or the PR parks. (#4826) - `gstack-ship-queue ready` no longer asks for a cross-family read of the decision trail. (#4826) - `gstack-ship-receipt stop` works before a PR exists. (#4826) - Receipt checks read a path with `*` or `?` in its name as that file. (#4826) - The /gstack-ship driver records spend at start and close only, (#4826) - Skill routing no longer fires on subagent hand-backs or on a passing mention of "code review". (#4831) 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.
gstack-pr-waitno longer blocks on a cancelled check that a newer run of the same check replaced, and theDEPS_MISSINGstop names npm 12'sallow-gitsetting when the lockfile installs a package from git.The docs audit that /gstack-ship launches also starts after a reviewer's install, and a refused launch no longer uses up its one retry.
Nothing for you to do. Fixes #4807 and #4815; thanks to exGeni for both reports and the repro.
What changed
gstack-pr-waitand replaced cancels (gstack-pr-wait counts a cancelled check run that a newer run of the same check replaced as a failure, while gstack-ship-queue ready reads the same head as green #4807). A cancelled run is left out only when the newest run of the same check (same app and name) passed or is still running, which is howgstack-ship-queue readyandgh pr checksalready read it. The check then reads as that newer run, so it is green when that run passed and pending while it runs. A failed run beside a newer pass, a cancel that is the newest run, and another app's pass all still block.docs/ship-policy.mdanddocs/troubleshooting.mdname this one narrowing.npm-shrinkwrap.jsonorpackage-lock.jsonresolves a package from git, theDEPS_MISSINGhint still saysnpm ciand adds that npm 12 and later needallow-git, naming--allow-git=allfor a source you trust. It is not made the default.--for review-voiceinstall has rewritten the shared install verdict, the start check (both the TypeScript and Bash versions) now also tries /gstack-ship's own install record. That record is checked in full for the workflow: checkout, HEAD, project, pins, components and Bun.gstack-docs-candidate attemptno longer counts a launch whose start check refused it when the child reports that as ablockedresult with no file reviewed or updated.Why
Each bug gave wrong advice to someone shipping with gstack. pr-wait reported a false
PR_WAIT_BLOCKEDon a head the merge queue called green. The npm hint suggested a command that fails withEALLOWGIT. And in a real /gstack-ship run (yc-software/qm#3974), the docs audit was refused at start and the refusal still spent the PR's one retry.Blast radius
gstack-pr-wait(and /land-and-deploy Step 3, which runs it), theDEPS_MISSINGstop ingstack-ship-preflight, workflow start checks on Capy machines after a review-voice install, and Step 14.5's attempt counter. The merge queue's own CI verdict is unchanged.Documentation
Status: current. No doc edits were needed; the branch's own doc changes match the code.
Scope: committed diff 7eba5ca..HEAD on fix/pr-wait-replaced-cancels-npm-allow-git-docs-admission (16 files: bin/gstack-docs-candidate, bin/gstack-install-verdict.sh, bin/gstack-ship-receipt, lib/install-verdict.ts, lib/pr-wait-github.ts, lib/ship-preflight.ts, lib/ship-queue.ts, three docs, one changelog fragment, five tests). The branch has no staged, unstaged or new files beyond its commits.
Documentation health:
Coverage debt: the DEPS_MISSING npm allow-git hint (#4815) is described only in the changelog and the code, with no troubleshooting entry. Diagram drift: none.
Issues
Fixes #4807
Fixes #4815
Tests
Each fix has a test written first and seen failing on main (7eba5ca):
test/gh-poll.test.ts(#4807, with negative controls),test/ship-preflight-carry-bound-and-deps.test.ts(#4815),test/install-verdict.test.ts(start check, both versions; a stale or narrower ship record still refuses),test/ship-rereview-triggers.test.ts(retry count) andtest/ship-receipt-runs.test.ts. CI runs the full suite. The focused tests passed at the final head (45 tests).Agent notes
Agent notes
Pre-Landing Review: 9 issues — 1 auto-fixed, 0 asked, 0 deferred, 4 noted, 4 ruled notes
Gate edits: none detected (6 listed, 1 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
REVIEW_LOOP: passes=2 blocking_found=4 deferred=0 noted=4 fixed=1 scope=frozen open=4 dispatches=4
Ruled note: lib/ship-queue.ts:174:outside-voice at 1da54fb ruled by GStack Minder (relayed from GSTA-36:2026-11-25T17:13:04.602Z) at 2026-11-25T17:13:15.255Z: Ruled a non-security note: pr-wait aligns with ship-queue's existing latestRunPerName key and gh pr checks; ship-queue remains the merge gate and workflow-id keying is a separate follow-up. (approval a-b2fb4b45f518)
Ruled note: lib/pr-wait-github.ts:194:outside-voice at 1da54fb ruled by GStack Minder (relayed from GSTA-36:2026-11-25T17:13:04.602Z) at 2026-11-25T17:13:15.417Z: Ruled a non-security note: conservative refusal unchanged from main; narrowing only already-replaced cancels widens nothing. (approval a-6f5cba58a8c4)
Ruled note: lib/install-verdict.ts:159:outside-voice at 1da54fb ruled by GStack Minder (relayed from GSTA-36:2026-11-25T17:13:04.602Z) at 2026-11-25T17:13:15.553Z: Ruled a non-security note: matches GST-1233's existing per-workflow fallback, still blocks fail setup, and validates the ship record in full for checkout, head, and runtime. (approval a-8c5a82e518db)
Ruled note: lib/ship-preflight.ts:230:outside-voice at 1da54fb ruled by GStack Minder (relayed from GSTA-36:2026-11-25T17:13:04.602Z) at 2026-11-25T17:13:24.353Z: Ruled a non-security note: the lockfile read matches the package.json readFileSync in the same function and needs a hostile FIFO in the repo; bounded read deferred with the Low notes. (approval a-03fe318da8de)
Low notes from the native adversarial reader (no action in this PR): two Bash locals (
_ia_dir,_ia_ship) are not declaredlocal; the allow-git note inside theDEPS_MISSINGline breaks a copy-paste of the command; the docs describe the ship-record fallback more narrowly than the code applies it (every workflow it fully certifies); a never-starting replacement run now waits out the deadline instead of failing fast. The docs audit noted that the allow-git hint has no troubleshooting entry yet.Thread GSTA-865, issue GST-3918. Also from the #4829 review notes:
gstack-ship-receipt writedrops a retiredscoped-fix-checkrow from--no-stop, matchingcheckNoStopingstack-no-stop. No outside code was run; the #4807 repro was rewritten as a test.Second-model review: openai/gpt-6.2-sol (outside voice), Claude Opus 5.5 specialists, red team and adversarial reader.
Approvals
Approved: yes (record r-47391c16ed96). The full approval record stays private.
Plan: exempt: bug fix (R40/R65), failing-first tests
Plan check: exempt bug fix
Refs GST-3918
gstack: ok 1.103.3.0 for=ship
Receipt