Skip to content

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

Merged
capy-ai[bot] merged 1 commit into
mainfrom
ship-trial-ends-at-remote-gate-on-non-main-bases
Nov 21, 2026
Merged

capy-ai[bot] merged 1 commit into
mainfrom
ship-trial-ends-at-remote-gate-on-non-main-bases

Conversation

@garrytan

@garrytan garrytan commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

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.

What changed

In the uncounted pilot, no trial could reach the end of /ship: on a case whose base branch isn't main, the final check refuses the remote test gate (base_mismatch on the CI route, paid_only on the VM route). The plan now treats that refusal as the end of a trial, and the shared brief tells each arm to stop there and report it.

  • A C or F trial ends when /ship finishes, when its final check refuses the remote test gate, or wherever else /ship stops. Cost, wall time and calls= are measured to that end, and any work to get around the refusal is counted and reported.
  • The no-gstack arm is recorded as it ran (a container on the runner's machine, no drive mounted) and gains bun and the installed dependencies, so it can run tests the way the other arms' CI does.
  • A new exposure audit runs on every counted C and F trial (reads of team notes or handoffs that name the trial, and diffs or history against main on the planted path), with a sensitivity analysis that repeats each comparison without the flagged trials.
  • Budget: the pilot row becomes its measured $83 and a second pilot adds $85; the estimate moves from $3,073 to $2,995 and the worst case from $3,181 to $3,103, and the $3,250 cap is unchanged.
Why

In the pilot, every trial stopped at the same remote-gate refusal, so the plan as written could never produce a counted trial. With this change, trials end at a point every arm can reach, and the comparison stays fair because the same wall applies to both gstack arms.

Blast radius

Only the preregistration and one changelog fragment change; no code, prompt or skill file is touched. The budget figures were recomputed from the table by the review and by the documentation audit (file read), and the targeted tests for eval plans and docs passed (88 tests ran).

Pre-Landing Review

No blocking issues. The core checklist raised three informational consistency notes, all left for the plan's owner because this run doesn't change rules, arms or budget text: the no-gstack arm's environment change versus the "no arm changed" line (line 89), line 44 still naming one source for calls= while line 157 now allows the CALLS: line, and "the runner VM" in the budget note (line 256). The second-model review (GPT-6.1 Sol) returned CLEAN with no findings.

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.

  • INFORMATIONAL docs/evals/ship-conductor-fold-prereg.md:44 Line 44 still says calls= comes from the closing ship record, while Measured per trial (line 157) now takes it from the CALLS: line when a trial ends without one.
Exploratory QA

Not applicable: the diff changes only a Markdown preregistration and a changelog fragment, with no runtime behavior, prompt or template to probe. No plan checks were listed.

Design Review

No frontend files changed — design review skipped.

Eval Results

No prompt-related files changed — evals skipped (bun run eval:select: no probes or judges selected).

Review bot comments

No review bot comments.

Scope Drift

Scope Check: CLEAN. Intent: amend the trial plan after its pilot. Delivered: the plan amendment and its changelog fragment.

TODOS

No TODO items completed in this PR.

Documentation

Scope: diff 7fe1900..HEAD on ship-trial-ends-at-remote-gate-on-non-main-bases, two committed files (the ship-conductor-fold preregistration amendment and its changelog.d fragment); no staged, unstaged or new files. Searched the repo's Markdown for other references to the preregistration (only CHANGELOG.md's GST-3003 entry).

Result: documentation is current. The amendment's budget figures are consistent with the table (estimate $2,995, worst case $3,103, predicted $2,695), the trial-end rule, brief, masking and pilot stop rule agree with each other, and the changelog fragment describes the change accurately. No files edited.

Debt: none found.

Tests
  • bun --no-env-file test --timeout=30000 test/eval-plan-no-gstack-arm.test.ts test/eval-plan-result-checks.test.ts test/docs-only.test.ts test/parity-suite.test.ts: pass, 88 tests ran
Agent notes

Fifth PR on this experiment, granted by GSTA-36 on 2026-11-21 (A1, B, C). The stacked-base remote-gate fix stays out of gstack until the counted run ends.

Refs GST-3003

Approvals

No approvals recorded for branch ship-trial-ends-at-remote-gate-on-non-main-bases.
Plan: exempt: audited-list
Plan check: exempt audited-list

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=1 fixed=0 scope=frozen
Gate edits: none detected (0 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)

