Review and shipping tools: seven small fixes to exclusions, issue links, PR description checks, build outputs, known-red tests and telemetry (GST-3464) (#4672)

Fixes seven small bugs in the review and shipping tools: bad exclusion
keys now refuse, `Review-Finding:` lines are no longer issue references,
older commits' issue mentions name their commit, and wording checks skip
the PR's short opening lines.

A native binary the checkout builds at a path its committed `.gitignore`
names is no longer flagged as a download; the grouped-merge test gate
can read the list of tests already failing on main from a file; and
telemetry no longer logs a duplicate onboarding event when a run crosses
midnight.

Nothing to do; each fix has a test that fails on main.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: Davmunrey <108531295+Davmunrey@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
This commit is contained in:
authored and GitHub committed 2026-11-22 10:48:36 +00:00
1 parent 8ffd2b85f1
commit f7e16a54fc
19 files changed
+263 -22

No files matched your search

+4 -1
View File
@@ -2430,7 +2430,10 @@ cross-repo `Refs name#N`, never a same-repo Refs line or a promotion
candidate; `(see #12)`, `(closing #12)` and `(#301)` stay bare refs.
Several in one parenthesis, `(founderstar #837, harness-evals #393)`, are each
their own name's reference. `owner/repo#N` naming this repository is its own
issue, so a `Fixes garrytan/gstack#N` trailer closes it.
issue, so a `Fixes garrytan/gstack#N` trailer closes it. A `Review-Finding:`
trailer line, which /ship writes for each fixed review finding, names a review
ledger entry (`p1/red-team#3`) or a fingerprint, never an issue, so it is skipped
(#4371).
Same-repo references are printed as
promotion candidates (`reference #N ← <commit line> (promote: fix #N)` on
stderr, `candidates` in `--json`): the owner's `fix #N` reply reruns with
+6
View File
@@ -871,6 +871,12 @@ repository whose every network-looking remote resolves to a local path through
marker on a sweep root itself is not honored, insteadOf that sends a local path
to the network still counts, and a clone made inside a live fixture root goes
unseen, as does one whose reader writes the marker or an insteadOf line itself.
The checkout's own build output is not a fetch either: a new big native executable
(ELF, Mach-O or PE) inside the checkout, at a path its committed, unmodified root
`.gitignore` names exactly with no glob (`bin/gstack-cso-core`), prints
`FETCH_IGNORED: … reason=build-output`. A big file under an ignored directory or a
glob, a non-executable at that path, or a path only an uncommitted `.gitignore`
edit names still counts as a download.
A `Bun.spawn` child given no `env` keeps the temp dir its test process started
with, so its fixtures land outside the marked root and still count.
+7 -2
View File
@@ -584,7 +584,9 @@ commit in another train is reused instead of run again.
**Base-red PRs.** A lane whose /ship paused on a red base (its receipt carries
`base_red`) READYs with `ready --pr <n> --no-screen --base-red --fixer <pr>`:
the condition must have been classified on today's base and not have expired.
The fixer READYs with `--fixes-base-red <case,...>`. The fixer rides at slot 1
The fixer READYs with `--fixes-base-red <case,...>`, or with
`--fixes-base-red-file <file>` (one case per line) when a case name holds a
comma; a JUnit record's `&gt;` and `&apos;` read as `>` and `'` (#4569). The fixer rides at slot 1
(moved there unless `--order` says otherwise, which then refuses), T0 may be
red on exactly the fixer's cases and nothing else, and every conditional PR
behind it is gated on its own prefix with nothing excluded. A conditional PR
@@ -1435,7 +1437,10 @@ key's claim alone, so `passes=2 blocking_found=1` is two claims, never a
both values; prose that quotes no counter is not a claim. The `## Approvals`
block `gstack-approvals` renders (its heading, the Date | Asked | Exact words
table and the `Source: gstack-approvals record` line) quotes the owner's
words, not this PR's numbers, so it is skipped: "one Step 11 pass" in that table
words, not this PR's numbers, so it is skipped, and so is the body's opening
above its first `<details>` fold, which says what changed for a user (a result
the PR is about, "58 fixed with gstack", is not a `fixed` claim; a body with no
fold, or whose opening is longer than 3 lines or 600 characters, is checked whole): "one Step 11 pass" in that table
is not a `pass` claim. Text you write under the heading after that block is
still checked. The `Review-loop exception: …` line (GST-977) and the
`Documentation exception: …` line (GST-983) the receipt's own exceptions
+6 -3
View File
@@ -4307,7 +4307,9 @@ leave `merged.jsonl`, and it never reaches the Red Team, the judge, the
returned output or PR text. `verify` prints `FETCH_VIOLATION:` and refuses
until the stage has rerun and swept clean. A test run's fixtures (a root
carrying `.gstack-test-fixture`, or a repository whose remote resolves to a local
path through `url.<base>.insteadOf`) print `FETCH_IGNORED:` and never count.
path through `url.<base>.insteadOf`) and the checkout's own native build output at a
path its committed root `.gitignore` names exactly (`bin/gstack-cso-core`) print
`FETCH_IGNORED:` and never count.
Capy's `~/.capy/drive` is never walked, and the drive sync database under
`~/.capy/drive-engine` (`state.db` and its `-wal`, `-shm` and `-journal` files)
is ignored, so that database growing past 100 MB is not a violation. Any other
@@ -7979,8 +7981,9 @@ the run; the prose was typed, so a reader of the body would learn a number the
run did not produce. The `PROSE:` line names each field with both values. The
`## Approvals` table `gstack-approvals` renders, the `Review-loop exception: …`,
`Documentation exception: …`, `Ruled note: …`, `Gate disposition: …`, `Mechanical retake: …` and
`Test-lane exception: …` lines the receipt requires, and the inside of a
closed code fence are never read as claims.
`Test-lane exception: …` lines the receipt requires, the body's opening above
its first `<details>` fold when it fits 3 lines and 600 characters, and the
inside of a closed code fence are never read as claims.
**Fix.** Correct the body to the receipt's number. When the receipt is the
stale one (the run was repeated), rerun `/ship` so the receipt is rewritten