Skip to content

v1.92.64.0 ship: pin Step 11's outside voice to the certified model, refuse same-family voices, docs audit on Sonnet 5.5 (GSTA-167 PR B) - #3698

Merged
capy-ai[bot] merged 10 commits into
mainfrom
gsta-167-reviewer-pin
Nov 2, 2026
Merged

capy-ai[bot] merged 10 commits into
mainfrom
gsta-167-reviewer-pin

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3698,
  "head": "395df002ec8b7410d4d104edd91e002a6c7a21ac",
  "version": "1.92.56.0",
  "base": "main",
  "session_kind": "unattended",
  "head_tree": "be32d4259dcd6ee33971fc7dd84d22ef1ca0a07f",
  "product_patch_id": "9b4069570fe470897b5b01583274ef3d2d009e4e",
  "gstack_version": "1.92.52.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 71,
    "rules": "97c1e5fe49607f73",
    "base": "f5cb6ec1eb3ea25b579e022dfd735d7b452f6bb5",
    "registry": "f5cb6ec1eb3ea25b579e022dfd735d7b452f6bb5",
    "gate_scan": {
      "tagged": 0,
      "head": "395df002ec8b7410d4d104edd91e002a6c7a21ac"
    },
    "reasons": [
      "runtime=71"
    ],
    "risk": []
  },
  "pregate": "requires-remote cleared @be32d4259dcd (1 checks, current for 395df002ec8b)",
  "requires_remote": [
    "pregate.json/remote_gate: remote-gate tree=be32d4259dcd tests=711"
  ],
  "docs": {
    "status": "blocked",
    "scope": "docs/, README.md, CONTRIBUTING.md, ship/DRIVER.md.tmpl (prb-docs-2, base 83ae96e); after the main merge 395df00 only merge-only bytes changed in capy/skill/gstack/SKILL.md, docs/unattended.md, ship/DRIVER.md(.tmpl)",
    "exception": {
      "accepted_by": "GSTA-36",
      "date": "2026-11-02",
      "via": "GSTA-167 Subagent 32 relay of the Captain's ruling",
      "reason": "exception: GSTA-36 2026-11-02 post-merge 11.5 rebind + docs-audit (merge-only bytes)"
    }
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 1,
    "fixed": 1,
    "scope": "frozen",
    "fix_checks": 5,
    "rounds": 6,
    "dispatches": {
      "specialist": 1
    }
  }
}

What changed

before
Before (origin/main cae783e): an Opus lane with no outside model STOPs; a Claude outside voice beside a Claude native voice dispatches as "outside"; an override passes silently. The driver puts Step 14.5 on "a small model", so the docs audit ran on Haiku first.

after
After: the Opus lane gets the certified outside voice (openai/gpt-6.1-sol at medium) by default, the same-family voice STOPs before either voice is created, and the override runs labeled "outside the certified configuration". Step 14.5 runs once on Sonnet 5.5.

Both images are the pass program's real output on the fake host from test/review-pass.test.ts: the same scenarios run through origin/main's program and this branch's.

Why

The lane picked Step 11's outside model, so replays ran whatever it chose (gpt-6-astra in 6c, 7e and 8g). lib/capy-review-pass.js only checked that some model was given, so nothing stopped a same-family "outside" voice. Step 14.5's "small model" sent the docs audit to Haiku first; in replay C5 that reply lacked its JSON line, and the Sonnet retry wasted 1.55M tokens. This is GSTA-167 plan reviewer-tokens-plan.md rows R2 and O2, build step 3 (PR B), approved below.

Blast radius

Capy /ship and /review runs that use the checked-in pass program (gstack-review-dispatch program) at Step 11, and the Step 14.5 docs audit model. Anthropic lanes that named no outside model used to STOP and now run the certified pair. Lanes that named a same-family outside voice, or that pass no laneModel with an explicit outside voice, now STOP. Reviewer briefs are byte-identical; no other reader's model changes.

Approvals

