Repository navigation
Leave recorded harness mechanics transcripts out of review diffs - #353
Merged
Merged
Conversation
Model reviewers in /ship no longer read the recorded session fixtures under tests/harness-mechanics/fixtures/arms/: Claude Code transcripts, SDK logs, first-request captures and hook records that the harness mechanics arms tests replay. They take the harness mechanics results pull request from 2.2 MB to about 1.65 MB of reviewer diff, under the 2 MB gstack hands one reviewer. Reviewers still read the tests that replay them, and the secret and privacy scan before every push still reads the fixtures. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
garrytan
added a commit
that referenced
this pull request
Nov 15, 2026
Brings in the review_exclude_paths entry for tests/harness-mechanics/fixtures/arms/** (#353), so this branch's final review fits under gstack's 2 MB reviewer limit. No conflicts; this branch's own changes are unchanged.
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's /ship review no longer sends the recorded Claude Code sessions under
tests/harness-mechanics/fixtures/arms/(transcripts, SDK logs, first-request captures and hook records) to its model reviewers.Why: those files are 568 KB of the harness mechanics results pull request (#300). Leaving them out takes its review input from 2.2 MB to about 1.65 MB, under the 2 MB gstack gives one reviewer, so that pull request can get its final full review.
Nothing to do: reviewers still read the tests that replay these files, the secret and privacy scan before every push still reads the files, and the new pattern matches nothing on main until #300 lands.
What changed
.gstack/ship-policy.jsonaddstests/harness-mechanics/fixtures/arms/**toreview_exclude_paths. gstack applies each entry as a git glob pathspec when it builds the reviewers' diff.tests/ci/review-exclude-policy.test.ts(added in Keep frozen data files under wiki/plans out of model review #350) pins the new entry, allows matches under the arm fixtures in the check over every tracked file, and adds three arm-fixture hits and six near misses to its scratch repository: the test file beside the fixtures, a scorer fixture,fixtures/arms.json,fixtures/armsx/, and the samefixtures/arms/path underlanes/and undertests/fixtures/.Checks
bun test tests/ci/passes all 173 tests on this tree. With the old policy and the new test, 2 of the 3 tests inreview-exclude-policy.test.tsfail, so the test catches the change.review_exclude_paths.Agent notes
tests/harness-mechanics/fixtures/arms/hold 567,555 bytes, so excluding them leaves about 1,649,706.arms/**entry matches every file type. gstack still keeps code, executable and config files under an excluded path in the reviewers' diff, so only data, docs,.logand binary files leave it.**/runs/**, so before they reach the public repo only the key, token, contact-data and home-path scans read them. The line above about the privacy scan covers those checks only. Settle prose privacy on the harness mechanics results PR (Harness mechanics eval and results: a stop rule as hook or prose, best-of-2 at equal spend, and Jev behind a judgment hook #300) before it merges.arms/.review_exclude_paths.