Skip to content

v1.91.362.0 ship: one call per review pass on Capy (GSTA-167 calls PR 2) - #3665

Merged
capy-ai[bot] merged 19 commits into
mainfrom
gsta-167-calls-2
Oct 31, 2026
Merged

capy-ai[bot] merged 19 commits into
mainfrom
gsta-167-calls-2

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3665,
  "head": "35b1221de6ee30cce334c7d2f75e6a9af2e7fe41",
  "version": "1.91.358.0",
  "base": "main",
  "gate": {
    "focused": {
      "pass": 121,
      "fail": 0,
      "skip": 0
    },
    "remote_gate": {
      "pass": 616,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "7733f5f5f9072507ff598cf53e4796b726db21ab",
  "product_patch_id": "623049f6fcbae2d528cbf7051045f399907abdf0",
  "gstack_version": "1.91.358.0",
  "review_depth": {
    "depth": "standard",
    "class": "code",
    "runtime_lines": 565,
    "rules": "150435b0a543019a",
    "base": "89f203300498596cfcee37017f9966af9b0ebc3a",
    "registry": "89f203300498596cfcee37017f9966af9b0ebc3a",
    "gate_scan": {
      "tagged": 0,
      "head": "35b1221de6ee30cce334c7d2f75e6a9af2e7fe41"
    },
    "reasons": [
      "runtime=565>50"
    ]
  },
  "pregate": "requires-remote cleared @7733f5f5f907 (1 checks, current for 35b1221de6ee)",
  "requires_remote": [
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41188187701",
    "pregate.json/remote_gate: remote-gate tree=7733f5f5f907 tests=616 receipt=/home/user/.capy/work/gstack/ship-3665/recheck-35b1221/remote-receipt.txt sha256=c77a47397d4d"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      3665,
      3671
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, CLAUDE.md, AGENTS.md, capy/skill/gstack, ship/DRIVER.md.tmpl (12 committed files aa6cd26..2cd4fac)"
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 2,
    "deferred": 0,
    "noted": 14,
    "fixed": 2,
    "scope": "frozen",
    "fix_checks": 3,
    "dispatches": {
      "specialist": 6,
      "red-team": 2
    }
  },
  "review_targeted": {
    "classes": [
      "money"
    ],
    "rules": "baeb8f7ef7da92d0",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "623049f6fcbae2d528cbf7051045f399907abdf0",
    "status": "done",
    "findings": 3,
    "raised_by": "targeted"
  }
}

Follows #3662 (GSTA-167 calls PR 1, landed in v1.91.355.0); this PR now targets main. Plan: autoplan-20261031012136 (APPROVED, gate_rev=2), items C2 and C3.

What changed

The Capy skill now runs each /ship review pass as one call to the checked-in pass program instead of a hand-walked dispatch list. (Image render failed on this machine, so the text version follows.)

Before/after as text: The Capy skill now runs each /ship review pass as one call to the checked-in pass program instead of a hand-walked dispatch list
--- Before · capy/skill/gstack/SKILL.md § Unattended runs for a parent agent at aa6cd26 · source text
+++ After · capy/skill/gstack/SKILL.md § Unattended runs for a parent agent on this branch · source text
 ## Unattended runs for a parent agent
 For `/autoplan` driven from Capy, read `autoplan/DRIVER.md` in the checkout (`~/.local/share/gstack/autoplan/DRIVER.md`): the compact phase loop, artifact contract and gate protocol, without the interactive preamble. A checkout without that file predates it; follow its `autoplan/SKILL.md` instead. Run every command with the `GSTACK_LAUNCH` assignments and read outputs as files, not prose: the run directory holds `run.json`, `decisions.jsonl`, `findings.jsonl`, `tasks.jsonl`, `timing.json`, `plan.md` and `review-record.md`, and the run ends with `GSTACK_RESULT: skill=autoplan status=gate_pending run=<dir>`. `~/.local/share/gstack/bin/gstack-artifact validate <dir>/run.json` is the completion check. The gate is answered through `gstack-autoplan answer` (or `gstack-gate parse`) with the printed `gate_rev`; an unattended run never approves its own gate. `docs/unattended.md` in the checkout is the contract.
 
+For `/ship` driven from Capy, read `ship/DRIVER.md` in the checkout (`~/.local/share/gstack/ship/DRIVER.md`): the phase loop at one or two calls per phase, and the section each STOP needs. A checkout without that file predates it; follow its `ship/SKILL.md` instead.
-For `/ship` driven from Capy, read `ship/DRIVER.md` in the checkout (`~/.local/share/gstack/ship/DRIVER.md`): the phase loop at one or two calls per phase, and the section each STOP needs. A checkout without that file predates it; follow its `ship/SKILL.md` instead. It starts the budget with `--mode observe`, and its review phases run their sections as written.
 
 Run directories and scratch on Capy live under `~/.capy/work/<name>` (`--out ~/.capy/work/<project>/autoplan`), never `/tmp`: Capy wipes `/tmp` when a machine sleeps, and a vanished run cannot be resumed, answered or exported. The same holds for any file a later turn reads.
 
@@ ⋯ 1 unchanged ⋯ @@
 
 Token caps on /ship: pass a brief's cap as `--token-cap <n>`. /ship reads `cost.tokens` and `cost.credits` from `tools.thread.get({ thread_id: "<your own jam id>" })` (its own jam, subagents included; `"this"` names the root thread, so only a root run may pass it) inside the same execute program as the `gstack-ship-budget` command that takes them as `--reading <n> --credits <c>`, never in a call of its own. `ship/DRIVER.md` starts `--mode observe`: each program ends with `note`, and only a note past the cap stops (`docs/ship-budget.md`).
 
+/ship on Capy is about a dozen calls, each one execute program (`ship/DRIVER.md`). Each review pass and Step 11 is one call to the checked-in pass program (fill only `input`): `const t0 = await now(); const p = (await tools.capy.bash({ command: ". '<launch file>' && gstack-review-dispatch program", description: "Pass" })).output.split("\n"); return p[0] + "\n" + (await new (Object.getPrototypeOf(async () => {}).constructor)("tools", "sleep", "now", "input", JSON.parse(p[1]))(tools, sleep, now, { startedAt: t0, launch: "<launch file>", base: "<base>", out: "<run dir>/p<n>", pass: "<run>-p<n>", planFlags: [], logStart: ["review"], jam: "<jam id>", record: "<rec>", step: "9.2" }));` It plans, logs `logStart` (admission mode: `reservation` from `RESERVATION_ID:`), sends each brief after `sent` on `machine: "shared"`, then polls: one `tools.subagent.list` per ~20 s tick, returning 200 s after the program's first line, where a reader is settled only at status `done` or `failed` or with a `summary` (a just-created `idle` reader has not run); it starts readers listed under `rejected` with `tools.subagent.start` as slots free and stops on one stuck 20 minutes. It ends on `NEXT: judge`, `NEXT: poll` (rerun) or `STOP:`. `models` maps a role to its model (`outside-voice`: another family); Step 11 adds `stage: "voices"`. Steps 7, 8 and 9.2.1 go in `extras`, a JSON file of `{name, prompt_file, first, model}` (prompts verbatim from their sections; Step 7 `first`); they cannot block, so `model: { model_id: "anthropic/claude-sonnet-5-5", reasoning_mode: "low" }` (`anthropic/claude-haiku-5-5` also fits). Waits: never let 5 minutes pass between calls. While readers run, never end the turn on `wait`; rerun the loader. Otherwise re-issue `wait` with `duration_seconds: 200` and the operation ids. At Step 22 report the `CALLS:` line of `gstack-ship-budget calls --events <file>` over your jam's transcript since /ship started. A small waiting child saves nothing.
-/ship on Capy is about a dozen calls, each one execute program (`ship/DRIVER.md`). A review pass, Step 11 and the Step 14.5 audit each run inside one program, in order: (1) `gstack-review-plan --base <base>` with the pass's flags (its `DISPATCH:` lines); (2) `gstack-review-log --start <skill>` once per row the step logs (admission mode: `--reservation` from `RESERVATION_ID:`); (3) `BEFORE` (tokens and credits); (4) `tools.subagent.create`, one reader each, `machine: "shared"`, its brief copied verbatim from the section that dispatches it; audit readers (Steps 7, 8, 9.2.1, 14.5) cannot block, so they add `model: { model_id: "anthropic/claude-sonnet-5-5", reasoning_mode: "low" }` (`anthropic/claude-haiku-5-5` also fits); (5) a poll: one `tools.subagent.list` per ~20 s tick (a `tools.subagent.get` with `transcript: "none"` only on a status change), returning 200 s after the program's first line, where a reader is settled only at status `done` or `failed` or with a `summary` (a just-created `idle` reader has not run); start readers listed under `rejected` with `tools.subagent.start` as slots free; report, never drop, one stuck 20 minutes; (6) `gstack-ship-budget note --record <rec> --step <n> --reading <AFTER> --credits <c> --dispatched-at <BEFORE> --dispatched-credits <c> --readers <n>`; (7) return only each reader's final output, or what still runs. The parent never walks the dispatch steps call by call. Waits: never let 5 minutes pass between calls (a later call costs about 40x). While readers run, never end the turn on `wait` (each finished subagent wakes a turn); rerun the poll program. Otherwise re-issue `wait` with `duration_seconds: 200` and the operation ids. At Step 22 run `gstack-ship-budget calls --events <file>` on your jam's `tools.thread.get` transcript since /ship started; report its `CALLS:` line. A small waiting child saves nothing.
  • gstack-review-dispatch pass plans a review pass and writes a staged manifest: audit readers marked first, then specialists with QA and the other audits, then the Red Team, then Step 11's voices. Each brief is rendered by the existing renderer once its inputs exist.
  • Briefs reach the dispatch program in chunks of at most 65,536 characters (chunk) and are checked by sent before the reader is created.
  • lib/capy-review-pass.js, served by gstack-review-dispatch program, runs a whole pass in one call that returns within 200 s.
  • Fixes from this /ship: a failed review-log start is retried on the rerun (tokens are kept in the manifest), a failed or stopped reader stops every rerun, a queued reader is reconciled from the subagent list and times out, a budget stop ends the pass, and PASS: none is read only from the last line, so a branch filename cannot suppress the reviewers.
  • Since then: the batched reviewer reads its checklists by full path; the loader maps a reader's effort to the lane's model (laneModel) and stops when no model is given; extras can be inline JSON, a cwd input prefixes every shell call, and a reader that is done without a summary gets a 60 s grace.
  • After main's targeted review pass landed: the manifest stages the targeted reader with Step 11's voices on the merge base, with the same brief and ledger fields main's render CLI writes.

Why

"In the GSTA-189 replay one pass took about 10 parent calls," and the Red Team brief went out wrong twice because a file read cut its long lines. A review pass is now one call, and each brief reaches its reader byte for byte.

What reviewers see

Unchanged. The manifest path renders all 16 GSTA-189 baseline briefs byte-identical (pass 1 and pass 2 specialists and Red Team, Step 11 adversarial and outside voice). Which reviewers run, depth, efforts and the blocking floor are unchanged.

Tests

test/review-pass.test.ts covers the manifest stages, render equivalence, Red Team gating, forward-only states, chunked transport and the program against a fake host with real bins, plus the five rerun and input cases this /ship added. Counts are under Test Coverage and Test plan.

Blast radius

The change adds subcommands to bin/gstack-review-dispatch and a new program that only the Capy skill's loader runs, and it rewrites one paragraph of capy/skill/gstack/SKILL.md. The existing render, sent, collect, judge and verify paths are untouched; this run's own ledger verified clean through them (script ran: VERIFY: clean briefs=16 outputs=16 voided=1; the voided send was a truncated read caught by sent and resent whole).

Approvals

No approvals recorded for branch gsta-167-calls-2.

Summary

Running a /ship review pass from Capy took about ten parent calls, and a long brief could be cut on the way to its reader. A pass is now one call to a checked-in program that plans, renders, dispatches, polls and collects from a manifest it can resume. This /ship found five ways that program could stall or skip work on a rerun or a crafted filename, and fixed each with a test that failed first.

Test Coverage

Step 7 audit (pass 1, at f8c835e): 19 of 25 paths tested (76%), 0 tests written (audit-only), 6 gaps proposed as tests.
Tests: test/review-pass.test.ts 14 → 19 (+5 new, each failed before its fix).
Remaining gaps, proposed tests: chunk refusing an edited brief; pass refusing a foreign --pass id; pass usage errors; readManifest version guard; mark --before bad input and set-once; specialistFindings with no merged file.
Tests ran: typecheck count unavailable
Tests ran: focused 121
Tests ran: remote gate 616

Pre-Landing Review

Pass 1 (standard depth, 6 specialists, Red Team, QA, coverage audit): 2 blocking findings from the Red Team, both fixed with failing-first tests (lib/capy-review-pass.js: a rerun after a failed review-log start skipped the start; a failed reader wedged the pass on NEXT: poll). Pass 2 (scoped): fix-check and Red Team found nothing at the floor.
Step 11 (Opus native adversarial, high; outside voice on openai/gpt-6.1-sol, both on the full PR diff): 3 more findings at the floor, each reproduced by a test that failed first and then fixed: a filename with a PASS: none line suppressed every reader; a queued reader whose start result was lost polled forever; a budget stop from the closing note was overridden by NEXT: judge. A bound fix-check (decision 3.5) read those fixes: nothing at the floor. The receipt's review loop counts the review rows only, so its blocking_found=2 and fixed=2 do not include these three Step 11 fixes.
Re-check at 9e6a469 (after the main merge and the replay fixes): one fix-check read every product change since 2cd4fac. Nothing at the floor; one note, listed below.
Re-check at 35b1221 (merge of main v1.91.358.0, which adds the targeted review pass): one fix-check read the merge resolution and the new targeted stage, and the plan's targeted reader (class money, from lib/review-ledger.ts) read the whole diff on the merge base. Neither found anything at the floor; their notes are listed below.
REVIEW_LOOP: passes=2 blocking_found=2 deferred=0 noted=14 fixed=2 scope=frozen fix_checks=3 dispatches=8
Gate edits: none detected (4 listed, 3 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: completed on openai/gpt-6.1-sol. One finding was refuted, two were fixed, and the rest are listed under Review notes.

Review notes

Below the floor, not looped:

  • lib/review-pass.ts:175 sentFile and outputFile are exported but unused (maintainability, simplification).
  • lib/capy-review-pass.js:2 header comment names ship/DRIVER.md as the loader; it lives in capy/skill/gstack/SKILL.md.
  • bin/gstack-review-dispatch:110 readerLine ignores its manifest parameter.
  • lib/capy-review-pass.js:61 each chunk re-reads and re-hashes the whole brief; a brief near 16 MB would pass the 256-call program cap.
  • bin/gstack-review-dispatch:131 pass runs gstack-review-plan twice.
  • lib/capy-review-pass.js:138 Step 11's budget note reuses the pass's first BEFORE reading (Red Team, native adversarial).
  • The program passes no --diff-base, so a pass 2 run through it reads the whole branch (native adversarial).
  • A scoped pass refuses its fix-check with a loud BUILD_ERROR; the fix-check is dispatched by hand (outside voice; the refusal is tested by design).
  • Light depth: the batched specialist's brief named checklists by bare id (outside voice). Fixed in e745ee9: it now gets full paths, as the render CLI is given them.
  • lib/capy-review-pass.js:33 inline-JSON extras is written through the host's file tool, which expands ~ and resolves against the jam's directory, while the bin reads the quoted path after cd input.cwd. With a ~ or relative out, or a cwd other than the jam's directory, the pass stops on a missing extras file. Use an absolute out (re-check fix-check).
  • First-stage audits that write tests run after the review-log start, so the binding reads changed (outside voice); the 32 KB return cap can cut the NEXT line; a crash between collect and mark collects twice; a queued reader waiting for sibling slots can hit the 20-minute stop; an exit-2 note gets budget wording; a rerun after a budget resume notes the readers twice (native adversarial, fix-checks).
  • bin/gstack-review-dispatch:161 pass takes the targeted reader's merge base with a bare git merge-base <base> HEAD, while render --role targeted tries origin/<base> first, so a stale local base widens what the reader reads (re-check fix-check).
  • lib/review-pass.ts:86 a failed merge-base lookup falls back to the range base for the targeted reader instead of stopping (re-check fix-check).
  • lib/capy-review-pass.js:151 the budget note runs once after every stage, so a run the specialists push past the cap still dispatches the Red Team; :182 a record without jam or step skips the note with no line saying so (targeted reader).
  • Refuted: "tools.capy.write does not exist in the real host" (this /ship called it from Capy execute programs throughout).

Exploratory QA

CLI surface. Pass 1 at f8c835e: six smoke probes, five passed and one was inconclusive (capture 002 used a fixture in the wrong shape; capture 006 tested the same contract with the documented shape and passed). Pass 2 at 55fe76b: four smoke probes, all passed, evidence verdict pass. Not covered by live probes: the pass, stage and mark state transitions and the program end to end (unit tests cover them).

Design Review

No frontend files changed — design review skipped.

Eval Results

Not run by this lane. The eval selector fell back to the full gate because the changelog fragment is an unknown dependency; the train's gstack/full-gate covers it.

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches).

Verification Results

No plan checks supplied. Exploratory QA pass 2: every probe passed; none failed, blocked or went unrun.

TODOS

No TODO items completed in this PR.

Documentation

Status: current. The docs match the diff, so I made no edits.

Scope: 12 committed files from aa6cd26 to 2cd4fac on gsta-167-calls-2. These add gstack-review-dispatch pass/chunk/show/stage/mark/program, lib/review-pass.ts and lib/capy-review-pass.js, and change the Capy /ship loader.

Documentation health:

  • docs/review-policy.md: current. Item 6 and the enforcement list cover the new pass, chunks, mark and program.
  • capy/skill/gstack/SKILL.md: current. It has the pass-program loader.
  • ship/DRIVER.md.tmpl and ship/DRIVER.md: current and in sync.
  • changelog.d/gsta-167-calls-2.md: reviewed, not edited.
  • AGENTS.md, CLAUDE.md, README.md, docs/ship-budget.md: current, with no contradictions.

Coverage debt: show, stage and mark --log-start/--before are documented only in the bin's usage text. This is a common gap. There are no critical gaps and no diagram drift.

Test plan

  • bun run typecheck: pass
  • bun test on eight files (review-pass, review-dispatch, review-targeted, ship-driver, ship-budget-reader-drift, module-size-ratchet, bun-entry-isolation, spawnsync-timeout-tripwire) at 35b1221: all green
  • Skill size, context budget and parity tests at 35b1221: green; bun run gen:skill-docs leaves the tree clean
  • Remote pregate against main (Ubicloud, owner gsta167): every selected test passed on tree 7733f5f5f907, $0.03
  • windows-free-tests on the pin (run 41188187701)

Issues

Refs #3665
Refs #3671

garrytan and others added 14 commits October 31, 2026 02:23
…ted fix program; unattended push defers the guard offer; calls meter (GSTA-167 calls PR 1)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ACK_SESSION_KIND reader)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nked briefs, intent before create (GSTA-167 calls PR 2)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…g start and stops on a failed reader every run)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ueued readers reconciled and timed out, a budget stop ends the pass)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…d briefs via cat (replay C1-34 breaks)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… CLI is given them (PR #3665 review)

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

# Conflicts:
#	capy/skill/gstack/SKILL.md
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…calls-2

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

# Conflicts:
#	capy/skill/gstack/SKILL.md
…calls-2

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

# Conflicts:
#	capy/skill/gstack/SKILL.md
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

# Conflicts:
#	test/helpers/ship-bin-fixture.ts
garrytan and others added 2 commits October 31, 2026 08:16
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

# Conflicts:
#	capy/skill/gstack/SKILL.md
… already consumed

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot changed the base branch from gsta-167-calls-1 to main October 31, 2026 08:18
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@github-actions github-actions Bot changed the title ship: one call per review pass on Capy (GSTA-167 calls PR 2) v1.91.357.0 ship: one call per review pass on Capy (GSTA-167 calls PR 2) Oct 31, 2026
… a minute for a done reader's summary (replay C2-34)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot marked this pull request as ready for review October 31, 2026 08:54
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

E2E Evals: ✅ PASS

[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 112/112 · behavior 1/1 · judge 24/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 5m57s · cost $33.40 known + 32 of 139 trial(s) cost unknown

125 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $32.74 rule/judge cost | reconcile exit: 0

Profile: pr / mode full-fallback; selected behaviors: 113, judges: 24. Deferred to scheduled/release coverage: 148 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Full gate restored by:

  • changelog.d/gsta-167-calls-2.md (real unknown dependency): register changelog.d/gsta-167-calls-2.md under the cases that consume it in test/helpers/touchfiles-data.ts, add it to FREE_ONLY_PR_FILES in scripts/test-pr-profile.ts if no paid case reads it, or add its directory to DERIVABLE_PREFIXES so scripts/pr-dependencies.ts derives its consumers
Rule and judge shards
Shard Automated result Manual/unscored Executed Reused Status Cost
llm-judge/skill-llm-eval 24/24 0 24 0 ✅ $1.44
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-current 1/1 0 1 0 ✅ $0.99
e2e/skill-e2e-coverage-audit 2/2 0 2 0 ✅ $0.24
e2e-deploy/skill-e2e-deploy--setup-deploy-workflow 1/1 0 1 0 ✅ $0.09
e2e-qa-functional-fix/skill-e2e-qa-functional-fix 2/2 0 2 0 ✅ $0.93
e2e/skill-e2e-plan--plan-review-report 1/1 0 1 0 ✅ $1.07
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-unavailable 1/1 0 1 0 ✅ $0.74
e2e-retro/skill-e2e-retro 1/1 0 1 0 ✅ $0.32
e2e/skill-e2e-shared-libs-paths--shared-libs-review-prior-coverage 1/1 0 1 0 ✅ $0.95
e2e-qa-workflow/skill-e2e-qa-workflow--qa-quick 1/1 0 1 0 ✅ $0.55
e2e-review-attribution/skill-e2e-review-attribution 3/3 0 3 0 ✅ $0.28
e2e/skill-e2e-ship-skip 1/1 0 1 0 ✅ $0.22
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-before 1/1 0 1 0 ✅ $0.43
e2e/skill-e2e-shared-libs--shared-libs-review-lifecycle 1/1 0 1 0 ✅ $0.89
e2e-review-army/skill-e2e-review-army--review-army-migration-safety 1/1 0 1 0 ✅ $0.28
e2e-deploy/skill-e2e-deploy--land-and-deploy-first-run 1/1 0 1 0 ✅ $0.22
e2e/skill-e2e-shared-libs--shared-libs-read-only 1/1 0 1 0 ✅ $0.27
e2e-deploy/skill-e2e-deploy--land-and-deploy-review-gate 1/1 0 1 0 ✅ $0.2
e2e-docsync-spawned/skill-e2e-docsync-spawned 1/1 0 1 0 ✅ $0.75
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-after 1/1 0 1 0 ✅ $0.4
e2e-safety-codex-consult/skill-e2e-safety-codex-consult 1/1 0 1 0 ✅ $0.25
e2e-deploy/skill-e2e-deploy--land-and-deploy-workflow 1/1 0 1 0 ✅ $0.56
e2e/skill-e2e-workflow 4/4 0 4 0 ✅ $0.8
e2e-review-army/skill-e2e-review-army--review-army-perf-n-plus-one 1/1 0 1 0 ✅ $0.2
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-late-result 1/1 0 1 0 ✅ $0.36
e2e/skill-e2e-shared-libs-paths--shared-libs-review-index-flags 1/1 0 1 0 ✅ $0.97
e2e-deploy/skill-e2e-deploy--benchmark-workflow 1/1 0 1 0 ✅ $0.24
e2e/skill-e2e-investigate-owned-completion 1/1 0 1 0 ✅ $0.07
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-small-cli 1/1 0 1 0 ✅ $1.06
e2e-review-army/skill-e2e-review-army--review-army-json-findings 1/1 0 1 0 ✅ $0.07
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-store 1/1 0 1 0 ✅ $1
e2e-triage/skill-e2e-triage 1/1 0 1 0 ✅ $0.1
e2e-review-army/skill-e2e-review-army--review-army-delivery-audit 1/1 0 1 0 ✅ $0.14
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-timeout-unsettled 1/1 0 1 0 ✅ $0.17
e2e-design/skill-e2e-design--design-review-detector-shim 1/1 0 1 0 ✅ $0.12
e2e-session-intelligence/skill-e2e-session-intelligence 4/4 0 4 0 ✅ $0.32
e2e-safety-pair-agent/skill-e2e-safety-pair-agent 1/1 0 1 0 ✅ $0.1
e2e-plan-tune/skill-e2e-plan-tune 1/1 0 1 0 ✅ $0.13
e2e-qa-workflow/skill-e2e-qa-workflow--qa-bootstrap 1/1 0 1 0 ✅ $0.09
e2e-deploy/skill-e2e-deploy--canary-workflow 1/1 0 1 0 ✅ $0.11
e2e/skill-e2e-investigate-owned-termination 2/2 0 2 0 ✅ $0.13
e2e/skill-e2e-ship-hook-refresh 1/1 0 1 0 ✅ $0.1
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-launch-failure 1/1 0 1 0 ✅ $0.16
e2e-design/skill-e2e-design--plan-design-review-no-ui-scope 1/1 0 1 0 ✅ $0.09
e2e-third-party-actions/skill-e2e-third-party-actions 5/5 0 5 0 ✅ $0.47
e2e/skill-e2e-ship-hook-consent 2/2 0 2 0 ✅ $0.2
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-recovery 1/1 0 1 0 ✅ $0.4
e2e/skill-e2e-shared-libs--shared-libs-review-revalidation 1/1 0 1 0 ✅ $1.84
e2e-review/skill-e2e-review 2/2 0 2 0 ✅ $0.33
e2e-cso/skill-e2e-cso 1/1 0 1 0 ✅ $0.39
e2e-qa-functional/skill-e2e-qa-functional 2/2 0 2 0 ✅ $0.77
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-late-input 1/1 0 1 0 ✅ $1.03
e2e-learnings/skill-e2e-learnings 1/1 0 1 0 ✅ $0.07
e2e-failure-routing/skill-e2e-failure-routing 4/4 0 4 0 ✅ $0.37
e2e-qa-workflow/skill-e2e-qa-workflow--qa-only-no-fix 1/1 0 1 0 ✅ $0.55
e2e-qa-callers/skill-e2e-qa-callers--review-exploratory-small-cli 1/1 0 1 0 ✅ $0.76
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-plan-checks 1/1 0 1 0 ✅ $0.86
e2e/skill-e2e-test-value 3/3 0 3 0 ✅ $0.78
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-failure 1/1 0 1 0 ✅ $0.42
e2e-skillify/skill-e2e-skillify 3/3 0 3 0 ✅ $0.79
e2e/skill-e2e-shared-libs-paths--shared-libs-review-path-eligibility 1/1 0 1 0 ✅ $1.53
e2e-hermetic/skill-e2e-hermetic-canary 2/2 0 2 0 ✅ $0.04
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-completion 1/1 0 1 0 ✅ $0.99
e2e-design/skill-e2e-design--design-review-plugin-handoff 1/1 0 1 0 ✅ $0.14
e2e-review-army/skill-e2e-review-army--review-army-quality-score 1/1 0 1 0 ✅ $0.11
e2e-design/skill-e2e-design--design-review-detector-shim-dom 1/1 0 1 0 ✅ $0.24
e2e-safety-ship-evidence/skill-e2e-safety-ship-evidence 1/1 0 1 0 ✅ $0.13
e2e-browse/skill-e2e-bws 6/6 0 6 0 ✅ $0.29
e2e/skill-e2e-shared-libs--shared-libs-unsupported-git 1/1 0 1 0 ✅ $0.2
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-asset 1/1 0 1 0 ✅ $0.24
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-marker 1/1 0 1 0 ✅ $0.2
Fail-closed reconciliation
l-e2e-plan-tune.test.ts
  slice 16  passed             19s  test/skill-e2e-triage.test.ts
  slice 16  passed             26s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-timeout-unsettled
  slice 16  passed             35s  test/skill-e2e-ask-user-question-format-compliance.test.ts
  slice 16  passed             24s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-launch-failure
  slice 16  passed             26s  test/skill-e2e-session-intelligence.test.ts
  slice 16  passed             30s  test/skill-e2e-ship-hook-consent.test.ts
  slice 16  passed             20s  test/skill-e2e-investigate-owned-termination.test.ts
  slice 16  passed             22s  test/skill-e2e-design.test.ts#design-review-detector-shim
  slice 16  passed             21s  test/skill-e2e-deploy.test.ts#canary-workflow
  slice 16  passed             29s  test/skill-e2e-ship-hook-refresh.test.ts
  slice 16  passed             14s  test/skill-e2e-design.test.ts#plan-design-review-no-ui-scope
  slice 16  passed             30s  test/skill-e2e-review-army.test.ts#review-army-delivery-audit
  slice 16  passed             23s  test/skill-e2e-safety-pair-agent.test.ts
  slice 16  passed             19s  test/skill-e2e-qa-workflow.test.ts#qa-bootstrap
  slice 17  passed             10s  test/skill-e2e-learnings.test.ts
  slice 17  passed             17s  test/skill-e2e-diagram.test.ts
[test:paid] collector final outcomes: 125 executed, 0 reused; 125 passed, 0 failed, 0 manual accepted (unscored; no score-cache credit) (125 attempt records from 71 collectors; every record counts)
[test:paid] deselected testcases, zero credit (316):
[test:paid]    302  sibling case of a case shard (its own shard runs it)
[test:paid]      8  periodic-tier case (this lane runs gate)
[test:paid]      6  Bun hook placeholder of a skipped describe block (not a test)
[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 112/112 · behavior 1/1 · judge 24/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 5m57s · cost $33.40 known + 32 of 139 trial(s) cost unknown
[test:paid] exercised-path map (shadow, non-blocking): 10 MAP_GAP line(s) over 105 executed case(s) with recorded commands
  MAP_GAP document-release bin/gstack-banned-terms: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report bin/gstack-plan-reality: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report browse/dist/browse: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report design/dist/design: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP review-gate-integrity browse/dist/browse: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP shared-libs-review-revalidation bin/gstack-approval-classes: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-late-input bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-plan-checks bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-small-cli bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP test-audit-report-only design/dist/design: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
[test:paid] report: every planned shard accounted and passed

Sliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry.

Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit f8cae749dd3dbfbd7ac6f537a912cf5c1b83a908.

garrytan and others added 2 commits October 31, 2026 09:14
…he targeted reader with the voices

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title v1.91.357.0 ship: one call per review pass on Capy (GSTA-167 calls PR 2) v1.91.362.0 ship: one call per review pass on Capy (GSTA-167 calls PR 2) Oct 31, 2026
@capy-ai

capy-ai Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Correction to this PR's READY (GSTA-167): the byte-identity claim holds for pass 1 only.

Under the default review_scope frozen, nothing forwards the pass's RANGE_BASE. lib/capy-review-pass.js:30-38 builds the pass command with no --diff-base, and neither the loader nor ship/DRIVER.md has an input for it, so bin/gstack-review-dispatch:154 falls back to the merge base. On pass 2 and later, specialists, Red Team and the Step 11 voices therefore get the whole branch diff instead of DIFF_BASE=<RANGE_BASE>, which ship/sections/review-army.md:34-39 requires.

What reviewers get is a superset of the range, so no blocker is lost, but those passes read more than main's sections specify and cost about twice as much (GSTA-197's replay C4-36: 10.42M reader tokens on pass 2 against 4.68M on pass 1). Pass 1, and review_scope all, match main.

The fix, which forwards diffBase and adds a failing-first test that the pass-2 brief equals main's render --diff-base <RANGE_BASE>, ships in #3670. GStack Minder decided to land this PR as it is.

@capy-ai
capy-ai Bot merged commit 71af16c into main Oct 31, 2026
62 checks passed
garrytan added a commit that referenced this pull request Oct 31, 2026
…dation: line, the marker its brief prescribes (#3665 integration)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
garrytan added a commit that referenced this pull request Oct 31, 2026
…lls-3 (Rule 19 grant; PR 3's side of the 7 PR 2 files)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
capy-ai Bot added a commit that referenced this pull request Oct 31, 2026
…d a severity word used as a word is no finding (GST-434, GST-435) (#3677)

* fix(ship): collect counts a reply with no finding and no clean marker as a non-review, never clean (GSTA-167)

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

* fix(ship): a label word used as a word is no finding, and a paragraph finding keeps its detail bullets (GST-435)

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

* fix(ship): a negation counts only when it applies to the label; compact table rows keep their label; register the review-ledger fixtures (pre-landing review)

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

* fix(ship): negation stops at a conjunction, a summary line with a blocker stays, detail bullets need no gap and no locus; a re-sent review voids a refusal and the outside voice can be collected unavailable (pre-landing review)

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

* fix(ship): bold and code marks keep a negated label a word, a subject phrase with and/or stays negated, table negation counts, --unavailable refuses an output with findings, VOIDED needs a re-send (fix-check)

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

* fix(ship): a quoted label counts at the end of its line and in table cells, which ends a negated subject, and a negated subject never cancels a label on a file:line line (fix-check)

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

* fix(ship): a line naming a file:line or a table row always keeps a finding; "of which" stays inside a negated subject (fix-check)

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

* test(ship): the review-pass fake outside voice ends with its Recommendation: line, the marker its brief prescribes (#3665 integration)

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

* revert(ship): parseFindings labels and negation back to main; GST-435 moves to its own PR (seed branch gsta-435-seed). Keeps the non-review rule and the detail-bullet merge (split)

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

---------

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