Repository navigation
/ship can finish again when a docs check ran before a base merge (GST-3260) - #4648
Merged
capy-ai[bot] merged 3 commits intoNov 22, 2026
Merged
Conversation
…(GST-3260) When the docs audit edited a docs file, the branch then merged its base (new docs files, a new review_exclude_paths pattern), and a re-audit at the merged head made no edits, gstack-ship-receipt write refused with RECEIPT_INVALID field=review_exclude. Write now ignores files under the patterns that only the merged base changed, still checks the audits a no-edit re-audit carries, and accepts the reviewed selection when only the base policy moved. A docs file the PR changes after the last audit still refuses. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…he receipt (GST-3260) Review-Finding: p1/specialist-batched#1 reader=testing 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>
3 tasks done
Merged
3 tasks done
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.
Pull requests that merged their base after /ship's docs check can finish /ship again, instead of being refused with no way out.
Before this, a docs check that edited a file, followed by a base merge and a re-check with no edits, made /ship's final record refuse with a
field=review_excludeerror.Nothing for readers to do.
What changed
writeExcludeBindsno longer counts files underreview_exclude_pathsthat only the merged base changed. A file the PR itself touches still counts.Why
gbrain#9975 hit this on gstack 1.102.1.0: docs check A1 edited docs/guides/setup.md, a base merge added docs files and a sixth review_exclude pattern, and re-check A2 at the merged head made no edits. /ship refused with both checks, and no documented route cleared it.
Agent notes
test/review-exclude.test.ts"the #9975 shape …" failed on main with the GBRA-712 refusal (receipt write, RECEIPT_INVALID field=review_exclude) and passes here; 51/51 in that file. Code: lib/ship-receipt-depth.ts. The fix also binds through carryExcludeBinds/reviewedRecord.Plan: exempt: bug fix (R65)