Repository navigation
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
Conversation
…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>
|
😎 This pull request was merged. |
…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>
5 tasks done
…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>
4 tasks done
…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>
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
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: 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.jsonly 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 planreviewer-tokens-plan.mdrows 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 nolaneModelwith an explicit outside voice, now STOP. Reviewer briefs are byte-identical; no other reader's model changes.Approvals
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)
handoffs/GSTA-167/replay9g-36.md, captain drive): the outside voice ran on gpt-6.1-sol (that file records "default effort (Capy route)").openai/gpt-6.1-solat medium beside an Opus 5.5 high native voice (org drivehandoffs/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
input.models['outside-voice']and ananthropic/laneModel, Step 11's outside voice runs onopenai/gpt-6.1-solat medium. Any other lane family, or nolaneModel, keeps the existing "none was given" STOP./, 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.laneModeland no native-voice model (or alaneModelwithout a prefix), STOPs because there is nothing to compare.<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).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.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-5at reasoning low, is incapy/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).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 passeslaneModel: undefined, because an Anthropic lane now gets the default.test/review-pass.test.tsfake 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).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'slib/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):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 typecheckexit 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=1is the one fix-check note.laneModelis self-reported and could be cross-checked against the thread's model; hand-written loaders withoutlaneModelnow STOP (intended); DRIVER.md has 3 bytes of headroom under its cap; routed ids such asopenrouter/anthropic/…read as familyopenrouter(Capy ids are not routed), and the program's prefix rule differs fromFAMILY_RULESin lib/outside-voice-runner.ts, which putsparticle/particle-1in the deepseek family.voice-models.jsoncan't be overridden, so a model the platform keeps refusing needs a fresh--pass;voiceFileuses rawinput.outwhile the manifest resolves it, so a relativeoutwith a differentcwdsilently disables the resume protection; a corruptvoice-models.jsonstops 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.active.includes('voices')gate at line 160 is checked by reading only (Medium);voice-models.jsongets no shape check (Low).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 overridesinput.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.Review-loop caveats.
gstack-review-planasked for a scoped pass 2 (fix-check, Red Team and native adversarial). Under CREW Rule 30a (re-checks after a fix go to one reviewer with the touched hunks and the fix list), one fix-check at Opus high reviewed the fix range instead. It found nothing.be32d42(395df00). After the first base merge (cba6928) and the docs commits (dfeec8a, 0003d49), fix-checks and native passes ran at those heads. After the second base merge (395df00), under GSTA-36's ruling, one native adversarial pass bound to the merged tree served as the scoped check, with no separate fix-check; its record isverifiedwith start and end treebe32d42and found nothing blocking.gstack-ship-release finishroutesreviewed=be32d4259dcd current=be32d4259dcd. Two review starts opened at dfeec8a were abandoned unfinished when 0003d49 trimmed SKILL.md for the v1.92.73.0 fix(review): read printed: fingerprint lines, stop on a foreign start checkout, give Step 11 its start token (GST-776) #3798 token ceiling.lib/capy-review-pass.jsagainst v1.92.27.0 ship: each phase program returns the next phase's sections once, in code (GSTA-167 calls PR 3) #3670, resolved perhandoffs/GSTA-167/prB-3670-resolution.md: v1.92.27.0 ship: each phase program returns the next phase's sections once, in code (GSTA-167 calls PR 3) #3670's fix-check voices line first, then the voice-record load and the same-family STOP gated onactive.includes('voices').ship/DRIVER.md(.tmpl),capy/skill/gstack/SKILL.md:49andtest/ship-driver.test.ts. The audit-readers line now 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", and v1.92.52.0 ship: the parent runs Step 9.2.1's QA probes; the pass refuses a QA reader (GST-450) #3686's behavior stays: the parent runs Step 9.2.1's probes and the pass refuses a QA reader.blocking_found=0counts only the Step 9 review row. Step 11 found one blocking item (the outside voice's resume finding), which was fixed in 4dc0880.Sibling trial merges (Rule 25, at 395df00)
gst-883-review-plan-origin-base@f2c98fe): merges clean.gst-850-allowlist-docs-paths@1ec2f43): merges clean.capy/gst-776-review-dispatch@72003e4): conflicts only oncapy/skill/gstack/SKILL.md:49. Resolution: take v1.92.73.0 fix(review): read printed: fingerprint lines, stop on a foreign start checkout, give Step 11 its start token (GST-776) #3798's line and apply this PR's phrase edits ("each an", "another family, pinned invoice-models.json", "(14.5 once)" for the Haiku aside, "Else re-issue", "your transcript"). The merged file is 22,358 bytes, 5,310.69 tokens against v1.92.73.0 fix(review): read printed: fingerprint lines, stop on a foreign start checkout, give Step 11 its start token (GST-776) #3798's 5,315 ceiling; gen:skill-docs leaves no diff, and the context-budget, driver, review-pass, Capy skill and parity tests pass 122/0.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.mdand.tmpl, 2 tests, 1 changelog fragment). No staged, unstaged or untracked content. Docs read: passages ofdocs/unattended.md,docs/review-policy.md,docs/model-policy.mdandcapy/skill/gstack/SKILL.mdthat 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 andvoice-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.jsonresume record and theOUTSIDE_VOICE:line have reference coverage only indocs/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.mdparagraph and fixcapy/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 finishreported DOCS stale forcapy/skill/gstack/SKILL.md,docs/unattended.md,ship/DRIVER.mdandship/DRIVER.md.tmpl. All four changed only through the merge or its resolution:docs/unattended.mdkeeps 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)