Skip to content

fix(runtime): prepare only the Session-selected Harness - #12

Merged
sam2tom merged 2 commits into
betafrom
codex/selected-runtime-harness
Oct 6, 2026
Merged

sam2tom merged 2 commits into
betafrom
codex/selected-runtime-harness

Conversation

@sam2tom

@sam2tom sam2tom commented Oct 6, 2026 •

Copy link
Copy Markdown

A Core-managed Codex Session previously waited for Codex, MiniMax Code and Claude SDK discovery before its Runtime connected, even though all three were packaged only to share one template. Carry the owning Session’s immutable Harness through Runtime bootstrap and discover/register only that selection. Unknown or unavailable selections fail without probing another implementation; self-hosted installations retain their installed Harness set.

The bootstrap codec is version 2 with required harness. E2B and microsandbox helpers use version 3; node wire uses version 6 with exact, unique nested Bootstrap members. E2B’s managed launch file delivers the selection only inside RuntimeBootstrap. Core–Runtime wire, SQL/schema and native dependency pins are unchanged. Publish matching Core/helpers/new Runtime template together; node installations need matching nodes. Existing allocations retain their bootstrap and Runtime.

Codex still validates --version; safe process-spawn/wait timings distinguish its cold probe. Existing production diagnostic evidence showed serial discovery at 16.537 seconds and warm Codex version commands at 49.6/11.0 milliseconds. These are baseline observations, not acceptance or a latency claim for this change.

Validation: selected/unknown/unavailable discovery and strict startup/node codec tests (including race repeats), Provider regressions, Core–Runtime contract checks, 199 E2B Python tests against the pinned SDK, isolated PostgreSQL Session-selection/replay/suspension tests, vet, docs/name/translation checks and independent review. A fresh-template cloud execution test has not been performed.

CI passed all selected checks, including Core/Runtime, all store shards, official-client, compose/distribution, website and Linux/macOS/Windows platform checks. CI run.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@sam2tom
sam2tom merged commit c68a684 into beta Oct 6, 2026
56 of 60 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