You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Windows] Failed to create local tasks and list projects with dot #58669
appIssues related to the Codex desktop appbugSomething isn't workingdotsIssues involving setting up ChatGPT dots or managing their ongoing work.windows-osIssues related to Codex on Windows systems
In the Windows ChatGPT app, dot cannot run tasks directly on my home PC. The computer is online, and permission for dot tasks is enabled.
App version: 26.1027.30824
Time of occurrence: 2026-11-01 14:5514:56 KST (05:5505:56 UTC)
Windows version/build: I have not checked yet.
Steps to reproduce and results:
Ask dot to create a read-only local diagnostic task on the connected and authorized home PC.
DesktopTaskWorkspaceUnavailableError is returned before the task starts. I did not receive a task ID.
Listing local projects on the same PC also fails with DesktopProjectsUnavailableError.
Steps already tried:
Checked for app updates, then closed and relaunched the app
Tried creating tasks using both the default task location and an explicit task path
Checked the connection and dot task permission status
Separately, the remote connection to my laptop succeeded, and I can also open existing conversations from the laptop on my home PC. However, the problem with dot running tasks directly on the home PC itself remains unresolved.
The feedback menu did not appear even when I entered only / in the input box, so I submitted feedback through Help → Send feedback. I was unable to obtain the session ID for that submission.
Expected result: Local task creation and project listing should work normally on the authorized home PC.
Please provide guidance on the diagnostic information needed when a failure occurs before task creation, and on how to submit logs privately. To protect my privacy, I have not attached raw logs or conversation history to this public issue.
I have been facing this issue on my desktop for a while now. Dot is unable to post in already created threads but is able to create a new one. But the new thread is marked "cloud" and opening is throws an error "Failed to resume chat Invalid request: AbsolutePathBuf deserialized without a base path". The base path of the thread is like /tmp/codex-cloud-agent-c4b07ed884cb-hexadecimal-i-dont-know-might-be-secret/app_servers/thread_service/workspace/I:\my-drive\folder. It explicitly says that it cannot load some capabilities.
So, I tried spinning up an Azure Windows VM, and the same version of ChatGPT there has no issues. My dot is able to create, post and read existing threads. New threads there are local and not marked "cloud" and I can open Dot created threads without any errors.
I have been using the desktop app for the last 6 months and I am wondering if the multiple updates broke something in the config or cache or somewhere else in my local system.
Following up on my earlier comment. I spent several hours investigating this with dot and comparing my desktop with the working Azure Windows VM. I still haven't found the root cause. Reinstalling the desktop app and reconnecting the computer did not fix it either.
Here is what I know so far.
The current behaviour
My desktop connects to dot successfully, and dot can see its registered projects. It can also read a specific existing local thread through thread_management.read_thread when given the thread ID and the computer's environment ID.
But the native codex_app tools, including create_thread and send_message_to_thread, are missing from the available tool catalog after connecting to my desktop.
Dot also checked thread_management.send_message as an alternative. That interface requires an eligible target, and my existing local thread was absent from the complete listing filtered by supports_send_message: true. No send was attempted in that check, so there wasn't a send error or timeout.
Creating a local chat through the desktop UI, with This computer selected, works. Dot created a harmless test chat that way and received the expected reply. That only confirms the UI route works, not the direct integration.
On my Azure VM, the native tools are available, and dot can create local threads, read them and post messages in them.
What I compared
Both machines run Windows 11 Pro. After an update, both apps were on the same version. The subsequent comparison also found matching app/runtime/plugin files.
My desktop is on a Windows Insider 26H2 build, while the VM is on 25H2. This is a difference worth noting, but I don't have evidence that it causes the problem.
The codex-app-tools plugin is enabled on both machines. The ordinary desktop-local logs show it becoming ready. Earlier probes of the affected dot-side connection instead reported that the MCP connection closed during initialization.
The path investigation
I investigated the generated executor plugin path under %APPDATA%\Codex\web\Codex\executor-plugins\codex-app-tools and the physical MSIX LocalCache\Roaming location.
An instrumented launch reported that the expected relative launcher and server files weren't visible from the registered working directory. SystemRoot was present in that launch.
Initially, this looked like a promising lead. However, the working VM also showed the logical path as missing in an ordinary shell. So that shell check alone doesn't explain the difference.
I also tested temporarily changing only the registered working directory to the physical LocalCache path. The result changed to “unknown MCP server,” but the tools still didn't appear. Plugin-root containment validation appears relevant here, so this was neither a fix nor a conclusive test of the original path problem.
Some diagnostic command errors turned out to have quoting/path-syntax ambiguity. I'm not treating those as evidence that the original launcher is broken.
All temporary launcher and registration changes were restored and verified byte-for-byte. The temporary diagnostic files were removed.
Logs and Process Monitor
I captured startup activity on both machines with Process Monitor, filtered to the plugin paths. Both successfully read the cached plugin's server.mjs. Both showed similar missing ordinary AppData paths and Node path probes. There were no access-denied results among the plugin file events compared.
My desktop repeated the plugin preparation and server-file reads three times, compared with once on the VM. I couldn't establish whether that matters.
The application logs also showed planned executor restarts and transient plugin-preparation errors on both machines, followed by reconnection. Those weren't unique to the failing desktop.
The exported executor logs recorded processes exiting almost immediately, but lacked enough command and error-output detail to identify those processes as the failing codex_app launch. I still don't have a capture of the actual failing handshake or the final dot-side tool-registration result.
Is there a supported way to capture the dot-connected executor's MCP launch command, exit status/stderr, handshake result and resulting tool catalog?
At this point, attachment, project discovery, reading a specific local thread and creating chats through the UI work. The direct dot-side create/send tools remain unavailable. I haven't been able to establish which stage is responsible.
I also looked at #50982, #49562 and #60386 during this investigation, but I can't say that my issue has the same root cause.
Following up on my earlier comments. I now have a workaround that I can reproduce consistently.
I have repeated the comparison several times. Starting ChatGPT normally leaves dot unable to post to existing local threads. Starting it with one internal startup flag disabled restores that functionality.
Here is what I changed:
Fully quit ChatGPT, including its system-tray process.
Backed up %USERPROFILE%\.codex\.codex-global-state.json.
Changed this existing top-level property from true to false, preserving the rest of the file:
Native tools available and project listing succeeds
I also checked the generated CODEX_MCP_NODE_PATH. With the core runtime enabled, it points inside the installed WindowsApps package. With it disabled, it points to:
On my desktop, I then verified native project listing, local thread creation and posting a follow-up to that thread. Both turns completed successfully. The thread returned hostId: local, and I confirmed its rollout file existed under the desktop’s .codex\sessions directory with the correct Windows project directory.
I reproduced the project-listing difference on a fresh Azure Windows VM too. Copied-runtime mode worked. After restoring core-enabled/app-package startup, the native tools disappeared again and the fallback reported the initialization failure.
One thing I noticed: ChatGPT saves the flag as true again after launch, while the running session continues using the copied runtime. So the saved value checked later can differ from the value used at startup. I used the startup logs to distinguish them.
For this workaround, I changed only that setting. I left the MXC preference and primary-runtime flag unchanged, and used unmodified runtime binaries and MCP server files.
System information from these tests:
ChatGPT package:26.1106.6628.0
Bundled Codex CLI:0.167.0-alpha.4.1
codex-app-tools:26.1106.51428
Node:24.22.1
Desktop: Windows 11 Pro Insider, build 26320.9877
Azure VM: Windows 11 Pro 25H2, build 26200.9974
The workaround has consistently restored local-thread functionality on my desktop. I still haven’t isolated the exact underlying failure in the core-enabled startup path.
Confirming this on MSIX 26.1117.3838.0, with an important regression update: the .codex-global-state.json workaround (electron-windows-core-runtime-frameworks-enabled: false) that worked on 26.1106.6628.0no longer works on 26.1117.3838.0 when the Windows build is >= 26200.9278.
Side-by-Side Comparison (Same Account & Same MSIX Version)
Works via codex_app.read_thread / codex_app.send_message_to_thread
Falls back to thread_management.read_thread (read-only); codex_app.* completely missing
Key Findings
OS build gate overrides the persisted false flag: On 26.1117.3838.0, the startup code forces the Windows Core Runtime gate to true for MSIX builds with bundled Core Runtime on Windows builds >= 26200.9278, even when .codex-global-state.json explicitly has electron-windows-core-runtime-frameworks-enabled: false. There appears to be no supported env var or config flag to override this OS version gate back to the copied runtime.
Executor plugin files are identical except CODEX_MCP_NODE_PATH: Under %LOCALAPPDATA%\Packages\OpenAI.Codex_*\LocalCache\Roaming\Codex\web\Codex\executor-plugins\codex-app-tools\, both launch_codex_app_tools_mcp.cmd (1,289 bytes, matching SHA-256) and server.mjs are byte-for-byte identical across both machines. After normalizing the user path and CODEX_MCP_NODE_PATH, .mcp.json is also identical (codex_app.enabled=true, DEFERRED=1, caller=durable).
Full quit (verified zero remaining ChatGPT/Codex processes in Task Manager) and cold restarts.
Signing out/in and unlinking/re-linking the computer multiple times.
Creating brand-new Dot local tasks (still 0/60codex_app tools).
Single-variable test switching Windows sandbox mode from unelevated to elevated (matching Machine A) + cold restart (still 0/60, reverted afterwards).
Since 26.1117.3838.0 now forces app-package on Windows >= 26200.9278 while app-package still breaks codex_app tool registration for durable Dot tasks, affected users on recent Windows builds no longer have a working workaround. Could the team either fix codex_app registration under app-package or provide a way to honor electron-windows-core-runtime-frameworks-enabled: false until it's fixed?
Adding a version-rollback A/B check on the same account for sending messages to existing native Codex threads:
26.1103.4239.0 (Nov 6 UTC): Works
26.1106.6628.0 (Nov 11 UTC): Works; rolling back to this build restores sending to existing native threads
26.1111.2228.0 (Nov 13 UTC): Fails (also observed on 26.1117.3838.0)
Note that codex-app-tools showed version 26.1111.21308, which tracks the plugin build rather than proving a single isolated release on its own, and the bundled core also advanced to 0.169.0-alpha.11.1. Full rollback notes are posted in #49862.
appIssues related to the Codex desktop appbugSomething isn't workingdotsIssues involving setting up ChatGPT dots or managing their ongoing work.windows-osIssues related to Codex on Windows systems
Activity
[-][Windows] dot 로컬 작업 생성 및 프로젝트 조회 실패[/-][+][Windows] Failed to create local tasks and list projects with dot[/+]github-actions commentedon Nov 1, 2026
English translation:
In the Windows ChatGPT app, dot cannot run tasks directly on my home PC. The computer is online, and permission for dot tasks is enabled.
App version: 26.1027.30824
Time of occurrence: 2026-11-01 14:55
14:56 KST (05:5505:56 UTC)Windows version/build: I have not checked yet.
Steps to reproduce and results:
Steps already tried:
Separately, the remote connection to my laptop succeeded, and I can also open existing conversations from the laptop on my home PC. However, the problem with dot running tasks directly on the home PC itself remains unresolved.
The feedback menu did not appear even when I entered only / in the input box, so I submitted feedback through Help → Send feedback. I was unable to obtain the session ID for that submission.
Expected result: Local task creation and project listing should work normally on the authorized home PC.
Please provide guidance on the diagnostic information needed when a failure occurs before task creation, and on how to submit logs privately. To protect my privacy, I have not attached raw logs or conversation history to this public issue.
github-actions commentedon Nov 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
SayakMukhopadhyay commentedon Nov 11, 2026
I have been facing this issue on my desktop for a while now. Dot is unable to post in already created threads but is able to create a new one. But the new thread is marked "cloud" and opening is throws an error "Failed to resume chat Invalid request: AbsolutePathBuf deserialized without a base path". The base path of the thread is like
/tmp/codex-cloud-agent-c4b07ed884cb-hexadecimal-i-dont-know-might-be-secret/app_servers/thread_service/workspace/I:\my-drive\folder. It explicitly says that it cannot load some capabilities.So, I tried spinning up an Azure Windows VM, and the same version of ChatGPT there has no issues. My dot is able to create, post and read existing threads. New threads there are local and not marked "cloud" and I can open Dot created threads without any errors.
I have been using the desktop app for the last 6 months and I am wondering if the multiple updates broke something in the config or cache or somewhere else in my local system.
SayakMukhopadhyay commentedon Nov 11, 2026
Following up on my earlier comment. I spent several hours investigating this with dot and comparing my desktop with the working Azure Windows VM. I still haven't found the root cause. Reinstalling the desktop app and reconnecting the computer did not fix it either.
Here is what I know so far.
The current behaviour
My desktop connects to dot successfully, and dot can see its registered projects. It can also read a specific existing local thread through
thread_management.read_threadwhen given the thread ID and the computer's environment ID.But the native
codex_apptools, includingcreate_threadandsend_message_to_thread, are missing from the available tool catalog after connecting to my desktop.Dot also checked
thread_management.send_messageas an alternative. That interface requires an eligible target, and my existing local thread was absent from the complete listing filtered bysupports_send_message: true. No send was attempted in that check, so there wasn't a send error or timeout.Creating a local chat through the desktop UI, with This computer selected, works. Dot created a harmless test chat that way and received the expected reply. That only confirms the UI route works, not the direct integration.
On my Azure VM, the native tools are available, and dot can create local threads, read them and post messages in them.
What I compared
Both machines run Windows 11 Pro. After an update, both apps were on the same version. The subsequent comparison also found matching app/runtime/plugin files.
My desktop is on a Windows Insider 26H2 build, while the VM is on 25H2. This is a difference worth noting, but I don't have evidence that it causes the problem.
The
codex-app-toolsplugin is enabled on both machines. The ordinary desktop-local logs show it becoming ready. Earlier probes of the affected dot-side connection instead reported that the MCP connection closed during initialization.The path investigation
I investigated the generated executor plugin path under
%APPDATA%\Codex\web\Codex\executor-plugins\codex-app-toolsand the physical MSIXLocalCache\Roaminglocation.An instrumented launch reported that the expected relative launcher and server files weren't visible from the registered working directory.
SystemRootwas present in that launch.Initially, this looked like a promising lead. However, the working VM also showed the logical path as missing in an ordinary shell. So that shell check alone doesn't explain the difference.
I also tested temporarily changing only the registered working directory to the physical LocalCache path. The result changed to “unknown MCP server,” but the tools still didn't appear. Plugin-root containment validation appears relevant here, so this was neither a fix nor a conclusive test of the original path problem.
Some diagnostic command errors turned out to have quoting/path-syntax ambiguity. I'm not treating those as evidence that the original launcher is broken.
All temporary launcher and registration changes were restored and verified byte-for-byte. The temporary diagnostic files were removed.
Logs and Process Monitor
I captured startup activity on both machines with Process Monitor, filtered to the plugin paths. Both successfully read the cached plugin's
server.mjs. Both showed similar missing ordinary AppData paths and Node path probes. There were no access-denied results among the plugin file events compared.My desktop repeated the plugin preparation and server-file reads three times, compared with once on the VM. I couldn't establish whether that matters.
The application logs also showed planned executor restarts and transient plugin-preparation errors on both machines, followed by reconnection. Those weren't unique to the failing desktop.
The exported executor logs recorded processes exiting almost immediately, but lacked enough command and error-output detail to identify those processes as the failing
codex_applaunch. I still don't have a capture of the actual failing handshake or the final dot-side tool-registration result.Is there a supported way to capture the dot-connected executor's MCP launch command, exit status/stderr, handshake result and resulting tool catalog?
At this point, attachment, project discovery, reading a specific local thread and creating chats through the UI work. The direct dot-side create/send tools remain unavailable. I haven't been able to establish which stage is responsible.
I also looked at #50982, #49562 and #60386 during this investigation, but I can't say that my issue has the same root cause.
SayakMukhopadhyay commentedon Nov 12, 2026
Following up on my earlier comments. I now have a workaround that I can reproduce consistently.
I have repeated the comparison several times. Starting ChatGPT normally leaves dot unable to post to existing local threads. Starting it with one internal startup flag disabled restores that functionality.
Here is what I changed:
Fully quit ChatGPT, including its system-tray process.
Backed up
%USERPROFILE%\.codex\.codex-global-state.json.Changed this existing top-level property from
truetofalse, preserving the rest of the file:Relaunched ChatGPT.
I checked the startup logs to confirm the change actually took effect:
coreGateEnabledAtStartup: falseruntimeSource: copiedforconsumer=resolverThis is the pattern I observed:
runtimeSource: app-packagecodex_apptools unavailable; fallback reports MCP initialization failureruntimeSource: copiedI also checked the generated
CODEX_MCP_NODE_PATH. With the core runtime enabled, it points inside the installed WindowsApps package. With it disabled, it points to:I compared the two Node executables. Both were version
24.22.1and had the same SHA256:On my desktop, I then verified native project listing, local thread creation and posting a follow-up to that thread. Both turns completed successfully. The thread returned
hostId: local, and I confirmed its rollout file existed under the desktop’s.codex\sessionsdirectory with the correct Windows project directory.I reproduced the project-listing difference on a fresh Azure Windows VM too. Copied-runtime mode worked. After restoring core-enabled/app-package startup, the native tools disappeared again and the fallback reported the initialization failure.
One thing I noticed: ChatGPT saves the flag as
trueagain after launch, while the running session continues using the copied runtime. So the saved value checked later can differ from the value used at startup. I used the startup logs to distinguish them.For this workaround, I changed only that setting. I left the MXC preference and primary-runtime flag unchanged, and used unmodified runtime binaries and MCP server files.
System information from these tests:
26.1106.6628.00.167.0-alpha.4.126.1106.5142824.22.126320.987726200.9974The workaround has consistently restored local-thread functionality on my desktop. I still haven’t isolated the exact underlying failure in the core-enabled startup path.
linyuan701 commentedon Nov 20, 2026
Confirming this on MSIX
26.1117.3838.0, with an important regression update: the.codex-global-state.jsonworkaround (electron-windows-core-runtime-frameworks-enabled: false) that worked on26.1106.6628.0no longer works on26.1117.3838.0when the Windows build is>= 26200.9278.Side-by-Side Comparison (Same Account & Same MSIX Version)
26.1117.3838.026.1117.3838.026200.8457(< 26200.9278)26200.9711(>= 26200.9278)electron-windows-core-runtime-frameworks-enabledfalsefalsewindows_core_runtime_launch_selected)falsecoreGateEnabledAtStartup=true,selectedRuntimeSource=app-packageCODEX_MCP_NODE_PATHinexecutor-plugins\codex-app-tools\.mcp.json%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\...\bin\node.exe(Node24.22.3)WindowsApps\...\app\resources\cua_node\bin\node.exe(Node24.22.3)476total (60/60codex_apptools)416total (0/60codex_apptools)codex_app.read_thread/codex_app.send_message_to_threadthread_management.read_thread(read-only);codex_app.*completely missingKey Findings
falseflag: On26.1117.3838.0, the startup code forces the Windows Core Runtime gate totruefor MSIX builds with bundled Core Runtime on Windows builds>= 26200.9278, even when.codex-global-state.jsonexplicitly haselectron-windows-core-runtime-frameworks-enabled: false. There appears to be no supported env var or config flag to override this OS version gate back to thecopiedruntime.CODEX_MCP_NODE_PATH: Under%LOCALAPPDATA%\Packages\OpenAI.Codex_*\LocalCache\Roaming\Codex\web\Codex\executor-plugins\codex-app-tools\, bothlaunch_codex_app_tools_mcp.cmd(1,289 bytes, matching SHA-256) andserver.mjsare byte-for-byte identical across both machines. After normalizing the user path andCODEX_MCP_NODE_PATH,.mcp.jsonis also identical (codex_app.enabled=true,DEFERRED=1,caller=durable).SystemRootor file-lock errors: Unlike Windows: codex_app tools unavailable in dot-created tasks; recover after SystemRoot launcher workaround #50982, logs on Machine B show noSystemRoot,Connection closed,EBUSY,EPERM, orENOENTerrors during executor plugin setup. However,codex_appnever reportsreadyfor Dot tasks and exposes0/60tools.Ruled Out on Machine B
0/60codex_apptools).unelevatedtoelevated(matching Machine A) + cold restart (still0/60, reverted afterwards).Since
26.1117.3838.0now forcesapp-packageon Windows>= 26200.9278whileapp-packagestill breakscodex_apptool registration fordurableDot tasks, affected users on recent Windows builds no longer have a working workaround. Could the team either fixcodex_appregistration underapp-packageor provide a way to honorelectron-windows-core-runtime-frameworks-enabled: falseuntil it's fixed?linyuan701 commentedon Nov 20, 2026
Adding a version-rollback A/B check on the same account for sending messages to existing native Codex threads:
26.1103.4239.0(Nov 6 UTC): Works26.1106.6628.0(Nov 11 UTC): Works; rolling back to this build restores sending to existing native threads26.1111.2228.0(Nov 13 UTC): Fails (also observed on26.1117.3838.0)Note that
codex-app-toolsshowed version26.1111.21308, which tracks the plugin build rather than proving a single isolated release on its own, and the bundled core also advanced to0.169.0-alpha.11.1. Full rollback notes are posted in #49862.