Skip to content

[ChatGPT Work Cloud] list_threads is exposed with local execution but fails #53177

Open

Description

@hanakannzashi

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

Mac desktop app: 26.1007.30912 (20156)

What subscription do you have?

Pro ($200/month)

What platform is your computer?

macOS 27.0.1 (arm64), using ChatGPT Work in Cloud mode.

What issue are you seeing?

When a ChatGPT Work Cloud conversation uses my Mac as its execution environment, the assistant can discover list_threads, but calling it fails:

MCP error -32000: Codex app tool request failed

When the execution environment is the cloud instead, list_threads is not exposed. The tool is available in Codex Local for accessing local conversations.

This report concerns ChatGPT Work in Cloud mode, not Codex Cloud or Codex Remote.

What steps can reproduce the bug?

  1. On the Mac, create a ChatGPT Work conversation in Cloud mode that uses the Mac as its execution environment.
  2. Ask the assistant to find a tool for listing conversations. It discovers list_threads.
  3. Ask it to call the tool. The call fails with the error above.
  4. Compare with a Work Cloud conversation whose execution environment is in the cloud: the tool is not available there.

What is the expected behavior?

Work Cloud should not expose this Codex Local tool merely because the execution environment is the user's computer. The advertised tools should match what the current conversation can actually call.

Additional information

Related: #52063 reports the same list_threads error with a Windows local executor.

