Repository navigation
/ship can finish after a docs audit stopped before saving its snapshot (GST-3502) - #4693
Merged
Merged
Conversation
…ts snapshot, so the receipt can be written (GST-3502) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…angelog fragment (GST-3502) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
Review-Finding: p1/specialist-batched#1 reader=testing Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 22, 2026
Merged
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.
/ship no longer gets stuck when its docs audit edits a left-out docs file and then stops: the second audit can now include the first audit's edits, so /ship can record its result and finish.
Why: a gbrain release was blocked with no supported way forward.
Nothing to do:
gstack-docs-candidate snapshotgains one optional flag for this case, and /ship's Blocked recovery step names it.What changed
gstack-docs-candidate snapshottakes a new flag, named in the Agent notes, that records, in the second audit's after-edit snapshot, the files a stopped audit edited: what changed between the stopped audit's Prepare snapshot and the second audit's Prepare snapshot, at the same commit. It needs--preand--run, and refuses an after-edit snapshot or one taken at another commit.a/../b.mdandb.md) now count as the same run, in the docs candidate, in the check that keeps an earlier audit's edits, and in the review depth check.Agent notes
The new flag is
--carry-stopped <stopped audit's Prepare snapshot>.Reported by GBRA-732 on gbrain at 8e0159ab (audits ship2-docs-1, blocked, and ship2-docs-2):
gstack-ship-receipt writerefused RECEIPT_INVALID on review_exclude because the re-audit's post snapshot could not carry the stopped audit.Approvals
Approved: yes (record r-01c2dd1613a2). The full approval record stays private.
Plan: exempt: bug fix with a failing test written first (R65)
Plan check: exempt bug fix
Pre-Landing Review
Pre-Landing Review: 10 issues — 0 auto-fixed, 0 asked (0 fixed, 0 skipped), 0 deferred, 7 noted; 3 second-model findings ruled below the floor
Gate edits: none detected
REVIEW_LOOP: passes=1 blocking_found=3 deferred=0 noted=7 fixed=0 scope=frozen open=3 dispatches=4
Ruled note: ship/sections/documentation.md.tmpl:136:outside-voice at a07f9a9 ruled by GSTA-36 at 2026-11-22T08:03:21.803Z: a recovery commit that moves HEAD makes --carry-stopped refuse, failing closed where main had no path (approval a-f094fffe8f45)
Ruled note: bin/gstack-docs-candidate:198:outside-voice at a07f9a9 ruled by GSTA-36 at 2026-11-22T08:03:22.386Z: a path missing from the second Prepare inventory takes its after-state from the worktree, so a misattributed run makes receipt write refuse, never accept (approval a-88fc8e53e7ea)
Ruled note: lib/ship-receipt-docs.ts:53:outside-voice at a07f9a9 ruled by GSTA-36 at 2026-11-22T08:03:22.662Z: a relative --run resolves against the current directory, so a differently spelled run makes receipt write refuse, never accept (approval a-679a0ed9a0bd)
Ruled note: ship/sections/documentation.md.tmpl:106:outside-voice at a07f9a9 ruled by GSTA-36 at 2026-11-22T08:03:31.008Z: the docs do not say --carry and --carry-stopped are alternatives; following both refuses on the missing post file; wording fix in a later PR (approval a-3ba4cd4270ed)
Ruled note: bin/gstack-docs-candidate:227:outside-voice at a07f9a9 ruled by GSTA-36 (relayed from GSTA-795:01M8149DAHMER7Y6AE3N95RTSM) at 2026-11-22T08:16:51.531Z: a retry that creates a docs file the second Prepare missed is credited to the stopped audit, so receipt write refuses; it never accepts (approval a-c39e6b7a8d48)
Ruled note: ship/sections/documentation.md:108:outside-voice at a07f9a9 ruled by GSTA-36 (relayed from GSTA-795:01M8149DAHMER7Y6AE3N95RTSM) at 2026-11-22T08:16:52.234Z: the post-snapshot step and Blocked recovery do not say --carry and --carry-stopped are alternatives; following both refuses on the missing post file (approval a-83c6b7fd11a1)
Ruled note: bin/gstack-docs-candidate:270:outside-voice at a07f9a9 ruled by GSTA-36 (relayed from GSTA-795:01M8149DAHMER7Y6AE3N95RTSM) at 2026-11-22T08:16:52.510Z: a relative --run stored after chdir to the repository root reads as another run, so the snapshot or receipt write refuses; it never accepts (approval a-46d14bb55894)
Documentation
Scope: a read-only docs audit of
docs-re-audit-keeps-stopped-audit-editsagainstef72e414. It covered the newgstack-docs-candidate snapshot --carry-stoppedflag, the shared same-run path check (sameRun), the/shipStep 14.5 template and its generated copy, the changelog fragment, the tool's usage text,docs/ship-policy.mdanddocs/troubleshooting.md.Result: current, with no edits. The usage text, the Step 14.5 instructions and the changelog fragment all describe the new flag correctly.
Documentation debt (deferred by the owner):
docs/ship-policy.md(the paragraph on the docs-audit exception to the review exclusion) anddocs/troubleshooting.md(the re-audit entry) still mention only--carry. They should also name--carry-stopped. These lines will be fixed in a later PR together with the--carry/--carry-stoppedwording fix.