Date Asked Exact words Outcome Covers Still pending
2026-10-31 GSTA-167 reviewer-tokens plan (autoplan-20261031135232, gate_rev 2): ship PR B now “rec, recorded, split, $90. This is my approval inside the P-1 scope Garry already gave, so there's no relay to him.” (GStack Minder (Captain decision under P-1: Garry, 'Restore is not an option. Better is the way.')) approved PR B: outside-voice pin, same-family STOP, Step 14.5 docs audit on Sonnet none
2026-10-31 DRIVER wording 'Sonnet 5.5' and dropping 'A fix repeats Phases 3-4.' to fit the 12 KB cap; extra STOP for an explicit outside voice with no lane or native model “DRIVER deviation: accepted ... Also keep the extra STOP for an explicit outside voice with no lane or native model” (Subagent 32 (GSTA-167 planning lane, parent)) approved the two named deviations in PR B none
2026-11-02 Second Rule 19 merge of main (f5cb6ec) into #3698; post-merge Step 11.5 rebind with one native pass as the scoped check; docs-audit exception for merge-only bytes “exception: GSTA-36 2026-11-02 post-merge 11.5 rebind + docs-audit (merge-only bytes)” (GStack Minder, GSTA-36, via Subagent 32) approved merge 395df00, its 11.5 native pass, and the DRIVER.md, DRIVER.md.tmpl, SKILL.md and docs/unattended.md bytes changed only by that merge or its resolution none

Source: gstack-approvals record for gsta-167-reviewer-pin (display only; not an approval citation).

Evidence for the pinned model (accepted by GStack Minder instead of a new no-loss arm)

  • GSTA-189's 9G replay (handoffs/GSTA-167/replay9g-36.md, captain drive): the outside voice ran on gpt-6.1-sol (that file records "default effort (Capy route)").
  • No-loss rounds 3–6 and A3668 ran the outside voice on openai/gpt-6.1-sol at medium beside an Opus 5.5 high native voice (org drive handoffs/GSTA-167/arm-L6/arm.json, models). The default is exactly that pairing, so it applies only to Anthropic lanes; an OpenAI lane's pairing was never measured, so it must still name a model.

Behavior changes

  • Default outside voice (Anthropic lanes only). With no input.models['outside-voice'] and an anthropic/ laneModel, Step 11's outside voice runs on openai/gpt-6.1-sol at medium. Any other lane family, or no laneModel, keeps the existing "none was given" STOP.
  • Same-family STOP. An outside voice whose provider (text before /, compared without regard to case) equals the lane model's or the native voice's provider STOPs the pass. It runs on every poll of the voices stage after reconciling half-created readers, so before either voice is created, again on a rerun of the same manifest, and before a queued voice is started. Every outside voice not yet created is checked.
  • Unchecked families STOP. An outside voice with no provider prefix, or an explicit outside voice with no laneModel and no native-voice model (or a laneModel without a prefix), STOPs because there is nothing to compare.
  • Voices resume on their dispatched models. Before creating each Step 11 voice, the pass records its resolved model and the lane model in <out>/voice-models.json. A rerun starts a queued voice on that recorded model and checks it against the recorded native model, so changed rerun inputs can't pair two voices of one family (the /ship outside voice's finding on this PR).
  • Override label. Each outside voice prints OUTSIDE_VOICE: <model> reasoning=<r> given|default for an anthropic lane|as dispatched, started from the queue, then "(certified configuration)" or "outside the certified configuration (openai/gpt-6.1-sol at medium beside an anthropic lane)". It still runs.
  • The "none was given" STOP now fires before the voices stage renders, so a refused Step 11 leaves no rendered-voice ledger rows.
  • Step 14.5 on Sonnet 5.5 (ship/DRIVER.md.tmpl). The driver is host-neutral and sat 1 byte under its 12 KB cap, so it names "Sonnet 5.5" (Capy's id, anthropic/claude-sonnet-5-5 at reasoning low, is in capy/skill/gstack/SKILL.md:49, which now says "(14.5 once)" in place of the Haiku aside). It also drops one sentence that Phases 4 and 5 already say ("A fix repeats Phases 3-4."). DRIVER.md is 12,281 bytes against main's 12,283 (cap 12,288).
  • Capy skill line 49 names the outside voice as "another family, pinned in voice-models.json" and holds its byte count: 22,342 bytes, 5,306.89 tokens against main's unchanged 5,312 ceiling (main's file is 22,352 bytes).

Gate edits

  • test/review-pass.test.ts "Step 11 voices run from the same manifest; the outside voice needs a model of another family": its "none was given" call now passes laneModel: undefined, because an Anthropic lane now gets the default.
  • test/review-pass.test.ts fake host: start() now records the model it starts a queued reader with, so the resume test can see it.
  • test/ship-driver.test.ts (audit readers): the asserted DRIVER sentence now reads "…so each runs at low effort on a small model, Step 14.5 once on Sonnet 5.5; findings go to the PR body", and the Capy skill assertion pins (14.5 once) in place of the dropped `anthropic/claude-haiku-5-5` also fits (one-for-one swap, added by the docs commit dfeec8a).
  • DRIVER.md: "A fix repeats Phases 3-4." removed to stay under the unchanged 12 KB cap. No threshold, cap or trial count moved.

