Skip to content

[Windows] Failed to create local tasks and list projects with dot #58669

Open

Description

@parkmusic2247-afk

Windows ChatGPT 앱에서 dot이 집 PC의 작업을 직접 실행하지 못합니다. 컴퓨터는 온라인이고 dot 작업 권한도 허용돼 있습니다.

앱 버전: 26.1027.30824
발생 시각: 2026-11-01 14:5514:56 KST (05:5505:56 UTC)
Windows 버전/빌드: 아직 확인하지 못했습니다.

재현 및 결과:

  1. dot에 연결·허용된 집 PC에서 읽기 전용 로컬 진단 작업 생성을 요청합니다.
  2. 작업이 시작되기 전에 DesktopTaskWorkspaceUnavailableError가 반환됩니다. 작업 ID는 받지 못했습니다.
  3. 같은 PC의 로컬 프로젝트 목록 조회도 DesktopProjectsUnavailableError로 실패합니다.

이미 시도한 조치:

  • 앱 업데이트 확인 및 종료 후 재실행
  • 기본 작업 위치와 명시적 작업 경로로 생성 시도
  • 연결 및 dot 작업 권한 상태 확인

별도로 노트북 원격 연결은 성공했고, 집 PC에서 노트북의 기존 대화 내용도 열립니다. 하지만 dot이 집 PC 자체에서 직접 실행하는 문제는 해결되지 않았습니다.

입력창에 /만 입력해도 피드백 메뉴가 나타나지 않아 도움말 → 의견 보내기로 제출했습니다. 해당 제출의 세션 ID는 확보하지 못했습니다.

기대 결과: 허용된 집 PC에서 로컬 작업 생성과 프로젝트 조회가 정상적으로 동작해야 합니다.

작업 생성 전 실패하는 경우 필요한 진단 자료와 비공개 로그 전달 경로를 안내해 주세요. 개인정보 보호를 위해 공개 이슈에는 원본 로그와 대화 기록을 첨부하지 않았습니다.

Activity

  1. added
    bug
    app
    windows-os
    dots
    on Nov 1, 2026
  2. changed the title [-][Windows] dot 로컬 작업 생성 및 프로젝트 조회 실패[/-] [+][Windows] Failed to create local tasks and list projects with dot[/+] on Nov 1, 2026
  3. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    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:5514:56 KST (05:5505:56 UTC)
    Windows version/build: I have not checked yet.

    Steps to reproduce and results:

    1. Ask dot to create a read-only local diagnostic task on the connected and authorized home PC.
    2. DesktopTaskWorkspaceUnavailableError is returned before the task starts. I did not receive a task ID.
    3. 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.

  4. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  5. SayakMukhopadhyay commented on Nov 11, 2026

    @SayakMukhopadhyay

    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.

  6. SayakMukhopadhyay commented on Nov 11, 2026

    @SayakMukhopadhyay

    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.

  7. SayakMukhopadhyay commented on Nov 12, 2026

    @SayakMukhopadhyay

    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:

    1. Fully quit ChatGPT, including its system-tray process.

    2. Backed up %USERPROFILE%\.codex\.codex-global-state.json.

    3. Changed this existing top-level property from true to false, preserving the rest of the file:

      "electron-windows-core-runtime-frameworks-enabled": false
    4. Relaunched ChatGPT.

    I checked the startup logs to confirm the change actually took effect:

    • coreGateEnabledAtStartup: false
    • Node runtimeSource: copied for consumer=resolver

    This is the pattern I observed:

    Startup mode Result
    Core enabled, Node runtimeSource: app-package Native codex_app tools unavailable; fallback reports MCP initialization failure
    Core disabled, Node runtimeSource: copied 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:

    %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\<hash>\bin\node.exe
    

    I compared the two Node executables. Both were version 24.22.1 and had the same SHA256:

    453DF3B07B00850B0D861AF0405003C65A64067C890102C14F1A16ECA8716657
    

    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.

  8. linyuan701 commented on Nov 20, 2026

    @linyuan701

    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.0 no longer works on 26.1117.3838.0 when the Windows build is >= 26200.9278.

    Side-by-Side Comparison (Same Account & Same MSIX Version)

    Item Machine A (Working) Machine B (Affected)
    Codex MSIX Version 26.1117.3838.0 26.1117.3838.0
    Windows 11 Build 26200.8457 (< 26200.9278) 26200.9711 (>= 26200.9278)
    Persisted electron-windows-core-runtime-frameworks-enabled false false
    Effective Startup Gate (windows_core_runtime_launch_selected) false coreGateEnabledAtStartup=true, selectedRuntimeSource=app-package
    CODEX_MCP_NODE_PATH in executor-plugins\codex-app-tools\.mcp.json %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\...\bin\node.exe (Node 24.22.3) WindowsApps\...\app\resources\cua_node\bin\node.exe (Node 24.22.3)
    Dot Session Tools (Matched Snapshot) 476 total (60/60 codex_app tools) 416 total (0/60 codex_app tools)
    Native Thread Read / Send from Dot 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

    1. 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.
    2. 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).
    3. No SystemRoot or file-lock errors: Unlike Windows: codex_app tools unavailable in dot-created tasks; recover after SystemRoot launcher workaround #50982, logs on Machine B show no SystemRoot, Connection closed, EBUSY, EPERM, or ENOENT errors during executor plugin setup. However, codex_app never reports ready for Dot tasks and exposes 0/60 tools.

    Ruled Out on Machine B

    • 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/60 codex_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?

  9. linyuan701 commented on Nov 20, 2026

    @linyuan701

    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.

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

    appbugdotswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions