Let an owner's ruling ship a small edit made after /ship's final review (GST-3775) (#4818)

An owner can now rule that a small edit made after /ship's read-only
final review ships as a disclosed note, and finish accepts exactly that
file at exactly the ruled bytes instead of forcing a whole new /ship.

This unblocks teams that hit "behavior, tests or build inputs changed
since review" over a one-line test change (garrytan/gbrain#10256), while
keeping the review stop for every other edit.

Nothing to do on merge; the changelog fragment is in
changelog.d/edit-ruling-fixes.md.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p2/outside-voice#2 reader=outside-voice
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-25 01:52:24 +00:00
1 parent e38a1782ae
commit 66b8f84376
9 files changed
+232 -2

No files matched your search

+4
View File
@@ -528,6 +528,10 @@ export const KNOWN_WINDOWS_INCOMPATIBLE: Array<{ file: string; reason: string }>
file: 'test/ship-finish-fixed-links.test.ts',
reason: 'drives bin/gstack-ship-release, gstack-approvals, gstack-review-log, gstack-docs-candidate and gstack-wtree (shebangs) through test/helpers/ship-bin-fixture.ts like test/ship-finish-ruled-notes.test.ts; windows-latest fails every case at the first bin spawn (windows-free-shard 3, run 42593329215)',
},
{
file: 'test/ship-finish-edit-ruling.test.ts',
reason: 'drives bin/gstack-ship-release, gstack-approvals, gstack-docs-candidate and gstack-wtree (shebangs) through test/helpers/ship-bin-fixture.ts like test/ship-finish-ruled-notes.test.ts, whose every case fails on windows-latest at the first bin spawn',
},
{
file: 'test/review-pass-program.test.ts',
reason: 'split from test/review-pass.test.ts, which Windows never ran (its POSIX mode-bit check): runs bin/gstack-review-dispatch (a shebang) and bash git fixtures through test/helpers/review-pass-harness.ts',