{
  "schema_version": 1,
  "pr": 4605,
  "head": "9033dc78f8c16c2270bc86c05a7856696684a8b9",
  "version": "1.102.1.0",
  "base": "main",
  "gate": {
    "targeted": {
      "pass": 88,
      "fail": 0,
      "skip": 0
    }
  },
  "calls": 12,
  "session_kind": "unattended",
  "run": "/home/user/.capy/work/ship-4605/run",
  "head_tree": "6cf9f01f5056e9706fa77d71b976aee4ae6731ed",
  "product_patch_id": "f2a297e80025a75b128fecca46c64e24ca69fc1b",
  "gstack_version": "1.102.1.0",
  "review_depth": {
    "depth": "light",
    "class": "docs",
    "runtime_lines": 0,
    "rules": "85b3923b1a978e41",
    "base": "7fe1900f8b9e4143f15dc9e6becafdcb6375680b",
    "registry": "7fe1900f8b9e4143f15dc9e6becafdcb6375680b",
    "gate_scan": {
      "tagged": 0,
      "head": "9033dc78f8c16c2270bc86c05a7856696684a8b9"
    },
    "reasons": [
      "runtime=0"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "pass @6cf9f01f5056 (8 checks, current for 9033dc78f8c1)",
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, CONTRIBUTING.md and changelog.d/ against base 7fe1900f (two changed files: the preregistration and its changelog fragment)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 1,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1
  },
  "gate_dispositions": []
}

…se isn't main (GST-3003)

A trial now ends at the remote test gate's refusal on a non-main case
base, the no-gstack arm gets bun and its dependencies, and every counted
trial gets an exposure audit.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai
capy-ai Bot merged commit baef51f into main Nov 21, 2026
54 of 55 checks passed
@garrytan garrytan mentioned this pull request Nov 21, 2026
capy-ai Bot added a commit that referenced this pull request Nov 21, 2026
- Habits from nine teams, written into gstack. (#4585)
- Three more habits from teams that run evals. (#4602)
- The /ship conductor trial plan gives its real-problem judge one more attempt on fresh labels after it missed its agreement bar twice, and stops the trial incomplete if it misses again (GST-3003). (#4611)
- The /ship conductor trial plan now stops a trial only at the final remote-gate refusal, gives both arms the same note that the brief overrides team rules, and counts every report the no-gstack arm returns (GST-3003). (#4609)
- 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). (#4605)
- The /ship conductor trial plan now runs an uncounted pilot in every arm before its counted trials and takes one planned look at half the cases (GST-3003). (#4587)
- gstack's own use on Capy can be counted, and is kept out of real-use numbers. (#4576)
- Free Tests shards finish closer together. (#4578)
- The weekly test-time recording can land again on its own. (#4581)
- The job-log tree.json step's recommended sleep is long enough for real runners. (#4589)
- Pull requests no longer wait on the Trunk flaky-test upload, and the quick tier's flaky passes now reach Trunk. (#4579)
- Windows Setup E2E finishes sooner on install changes. (#4575)
- Skills no longer stop on Codex when they clean up temp files. (#4612)
- /review on Codex with OpenAI models no longer holds back a review that ran its adversarial pass. (#4622)
- Crew threads on Capy now check in at 500M own tokens, standing threads rotate at 250M and any subagent past 50M gets a look, half the old lines, because Capy's token counts read about half what they did before 2026-11-15. (#4582)
- gstack no longer offers to add a `## Skill routing` section to your project's CLAUDE.md. (#4629)
- The README and docs no longer say gstack makes your agent fix more bugs. (#4598)
- `/eval-plan` now writes eval plans that waste less money. (#4591)
- /cso checks every folder above a source file before it looks at the file, so it never looks through a symlinked folder. (#4592)
- Plan reviews no longer read a /design-review audit summary as the branch's design doc. (#4623)
- Node's built-in test files now run with `node --test` in repos that use vitest or jest. (#4626)
- A quarantined test that the runner skipped now fails the run instead of passing it. (#4590)
- A flaky free test is fixed: the spawnSync overflow check no longer fails about once an hour on CI. (#4613)
- Free Tests runs its shards on 16-core runners. (#4600)
- /office-hours asks for ground truth first. (#4468)
- Every startup session ends with a dated test. (#4468)
- /plan-tune's dream cycle now logs each send of your typed answers to Anthropic. (#4621)
- Landing a ready PR no longer depends on a hand-copied gate decision, and the ready note, release PR and squash message say the right thing. (#4596)
- /ship no longer asks for a fresh review because of a stacked parent that main already had. (#4580)
- Results PRs with large captured agent sessions can be reviewed. (#4574)
- /ship no longer stalls on review notes a reviewer already cleared, counts review rounds the way the review policy reads them, and keeps security findings out of the PR body. (#4595)
- /ship's review readers are now told never to stop processes they didn't start. (#4607)
- /ship's review no longer stops when Capy's own drive sync database grows past 100 MB. (#4606)
- /ship's preflight now honors your repository's time limit for rerunning CI-skipped tests, and tells you when a fresh worktree needs its packages installed. (#4608)
- The slowest free test file is now six files. (#4588)
- Step 11.5 keeps a reviewed head current across base-only merges. (#4577)
- On a Capy install, only the owner's opt-in sends telemetry. (#4597)
- New page: working across agent systems. (#4583)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant