Skip to content

[Bug][Codex App] keep-native-v1 stamps Sol as v1 but fresh Sol tasks still run V2 #2184

Description

@bluesmilery

Client or integration

Codex App

Area

Catalog / models

Summary

With multiAgentMode: "v2" and keepNativeChatGptOnV1: true, OpenCodex correctly stamps the native gpt-5.6-sol catalog row as multi_agent_version: "v1", but a fresh Codex App task using that model still starts with multi_agent_version: "v2".

As a result, spawning a routed xai/grok-4.6 child sends an encrypted V2 NEW_TASK and fails with unreadable_encrypted_agent_task.

I expected the fresh native Sol parent to use the V1 collaboration surface, as documented by the keep-native-v1 setting and implemented by PR #1728, while routed parents remain on V2.

This is distinct from the underlying encrypted V2 transport limitation in #92: the setting intended to avoid that native-parent V2 path is enabled and reflected in the catalog, but is not reflected in the runtime turn context.

Reproduction

  1. Configure OpenCodex:

    ocx v2 mode v2
    ocx v2 keep-native-v1 on
    ocx agent subagents set xai/grok-4.6,gpt-5.6-sol,gpt-5.6-terra,gpt-5.6-luna,zhipu/glm-5.3
    ocx sync --restart-codex
  2. Verify the effective OpenCodex status:

    multi_agent_v2: ON
    multi_agent_mode: v2
    keep_native_chatgpt_on_v1: ON
    
  3. Verify both the generated catalog and models_cache.json contain:

    {
      "slug": "gpt-5.6-sol",
      "multi_agent_version": "v1",
      "use_responses_lite": true
    }
  4. Fully restart the Codex App, create a new top-level task using native gpt-5.6-sol, and ask it to spawn xai/grok-4.6.

  5. Inspect the new parent task's turn_context.

    Actual:

    {
      "model": "gpt-5.6-sol",
      "multi_agent_version": "v2"
    }
  6. The child is created with xai/grok-4.6 and V2, then immediately fails before inference:

    unreadable_encrypted_agent_task
    Routed V2 worker task is encrypted for the native ChatGPT backend and cannot be read by the selected provider.
    

Timing ruled out a stale in-memory catalog in this reproduction: the catalog and model cache were refreshed before the Codex App app-server started, and the new task was created after that app-server start.

Potentially relevant: ocx status reports that OpenCodex is configured against Codex CLI 0.147.0, while the Codex App app-server reports 0.148.0-alpha.15, along with the warning that OpenCodex is using an older Codex binary.

Version

OpenCodex 2.27.0; Codex App embedded CLI 0.148.0-alpha.15; OpenCodex configured Codex runtime 0.147.0

Operating system

macOS 26.6.2 (25G83), Apple Silicon arm64

Provider and model

Parent: native OpenAI / gpt-5.6-sol; child: xAI / xai/grok-4.6

Logs or error output

multi_agent_v2: ON — v2 multi-agent surface active
multi_agent_mode: v2 — ALL models forced to v2 surface
keep_native_chatgpt_on_v1: ON — ChatGPT-native rows stay v1 when mode is v2

catalog: gpt-5.6-sol -> multi_agent_version=v1
parent turn_context: gpt-5.6-sol -> multi_agent_version=v2
child turn_context: xai/grok-4.6 -> multi_agent_version=v2

error.code=unreadable_encrypted_agent_task

Screenshots and supporting files

No attachments. The relevant redacted status, catalog metadata, parent turn context, and child error are included above.

Redacted configuration

{
  "multiAgentMode": "v2",
  "keepNativeChatGptOnV1": true,
  "subagentModels": [
    "xai/grok-4.6",
    "gpt-5.6-sol",
    "gpt-5.6-terra",
    "gpt-5.6-luna",
    "zhipu/glm-5.3"
  ]
}

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcatalogModel catalog, slugs, visibility, routed entries

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions