Keep home paths and Capy ids out of PR bodies on public repos (GST-1955) (#4868)

On public repositories, `/gstack-ship` no longer publishes home folder
paths or Capy thread and message ids in PR bodies, and abandoning a run
can no longer mark someone else's PR.

Why: 20 of the last 60 merged gstack PRs carried `/home/user/...` in
their shipping record, and relayed rulings forced internal ids into
public PR text (CAPY-1 qm#3938, qm#3983).

Nothing to do: older shipping records that hold a full path still match
their run.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
Review-Finding: p2/outside-voice#3 reader=outside-voice
Review-Finding: p2/outside-voice#4 reader=outside-voice
Review-Finding: p2/outside-voice#5 reader=outside-voice
Review-Finding: p2/outside-voice#6 reader=outside-voice
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-28 09:59:33 +00:00
1 parent f7beb0a71b
commit bbe63d1de3
17 files changed
+454 -43

No files matched your search

+4
View File
@@ -416,6 +416,10 @@ export const KNOWN_WINDOWS_INCOMPATIBLE: Array<{ file: string; reason: string }>
file: 'test/ship-finish-ruled-notes.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-rereview-triggers.test.ts; windows-latest fails every case at the first bin spawn (windows-scoped-shard, run 42139467391)',
},
{
file: 'test/ship-receipt-public-safe.test.ts',
reason: 'drives bin/gstack-ship-receipt, 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, which windows-latest fails at the first bin spawn (windows-scoped-shard, run 42139467391)',
},
{
file: 'test/ship-gate-dispositions.test.ts',
reason: 'drives bin/gstack-ship-release, gstack-approvals, gstack-review-log, gstack-review-read, gstack-ship-receipt, gstack-docs-candidate and gstack-wtree (shebangs) through test/helpers/ship-bin-fixture.ts like test/ship-finish-ruled-notes.test.ts, which windows-latest fails at the first bin spawn (windows-scoped-shard, run 42139467391)',