Gate edits: 4 listed, 3 read, 0 tagged (gstack-gate-diff at 395df00 against origin/main f5cb6ec: GATE_SUMMARY listed=4 eligible=3 inspected=3 unread=0 tagged={})

Tests (failing first)

Six new cases in test/review-pass.test.ts. Each fails against origin/main's lib/capy-review-pass.js (22 pass, 5 fail at 044d6a9 for the first five) and passes on this branch (28 pass, 0 fail at 4dc0880):

  1. A same-family explicit override STOPs (lane family and native family). On main the voices dispatched.
  2. A Step 11 rerun on one manifest, and a queued outside voice, are still refused for same-family. On main they dispatched.
  3. A missing lane identity STOPs. Its no-model assertions already held on main; it fails on main at the explicit voice with nothing to compare. It also covers an unprefixed id, an uppercase prefix and an unprefixed lane.
  4. An Anthropic lane gets the certified default, with every brief's sha256 equal to the run that names the model. On main it STOPped "none was given".
  5. An explicit override with changed reasoning runs and prints the uncertified label. On main, no label.
  6. A queued outside voice resumes on its dispatched model, checked against the dispatched native family. It fails on the pre-fix branch program (286ee88).

test/ship-driver.test.ts: the audit-reader case fails on main's DRIVER (19 pass, 1 fail) and passes here (20 pass).

Guards at 4dc0880: bun run typecheck exit 0; bun run typecheck:test "814 known diagnostics, none new"; gen:skill-docs fresh; review-pass, ship-driver, module-size ratchet, parity suite, skill-md size guard, spawnsync tripwire, launch-env echo ratchet, capy-review-voice, ship-budget-reader-drift, capy-skill-wrapper and gen-skill-docs checks: 180 pass, 0 fail. Remote pregate at tree f8034d38f56d: 297 tests, 0 failed (PREGATE_REMOTE, spent $0.03, VM destroyed).

Pre-Landing Review

Pre-Landing Review: 22 issues — 6 auto-fixed, 0 asked, 0 deferred, 16 left unfixed and listed below. The receipt's review-loop counters cover only the review-loop rows (Step 9 and the fix-checks), so its noted=1 is the one fix-check note.

  • Pass 1 (light, batched specialist with the Red Team checklist): 1 INFORMATIONAL, an unprefixed outside-voice id failed open. Fixed in 286ee88; fix-check: NO FINDINGS.
  • Step 11: the outside voice (openai/gpt-6.1-sol, medium) found that resume used the rerun's inputs, so a queued voice could start beside a same-family native (Medium, blocking). The native adversarial voice (Opus 5.5, high) found eight Low items. Fixed in 4dc0880: recorded voice models, case-insensitive family, wording for an unprefixed lane, the label on queued starts, the check after reconciliation, and every outside voice checked. Fix-check at 4dc0880: NO FINDINGS.
  • Noted, not fixed: laneModel is self-reported and could be cross-checked against the thread's model; hand-written loaders without laneModel now STOP (intended); DRIVER.md has 3 bytes of headroom under its cap; routed ids such as openrouter/anthropic/… read as family openrouter (Capy ids are not routed), and the program's prefix rule differs from FAMILY_RULES in lib/outside-voice-runner.ts, which puts particle/particle-1 in the deepseek family.
  • Noted at the pin tree (binding pass, all Low, none at the blocking floor): a model recorded in voice-models.json can't be overridden, so a model the platform keeps refusing needs a fresh --pass; voiceFile uses raw input.out while the manifest resolves it, so a relative out with a different cwd silently disables the resume protection; a corrupt voice-models.json stops with "rerun resumes" instead of naming the file; the certified-model label compares ids case-sensitively; and the source label on line 201 follows the rerun's input rather than the recorded model.
  • Noted after the base merge (cba6928, native pass over origin/main 83ae96e, Opus 5.5 high; none at the blocking floor): no test runs a fix-check pass whose plan dispatches an outside voice, so the merged active.includes('voices') gate at line 160 is checked by reading only (Medium); voice-models.json gets no shape check (Low).
  • Noted at 0003d49 (native pass over the docs commits; none at the blocking floor): "pinned in voice-models.json" on SKILL.md:49 could read as a place to set a model, though the program writes that file itself and a hand-written entry overrides input.models (Medium; this is the wording GStack Minder asked for); docs/unattended.md leaves out the unprefixed-lane STOP and the rerun pin; SKILL.md gives all four audit steps Sonnet while DRIVER puts 7, 8 and 9.2.1 on a small model; DRIVER.md has 2 bytes of headroom.
  • Noted after the second base merge (395df00, the one Step 11.5 native pass over origin/main f5cb6ec, Opus 5.5 high; NO FINDINGS at the blocking floor): DRIVER.md has 7 bytes of headroom under its 12 KB cap, so the next added sentence must trim elsewhere (Low).

