Skip to content

Codex Desktop: active threads change effective model without a user action #37152

Open

Description

@harryshawk

Summary

Two active Codex Desktop threads appeared to change model without a user-initiated model selection. This is a report of unexpected per-thread model drift, not an intentional user model switch or a model-routing feature request.

Observed

  • Relay / coordination thread

    • Thread ID: 019fbf2d-6cdf-74d3-9ba9-b8649ce6931c
    • Observed change: 5.6 → 5.5
  • Implementation thread

    • Thread ID: 019fca93-ad62-70c3-a45b-388d652cbe2a
    • Observed change: Sol → Terra
  • Submission/message reference: 019fd38b-f728-7562-b453-fac2b23590f0

The two thread IDs are distinct. The reported issue is that the effective model for an existing thread changed on its own, rather than remaining pinned to the model selected by the user for that thread.

Expected behavior

  • A thread's selected/effective model should remain stable unless the user explicitly changes it.
  • If a backend fallback, migration, or policy requires a model change, Codex should make that change visible before the next turn, with the reason and the effective model.
  • Thread metadata, the model selector, and the model actually used for each turn should agree.
  • A silent change must not occur during long-running, delegated, or recovery work, where model continuity affects execution quality and predictability.

Actual behavior

The relay thread was observed as changing from 5.6 to 5.5, and the implementation thread from Sol to Terra, without a corresponding user-directed model change.

Impact

This undermines confidence in long-running threaded work. Model differences can change reasoning behavior, tool use, and delegation outcomes. It is especially difficult to diagnose when one thread coordinates work and another performs it.

Requested diagnostics

Please make the per-turn effective model and the reason for any change inspectable in the desktop UI and durable thread/session telemetry. A sanitized event trail should include:

  • thread ID
  • selected model before/after
  • effective model before/after
  • trigger/reason (user action, fallback, capacity policy, migration, etc.)
  • timestamp
  • submission/turn/message reference when applicable

I searched existing open openai/codex issues for automatic thread model changes and Sol/Terra model changes before filing. I found adjacent issues about model-change-triggered compaction and account switching, but not this silent per-thread model drift.

Activity

  1. added
    bug
    app
    session
    on Aug 5, 2026
  2. harryshawk commented on Aug 9, 2026

    @harryshawk
    Author

    Retracted correction from Harry Hawk/Codex implementation thread: this comment was posted to the wrong issue.

    The earlier text referred to a separate bug where a command appeared to enter a partially steered/stuck state and the user could not message the thread until it later cleared. It should not be treated as evidence that this model-change issue has resolved.

    Please disregard the prior content of this comment for this issue.

  3. nokiyliao commented on Sep 5, 2026

    @nokiyliao

    Correction: observed model reversion, with a confirmed cross-task override source

    Update after broader cross-task inspection: my earlier version of this comment overstated the causal evidence. The persisted sequence below is real, but it does not by itself establish a deterministic compaction/rehydration bug. The first reversion precedes the recorded compaction.

    Environment

    • ChatGPT/Codex Desktop: 26.901.31953 (CFBundleVersion 7868)
    • Codex CLI/runtime: 0.153.1
    • Platform: Darwin 25.6.0 arm64 arm
    • Affected task: 019fd83e-861a-7b62-a628-0e0ad2f88a27

    Observed persisted sequence (UTC)

    2026-09-05T01:11:49.874Z turn_context            model=gpt-5.6-sol effort=ultra
    2026-09-05T01:13:04.644Z thread_settings_applied model=gpt-6-astra effort=ultra
    2026-09-05T01:24:18.127Z thread_settings_applied model=gpt-5.6-sol effort=ultra
    2026-09-05T01:26:43.616Z thread_settings_applied model=gpt-5.6-sol effort=ultra
    2026-09-05T01:27:15.272Z compacted
    2026-09-05T01:27:15.274Z turn_context / thread_settings_applied model=gpt-5.6-sol effort=ultra
    

    New confirmed evidence
    An independent task sent several successful send_message_to_thread callbacks to this task with explicit model: "gpt-5.6-sol" and thinking: "ultra" arguments. My previous check covered only the recipient task's adjacent tool calls and therefore incorrectly excluded model-setting tool calls elsewhere. These explicit sender overrides are a verified source of settings writes; exact attribution of each timestamp above is not yet established.

    This means the observed reversion can involve our integration misuse of optional override fields. It is not sufficient evidence that the official application independently reverted the model. We have instructed callback senders to omit model and thinking unless changing the recipient's model is explicitly intended.

    Remaining product question
    It may still be useful to distinguish an explicit user-selected next-turn preference from a callback's execution preference, or make the settings-changing effect of callback overrides more visible. That is a product/integration design question, not a proven platform root cause in this report. Compaction causality remains unverified and would require a clean reproduction without sender overrides.

    Related discussion: #26930. No full rollouts are attached because they contain unrelated private task context. Please treat this as a corrected diagnostic observation, not a confirmed deterministic app defect.

  4. zerotosetta commented on Sep 8, 2026

    @zerotosetta

    Additional reproduction: child-only Daybreak Blue override appears to leak into the parent task

    I observed another instance of unexpected model drift in Codex Desktop, with a more specific possible trigger involving a subagent model override.

    Environment

    • Component: Codex Desktop in the macOS ChatGPT app
    • App version: 26.901.51231 (CFBundleVersion 8109)
    • macOS: 26.6.2 (25G83)
    • Date observed: 2026-09-09 (Asia/Seoul)

    Configuration and intent

    • The long-running parent/project-manager task was intended to remain on GPT-6 Astra.
    • The user had explicitly established a model policy: parent/project manager, planning, and AA tasks use Astra; other worker tasks use Sol or Luna.
    • During recovery from a stuck worker, one replacement child task was explicitly created with gpt-daybreak-blue-latest. That override was intended to apply only to the child task.
    • No user action changed the parent task to Daybreak Blue.

    Observed behavior

    • While continuing the long-running parent task after subagent coordination and context continuation/compaction, the parent task's model was shown as Daybreak Blue without a user selection.
    • The user noticed and reported the unexpected change immediately.
    • The child-only override is a plausible trigger, but causality is not yet proven.

    Expected behavior

    • A model override supplied when creating a child/subagent must remain scoped to that child.
    • The parent task's selected and effective model must remain Astra unless the user explicitly changes it.
    • The parent model selector, persisted thread settings, and per-turn effective model should agree.
    • If automatic fallback or migration changes the model, the UI should show the reason before the next turn.

    Impact

    This breaks an explicit project governance policy and makes long-running multi-agent work unpredictable. Different models were assigned intentionally by role, so a child model leaking into the parent changes the quality and behavior of the project-management task.

    Useful diagnostics to add

    • Record whether a model-setting event came from user selection, thread continuation, compaction, child creation, callback override, capacity fallback, or migration.
    • Include source task ID and destination task ID for every model-setting event.
    • Assert that spawn_agent/child creation model overrides cannot mutate parent thread settings.

    I am not attaching full session logs because they contain private repository and infrastructure context. The app can request a sanitized session reference if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions