-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Codex runtime route is hard to verify after the 2026.6.1 openai-codex migration #90420
Copy link
Copy link
Closed
Closed
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
After the OpenClaw 2026.6.1 Codex migration, legacy
openai-codex/*model references are supposed to become canonicalopenai/*model references withagentRuntime.id = "codex".That route is functionally correct, but it is hard to verify from the model picker /
models.listsurface when the selected model visually looks like a plain OpenAI model. In a real upgrade, this made it easy to miss stale legacy route state in a live Telegram direct session.Real environment
2026.6.1upgrade path from a 5.x installopenai/gpt-5.5withagentRuntime.id = "codex"Actual behavior observed
A new smoke session could look healthy after migration, while the existing real Telegram direct/main session still failed with:
The stale route was not obvious from the model picker/model-list surface because the repaired route also appears as
openai/gpt-5.5unless runtime metadata is visible separately.Expected behavior
When a model choice is configured as an OpenAI model but routed through the Codex runtime, the Gateway/UI model surface should make that runtime visible while preserving the canonical selected model value.
For example, a repaired route should be observable as:
{ "provider": "openai", "id": "gpt-5.5", "name": "gpt-5.5", "agentRuntime": { "id": "codex", "source": "model", "label": "OpenAI Codex" } }This lets operators distinguish:
openai/gpt-5.5openai/gpt-5.5routed through Codexopenai-codex/*session/config stateWhy this matters
Without visible runtime metadata, the safe 6.1 migration path is harder to audit:
openai-codex/*state.openai/gpt-5.5unless runtime metadata is surfaced.This is an observability/diagnostic gap around a migration and runtime routing boundary, not a request to reintroduce
openai-codex/*as the user-facing provider route.Related work
PR #90328 proposes exposing configured model runtime metadata through
models.listand the model picker soopenai/gpt-5.5can showOpenAI Codexwhen it is routed through the Codex runtime.Related context: #84032, #90036, #90047.