Review-loop caveats.

Sibling trial merges (Rule 25, at 395df00)

Documentation

Status: blocked. One edit made to docs/unattended.md. One stale skill-prose line is left for the parent.

Scope: base 83ae96e, head cba6928 (6 committed files: lib/capy-review-pass.js, ship/DRIVER.md and .tmpl, 2 tests, 1 changelog fragment). No staged, unstaged or untracked content. Docs read: passages of docs/unattended.md, docs/review-policy.md, docs/model-policy.md and capy/skill/gstack/SKILL.md that cover the pass program, the outside voice and audit readers. The remaining ~130 candidate docs were not read in full.

Documentation health:

  • docs/unattended.md: updated (outside-voice default, same-family stop, OUTSIDE_VOICE: label)
  • docs/review-policy.md: gap (pass-program description lacks the new default, same-family stop and voice-models.json)
  • docs/model-policy.md: gap (cross-family outside voice lacks the certified default)
  • capy/skill/gstack/SKILL.md: blocked (stale outside-voice and haiku-for-14.5 claims)

Coverage debt: the new outside-voice default, the same-family STOP, the voice-models.json resume record and the OUTSIDE_VOICE: line have reference coverage only in docs/unattended.md; there is no how-to, tutorial or explanation coverage. Consider /document-generate. Diagram drift: none.

After the audit, GStack Minder chose to commit the auditor's docs/unattended.md paragraph and fix capy/skill/gstack/SKILL.md:49 (dfeec8a, trimmed in 0003d49), with no third audit.

Documentation exception: accepted by GStack Minder 2026-11-01 via GSTA-167 Subagent 32 relay of the Captain's choice A: choice A: commit the auditor's docs/unattended.md paragraph and a one-sentence SKILL.md:49 fix; third docs audit waived

After the second base merge, gstack-ship-release finish reported DOCS stale for capy/skill/gstack/SKILL.md, docs/unattended.md, ship/DRIVER.md and ship/DRIVER.md.tmpl. All four changed only through the merge or its resolution: docs/unattended.md keeps the same PR patch-id (59aedeeffe11) before and after, and the other three differ from main only by this PR's lines and the resolved audit-readers line. No third audit ran.

Documentation exception: accepted by GSTA-36 2026-11-02 via GSTA-167 Subagent 32 relay of the Captain's ruling: exception: GSTA-36 2026-11-02 post-merge 11.5 rebind + docs-audit (merge-only bytes)

garrytan and others added 2 commits October 31, 2026 14:54
…y voices, docs audit on Sonnet (GSTA-167 PR B)

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>
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 3 commits October 31, 2026 15:28
…STOPs)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…sensitive family, every outside voice checked)

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>
garrytan and others added 3 commits November 1, 2026 14:24
…ant)

Resolve lib/capy-review-pass.js per handoffs/GSTA-167/prB-3670-resolution.md: #3670's fix-check voices line first, voice-record load and family STOP gated on active.includes('voices').

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… once on Sonnet (GSTA-167 PR B)

Adds the prb-docs-2 auditor's docs/unattended.md paragraph and fixes capy/skill/gstack/SKILL.md:49 at the same byte count (22,365 B), so the 5,312-token context-budget ceiling is unchanged. The ship-driver test pins the new 14.5 wording instead of the dropped haiku aside.

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

'(14.5 runs once)' -> '(14.5 once)' and 'Otherwise' -> 'Else' (22,355 B, 5,310 tokens on main; 22,371 B, about 5,314 tokens merged with #3798 against its 5,315 ceiling).

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
garrytan and others added 2 commits November 2, 2026 03:48
…cond Rule 19 grant)

Resolve the #3686 conflict only: the audit-readers line reads 'Audit readers (Steps 7, 8, 14.5) cannot block, so each runs at low effort on a small model, Step 14.5 once on Sonnet 5.5; findings go to the PR body' in DRIVER.md(.tmpl) and its test; capy SKILL.md:49 takes #3686's 'Steps 7, 8 and 14.5' plus this PR's phrase edits.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title ship: pin Step 11's outside voice to the certified model, refuse same-family voices, docs audit on Sonnet 5.5 (GSTA-167 PR B) v1.92.64.0 ship: pin Step 11's outside voice to the certified model, refuse same-family voices, docs audit on Sonnet 5.5 (GSTA-167 PR B) Nov 2, 2026
@capy-ai
capy-ai Bot merged commit 5b445ae into main Nov 2, 2026
55 checks passed
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