Second-model review defaults to GPT-6.2 Sol instead of GPT-6.1 Sol (GST-3384) (#4636)

When you don't name a second-model reviewer, the review step in /ship
and /review on Capy now uses GPT-6.2 Sol instead of GPT-6.1 Sol, still
at medium reasoning. A reviewer you name yourself is used exactly as
given.

Why: reviews should run on the current frontier model, not an older
generation.

Nothing to do.

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-22 04:30:21 +00:00
1 parent 6963fa8089
commit 23ee4c3dec
5 files changed
+46 -44

No files matched your search

@@ -0,0 +1 @@
**The second-model review in `/ship` and `/review` on Capy now defaults to GPT-6.2 Sol.** When a Claude lane names no second-model reviewer, the review pass starts `openai/gpt-6.2-sol` at medium reasoning instead of `openai/gpt-6.1-sol`, so reviews run on the current Sol. A reviewer you name yourself is used as given, and its `OUTSIDE_VOICE:` line says whether it matches the default.
+4 -3
View File
@@ -280,11 +280,12 @@ coverage, not as a clean outside review.
The pass program (`lib/capy-review-pass.js`) picks the outside voice's model
when `input.models['outside-voice']` is empty and the lane model is
`anthropic/`: `openai/gpt-6.1-sol` at medium reasoning, the pairing the no-loss
rounds ran. Any other lane must name a model. An outside voice from the same
`anthropic/`: `openai/gpt-6.2-sol` at medium reasoning, the current Sol since
R116 (the no-loss rounds ran on `openai/gpt-6.1-sol` at medium, which a lane can
still name explicitly). Any other lane must name a model. An outside voice from the same
provider as the lane model or the native voice stops the pass (`STOP:`) before
either voice is created, including on a rerun, and each outside voice prints an
`OUTSIDE_VOICE:` line saying whether it is the certified configuration. An
`OUTSIDE_VOICE:` line saying whether it is the default configuration. An
outside voice still running with no output after `input.stuckMs` (20 minutes by
default) is stopped, and one that stops or fails without leaving findings, or
finishes empty, is collected as unavailable coverage (`COLLECT_UNAVAILABLE:`)
+5 -5
View File
@@ -104,19 +104,19 @@ const briefText = async (r) => {
const roleArgs = (r) => ' --role ' + q(r.role) + (r.name ? ' --name ' + q(r.name) : '');
const REASONING = { medium: 'medium', light: 'low' };
const family = (id) => (typeof id === 'string' && id.includes('/') ? id.slice(0, id.indexOf('/')).toLowerCase() : '');
const CERTIFIED_OUTSIDE = { model_id: 'openai/gpt-6.1-sol', reasoning_mode: 'medium' };
const DEFAULT_OUTSIDE = { model_id: 'openai/gpt-6.2-sol', reasoning_mode: 'medium' };
const voiceFile = input.out.replace(/\/+$/, '') + '/voice-models.json';
let voices = { laneModel: null, readers: {} };
let laneFamily = family(input.laneModel);
const modelOf = (r) => r.model || (r.cross_family ? (input.models || {})['outside-voice'] || (laneFamily === 'anthropic' ? CERTIFIED_OUTSIDE : undefined) : undefined) || (r.reader in voices.readers ? voices.readers[r.reader] || undefined
const modelOf = (r) => r.model || (r.cross_family ? (input.models || {})['outside-voice'] || (laneFamily === 'anthropic' ? DEFAULT_OUTSIDE : undefined) : undefined) || (r.reader in voices.readers ? voices.readers[r.reader] || undefined
: (input.models || {})[r.role === 'specialist-batched' ? 'specialist' : r.role]
|| (r.role === 'outside-voice' && laneFamily === 'anthropic' ? CERTIFIED_OUTSIDE : undefined)
|| (r.role === 'outside-voice' && laneFamily === 'anthropic' ? DEFAULT_OUTSIDE : undefined)
|| (REASONING[r.effort] && input.laneModel ? { model_id: input.laneModel, reasoning_mode: REASONING[r.effort] } : undefined));
const outsideNote = (r, source) => {
const ov = modelOf(r);
const certified = laneFamily === 'anthropic' && ov.model_id === CERTIFIED_OUTSIDE.model_id && ov.reasoning_mode === CERTIFIED_OUTSIDE.reasoning_mode;
const isDefault = laneFamily === 'anthropic' && ov.model_id === DEFAULT_OUTSIDE.model_id && ov.reasoning_mode === DEFAULT_OUTSIDE.reasoning_mode;
return 'OUTSIDE_VOICE: ' + ov.model_id + ' reasoning=' + (ov.reasoning_mode || 'default') + ' ' + source
+ (certified ? ' (certified configuration)' : '; outside the certified configuration (' + CERTIFIED_OUTSIDE.model_id + ' at ' + CERTIFIED_OUTSIDE.reasoning_mode + ' beside an anthropic lane)');
+ (isDefault ? ' (default configuration)' : '; outside the default configuration (' + DEFAULT_OUTSIDE.model_id + ' at ' + DEFAULT_OUTSIDE.reasoning_mode + ' beside an anthropic lane)');
};
const familyStop = (readers) => {
const native = readers.find((x) => x.role === 'adversarial-native');
+26 -26
View File
@@ -1,5 +1,5 @@
/**
* The Capy pass program's Step 11 voices: start tokens, the outside voice's model family and its certified default.
* The Capy pass program's Step 11 voices: start tokens, the outside voice's model family and its default (gpt-6.2-sol since R116).
* Split from test/review-pass.test.ts; shared fixtures live in test/helpers/review-pass-harness.ts.
*/
import { describe, expect, test } from 'bun:test';
@@ -16,7 +16,7 @@ describe('Capy pass program (fake host, real bins)', () => {
const { dir, env } = repo();
const out = path.join(dir, '.state/run/p1');
const h = host(dir, env);
const models = { 'outside-voice': { model_id: 'openai/gpt-6.1-sol' } };
const models = { 'outside-voice': { model_id: 'openai/gpt-6.2-sol' } };
const base = { base: 'main', out, pass: 'x12p1', planFlags: ['--depth-floor', 'full'], logStart: ['review'] };
expect(await runPass(h, base)).toContain('NEXT: judge (Phase 4)');
const created = h.creates.length;
@@ -37,7 +37,7 @@ describe('Capy pass program (fake host, real bins)', () => {
const { dir, env } = repo();
const out = path.join(dir, '.state/run/s11');
const h = host(dir, env);
const models = { 'outside-voice': { model_id: 'openai/gpt-6.1-sol' } };
const models = { 'outside-voice': { model_id: 'openai/gpt-6.2-sol' } };
const res = await runPass(h, { base: 'main', out, pass: 'x7s11', planFlags: ['--depth-floor', 'full'], stage: 'voices', models });
expect(res).toContain('NEXT: judge the voices');
const m = JSON.parse(fs.readFileSync(path.join(out, 'pass-manifest.json'), 'utf8')) as Manifest;
@@ -67,10 +67,10 @@ describe('Capy pass program (fake host, real bins)', () => {
expect(await runPass(h, base)).toContain('NEXT: judge (Phase 4)');
expect(await runPass(h, { ...base, stage: 'voices', laneModel: undefined })).toContain("STOP: the outside voice needs input.models['outside-voice']");
expect(h.creates.some(c => c.title.startsWith('ship x7p1 ') && /adversarial|outside/.test(c.title))).toBe(false);
const models = { 'outside-voice': { model_id: 'openai/gpt-6.1-sol' }, 'adversarial-native': { model_id: 'anthropic/claude-opus-5-5', reasoning_mode: 'high' } };
const models = { 'outside-voice': { model_id: 'openai/gpt-6.2-sol' }, 'adversarial-native': { model_id: 'anthropic/claude-opus-5-5', reasoning_mode: 'high' } };
const voices = await runPass(h, { ...base, stage: 'voices', models });
expect(voices).toContain('NEXT: judge the voices');
expect(voices).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6.1-sol","outside_status":"completed"');
expect(voices).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6.2-sol","outside_status":"completed"');
expect(h.creates.find(c => c.title === 'ship x7p1 outside-voice')!.model).toEqual(models['outside-voice']);
expect(h.creates.find(c => c.title === 'ship x7p1 adversarial-native')!.model).toEqual(models['adversarial-native']);
}, 240_000);
@@ -84,8 +84,8 @@ describe('Capy pass program (fake host, real bins)', () => {
expect(await runPass(h, base)).toContain('NEXT: judge (Phase 4)');
expect(await runPass(h, { ...base, stage: 'voices', models: { 'outside-voice': { model_id: 'anthropic/claude-sonnet-5-5', reasoning_mode: 'medium' } } }))
.toContain("STOP: the outside voice anthropic/claude-sonnet-5-5 is the anthropic family, the same as the lane model; Step 11 needs input.models['outside-voice'] from another family");
expect(await runPass(h, { ...base, stage: 'voices', models: { 'outside-voice': { model_id: 'openai/gpt-6.1-sol', reasoning_mode: 'medium' }, 'adversarial-native': { model_id: 'openai/gpt-6-astra', reasoning_mode: 'high' } } }))
.toContain('STOP: the outside voice openai/gpt-6.1-sol is the openai family, the same as the native voice');
expect(await runPass(h, { ...base, stage: 'voices', models: { 'outside-voice': { model_id: 'openai/gpt-6.2-sol', reasoning_mode: 'medium' }, 'adversarial-native': { model_id: 'openai/gpt-6-astra', reasoning_mode: 'high' } } }))
.toContain('STOP: the outside voice openai/gpt-6.2-sol is the openai family, the same as the native voice');
expect(h.creates.some(c => /^ship x14p1 (adversarial-native|outside-voice)$/.test(c.title))).toBe(false);
}, 240_000);
@@ -115,8 +115,8 @@ describe('Capy pass program (fake host, real bins)', () => {
expect(h2.starts.length).toBe(starts);
fs.writeFileSync(recorded, kept);
const resumed = await runPass(h2, { ...base2, stage: 'voices', models: same });
expect(resumed).toContain('OUTSIDE_VOICE: openai/gpt-6.1-sol reasoning=medium as dispatched, started from the queue (certified configuration)');
expect(h2.creates.find(c => c.title === 'ship x18p1 outside-voice')!.model).toEqual({ model_id: 'openai/gpt-6.1-sol', reasoning_mode: 'medium' });
expect(resumed).toContain('OUTSIDE_VOICE: openai/gpt-6.2-sol reasoning=medium as dispatched, started from the queue (default configuration)');
expect(h2.creates.find(c => c.title === 'ship x18p1 outside-voice')!.model).toEqual({ model_id: 'openai/gpt-6.2-sol', reasoning_mode: 'medium' });
}, 300_000);
// Value: protects=a queued outside voice resumes on the models recorded when the voices were dispatched, so changed rerun inputs cannot pair it with a native voice of its own family; fails_when=the rerun's input decides the queued voice's model and the native family (outside-voice finding on #3698: two OpenAI voices started);
@@ -130,7 +130,7 @@ describe('Capy pass program (fake host, real bins)', () => {
expect(await runPass(h, { ...base, stage: 'voices', models: first, budgetMs: 1 })).toMatch(/DISPATCHED: outside-voice path=\d+ queued/);
const res = await runPass(h, { ...base, stage: 'voices' });
expect(res).not.toContain('STOP:');
expect(res).toContain('OUTSIDE_VOICE: google/gemini-4-argon reasoning=medium as dispatched, started from the queue; outside the certified configuration');
expect(res).toContain('OUTSIDE_VOICE: google/gemini-4-argon reasoning=medium as dispatched, started from the queue; outside the default configuration');
expect(h.creates.find(c => c.title === 'ship x19p1 outside-voice')!.model).toEqual(first['outside-voice']);
expect(h.creates.find(c => c.title === 'ship x19p1 adversarial-native')!.model).toEqual(first['adversarial-native']);
}, 300_000);
@@ -144,19 +144,19 @@ describe('Capy pass program (fake host, real bins)', () => {
expect(await runPass(h, base)).toContain('NEXT: judge (Phase 4)');
const none = "STOP: the outside voice needs input.models['outside-voice'] (a model of another family); none was given";
expect(await runPass(h, { ...base, stage: 'voices', laneModel: undefined })).toContain(none);
expect(await runPass(h, { ...base, stage: 'voices', laneModel: 'openai/gpt-6.1-sol' })).toContain(none);
expect(await runPass(h, { ...base, stage: 'voices', laneModel: undefined, models: { 'outside-voice': { model_id: 'openai/gpt-6.1-sol', reasoning_mode: 'medium' } } }))
.toContain('STOP: the outside voice openai/gpt-6.1-sol cannot be checked against another family: neither input.laneModel nor a native voice model was given');
expect(await runPass(h, { ...base, stage: 'voices', laneModel: 'openai/gpt-6.2-sol' })).toContain(none);
expect(await runPass(h, { ...base, stage: 'voices', laneModel: undefined, models: { 'outside-voice': { model_id: 'openai/gpt-6.2-sol', reasoning_mode: 'medium' } } }))
.toContain('STOP: the outside voice openai/gpt-6.2-sol cannot be checked against another family: neither input.laneModel nor a native voice model was given');
expect(await runPass(h, { ...base, stage: 'voices', models: { 'outside-voice': { model_id: 'claude-sonnet-5-5' } } }))
.toContain('STOP: the outside voice claude-sonnet-5-5 has no provider prefix, so its family cannot be checked');
expect(await runPass(h, { ...base, stage: 'voices', models: { 'outside-voice': { model_id: 'Anthropic/claude-sonnet-5-5' } } }))
.toContain('STOP: the outside voice Anthropic/claude-sonnet-5-5 is the anthropic family, the same as the lane model');
expect(await runPass(h, { ...base, stage: 'voices', laneModel: 'claude-opus-5-5', models: { 'outside-voice': { model_id: 'openai/gpt-6.1-sol' } } }))
.toContain('STOP: the outside voice openai/gpt-6.1-sol cannot be checked against another family: the lane model claude-opus-5-5 has no provider prefix and no native voice model was given');
expect(await runPass(h, { ...base, stage: 'voices', laneModel: 'claude-opus-5-5', models: { 'outside-voice': { model_id: 'openai/gpt-6.2-sol' } } }))
.toContain('STOP: the outside voice openai/gpt-6.2-sol cannot be checked against another family: the lane model claude-opus-5-5 has no provider prefix and no native voice model was given');
expect(h.creates.some(c => /^ship x16p1 (adversarial-native|outside-voice)$/.test(c.title))).toBe(false);
}, 240_000);
const certified = { model_id: 'openai/gpt-6.1-sol', reasoning_mode: 'medium' };
const certified = { model_id: 'openai/gpt-6.2-sol', reasoning_mode: 'medium' };
async function voicesRun(dir: string, env: NodeJS.ProcessEnv, sub: string, models?: Record<string, unknown>) {
const out = path.join(dir, '.state/run', sub);
const h = host(dir, env);
@@ -169,27 +169,27 @@ describe('Capy pass program (fake host, real bins)', () => {
return { res, shas, models: Object.fromEntries(h.creates.map(c => [c.title, c.model])) };
}
// Value: protects=an Anthropic lane's Step 11 gets the certified outside voice (openai/gpt-6.1-sol at medium, as rounds 3-6 and A3668 ran) without naming it, and every brief goes out byte for byte as it does with that model named; fails_when=the lane must pick the outside voice (gpt-6-astra in 6c/7e/8g), or the pin changes any reader's brief or another reader's model;
// why_new=GSTA-167 plan R2; seam=none; no_claim=the certified pair's recall, which arm-L6 measured
test('an anthropic lane defaults the outside voice to the certified model, with every brief byte-identical to naming it', async () => {
// Value: protects=an Anthropic lane's Step 11 gets the default outside voice (openai/gpt-6.2-sol at medium since R116; no-loss rounds 3-6 and A3668 ran on gpt-6.1-sol) without naming it, and every brief goes out byte for byte as it does with that model named; fails_when=the lane must pick the outside voice (gpt-6-astra in 6c/7e/8g), or the pin changes any reader's brief or another reader's model;
// why_new=GSTA-167 plan R2; seam=none; no_claim=the default pair's recall (arm-L6 measured gpt-6.1-sol's, not gpt-6.2-sol's)
test('an anthropic lane defaults the outside voice to the default model, with every brief byte-identical to naming it', async () => {
const { dir, env } = repo();
const pinned = await voicesRun(dir, env, 'pin');
expect(pinned.res).toContain('OUTSIDE_VOICE: openai/gpt-6.1-sol reasoning=medium default for an anthropic lane (certified configuration)');
expect(pinned.res).toContain('OUTSIDE_VOICE: openai/gpt-6.2-sol reasoning=medium default for an anthropic lane (default configuration)');
expect(pinned.res).toContain('NEXT: judge the voices');
expect(pinned.models['ship x17p1 outside-voice']).toEqual(certified);
const named = await voicesRun(dir, env, 'named', { 'outside-voice': certified });
expect(named.res).toContain('OUTSIDE_VOICE: openai/gpt-6.1-sol reasoning=medium given (certified configuration)');
expect(named.res).toContain('OUTSIDE_VOICE: openai/gpt-6.2-sol reasoning=medium given (default configuration)');
expect(named.shas).toEqual(pinned.shas);
expect(named.models).toEqual(pinned.models);
}, 300_000);
// Value: protects=an explicit cross-family override is accepted but its pass output says it is outside the certified configuration; fails_when=a changed outside-voice model or reasoning passes silently as if certified;
// why_new=GSTA-167 plan R2; seam=none; no_claim=the uncertified configuration's recall
test('an explicit outside-voice override with changed reasoning runs and is recorded as uncertified, other briefs unchanged', async () => {
// Value: protects=an explicit cross-family override is accepted but its pass output says it is outside the default configuration; fails_when=a changed outside-voice model or reasoning passes silently as if certified;
// why_new=GSTA-167 plan R2; seam=none; no_claim=the undefault configuration's recall
test('an explicit outside-voice override with changed reasoning runs and is recorded as outside the default, other briefs unchanged', async () => {
const { dir, env } = repo();
const high = { model_id: 'openai/gpt-6.1-sol', reasoning_mode: 'high' };
const high = { model_id: 'openai/gpt-6.2-sol', reasoning_mode: 'high' };
const over = await voicesRun(dir, env, 'over', { 'outside-voice': high });
expect(over.res).toContain('OUTSIDE_VOICE: openai/gpt-6.1-sol reasoning=high given; outside the certified configuration (openai/gpt-6.1-sol at medium beside an anthropic lane)');
expect(over.res).toContain('OUTSIDE_VOICE: openai/gpt-6.2-sol reasoning=high given; outside the default configuration (openai/gpt-6.2-sol at medium beside an anthropic lane)');
expect(over.res).toContain('NEXT: judge the voices');
expect(over.models['ship x17p1 outside-voice']).toEqual(high);
const named = await voicesRun(dir, env, 'named', { 'outside-voice': certified });
+10 -10
View File
@@ -27,7 +27,7 @@ describe('Capy pass program (fake host, real bins)', () => {
}
expect(res).not.toContain('STOP:');
expect(res).toContain('COLLECT_UNAVAILABLE: reader=outside-voice');
expect(res).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6.1-sol","outside_status":"unavailable"');
expect(res).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6.2-sol","outside_status":"unavailable"');
expect(res).toContain('first write this voice its own adversarial-review row with "source":"host-subagent","status":"unavailable","completed":false,"converged":false and no --finish, then the native row');
expect(res).toContain('NEXT: judge the voices');
if ('hang' in o) {
@@ -66,7 +66,7 @@ describe('Capy pass program (fake host, real bins)', () => {
}
expect(res).not.toContain('STOP:');
expect(res).not.toContain('COLLECT_UNAVAILABLE: reader=outside-voice');
expect(res).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6.1-sol","outside_status":"completed"');
expect(res).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6.2-sol","outside_status":"completed"');
expect(res).toContain('NEXT: judge the voices');
}
}, 600_000);
@@ -127,8 +127,8 @@ describe('Capy pass program (fake host, real bins)', () => {
expect(astra.prompt).not.toContain('Think like an attacker');
expect(created('outside-voice')!.prompt).toContain('Think like an attacker and a chaos engineer.');
expect(created('outside-voice/gemini-4-carbon')).toBeUndefined();
expect(res).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6-astra","outside_status":"completed","outside_note":"second-family read by openai/gpt-6-astra on the read-only retry brief after cyber_policy refused openai/gpt-6.1-sol"');
expect(res).not.toContain('"outside_model":"openai/gpt-6.1-sol"');
expect(res).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6-astra","outside_status":"completed","outside_note":"second-family read by openai/gpt-6-astra on the read-only retry brief after cyber_policy refused openai/gpt-6.2-sol"');
expect(res).not.toContain('"outside_model":"openai/gpt-6.2-sol"');
expect(res).toContain('NEXT: judge the voices');
expect(verify).toMatch(/^BRIEF outside-voice UNAVAILABLE/m);
expect(verify).toMatch(/^OUTPUT outside-voice UNAVAILABLE .*reason=".*cyber_policy/m);
@@ -150,7 +150,7 @@ describe('Capy pass program (fake host, real bins)', () => {
expect(gemini.model).toEqual({ model_id: 'google/gemini-4-carbon', reasoning_mode: 'high' });
expect(gemini.prompt).toBe(created('outside-voice')!.prompt);
expect(h.creates.filter(c => c.title.includes('outside-voice')).length).toBe(3);
expect(res).toContain('"outside_model":"google/gemini-4-carbon","outside_status":"unavailable","outside_note":"second-family read missing: cyber_policy refused openai/gpt-6.1-sol, openai/gpt-6-astra (read-only retry brief) and google/gemini-4-carbon"');
expect(res).toContain('"outside_model":"google/gemini-4-carbon","outside_status":"unavailable","outside_note":"second-family read missing: cyber_policy refused openai/gpt-6.2-sol, openai/gpt-6-astra (read-only retry brief) and google/gemini-4-carbon"');
expect(res).toContain('first write this voice its own adversarial-review row');
expect(res).toContain('NEXT: judge the voices');
expect(verify).not.toContain('MISMATCH');
@@ -161,13 +161,13 @@ describe('Capy pass program (fake host, real bins)', () => {
// Value: protects=on a Google-family lane the Gemini step is skipped (Step 11 refuses an outside voice of the lane's family), so two OpenAI refusals record the second-family read as missing and a resume finishes instead of stopping; fails_when=Gemini is planned beside a Google lane and familyStop stops every resume;
// why_new=GSTA-537 /ship outside-voice finding (lib/review-pass.ts:274), fixed under the Captain's scoped fix-check grant; seam=planCyberRetry via gstack-review-dispatch retry; no_claim=which outside voice a Google lane should use
test('a Google-family lane skips the Gemini retry and records the second-family read missing, with no STOP on resume (R95)', async () => {
const lane = { laneModel: 'google/gemini-4-argon', models: { 'outside-voice': { model_id: 'openai/gpt-6.1-sol', reasoning_mode: 'medium' } } };
const lane = { laneModel: 'google/gemini-4-argon', models: { 'outside-voice': { model_id: 'openai/gpt-6.2-sol', reasoning_mode: 'medium' } } };
const { res, all, h, created, base } = await refusedVoices('x45p1', t => (/outside-voice(\/astra-read-only)?$/.test(t) ? CYBER : undefined), lane);
expect(all).not.toContain('STOP:');
expect(all).toContain('RETRY: reader=outside-voice/astra-read-only model=openai/gpt-6-astra brief=read-only');
expect(all).toContain('RETRY: exhausted reader=outside-voice/astra-read-only');
expect(created('outside-voice/gemini-4-carbon')).toBeUndefined();
expect(res).toContain('"outside_status":"unavailable","outside_note":"second-family read missing: cyber_policy refused openai/gpt-6.1-sol and openai/gpt-6-astra (read-only retry brief)"');
expect(res).toContain('"outside_status":"unavailable","outside_note":"second-family read missing: cyber_policy refused openai/gpt-6.2-sol and openai/gpt-6-astra (read-only retry brief)"');
expect(res).toContain('NEXT: judge the voices');
const again = await runPass(h, { ...base, stage: 'voices', stuckMs: 60_000 });
expect(again).not.toContain('STOP:');
@@ -191,11 +191,11 @@ describe('Capy pass program (fake host, real bins)', () => {
const failed = await refusedVoices('x42p1', t => (t.endsWith(' outside-voice') ? 'OpenAI key declined the request: invalid_api_key: Incorrect API key provided.' : undefined));
expect(failed.res).not.toContain('STOP:');
expect(failed.all).toContain('RETRY: none');
expect(failed.res).toContain('"outside_model":"openai/gpt-6.1-sol","outside_status":"unavailable"');
expect(failed.res).toContain('"outside_model":"openai/gpt-6.2-sol","outside_status":"unavailable"');
expect(failed.h.creates.filter(c => c.title.includes('outside-voice')).length).toBe(1);
const clean = await refusedVoices('x43p1', () => undefined);
expect(clean.all).not.toContain('RETRY:');
expect(clean.res).toContain('"outside_model":"openai/gpt-6.1-sol","outside_status":"completed"');
expect(clean.res).toContain('"outside_model":"openai/gpt-6.2-sol","outside_status":"completed"');
expect(clean.res).not.toContain('outside_note');
expect(clean.h.creates.filter(c => c.title.includes('outside-voice')).length).toBe(1);
}, 600_000);
@@ -217,7 +217,7 @@ describe('Capy pass program (fake host, real bins)', () => {
expect(res).not.toContain('STOP:');
expect(all).not.toContain('RETRY:');
expect(h.creates.filter(c => c.title.includes('outside-voice')).length).toBe(1);
expect(res).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6.1-sol","outside_status":"completed"');
expect(res).toContain('OUTSIDE_RECORD: "outside_provider":"host-subagent","outside_model":"openai/gpt-6.2-sol","outside_status":"completed"');
expect(fs.readFileSync(path.join(out, 'merged.jsonl'), 'utf8')).toContain('A guard fails open');
}, 300_000);
});