Activity

  1. added
    bug
    app
    app-server
    tool-calls
    on Oct 11, 2026
  2. github-actions commented on Oct 11, 2026

    @github-actions
    Contributor
  3. TyceHerrman commented on Oct 14, 2026

    @TyceHerrman

    Possible duplicate of #52063 and/or #50551. all report native thread-tool failures from ChatGPT Work despite a working local executor.

    [The October 13 diagnostic comment on #50551](#50551 (comment)) identifies a capability check rejecting ChatGPT-originated calls, but its logs don’t prove the failed requests reached that check. #52063 likewise lacks a confirmed cause.

    A correlated trace of caller source, eligibility decision, and handler dispatch would clarify whether to consolidate them

  4. wendazhi commented on Oct 15, 2026

    @wendazhi

    Additional reproduction on macOS using a dot with a connected local executor, observed October 14–15, 2026.

    Current desktop version verified on October 15: 26.1007.71326 (20398). The previously verified version on October 14 was 26.1007.30912 (20156).

    Local execution works: dot-created tasks can read project files and run shell commands/tests. However, native codex_app list_threads/list_projects fail with -32000: Codex app tool request failed. read_thread also fails when given an exact existing local thread ID supplied by the user and hostId="local", so it does not depend on successful listing. send_message_to_thread previously returned the same error; delivery was not confirmed.

    Two bounded read-only reproductions on October 15:

    1. 12:05:04.841–12:06:05.399 UTC (approximately 60.6 seconds): read_thread returned the generic -32000 error. The same diagnostic-log window contained repeated durable WebSocket ETIMEDOUT, initialized=false, thread/read remote_unavailable / Codex app-server is not available, followed by The app tool call ended before producing a result.
    2. After the user enabled their existing proxy's TUN mode, 12:08:08.903–12:09:46.738 UTC (approximately 97.8 seconds): the same read_thread request still failed with -32000. The log window explicitly contained durable WebSocket failureReason=open_timeout, initialized=false, and thread/read remote_unavailable.

    Enabling TUN did not restore this particular reproduction. The underlying cause is not established: these are time-correlated log observations, not a fully correlated request trace. No request ID was returned, and the logged thread/read was not established to be the requested target. We are not claiming that proxy configuration, renderer readiness, eligibility checks, or the target conversation itself is the confirmed cause.

    No app restart, sign-out, or further network changes were performed during the diagnostic because development work was active. The practical impact is that local file work remains available while inspecting/coordinating an existing conversation is blocked.

    Is there a supported diagnostic to distinguish durable connection failures from native tool dispatch/eligibility failures, or a confirmed fixed build? A cause classification and correlation ID in the tool error would be helpful.

    Private thread IDs, project content, raw logs, network credentials, and tokens are intentionally omitted.

  5. savannahx0uybzri53ntk7c-tech commented on Oct 16, 2026

    @savannahx0uybzri53ntk7c-tech

    Additional reproduction on macOS, observed October 16, 2026.

    Verified desktop version: 26.1013.31256, build 20586. The built-in updater reports up_to_date for the installed production release channel.

    Behavior:

    • The account owner reports that a dot-created task on the connected Mac was created, executed, and returned its result, but mcp__codex_app__list_threads({}) failed with MCP error -32000: Codex app tool request failed.
    • In a native local Codex conversation on the same Mac, the same tool with {} succeeds and returns schemaVersion: 4, thread metadata, and sections with itemKeys. An explicit { "limit": 50 } call also succeeds.
    • Restarting the desktop app did not resolve the dot-side reproduction, according to the account owner.

    Local diagnostic observations:
    The desktop log contains:

    [dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed
    errorMessage="The app tool call ended before producing a result"
    method=tools/call
    

    The nearby log window also contains thread/read failures reporting Codex app-server is not available / remote_unavailable, as well as local-executor disconnect/recovery events. These observations are not a fully correlated trace of the original failing call and do not establish that networking, renderer eligibility, or any particular internal branch is the root cause.

    No application package, authentication settings, or network configuration was modified during this diagnostic. The practical impact is that connected-computer execution is available while native conversation discovery from the dot-managed task fails.

    Is there a supported recovery procedure or a confirmed fixed build for this execution-context difference? A diagnostic that distinguishes tool eligibility/dispatch failures from connection failures would help.

    Private task IDs, conversation titles/content, local paths, account details, raw logs, and credentials are intentionally omitted.

  6. derekt0309aijp-ux commented on Oct 17, 2026

    @derekt0309aijp-ux

    Additional observation from October 17, 2026, in a ChatGPT Work conversation with Windows/PowerShell execution metadata. The account owner reports selecting Cloud and explicitly requires cloud-only execution.

    The advertised app-management calls failed in this sequence:

    1. mcp__codex_app__create_thread with target: { "type": "chatgptWorkCloud" } returned:
      MCP error -32000: Codex app tool request failed
      
    2. The subsequent mcp__codex_app__list_threads({ "limit": 8 }) call returned the same error.

    No usable new task identity or confirmed creation result was obtained. Creation has not been repeated because its outcome could not be reconciled through listing. Other cloud-hosted connectors continued responding, which does not establish the health of the native app-tool path.

    The latest interaction was from the Android app (1.2026.279, Android 17). The desktop app version and effective Local computer access settings were not inspected. Windows metadata alone does not establish incorrect cloud placement: documented Work Cloud configurations can coordinate permitted local execution. It remains unknown whether this is tool eligibility/dispatch, connection state, task placement, or another failure. No local device, filesystem, terminal, settings, or permissions were accessed or changed during this diagnosis.

    Could maintainers clarify:

    • Are these native app-management tools supported from this Work context, including the explicitly advertised chatgptWorkCloud creation target?
    • Can the error distinguish unsupported caller/eligibility, dispatch, and connection failures, with a correlation ID?
    • How can the outcome of the failed creation be checked without creating duplicates?
    • What is the supported recovery for a strictly cloud-only workflow that preserves the existing task history and cloud-browser authentication?

    This appears related to this issue and the Windows report #52063, but a common root cause is not established. This is an observed incident sequence, not a deterministic clean-install reproduction.

    Posted at the account owner's request for OpenAI troubleshooting, after independent GPT-6 Astra review. Private task/session/account identifiers, local paths, business details, credentials, and raw logs are intentionally omitted.

  7. asoleymanidds commented on Oct 17, 2026

    @asoleymanidds

    Additional Windows ARM64 reproduction and source trace, checked October 17, 2026.

    Installed desktop: 26.1013.40934, build 20770, production channel. The configured in-app updater currently reports up_to_date.

    This separates a repaired startup problem from the remaining native Work dispatch failure:

    • Direct process observation showed the affected existing Work conversation launching codex_app through --interaction-client-id from an empty old codex-app-tools/0.1.5 cache directory. SYSTEMROOT was present and the process exited 1.
    • Restoring only the missing launcher/server entry files from the installed, block-map-verified OpenAI 0.1.6 payload restored real Node startup and native tool exposure in that same Work conversation, with its history retained.
    • In the actual post-repair Work turn on October 16, native list_threads({limit:1}) and a native read_thread of an authorized local source both failed with MCP -32000: Codex app tool request failed. They returned in approximately 108 and 110 milliseconds. Native sending was exposed but not attempted, and no return acknowledgment was sent.
    • The two calls correlate with desktop native-pipe errors at 20:47:02.651 and 20:47:02.759 UTC: "The app tool call ended before producing a result". Original Work and linked backing histories both contain the diagnostic prompt and reply.

    Current installed-source inspection finds that the legacy Work registration builder still supplies --interaction-client-id; the bundled server uses it to set callerSource to chatgpt. The sole packaged dynamic-app-tool provider found rejects that source before its ownership lookup. The main dispatcher can return null when no ready provider accepts a call, which is translated to the observed error. This fits the failure, but is not a live trace proving the exact capability branch taken for each call.

    There is also a registration-migration gap: native follow-ups reuse the saved conversation_execution_target; the Work composer can rebuild launcher settings using the current plugin summary but still selects the same caller route. Executor plugin refresh updates selected capability roots and does not visibly rewrite the saved per-message MCP override. No supported existing-session migration operation was exposed in the native app tools inspected here.

    Please identify or provide the supported repair for native two-way chat access from this existing authenticated Work conversation, preserving its history, account/workspace identity, approvals, and ownership validation. If the legacy route is obsolete, please provide an in-place registration migration. Hiding the tools or relaying through a separate local coordinator does not meet this use case.

    Acceptance should include successful native listing/reading, an explicitly authorized native return message with exact destination receipt, and successful operation after a normal subsequent turn/restart. Please also return a specific eligibility/dispatch error instead of the generic null-result wrapper.

    No private chat IDs, account identifiers, personal paths, credentials, business content, screenshots, or full logs are included. Current app code, caller identity and permissions were not patched. The earlier empty cache's cause remains unknown. No successful new Work round trip is claimed.

  8. yoactman commented on Oct 18, 2026

    @yoactman

    Additional Windows observation, checked October 18, 2026.

    Environment

    • ChatGPT Work with a local Windows executor (client_type: desktop_web, execution_target_kind: local_executor).
    • Installed AppxManifest package: OpenAI.Codex 26.1013.4894.0 (DisplayName: ChatGPT). This is the manifest version, not the version reported by the earlier ARM64 commenter.
    • Bundled codex-app-tools adapter: 0.1.6.

    Observed behavior after restarting ChatGPT

    list_threads({limit:100}), list_projects({}), a read of the current authorized conversation, and a usage-limits query all returned:

    MCP error -32000: Codex app tool request failed
    

    The native-pipe log recorded tools/call failures with:

    The app tool call ended before producing a result
    

    at 07:21:52.542Z, 07:21:52.631Z, 07:22:41.373Z, and 07:24:13.060Z on October 18. These timestamps bound the diagnostic window; they are not an end-to-end correlated trace.

    Read-only installed-source inspection

    • The bundled adapter sets callerSource: "chatgpt" when launched through --interaction-client-id.
    • In webview/assets/app-initial-5851df3f6cb1.js, LLu returns false for that caller source; GLu.canCallTool delegates to it.
    • In main-C4DYk222.js, the dispatcher can return null when no ready provider accepts the call, and the null-result path produces the observed native-pipe error and MCP -32000.

    This static chain is consistent with the failure; it does not prove that every branch was taken by the failing calls. Provider confirmation or a correlated runtime trace is still needed.

    Could maintainers confirm whether this existing Work route is supported and provide a fixed build or supported in-place repair/migration preserving conversation history, account identity, approvals, and ownership validation?

    Success would mean native listing and reading, followed by one explicitly authorized native message with verified destination receipt and acknowledgment, and continued operation after a subsequent turn/restart.

    No application packages, caller identity, permissions, or configuration were modified. No native inter-conversation message was sent in this diagnostic and no replacement conversation was created. Private identifiers, project content, personal paths, credentials, screenshots, and raw logs are omitted.

    Posted with the account owner's explicit authorization, after independent review of this sanitized report.

  9. Hasankp88 commented on Oct 20, 2026

    @Hasankp88

    Additional macOS observation checked on October 20, 2026.

    • Installed desktop: 26.1013.40934, build 20770, production channel. The built-in updater reports up_to_date.
    • An existing ChatGPT conversation reported codex_app.list_threads failing with MCP error -32000: Codex app tool request failed.
    • Control calls from an actual local Codex conversation succeeded: native list_threads with limits 1 and 50, followed by native read_thread of an authorized local conversation.
    • Read-only inspection of this installed macOS build finds the same renderer capability check described in the earlier Windows comments: LLu immediately returns false for callerSource === "chatgpt". The main dispatcher can return null when no capable provider accepts the call; the native adapter maps that to the null-result error and MCP -32000.
    • Two native-pipe log entries on October 20 at 09:30:39.682Z and 10:35:16.545Z report The app tool call ended before producing a result. These entries omit tool name, caller source and call ID. They are not an end-to-end correlation of the original ChatGPT failure with the capability branch.

    The source branch is verified in a read-only extracted copy; no successful ChatGPT-origin native call is claimed. A separate custom stored-history connector works, but does not establish that this native route has been fixed.

    Please provide a supported native caller-registration/routing repair or a confirmed fixed build that preserves the existing conversation, account identity, approvals and ownership checks. Please also distinguish unsupported caller eligibility from a genuine connection failure in the returned error.

    Acceptance: the original ChatGPT context must successfully invoke native listing and read a returned authorized local thread's latest saved messages, and continue working on a subsequent turn. Local Codex success alone is insufficient.

    No application code, caller identity, permissions, credentials, database or native registration was modified. No private account or conversation identifiers, titles, filesystem paths, project content, screenshots or raw logs are included.

    Posted with the account owner's explicit authorization.

  10. pjmarz commented on Oct 25, 2026

    @pjmarz

    Adding a dated macOS comparison that is consistent with this Cloud/Local split.

    In an October 23, 2026 diagnostic of ChatGPT Work Cloud with Mac integration, native conversation listing (list_threads) was reported to fail with MCP -32000: Codex app tool request failed. The earlier diagnostic material identifies app version 26.1016.62342. The retrieved diagnostic summary preserves the error/result but not the full Cloud call arguments or error payload.

    Local Work listing with the supported limit of 50 and direct reads of known conversations succeeded. Later that evening, a separate Local Work investigation on installed app 26.1021.22027, build 21747, again successfully listed conversations and read the earlier diagnostic chats. Platform: macOS 27.0.1 (26A434), Apple Silicon.

    These observations must not be treated as a fresh Cloud failure on build 21747: no new Cloud call was initiated from that Local investigation. A separate invalid limit=100 validation error was corrected and is not the Cloud MCP -32000 failure.

    Please clarify whether native conversation-list/read tools are supported for Work Cloud with a local executor. If unsupported, the tools should not be advertised as callable; if supported, the error should identify the failed routing/eligibility condition and a supported recovery. Preserving existing conversations matters.

    I also observe missing conversation references in the Cloud composer, but have not established that this picker symptom and the runtime tool failure share a cause. Diagnostics were supplied privately to OpenAI Support; private identifiers, transcripts and raw logs are omitted here. Submitted with the user's explicit authorization.

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

    appapp-serverbugtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions