Repository navigation
Description
Epic: #497 Blocked by: — (none; #674, #862, #505 closed) Tier: judgment Doc: docs/investigations/codex-driver-probe-2026-09.md §AC-1, §AC-4–7, "Parser gotchas", "What changes in #497" Graph node: 1 of 3
Summary
The driver half of #497, scoped to pure TypeScript with no init/template changes. Spawns codex exec --json as a subprocess (not the Codex SDK class — the hook-trust flag is CLI-only and the SDK cannot pass it; see doc §AC-5), parses the JSONL stream against @openai/codex-sdk's exported types, and evaluates the outcome with the three-level error model the probe established. Mirrors OpencodeDriver's buildOpencodeArgs / OpencodeStreamParser / evaluateOpencodeRun split.
Design constraints (from the probe — do not re-derive)
- Spawn:
codex exec --json -C <cwd> -s workspace-write --dangerously-bypass-hook-trust [-m <model>] <prompt>withstdin: "ignore"(a non-TTY open stdin blocksexecuntil timeout, doc §AC-7). - Phase prompt is
$<phase> <issue>— the skill name, not a rewritten prompt.resolvesSkills = true,usesSdkMcp = false. item.completeditems of typeerrorare warnings (hook-trust banner, model-metadata notice). Onlyturn.failedand the top-levelerrorevent are fatal.- Resume per refactor: normalize agent-driver resume semantics (origin-cwd-bound ResumeHandle, driver-owned validation) #674: never
exec resume <id>whenoriginCwd !== cwd— Codex adopts the caller's cwd silently (Resuming a session silently switches the agent cwd to the caller’s directory openai/codex#4791, doc §AC-6). usageis one object per turn; synthesizemodelUsagekeyed by the resolved model. NomaxTurns→cappedstays undefined.- Auth env is
CODEX_API_KEY(notOPENAI_API_KEY).
Acceptance criteria
- AC-1: parses the recorded fixture — Verify:
npx vitest run src/lib/workflow/drivers/codex.test.ts -t "497 AC-1"→ passes onsrc/lib/workflow/drivers/__fixtures__/codex-exec-skill-hook.jsonl; asserts concatenatedagent_message.text→output,thread.started.thread_id→resumeHandle.token,turn.completed.usage→modelUsage[<model>]with the five counters mapped, and the threeitem.completed/erroritems do not setsuccess: false. - AC-2: spawn contract — Verify:
-t "497 AC-2":buildCodexArgsyields exactly the flag set above; spawn options carrystdio: ["ignore", "pipe", "pipe"],detached: true,config.envforwarded unchanged;abortSignal→ SIGTERM on the process group;stderrTail/stdoutTailpopulated via RingBuffer;exitCodeset. - AC-3: three-level outcome — Verify:
-t "497 AC-3": fixture mutations — (a)turn.failed→ failure withstructuredError; (b) top-level{"type":"error"}→ failure; (c) exit≠0 with noturn.completed→ failure with distinct code; (d) an addeditem.completed/erroralone → still success. Each mutation recorded per the gate-test rule (Mutation-verified:marker in the PR body). - AC-4: resume honors refactor: normalize agent-driver resume semantics (origin-cwd-bound ResumeHandle, driver-owned validation) #674 — Verify:
npx vitest run src/lib/workflow/drivers/resume-semantics.test.ts -t "codex"→ResumeHandle{driver:"codex", token, originCwd}round-trips;canResumeis false for a different cwd; when it resumes, args areexec resume <token> --json …and-Cis never passed toresume. - AC-5: registry + settings + CLI — Verify:
npx vitest run src/lib/workflow/drivers/index.test.ts -t "497"assertsgetDriver("codex");CodexSettings { model?, sandboxMode?, extraArgs? }onRunSettings.codex;node dist/bin/cli.js run 1 --agent codex --dry-run(afternpm run build) prints the codex driver in its plan without spawning. - AC-6: warnings surfaced, not swallowed — Verify:
-t "497 AC-6":item.completed/errormessages are forwarded toconfig.onStderr(or a warnings field) so the hook-trust banner is visible in verbose logs. - AC-7: live SKIP-when-absent — Verify:
codex.live.integration.test.tsgated onCODEX_LIVE=1: when the binary resolves and (CODEX_API_KEYorcodex login status= logged in), runs a trivialexecwith a$-less prompt and asserts ≥1agent_message; otherwise reportsSKIPPED (codex absent), never a pass. - AC-8: SDK is types-only — Verify:
@openai/codex-sdkappears indevDependenciesonly (or its.d.tsis vendored);grep -r "codex-sdk" dist/ | wc -l→ 0 after build. - AC-9: execution-config parity — Verify:
npx vitest run src/lib/workflow/execution-config-parity.test.tspasses withcodexSettingsasserted equal across both producers (buildExecutionConfigandready-gate.ts). - AC-10: version floor — Verify:
CODEX_MIN_VERSION = "0.154.0"exported fromcodex.ts;isAvailable()parsescodex --versionand returns false below the floor with a message naming it.
Non-goals
sequant init --agent codex, the .codex/config.toml hooks wrapper, .agents/skills symlink, doctor, README — all node 2. Real-phase quality (does /qa actually work through Codex) — node 3, the human gate. Codex MCP config, subagent mapping, marketplace plugin — deferred until the gate reports.
Related
#497 (epic) · #674 (resume contract) · #862 (opencode driver, the structural template) · #1057 (probe doc)
Activity
admarble commentedon Sep 15, 2026
Complexity: Complex (10 ACs, 4 directories)
AC Quality Check
lintAcceptanceCriteria(src/lib/ac-linter.ts): 9/10 pass. AC-7 is flagged asincomplete— itsverificationMethodresolves tointegration_testby keyword inference rather than a declaredEvidence:clause. Not a real defect: the AC already names the exact gated test file (codex.live.integration.test.ts,CODEX_LIVE=1). Optional: add a trailingEvidence:clause per the constitution's §2 AC format if the author wants it lint-clean.Scope Assessment
Non-Goals: present (
## Non-goals) —sequant init --agent codex,.codex/config.tomlhooks wrapper,.agents/skillssymlink, doctor, README (node 2); real-phase quality validation (node 3); MCP config, subagent mapping, marketplace plugin (deferred to the human gate).performScopeAssessment's bullet-list parser reports this section as "empty" — false negative: the section is prose, not a-list, so the extractor finds zero items even though the boundary is explicit and specific. Not a real gap.Verdict:⚠️ →✅ SCOPE_OK, overriding the mechanical
SCOPE_SPLIT_RECOMMENDED. The tool's feature-clustering keys on coincidental keyword hits (auth,ui,config,validation) across a singleAgentDriverimplementation — there is one feature here (CodexDriver), not three. The AC count and file spread are in the same range #862 (OpencodeDriver) shipped as one PR at, following the identical three-function template. Recommend proceeding as one issue rather than splitting.Acceptance Criteria
AC-1: Parses the recorded fixture
Verification: Unit Test
Scenario: Given
__fixtures__/codex-exec-skill-hook.jsonlfed throughCodexStreamParser→ When.end()is called → Thenagent_message.textitems concatenate intooutput,thread.started.thread_idbecomesresumeHandle.token,turn.completed.usage's five counters populatemodelUsage[<model>], and the threeitem.completed/erroritems do not flipsuccessto false.Assumptions:
reasoning_output_tokens(5th usage counter) has no dedicated slot onModelUsageEntry— see Open Question 1.AC-2: Spawn contract
Verification: Unit Test
Scenario: Given a prompt +
AgentExecutionConfig→ WhenbuildCodexArgsruns → Then it returnsexec --json -C <cwd> -s workspace-write --dangerously-bypass-hook-trust [-m <model>] <prompt>; spawn usesstdio: ["ignore","pipe","pipe"],detached: true, unmodifiedconfig.env;abortSignal/timeout SIGTERMs the process group;stderrTail/stdoutTailfill viaRingBuffer;exitCodeis set.Assumptions: Mirrors
OpencodeDriver.executePhase's spawn options andkillProcessGrouphelper verbatim.AC-3: Three-level outcome
Verification: Unit Test
Scenario: Given the base fixture → When mutated to (a)
turn.failed, (b) a top-level{"type":"error"}, (c) exit≠0 with noturn.completed, (d) an extraitem.completed/erroralone → Then (a)-(c) fail with distinct codes/structuredError, (d) still succeeds.Assumptions: Each mutation gets its own
Mutation-verified:marker in the PR body per the constitution's gate-test rule — commit before mutating (memory:git checkoutwipes uncommitted work 5x already).AC-4: Resume honors #674
Verification: Unit Test
Scenario: Given a
ResumeHandle{driver:"codex", token, originCwd}→ WhencanResumeis checked against a different cwd → Then it returns false; when eligible, the dispatched args areexec resume <token> --json --dangerously-bypass-hook-trust <prompt>with no-C.Assumptions: Un-skips the two
it.skipblocks already scaffolded inresume-semantics.test.ts(lines 236-243).AC-5: Registry + settings + CLI
Verification: Integration Test
Scenario: Given
getDriver("codex")→ When called → Then it resolves aCodexDriver;CodexSettings{model?, sandboxMode?, extraArgs?}exists onRunSettings.codex;node dist/bin/cli.js run 1 --agent codex --dry-runprints the codex driver in its plan with no spawn.Assumptions: The dry-run print path is
resolveDriverNameinphase-executor.ts:1255— it must receivecodexSettings, not justaiderSettings/opencodeSettings, or a configured model silently drops from the plan.AC-6: Warnings surfaced, not swallowed
Verification: Unit Test
Scenario: Given an
item.completed/errorevent (hook-trust banner, model-metadata notice) → When parsed → Then its message reachesconfig.onStderr(or an equivalent warnings field), visible in verbose logs, without affectingsuccess.Assumptions: None beyond AC-1/3.
AC-7: Live SKIP-when-absent
Verification: Integration Test (gated,
CODEX_LIVE=1)Scenario: Given the
codexbinary resolves and (CODEX_API_KEYset orcodex login statusreports logged in) → When a trivial$-less prompt runs → Then ≥1agent_messageis asserted; otherwise the test reportsSKIPPED (codex absent), never a bare pass.Assumptions: Mirrors
opencode.live.integration.test.ts'sskipReason()/it.skipIfshape exactly.AC-8: SDK is types-only
Verification: Manual / Build Check
Scenario: Given
package.json→ When inspected → Then@openai/codex-sdkisdevDependencies-only (or its.d.tsis vendored);grep -r "codex-sdk" dist/ | wc -lis 0 afternpm run build.Assumptions: Only
import typestatements reachcodex.ts— any runtime import (even indirect, via a re-exported const) fails this.AC-9: Execution-config parity
Verification: Unit Test
Scenario: Given
run.agent: "codex"+run.codexsettings → When bothbuildExecutionConfigandready-gate.ts'sbuildPhaseConfigresolve anExecutionConfig→ ThencodexSettingsis byte-identical across both producers.Assumptions: Add a
codex-configured scenario toexecution-config-parity.test.ts'sSCENARIOSarray (mirrors the existing opencode entry) — the genericunallowedDiffscomparator then catches drift automatically sincecodexSettingsisn't onGATE_OVERRIDES.AC-10: Version floor
Verification: Unit Test
Scenario: Given
codex --versionoutput → When parsed → ThenisAvailable()returns false belowCODEX_MIN_VERSION = "0.154.0"with a message naming the floor; the constant is exported fromcodex.ts.Assumptions: Reuses
compareVersionsfromsrc/lib/version-check.ts(NOTdoctor.ts'sisVersionBelow— importing fromcommands/intolib/would invert the existing layer boundary). Diverges from theopencode/aiderprecedent, where floor-enforcement lives only indoctor, not inisAvailable()itself — see Design Review Q4.Implementation Plan
Phase 1: Types & settings plumbing
CodexSettings { model?: string; sandboxMode?: "read-only"|"workspace-write"|"danger-full-access"; extraArgs?: string[] }tosrc/lib/settings.ts(mirrorsOpencodeSettingsat line 129), plusCodexSettingsSchema(zod, mirrors line 476) andvalidateCodexSettings()(mirrors line 1050). Addcodex?: CodexSettingstoRunSettings(line 265) andRunSettingsSchema(line 536).codexSettings?: CodexSettingstoExecutionConfig(src/lib/workflow/types.ts:155).codexSettings: settings.run.codexintobuildExecutionConfig(config-resolver.ts:591, alongsideopencodeSettings).@openai/codex-sdktodevDependencies(types-only per AC-8).Phase 2: CodexDriver core (
src/lib/workflow/drivers/codex.ts)buildXArgs/XStreamParser/evaluateXRunsplit fromopencode.ts, typed against@openai/codex-sdk'sThreadEvent/ThreadItem/Usage(import typeonly):buildCodexArgs: hardcodes-s workspace-write --dangerously-bypass-hook-trust; wiressettings?.sandboxModeandsettings?.model(-m) when set (see Open Question 3).CodexStreamParser: tracksagent_message.text→ output,thread.started.thread_id→ resume token,turn.completed.usage→ synthesizedmodelUsage[model],item.completed/error→ warnings array (never fails the run), dedupescommand_executiononitem.id.evaluateCodexRun: three-level classification —turn.failed/ top-levelerrorevent / exit≠0-with-no-turn.completedare fatal (each a distinctCODEX_ERROR_CODESentry mirroringOPENCODE_ERROR_CODES);item.completed/erroralone is not.CodexDriver implements AgentDriver:name = "codex",resolvesSkills = true,usesSdkMcp = false.executePhasespawns withstdin: "ignore"(AC-7),detached: true, process-group SIGTERM on abort/timeout (reusekillProcessGroup-shaped helper).canResume:handle.driver === "codex" && handle.originCwd === targetCwd; eligible resume drops-C/-sper the design doc.isAvailable():codex --versionparsed via the existing/(\d+)\.(\d+)\.(\d+)/pattern, compared withcompareVersionsfrom../../version-check.jsagainstCODEX_MIN_VERSION.Phase 3: Registry & wiring
codex: (opts) => new CodexDriver(opts?.codexSettings)inDRIVERS(drivers/index.ts); addcodexSettings?: CodexSettingstoDriverOptions.codexSettings: config.codexSettingsinto all threegetDriver(config.agent, {...})call sites inphase-executor.ts(lines 1257, 1474, 1925) — currently onlyaiderSettings/opencodeSettingsare threaded through; a codex-configured run would silently instantiatenew CodexDriver(undefined)otherwise.Phase 4: Tests
codex.test.ts:buildCodexArgs, parser/evaluator against the fixture (AC-1) and its 4 mutations (AC-3, each mutation-verified), warnings forwarding (AC-6), SDK types-only grep (AC-8).drivers/index.test.tswithgetDriver("codex")assertions (AC-5).it.skipblocks inresume-semantics.test.ts:236-243(AC-4).codex-configured scenario toexecution-config-parity.test.ts'sSCENARIOS(AC-9).codex.live.integration.test.tsmirroringopencode.live.integration.test.ts's skip-gate shape (AC-7).Design Review
src/lib/workflow/drivers/codex.ts— same layer as every otherAgentDriver; no orchestration-layer changes beyond the plumbing already established for aider/opencode.OpencodeDriveralready validates in production rather than wrapping@openai/codex-sdk's runtimeThreadclass. Rejected per the probe's own AC-5: the hook-trust flag is CLI-only,Thread._execis private (nostderrTail/exitCode), and the SDK pins the binary version exactly (the protocol-skew class sequant already hit twice).OpencodeDriverend-to-end: three-function split,RingBuffertails, process-group SIGTERM, driver-taggedResumeHandle,*_MIN_VERSION+ version-compare floor,*_ERROR_CODESconst object.reasoning_output_tokens(5th usage counter in AC-1) has no field onModelUsageEntry(4 fields exist) — needs an explicit fold-in decision, not a silent drop (Open Question 1).findShimInfail-closed shim check — intentional, since--dangerously-bypass-hook-trustis itself the enablement mechanism (no separate "did the shim load" signal exists to check), but worth calling out since it's a divergence from the pattern being mirrored.isAvailable()enforcing the version floor is new behavior relative toopencode/aider(which leave floor-checking todoctor). AC-10 asks for it explicitly and nothing currently calls.isAvailable()on the execution path, so it's inert today — but a reviewer should see this named as a deliberate deviation, not an inconsistency.Feature Quality Planning
Most standard checks pass. Notable items:
run.agent: "codex"today (before the node-2sequant init --agent codexwork) has no.agents/skillssymlink —resolvesSkills = truemeans the skills preflight (feat(run): pre-flight the skills install — missing .claude/skills/ should fail fast, not flail for 30 minutes as a spec retry #813/fix(run): skills preflight validates the main checkout, not the worktrees agents run in (#813 follow-up) #933) will look for it in each phase's worktree and likely fail closed. Acceptable for this issue (the scaffold is an explicit non-goal), but worth a one-line callout in the PR description so it isn't mistaken for a bug later.CodexSettings.sandboxModeis named in AC-5's interface but the design constraints hardcode-s workspace-writeunconditionally — wire it throughbuildCodexArgsnow (see Open Question 3) or the field is dead on arrival, the exact class of bugfeedback_cli_flag_e2e_traceflags.Derived ACs
reasoning_output_tokensis explicitly folded intooutputTokens(or otherwise mapped) with a comment stating the choice, not silently droppedrun.agent: "codex"requires a manually created.agents/skillssymlink until node 2 shipssequant init --agent codexOpen Questions
turn.completed.usage.reasoning_output_tokensmap ontoModelUsageEntry? Recommendation: fold it intooutputTokens(matches howsequant stats/fix(metrics): tokensUsed is 0 on every recorded run — capture-tokens.sh reads .usage (transcripts carry .message.usage) and run reads the wrong dir; wire SDK modelUsage tokens+costUSD per phase × model into metrics and stats #986 treats "output" as billable generation) with a comment explaining the fold, rather than adding a 6th field to an interface every driver shares. Impact if wrong:sequant statsunder-reports Codex generation.sandboxModeinCodexSettingsactually wired intobuildCodexArgs, or reserved for later? Recommendation: wiresettings?.sandboxMode ?? "workspace-write"now — the field is already in the AC-named interface, so leaving it unused ships a dead setting. Impact if wrong: a documented config option silently no-ops.sequant init --agent codexis an explicit non-goal, and the preflight already fails loudly (not silently) when skills are missing.Recommended Workflow
Phases: spec → testgen → exec → qa
Quality Loop: disabled
Reasoning: Every AC names an exact test file and
-tfilter, and the work mirrorsopencode.ts's already-shipped file structure closely enough that testgen can scaffoldcodex.test.ts's describe/it blocks and theexecution-config-parity.test.tsaddition before implementation. Overriding the mechanical signal:lintAcceptanceCriteriaresolves 9/10 ACs'verificationMethodtomanual(they useVerify:prose, not a declaredEvidence:clause), which the standard testgen auto-detection table would read as "skip testgen." The underlying work is unit/integration-test-driven throughout, so testgen is recommended by design judgment, documented here per the skill's override requirement. Quality loop stays off: this is a well-specified, single-feature issue with a proven template to mirror (#862), not the ambiguous/iterative shape the loop targets.Label Review
Current: enhancement, planned, multi-agent, backlog
Recommended: unchanged — but flagging a tension:
backlog("deferred until user traction — 100+ WAU") sits alongsideplannedon an issue whose probe (#1057) just merged and whose graph position ("1 of 3") reads as actively being worked. Whetherbacklogshould come off now that the probe has concluded and this fullsolve is queued is a strategic call for the user, not something to resolve silently in/spec.Reason: No new label is warranted by the plan analysis itself.
Quality Loop: Won't auto-enable — the mechanical
SCOPE_SPLIT_RECOMMENDEDverdict was overridden above with reasoning; it doesn't trip the auto-enable heuristic once treated as SCOPE_OK.→ (no label change recommended;
gh issue editnot run)admarble commentedon Sep 15, 2026
Test Stubs Generated
it.skipinresume-semantics.test.ts:236-243; no new stub needed, left for /exec to un-skipCODEX_LIVE=1)dist/grep halfCounts explained:
Files written
src/lib/workflow/drivers/codex.test.ts(new) — AC-1, AC-2, AC-3, AC-6, AC-8, AC-10, AC-11src/lib/workflow/phase-executor.codex.test.ts(new) — AC-5 (dry-run driver line +codexSettingsthreading, mirrorsphase-executor.opencode.test.ts)src/lib/workflow/drivers/codex.live.integration.test.ts(new) — AC-7, gated onCODEX_LIVE=1, mirrorsopencode.live.integration.test.tssrc/lib/workflow/drivers/index.test.ts(edited) — AC-5 registry portion (getDriver("codex"))src/lib/workflow/execution-config-parity.test.ts(edited) — AC-9 (added acodex-configuredSCENARIOSentry + an explicitcodexSettingsparity assertion)All five files were run against the current (pre-implementation) tree to confirm they fail for the right reason:
codex.test.ts,index.test.ts's new cases, andcodex.live.integration.test.tsfail onCannot find module './codex.js'(expected —codex.tsdoesn't exist yet);phase-executor.codex.test.ts's 3 new assertions fail becauseresolveDriverName/getDrivercalls don't threadcodexSettingsyet; the newexecution-config-parity.test.tsassertion fails becauseresolved.codexSettingsisundefined. Theit.each(SCENARIOS)parity check itself passes trivially today (both producers equally lack the field) and will only fail if the two producers diverge once implemented — exactly the guard it's meant to be.Assumptions flagged for /exec to resolve
These are exported names/shapes the spec implies but doesn't pin, called out inline as
ASSUMPTION:comments incodex.test.ts:modelUsagemap's key (model id) — noturn.completedevent in the fixture carries amodelfield; tests assert on values viaObject.values(...), not a literal keyreasoning_output_tokensfolded intooutputTokens(3306 + 3200 = 6506) per Open Question 1's recommendation / derived AC-11 — update the assertion together with the required explanatory comment if a different mapping is chosenCODEX_ERROR_CODESmember names (turnFailed,streamError,noTerminalTurn) — spec names the three cases, not their code identifiersCodexParsedStream.warnings/.threadId/.commandExecutionsfield names — spec describes the data, not the field namesisAvailable()is a barePromise<boolean>perAgentDriver; recommend mirroringversion-check.ts'sgetNodeVersionError(current, floor)precedent as an exportedgetCodexVersionError(current: string): string | null, since AC-10 explicitly points at reusingcompareVersionsfrom that fileManual Test Checklist for AC-8 (dist/ build check)
Prerequisites
codex.tsimplemented,@openai/codex-sdkadded todevDependenciesSteps
npm run buildgrep -r "codex-sdk" dist/ | wc -lExpected Results
0import typestatements reachcodex.ts— no runtime import, even indirect via a re-exported constAC-4 note
resume-semantics.test.ts:236-243already carries twoit.skipblocks reserved for CodexDriver (written when the #497 probe landed). No new stub was generated — /exec should un-skip them onceCodexDriver.canResumeexists, per the AC's own instruction.Next steps:
codex.ts(adjust theASSUMPTION:test bodies to match the real exported shape)/exec 1058to implement the featurenpm testGenerated with Claude Code
admarble commentedon Sep 15, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 12/13 met
Gaps:
validateCodexSettings(src/lib/settings.ts:1133) is a dead export — zero callers, zero tests. Real validation flows throughCodexSettingsSchemainRunSettingsSchema. It mirrors the equally-deadvalidateOpencodeSettings, so it is consistent with the codebase, butvalidateAiderSettingsat least has a test file.CHANGELOG.md:20-21— the reordering dropped the blank line before## [2.15.0] - 2026-09-11. Renders correctly in CommonMark; style nit only.Suggestions:
CodexParsedStream.parseFailuresis tracked but never surfaced — a codex build that prints a non-JSON banner to stdout would silently lose that content fromoutputwith no signal.stdoutTailstill captures it, so this is observability, not correctness.admarble commentedon Sep 15, 2026
QA second look (owner session) — 2 defects fixed, verdict upgraded to READY_FOR_MERGE at
9eb18cc8Reviewed PR #1062 with the real
codex0.154.0 binary and aCODEX_API_KEY— the two things the phase agents did not have. Both found something the first pass could not.Defects (fixed in
9eb18cc8):toModelUsageaddedreasoning_output_tokenstooutput_tokens, but the former is a breakdown of the latter: across all six probe runsoutput − reasoningequals the visible text (3306 − 3200 = 106 for 165 chars;PONG= 6/0).sequant statswould have reported ~2× output for codex. Nowoutput_tokensas-is.mkdtempcwd →codex execexits 1 (Not inside a trusted directory), zero events; the PR's one unchecked box hid it. Test nowgit inits its temp dir; the synthetic "real stream" test is replaced by re-parsing the live run's captured stream. 2 passed against the real binary.parseMutationMarkers: all fourtest_not_in_diff).failedTestnow carries thecodex.test.ts >prefix; all fourvalid.Confirmed, no change needed: subprocess-not-SDK,
stdin: "ignore", detached group kill,ErrorItem-as-warning, resume drops-C; AC-5 dry-run printsDriver: codex×3; AC-8dist/grep → 0; 88 codex tests + 40 after the fix.Not PR defects: the branch's 2
doctorfailures were v2.15.0-vs-2.15.1 version drift (gone after merging main — same class as #1056, worth a follow-up since it recurs every release); the PR body's "3 pre-existing failures" trio and the currentversion-preflight.docs/tui/loadpair are ~5 s load timeouts that pass targeted — rotating set, not a regression.Carried as known, per the PR's design notes:
modelUsagekeyedcodex-defaultwhen unpinned; exit 0 with noturn.completedcounts as success; abort reports as timeout (cross-driver). None block node 2.