Let the /ship conductor trial end at the remote gate when a case's base isn't main (GST-3003) (#4605)

The /ship conductor trial plan now ends a trial at the remote gate when
the case base isn't main, gives the no-gstack arm bun and its
dependencies, and audits every counted trial for exposure to the plan.

Why: in the uncounted pilot no trial could finish shipping, because the
remote test gate can't pass on a non-main base; one arm also read the
plan on main.

Nothing to do: no bar, arm, decision or catch rule changes, and no
counted trial has run.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-21 09:46:20 +00:00
1 parent 7fe1900f8b
commit baef51fe0e
2 files changed
+32 -8

No files matched your search

+1
View File
@@ -0,0 +1 @@
The /ship conductor trial plan now ends a trial at the remote gate when its case base isn't main, gives the no-gstack arm a test runner, and audits every trial for exposure to the plan (GST-3003).
+31 -8
View File
@@ -13,6 +13,15 @@ It changes the Procedure, the judge's labels, the Stop rules, the Budget and Hel
look. No bar, arm or decision line changed. Later the same day, also on the owner's grant, the Halfway look was
narrowed so that an early stop can only keep the conductor.
Amended 2026-11-21 again, after the uncounted pilot and before any counted trial, on the owner's grant (GSTA-36),
because the pilot failed its receipt rule. On a base branch that is not main, finish cannot clear
`pregate.json/remote_gate`: the CI-run route refuses with `base_mismatch` and the VM route with `paid_only`, so no
trial can reach `SHIP_RECEIPT:`. A trial now ends at the receipt or at that refusal, whichever comes first, and the
shared brief says to stop there. The no-gstack arm is recorded as it ran (a container on the runner's Capy machine
with no drive mounted) and gains bun and the installed dependencies, so it can run tests as the other arms' CI does.
Every counted C and F trial gets an exposure audit with a sensitivity analysis (Blinding). The Budget replaces the
pilot estimate with its measured cost and adds the second pilot. No bar, arm, decision or catch rule changed.
Status: locked at merge, before any paid call. Owner: GStack Minder (GSTA-36); runner GSTA-589. Paid runs start only
after this file merges and the owner approves the budget below.
@@ -59,7 +68,8 @@ the procedure differs. GPT-6.1 Sol is not an arm: the decision concerns Capy thr
Briefs, frozen. Shared part: "You own branch `<branch>` on garrytan/gstack; its base is `<base>`. Install gstack for
ship, then run /ship at the branch head against `<base>`. Stop at `SHIP_RECEIPT:` or wherever /ship stops, skip
`gstack-ship-queue ready`, and never merge. Report the receipt line, the `CALLS:` line and the stop reason if any."
`gstack-ship-queue ready`, and never merge. If finish refuses `pregate.json/remote_gate` with `base_mismatch` or
`paid_only`, stop there and report it. Report the receipt line, the `CALLS:` line and the stop reason if any."
C adds: "Run /ship the usual way: one fresh /ship subagent (machine: fresh) runs it." F adds: "Run /ship yourself in
this thread: follow ship/DRIVER.md phase by phase with gstack-ship-phase, and start its reviewers as your own
subagents. Do not start a subagent to run /ship."
@@ -76,7 +86,7 @@ C and F load gstack by design; the question is about gstack's /ship procedure.
- panel: the same kind (`behavior`, 3 independent trials per case), the same catch rule and the same real-problem judge
- harness: the Claude Agent SDK with the `claude_code` preset, reasoning effort high, Bash, Read and Grep tools; cost from the SDK's reported total at list price. This differs from C and F (Capy threads), because a Capy thread cannot hide the owner's drives; its cost is comparable to theirs in size, not to the cent
- report: its row sits beside C and F in every results table and verdict, including when it wins
- masking: a container on a runner VM that sees no Capy drive, holding only the case checkout
- masking: a container on the runner's Capy machine with no Capy drive mounted, holding only the case checkout (its base and head branches) and the installed dependencies, with bun available so the arm can run tests
- install: `test ! -e ~/.local/share/gstack && test ! -e ~/.claude/skills` inside the container before each run
- audit: each transcript is scanned for reads under `.capy/drive`, `.local/share/gstack` or `.claude/skills`; a trial that read a gstack skill file is contaminated and scores zero
@@ -134,11 +144,17 @@ Scoring). If they hold fewer than 48 findings, or fewer than 24 from C and F, C
case 4, then case 5, until both counts are met or this stage reaches $150. These trials never enter a counted
comparison.
**End of a trial.** A C or F trial ends at `SHIP_RECEIPT:`, at finish's refusal of `pregate.json/remote_gate` with
`base_mismatch` or `paid_only` (the case bases are not main, so that gate cannot clear; it is the same wall for both
arms and is not a harness failure), or wherever else /ship stops. Cost, wall time and `calls=` are measured to that
end. Work an arm does to get around the refusal (a VM gate, repointing `origin/HEAD`) is counted in its cost and
reported.
**Counted trials.** Then the 90 counted trials (3 per case per arm) run, cases in seed order, with the halfway look
below.
Measured per trial: cost.dollars of the arm's thread and all its subagents at its final report; wall time from the
brief to the final report; `calls=` from `SHIP_RECEIPT:` and the `CALLS:` line; whether `STOP: past 100 minutes`
brief to the final report; `calls=` from `SHIP_RECEIPT:`, or from the `CALLS:` line when the trial ends without one; whether `STOP: past 100 minutes`
printed; for F, the reviewers the printed plan named against those started and collected.
## Scoring
@@ -202,12 +218,18 @@ matches 1. A decoy pass proves the rule rejects near misses and does not credit
- Each arm's checkout keeps git history, where the original fix commit lives. Lookups of the planted path's history
(`git log -S`, `git log -p`, `git blame` on that file) are counted per trial, and catches made after one are
reported separately as well as in the totals.
- Exposure audit, per counted C and F trial, over the thread and every subagent transcript the runner can read: reads of
crew notes, handoffs or reports that name this trial, a trial thread or GST-3003; and any diff or history against
`origin/main` that covers the planted path (each plant re-introduces a bug that a later main commit fixed, and C
and F fetch `origin/main` because gstack's conflict guard needs it). Flagged trials stay in every primary
comparison; a sensitivity analysis repeats the comparisons without them, and both are reported. The pilot found one
arm that read the crew notes and this file on main, which is why the audit exists.
- The judge sees A, B and C, never an arm, model or price.
## Stop rules
- Spend cap: $3,250 cost.dollars for everything in the budget table (the approved figure replaces it if lower). `budget_exhausted` stops the run with every finished trial reported, and the run does not resume.
- Per trial: $150 or 4 hours. A trial stopped there is recorded as incomplete, with its cost at the stop counted (a lower bound, flagged), and scored on what it caught by then.
- Pilot: if any pilot trial fails one of the Procedure's four checks, or a C or F pilot trial ends without a receipt for a harness reason (machine, install, CI wiring), no counted trial starts; the fix is a dated change to this file and a new pilot, or the arm is left out and reported as left out; a change to a bar, arm or decision is a new preregistration.
- Pilot: if any pilot trial fails one of the Procedure's four checks, or a C or F pilot trial ends without a receipt for a harness reason (machine, install, CI wiring; the remote_gate refusal in End of a trial is not one), no counted trial starts; the fix is a dated change to this file and a new pilot, or the arm is left out and reported as left out; a change to a bar, arm or decision is a new preregistration.
- Judge stage: the judge stage reaching $150 without 48 labels, 24 of them from C and F, stops the run before any counted trial.
- Halfway look: the stops in the Halfway look section.
- The catch script below 50 of 50 on decoys (before any trial), or the judge below kappa 0.6 (after the judge stage, before any counted trial): stop; fix the script or the judge prompt and relabel; never lower a bar.
@@ -221,16 +243,17 @@ matches 1. A decoy pass proves the rule rejects near misses and does not credit
| F trials | 30 | $38 | $1,140 |
| N trials | 30 | $6 | $180 |
| Sealing: picking hosts and plants, proving each plant | 1 | $60 | $60 |
| Pilot, uncounted: one trial of cases 1 to 3 in each arm | 3 | $82 | $246 |
| Pilot, uncounted: one trial of cases 1 to 3 in each arm (measured) | 1 | $83 | $83 |
| Second pilot, uncounted, after the 2026-11-21 amendment | 1 | $85 | $85 |
| Judge stage, uncounted: N on cases 4 to 10 | 7 | $6 | $42 |
| Judge: 48 labels plus about 300 findings on GPT-6 Astra | 1 | $80 | $80 |
| Runner: waves, audits, scoring, results write-up | 1 | $150 | $150 |
| /ship of the results pull request | 1 | $35 | $35 |
| **Estimate** | | | **$3,073** |
| **Estimate** | | | **$2,995** |
| Cap (approved by GSTA-36) | | | $3,250 |
If the judge stage needs its extra C and F trials, its $150 limit holds them to $108 (worst case $3,181), still inside the cap. That sits under R71's $4,000 guideline for an eval with a GPT-6 Astra judge. If F saves what the profile predicts
(about $10 a run), the actual total is near $2,773. Machines, CI minutes and the runner VM are not in cost.dollars and
If the judge stage needs its extra C and F trials, its $150 limit holds them to $108 (worst case $3,103), still inside the cap. That sits under R71's $4,000 guideline for an eval with a GPT-6 Astra judge. If F saves what the profile predicts
(about $10 a run), the actual total is near $2,695. Machines, CI minutes and the runner VM are not in cost.dollars and
are reported separately. Each case gets 3 trials because AGENTS.md gives a `behavior` case a panel of 3, and because
one trial each would let noise decide the "misses nothing" bar (see Bars).