Skip to content

Windows: durable codex_app MCP startup fails while local thread tools work (26.930.31730) #51000

Open

Description

@CooperGarth

What version of the Codex App are you using (From “About Codex” dialog)?

Desktop native tool reported 26.930.31730, build 12947, production channel. Cached official app-tools launcher: 0.1.5. The separate npm CLI was updated; its exact post-update version and relationship to the app runtime were not verified.

What subscription do you have?

Not included in this public diagnostic report.

What platform is your computer?

Windows, with the PC connected and authorized for dot tasks. Exact OS build not collected for this report.

What issue are you seeing?

My dot cannot read or message existing local Codex conversations, even though an ordinary Desktop-origin local conversation can use the native thread tools successfully. A dot-created Windows task runs commands, but lacks those native tools.

Related reports already describe the routing/tool-availability symptoms: #49862, #50704, and #50077. This report adds a host-specific MCP startup failure and a bounded Windows environment diagnostic. Please consolidate if these belong in an existing issue.

Observed controls and failures:

  • An ordinary local chat exposes mcp__codex_app__list_threads, mcp__codex_app__read_thread, and mcp__codex_app__send_message_to_thread. It successfully reads an existing local conversation with hostId=local.
  • Local-to-dot sending works, and the local chat can read the dot with hostId=durable.
  • Dot's cloud_threads.read on the same local conversations fails before returning contents. Depending on the target, the redacted error is post-cutover thread ID <redacted> has unsupported placement format version 1 or unsupported placement region 7 / 15.
  • Dot's direct cloud_threads.send_message to the exact local ID returns CloudThreadNotFoundError, NOT_FOUND.
  • Dot can create, send to, and read its own delegated Windows task. A basic command succeeds there, confirming that task execution is available. Its tool catalog lacks the native local thread list/read/send APIs.
  • Desktop diagnostics show codex_app MCP startup failing for hostId=durable, while hostId=local is ready. Sanitized error fields: error="MCP server failed to start." failureReason=null hostId=durable server=codex_app status=failed.

These observations do not establish that placement decoding, missing tool exposure, and MCP startup failure have a single cause.

What steps can reproduce the bug?

  1. Keep Codex Desktop open on an authorized, connected Windows PC with an existing local conversation.
  2. From an ordinary local chat, read that existing conversation through the native app tools using hostId=local.
  3. Ask the dot to read the same local conversation through its available task reader, and to send to that exact ID.
  4. Observe the placement-format/region rejection and NOT_FOUND result.
  5. Create a separate dot-delegated task on that PC. Confirm basic command execution works, then inspect its tool catalog for the native thread APIs.
  6. Compare the app's codex_app startup status for local and durable hosts.

Giving full filesystem permission and updating the separate npm CLI did not restore native tool exposure or the dot-to-local route.

What is the expected behavior?

An explicitly authorized existing local conversation should be accessible through the supported native route, preserving its identity and history. If that route is unavailable for this task origin, the error should identify the availability boundary and a supported recovery.

Additional information

Bounded environment diagnostic, not a confirmed root cause

A local diagnostic found that the installed official app-tools 0.1.5 launcher has no missing-SystemRoot fallback, and its inspected forwarded-environment list omits SystemRoot, TEMP, and TMP. All three are present in the ordinary shell. The actual failing desktop-spawned child's invocation and environment were not exposed, so their absence in that child has not been established.

In a standalone fixture, removing all three variables caused the bundled Node runtime to fail at ncrypto::CSPRNG(nullptr, 0) with exit code 134. Adding only a missing-SystemRoot fallback yielded exit code 0. This shows a possible failure mode, not the cause of the actual MCP startup failure.

A backed-up trial applied that fallback to the real launcher and requested one fresh turn of an existing delegated task. Native tools still did not appear. This was not a new-session or app-restart test, and does not establish whether a fresh MCP process used the changed launcher. The original launcher was then restored byte-for-byte and its hash verified. No instrumentation remains and no apps were restarted. Latest trial timestamp: 2026-10-05T02:39:41.958Z.

PR #50129, “Preserve Windows environment variables for remote MCP servers,” was merged on October 2. I have not verified that it is deployed in this app/runtime or that it explains this incident.

Could maintainers clarify:

  1. The supported dot-to-existing-local-conversation route and expected native tool availability in a delegated Windows task.
  2. Whether Preserve Windows environment variables for remote MCP servers #50129 is deployed in this build/runtime and applies to this launcher path.
  3. Which narrowly scoped startup diagnostics would distinguish environment filtering from capability provisioning or routing problems.

Related evidence:

Private account/device/thread identifiers, local paths, conversation contents, credentials, and raw logs are omitted. No attachments are included.

Activity

  1. added
    bug
    app
    windows-os
    mcp
    dots
    on Oct 5, 2026
  2. CooperGarth commented on Oct 5, 2026

    @CooperGarth
    Author

    Update: native local-task read/send recovered; direct cloud access still fails

    Retested on 2026-10-05, 14:02–14:11 Australia/Perth (06:02–06:11 UTC).

    The same existing dot-delegated Windows task now exposes mcp__codex_app__list_threads, mcp__codex_app__read_thread, and mcp__codex_app__send_message_to_thread.

    Verified recovery:

    • Native read_thread with hostId=local successfully returned recent turns from an independent troubleshooting conversation and three active local work conversations.
    • At approximately 14:11 Perth time, one native send_message_to_thread call with hostId=local accepted a diagnostic message without error.
    • A subsequent native read_thread returned a completed acknowledgment containing the matching test token from the target conversation. This verifies delivery and an acknowledged round trip, beyond send acceptance alone.

    Still failing:

    • The parent dot's own tool catalog still lacks the native local thread APIs.
    • Direct parent cloud_threads.read against the same local target still returns post-cutover thread ID <redacted> has unsupported placement region 15.

    No new launcher patch or configuration change was made for these successful tests. The earlier fallback trial had already been fully reverted, with the original launcher's hash verified. No polling workaround was used.

    An app update was reported, but the exact new app version and cause of recovery have not been independently verified. These results do not establish that #50129 caused the recovery or that the original durable MCP startup failure has been independently rechecked.

    Leaving this issue open: native read/send through the existing delegated local task now works, while direct parent cloud access remains broken. Private identifiers, the test token, paths, and conversation contents are omitted.

  3. jcolinpatrick commented on Oct 7, 2026

    @jcolinpatrick

    I’m experiencing the same failure on Windows. My PC is connected and authorized, but dot cannot read the existing local task I explicitly asked it to monitor.

    The direct read returns: “AppServerBackendRequestError: Client specified an invalid argument: post-cutover thread ID has unsupported placement region 7.”

    An existing delegated task previously read the target successfully, but its native local task-reading tools subsequently became unavailable. Reconnection has not restored either route. The last successful read was October 6 at 03:18 UTC; checks through October 7 at 12:49 UTC still failed.

    This prevents dot from retrieving results or confirming task completion. Could OpenAI confirm whether this is a tracked defect and provide a supported recovery that preserves the existing task and history? I can provide private diagnostic identifiers through an appropriate support channel.

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

    appbugdotsmcpwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions