Skip to content

[Windows][Desktop] ChatGPT project mirror sync fails after Work helpers occupy mirror directory #45596

Open

Description

@djvankessel

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

26.908.9136.0

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

A ChatGPT project in Work can successfully create and run one local conversation, but creating another conversation in the same project subsequently fails with:

Could not use this project for a local chat

What steps can reproduce the bug?

  1. Open an existing ChatGPT project in Work.
  2. Immediately submit test.
  3. A local Work conversation is successfully created and completes normally.
  4. Without restarting the Codex App, create another new Work chat in the same project.
  5. The second attempt fails with Could not use this project for a local chat.

Investigation

I performed a read-only investigation of the Desktop logs, app-server logs, project mirrors, running helper processes, Windows directory handles, and the installed application code.

The evidence strongly indicates a Windows directory-sharing conflict:

  • Project synchronization successfully replaces the local project mirror.
  • Work/prewarming then starts helper processes that use that mirror directory as their working directory.
  • A subsequent project synchronization attempts to replace the same mirror.
  • The helpers still occupy the directory.
  • A handle-only rename-access probe on the affected mirror returns Windows error 32 (sharing violation).
  • Desktop then logs project synchronization failure at stage=filesystem.
  • The user-visible error is Could not use this project for a local chat.

A Windows reboot does not permanently resolve the issue because Desktop can recreate the locking condition during the fresh session.

The affected project itself does not appear corrupt: its mirror, metadata, permissions and mappings are valid, and it successfully created and completed a Work conversation during the controlled test.

The exact failing filesystem syscall is inferred rather than directly logged because the original native filesystem exception is not preserved in the Desktop log.

I have a sanitized diagnostic package containing the full technical report, reproduction steps, evidence index, and minimal relevant log extracts.

What is the expected behavior?

Should be able to start a new chat

Additional information

codex-desktop-bug-report.zip

Activity

  1. added
    app
    on Sep 15, 2026
  2. added
    bug
    windows-os
    on Sep 15, 2026
  3. github-actions commented on Sep 15, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. jaywking commented on Sep 22, 2026

    @jaywking

    Independent reproduction on the current Windows desktop build confirms the same app-created helper/CWD sequence.

    Environment

    • OpenAI.Codex package: 26.915.4065.0
    • Desktop build: 9922, commit 0242453bc53bf3fc686ef2bc0f8365b71d9d3900
    • Codex CLI: 0.155.0-alpha.9.2
    • Windows 11 Pro 25H2, build 26200.9457, x64

    Clean-start reproduction

    1. Exited the desktop app normally and relaunched it.
    2. Confirmed that all previously observed project-bound helper PIDs had exited. Before retrying, no inspected process had a working directory under .codex\.chatgpt-projects.
    3. Started one new Local Work chat from an existing ChatGPT Project.
    4. At 2026-09-22T00:08:45Z, Desktop recreated the affected project mirror and started these helpers with their working directory set to that mirror:
      • node.exe running @oai/cua-repl
      • one direct node_repl.exe child of the app server
      • one node_repl.exe child of the CUA Node process
    5. Six seconds later, Desktop logged:

    2026-09-22T00:08:51.794Z ChatGPT project context sync failed sourceCount=0 syncFileCount=0 projectSaveCount=0 stage=filesystem status=null

    It repeated at 00:08:58.734Z, followed by submissionKind=new_thread outcome=failure reason=submit_failed. The UI displayed “Could not sync ChatGPT project context” and “Could not use this project for a local chat.”

    Additional checks

    • The mirror and metadata appeared structurally normal.
    • No Word, Excel, PDF application, editor, Git process, or terminal was found using the mirror.
    • An exclusive-open probe found no file-level sharing conflict; the relevant evidence is the helpers' project-mirror working directories.
    • No Unknown local project, prewarm failure, fileDownloadRequest, or context-download error was present.
    • The Desktop log did not preserve the original native filesystem exception or exact failing syscall.

    This appears to confirm that a full restart is not a durable workaround: a clean Project → Local Work attempt can recreate the mirror-bound helpers before synchronization completes, reintroducing the locking/race condition itself. No configuration, mirror, or Project files were modified during this diagnosis.

  5. s1nack commented on Sep 23, 2026

    @s1nack

    Independent reproduction on a newer Windows build, with a minimal workaround that immediately restores the failing flow.

    Environment

    • Windows: Microsoft Windows NT 10.0.26200 x64
    • ChatGPT/Codex Windows Store package: OpenAI.Codex_26.917.6896.0_x64__2p2nqsd0c76g0
    • Internal browser/runtime release observed in logs: 26.917.51856
    • Desktop build number: 10492
    • Local app-server: 0.155.0-alpha.16
    • Subscription: ChatGPT Pro Lite
    • ChatGPT Project memory mode: Open (not project-only / isolated memory)
    • WSL2 is installed and Ubuntu is running, but this reproduction is in the normal Windows-local Work flow.

    Reproduction

    1. Open an existing ChatGPT Project in the Windows desktop app.
    2. Start a new Work / local chat inside that Project.
    3. Submit any prompt.
    4. UI fails with: “Could not use this project for a local chat.”
    5. Reproduces consistently before the workaround below.

    Relevant logs

    Immediately before failure, the local Work thread starts successfully and node_repl reaches ready:

    mcp_server_startup_status_updated ... server=node_repl status=starting
    mcp_server_startup_status_updated ... server=node_repl status=ready
    

    Then the Project-context sync fails:

    ChatGPT project context sync failed
    fileOrdinal=null
    projectSaveCount=0
    sourceCount=0
    stage=filesystem
    status=null
    syncFileCount=0
    

    The submission then ends with:

    name=turn_first_response_visible
    outcome=failure
    reason=submit_failed
    

    There are also repeated filesystem metadata failures in the same session:

    method=fs/getMetadata
    errorCode=-32603
    message="The specified path cannot be found. (os error 3)"
    source=filesystem
    

    Workaround that fixes it immediately

    Without changing the Project, memory settings, or app configuration, run:

    Get-Process node_repl -ErrorAction SilentlyContinue | Stop-Process -Force

    Then immediately retry creating the Work/local chat in the same ChatGPT Project.

    Result: it works.

    This strongly supports the same Windows helper / project-mirror locking mechanism described in this issue. In this reproduction, the Project itself is valid, memory mode is Open, and node_repl is healthy enough to start and report ready; terminating the already-running node_repl.exe processes is sufficient to unblock the next Project-context sync.

    I can provide additional sanitized log excerpts if useful.

  6. moonligtsakura-del commented on Sep 23, 2026

    @moonligtsakura-del

    Additional reproduction / workaround data from Windows Desktop.

    I encountered the same “Could not use this project for a local chat” behavior and found a different Project setup that appears to bypass the failing path.

    What did NOT work

    Simply creating another Local Work inside my existing ChatGPT Project did not reliably provide the expected local project access.

    In another test, ChatGPT created a separate Work directory under:

    C:\Users\<username>\Documents\Codex\...

    rather than using the Windows folder I intended as the shared project root.

    What worked

    I created a completely new Project and configured it as follows:

    1. Create a new Project in ChatGPT Desktop for Windows.
    2. During Project creation, add a normal user-managed Windows folder under Source folder.
    3. Example:
      C:\Users\<username>\Documents\MY_PROJECT_FOLDER
    4. Accept the “Trust this folder?” prompt.
    5. Open the new Project.
    6. Switch to Work.
    7. Select “On your computer”.
    8. Create a new Local Work.

    Verification

    I tested two independent Local Works using the same Project and Source folder.

    Verified behavior:

    • Local Work A could read existing files in the actual Windows Source folder.
    • Local Work A modified a test file.
    • The modification was written back to the real Windows file.
    • A newly created Local Work B in the same Project immediately saw the modified file.
    • I also compared SHA-256 hashes during the test to verify file identity/change.

    The resulting workflow was effectively:

    Local Work A -> shared Windows Source folder -> Local Work B

    Important limitation

    I am not claiming that this repairs the affected existing Project, or that it fixes the underlying bug.

    The successful test required creating a new Project with the Source folder attached and trusted during Project creation.

    This makes me wonder whether there are two meaningfully different paths here:

    • existing/normal ChatGPT Project -> local project mirror/sync
    • Source-folder-backed Project -> trusted user-managed Windows folder -> Local Work

    If so, the second path may avoid at least part of the project-mirror synchronization failure described in this issue.

    Tested on ChatGPT Desktop for Windows on September 22, 2026.

  7. hawkeyeomi commented on Sep 24, 2026

    @hawkeyeomi

    Reproducible Windows ChatGPT Work issue: second local handoff in same Project fails after first task
    I can reproduce this consistently in the ChatGPT Windows desktop app when using local Work inside the same ChatGPT Project.
    Steps to reproduce

    1. Open an existing ChatGPT Project in the Windows desktop app.
    2. Start a Work handoff/local Work chat.
    3. Let that Work task complete.
    4. Try to start a second Work handoff in the same Project.
    5. The second handoff fails.
    6. Fully restarting the ChatGPT desktop app restores the ability to start a Work handoff again.
      Process Explorer findings
      After the first Work task completed, I searched the affected project mirror with Microsoft Process Explorer:
      C:\Users<username>.codex.chatgpt-projects<project-id>
      I found multiple node_repl.exe processes holding handles inside that project directory. In one reproduction there were also node.exe and codex.exe processes attached to the project mirror.
      I tested killing only the stale project-specific node_repl.exe processes after confirming no Work task was running.
      In one case, clearing those processes allowed another Work handoff to succeed without restarting ChatGPT.
      In another case, after killing the node_repl.exe processes, only codex.exe remained attached to the project directory and the second handoff still failed. Restarting the ChatGPT desktop app then restored the handoff.
      I reproduced the sequence multiple times:
      restart app → first Work handoff succeeds → task completes → second handoff fails
      The local helper processes appear to remain associated with the Project after task completion.
      Expected behavior
      Once a Work task finishes, its local runtime/helper processes should release the Project mirror so another Work handoff can start immediately.
      Observed workaround
    • Full ChatGPT desktop restart reliably restores one successful Work handoff.
    • Killing stale project-specific node_repl.exe processes sometimes restores the next handoff without restarting.
      Possible failure mode
      This looks consistent with a stale local runtime/project-mirror state on Windows. A completed Work task appears to leave handles open under .codex.chatgpt-projects<project-id>, and the next local-chat initialization/sync then fails.
      I have Process Explorer screenshots showing the relevant node_repl.exe, node.exe, and codex.exe handles and can provide them if useful.
      In-app Feedback ID: no-active-thread-01a0d568-3c21-7f13-b8b9-23a8a670617f
    Image Image
  8. funahashiyuji0331-sketch commented on Sep 25, 2026

    @funahashiyuji0331-sketch

    Additional recurrence on 2026-09-25 with the Windows ARM64 desktop package OpenAI.Codex 26.917.9434.0. This is a follow-up to the September 24 evidence already posted in this issue. The affected user authorized this sanitized update; no project names, user paths, conversation content, IDs, or credentials are included.

    • A new local Work submission in an existing ChatGPT Project again failed while project-context sync was replacing the local mirror. The guard observed a Windows sharing violation when attempting to move the freshly recreated mirror root.
    • This time the exact holder was identified: a newly launched direct node_repl.exe child of the desktop app-server had an open directory handle on that mirror root. It started during the short interval after the app created the new root and before a local protective workaround could relocate it. After confirming that helper had no child process or new Work task attached, stopping only that identified helper allowed the root to be protected and the user's retry succeeded. This is diagnostic evidence, not a recommendation to terminate all node_repl.exe processes or active tasks.
    • The app update had regenerated the node_repl launch configuration with a versioned direct runtime path, undoing the previous local launch-path workaround. A later successful Work submission started another direct node_repl.exe from the still-running app-server. Local configuration repair therefore cannot be treated as a product fix; its effect after a safe app restart remains unverified.
    • The underlying failure mode remains: replacing the entire project mirror conflicts with helpers or tasks holding that directory on Windows. Please keep the project/task working root stable, update only app-managed context files, coordinate repeated syncs with helper lifecycle, and preserve the native filesystem operation/error in diagnostics.

    The same user's send eventually succeeded after local recovery, but repeated success on retry is not resolution of this bug.

  9. drivxthru-debug commented on Sep 25, 2026

    @drivxthru-debug

    Independent reproduction on Windows x64 with the Microsoft Store desktop package OpenAI.Codex_26.917.9434.0_x64__2p2nqsd0c76g0 (observed internal release 26.917.71314). The affected user authorized this sanitized report. No project names/IDs, user paths, conversation content, or full logs are included.

    • Several existing ChatGPT cloud Projects fail in the desktop app with “Could not use this project for a local chat.” The same Projects work on the web. Projects backed by ordinary local PC folders work in the desktop app.
    • The desktop logs repeatedly contain ChatGPT project context sync failed ... stage=filesystem. I saw this for a Project with sourceCount=1 and another with sourceCount=0.
    • To test recovery, I moved one app-generated local Project mirror to a backup location. A local chat in that Project then succeeded, and the app recreated the mirror.
    • After navigating away and back to the same Project, the user immediately saw the same error again. Thus relocating the mirror only temporarily unblocks the first attempt.
    • A manual rename probe on the newly recreated, active mirror root failed with Windows’ “process cannot access the file because it is being used by another process.” The same probe succeeded on inactive Project mirrors, and an isolated scratch reproduction of the directory-swap sequence also succeeded.

    This is consistent with the active mirror directory being held open while desktop context sync tries to replace it. I did not identify the exact holder on this machine. Please account for repeated entry into a Project when fixing the sync/handle lifecycle.

  10. AdekWhat261 commented on Sep 26, 2026

    @AdekWhat261

    Additional Windows reproduction on a newer desktop build, focused on resuming a local task in a ChatGPT project. This filesystem failure can also prevent moving an existing projectless local chat into a project.

    Environment: OpenAI.Codex 26.924.2738.0, desktop build 11645. At 2026-09-26 20:10:05 UTC, Desktop logged a project context sync failure at stage=filesystem with sourceCount=0, syncFileCount=0, and projectSaveCount=0.

    At the time, eight idle app helper processes had the affected project mirror as their working directory. A read-only Windows handle probe requesting DELETE access on that directory failed with WinError 32 (ERROR_SHARING_VIOLATION). After those idle helpers were stopped, the same probe succeeded with WinError 0. Reopening the project can start helpers again, so this only releases the lock temporarily.

    The exact failing filesystem syscall is not recorded in the Desktop log. The sharing violation is strong supporting evidence, rather than a directly traced syscall. It is consistent with sync replacing or renaming the project mirror root while helpers still use it.

    Please keep the mirror root stable while helpers may use it, and persist chat-to-project membership independently of context sync so a transient filesystem error does not reject the move. Logging the failed filesystem operation and native error code would make future reports conclusive. No project or chat IDs, user paths, chat contents, or full logs are included.

  11. exarkun4 commented on Sep 27, 2026

    @exarkun4

    Additional reproduction on Windows Store package OpenAI.Codex 26.924.2738.0. The “Could not use this project for a local chat” toast has affected two existing ChatGPT Projects. Their current mirrors contain 3 and 10 source files. Desktop logs record ChatGPT project context sync failed, stage=filesystem, and projectSaveCount=0 for both source counts. The direct live lock probe below was performed on the 3-source Project.

    Read-only inspection of the installed build shows context sync staging a replacement directory and renaming the live Project mirror root. On one affected mirror, a non-mutating DELETE-access probe of the root returned Win32 32 (ERROR_SHARING_VIOLATION), while its source directory and generated instructions file remained readable. Task-related processes held root handles, and codex.exe held output-folder handles beneath it. The desktop log omits the native filesystem operation, so the exact syscall in the live failure remains an inference.

    In isolated Windows fixtures, the unmodified installed sync function failed at the root rename with EBUSY for 0, 3, and 10 synthetic sources when a live process used the root as its working directory and an output watcher was active. User-output sentinels survived. A root junction permitted only one sync before the app replaced it with a real directory; the next failed with EPERM. Moving only output watches outside the root did not resolve the root working-directory lock. Neither original Project was changed. An uninstalled in-place managed-file prototype passed 14 fixture checks, including repeated sync, changes/removals, rollback, interruption recovery, filename case changes, and zero sources. It has not been validated in the product UI.

    Please keep the Project mirror root stable while tasks or helpers use it, and update app-managed context without disturbing user work. If refresh fails, preserve the selected Project association and saved state, then retry or show an actionable error; do not silently create a projectless chat. Log the failed filesystem operation and native error. Regression coverage should create successive local chats through the normal composer in multiple existing Projects with active tasks and preview watchers, then repeat after restart and update.

  12. torreherrerabrostania commented on Sep 27, 2026

    @torreherrerabrostania

    También me ocurre este problema al crear nuevos Work dentro de proyectos en Windows, incluso cuando no hay tareas activas. Ya actualicé y reinicié la aplicación y el fallo continúa.

    Versión: 26.924.22138, build 11645.
    Uso Windows nativo, no WSL.

    Ya envié el diagnóstico desde «Opinión» en la app. Mi ID de feedback es:
    01a0cc98-859b-76a3-81d4-f0a3a40da0ec

    Por favor, relacionen mi reporte con esta incidencia.

  13. exarkun4 commented on Sep 30, 2026

    @exarkun4

    Still reproducible on the updated production Windows desktop build on 30 September 2026:

    • Desktop version 26.928.21956, build 12404.
    • Windows Store package OpenAI.Codex 26.928.2636.0, Windows native execution.
    • The configured production updater reports up_to_date.

    The desktop main-process logs contain the same failure at 2026-09-30T17:49:09.539Z and 2026-09-30T17:57:45.336Z:

    ChatGPT project context sync failed
    fileOrdinal=null projectSaveCount=0 sourceCount=3
    stage=filesystem status=null syncFileCount=3
    

    Read-only inspection of this build's .vite/build/main-DkWgQSQe.js confirms that the mirror-based Project-context sync path still stages a replacement directory, renames the live mirror to a previous-directory sibling, swaps staging into the live path, then restores user work. The relevant mirror-sync module and function are unchanged from the previously reported 26.924 build apart from minified identifier names. Current sync-function SHA-256: ea2e2f168b409b839db479c5d21c263d3ff87c35c5b638ac86a00c6575cbd80f.

    The unmodified current sync service and shipped dependencies were extracted read-only and exercised in isolated Windows fixtures:

    • Idle repeated refreshes succeed and replace the root each time, including unchanged-source refreshes.
    • Holding the root as a process working directory, with an output-folder watcher, makes two consecutive refreshes fail at the live-root rename with EBUSY for 0, 3, and 10 synthetic sources.
    • A root working-directory holder alone also produces EBUSY; an output-folder watcher alone produces EPERM at the same root rename.
    • Releasing only the synthetic fixture locks makes refresh succeed. Output sentinels survive these checks, and the fixture child processes exit.
    • A separate independent verification reproduced two consecutive EBUSY failures with three sources and confirmed recovery after releasing the synthetic locks.

    The live desktop log still omits the native filesystem operation/error. The exact live failing syscall remains an inference; the failing root rename is directly observed in the isolated current-code fixtures. No original Project mirror, source, app profile, installed application, or active task was modified for these tests.

    This build also contains a gated unified-Projects path that can bypass mirror sync for eligible Projects. The account's gate value and Project eligibility were not established in this investigation; the live errors above show that the mirror path is still being used. Please confirm whether a supported rollout or migration can resolve this for existing Projects while preserving their identity, history, sources, and memory settings.

    Please also fix the remaining mirror path: keep its root stable while tasks, helpers, or preview watches use it, and update managed context safely in place. Preserve Project membership and saved state if a refresh fails, and retain the native filesystem operation/error in diagnostics. Acceptance should create successive local chats through the normal composer in multiple existing Projects with active tasks and preview watches, preserve their history/sources/user work, then repeat after restart and update.

  14. xiaoxueni27-png commented on Sep 30, 2026

    @xiaoxueni27-png

    Additional reproduction on 2026-10-01, covering three existing ChatGPT Projects on the current Windows build. Posting with the affected user's authorization; project names/IDs, personal paths, account details, transcripts, source contents and full logs are omitted.

    Environment

    • Windows Store desktop package: OpenAI.Codex 26.928.2636.0, x64.
    • Bundled Codex CLI: 0.159.2; Windows build: 10.0.26200.0 (64-bit).
    • One Project has project-only memory; two have default memory. The local failure affects all three, with source counts 7, 5 and 0.

    Verified live sequence

    1. Creating a new local Work chat produces Could not use this project for a local chat (Chinese: 无法将此项目用于本地聊天). Desktop logs ChatGPT project context sync failed, stage=filesystem.
    2. External read-only inspection identified three bundled cua_node helper processes (node and node_repl) with the affected mirror root as their cwd and open directory handles on that root. A non-mutating replacement-access probe returned Win32 32 (sharing violation).
    3. A narrowly scoped recovery stopped only those three helpers, after rechecking executable path, name, start time and exact cwd. The same probe then returned 0. SHA-256 values for all seven synced sources were unchanged.
    4. The user successfully created a local Work chat and received a normal reply. A later new-chat attempt failed again; the other two Projects also failed.
    5. A later read-only snapshot identified 12 bundled helper processes with cwd at the three mirror roots: 6, 3 and 3 respectively.
    6. The user directly verified that continuing the previously created Work chat still replies normally. Repeated new-chat creation remains broken. Project memory settings were preserved.

    Isolated current-code reproduction

    The unmodified sync function DC, freshly extracted from the installed main-DkWgQSQe.js, was exercised in a scratch fixture. A child Node process with cwd = projectRoot makes sync fail at the root rename, with code=EBUSY, syscall=rename, stage=filesystem. After the fixture child exits, the same sync succeeds and the original output sentinel is preserved. No installation or production Project files were changed by this test.

    Module SHA-256: febce65087ab1c20c53e6da4c1f17baf720a57e8fa5cedc9b9b84fc82223e811.

    The live Desktop log does not retain the native syscall/error, so the exact live failing operation is still an inference supported by the sharing-violation probe and isolated reproduction. Terminating helpers is temporary recovery, not resolution of the defect.

    Please coordinate helper lifecycle with mirror refresh, or keep the working root stable while safely updating app-managed context. Preserve existing Project identity, history, sources, user-created outputs and memory settings. Acceptance should repeatedly create local Work chats in multiple existing Projects, including project-only memory and zero-source Projects, while earlier chats and helpers remain present; then repeat after restart/update. Please also retain the failed native filesystem operation/error in diagnostics.

  15. exarkun4 commented on Oct 5, 2026

    @exarkun4

    Still reproducible on the current Windows Store build, plus a local trigger others may be hitting.

    Build: OpenAI.Codex 26.930.3930.0 (desktop build 12947, app-server 0.160.0), Windows 11 10.0.26300, native execution.

    • Twelve ChatGPT project context sync failed … stage=filesystem entries logged since Oct 1 UTC across builds 12404–12947, including two on the current build (2026-10-03 05:39 UTC in a 5-source Project; 2026-10-05 02:46 UTC in a 10-source Project).
    • Read-only inspection of the installed bundle: sync still stages the context, renames the live .chatgpt-projects\<id> folder to .<id>-previous-<uuid>, then renames staging into place. The native error is attached as cause on the thrown error but is not logged, so the log only ever says stage=filesystem.

    Local trigger worth checking: custom MCP servers without cwd. A stdio MCP server defined in ~/.codex/config.toml without cwd is started in the thread's working directory, which for a ChatGPT Project chat is the mirror root. I found six such processes (three custom servers × two chats) holding one Project's mirror as their current directory, which is enough to make the next new chat's root rename fail. Built-in plugin servers launched from their plugin cache directories were not affected.

    Workaround that worked here: add cwd = '<a folder outside .chatgpt-projects>' to each custom [mcp_servers.*] table. Afterwards, two successive new local Work chats in the same original Project were created and completed through the normal composer, with the first chat's helpers still running, and no sync error. This does not cover shell commands running in the Project root or open file-preview watchers, so it is a mitigation, not a fix.

    Gotcha: a Project-layer [mcp_servers.openai_artifact_template_picker] table containing only cwd is rejected (invalid configuration: invalid transport) and blocks local task creation; it needs command/args as well, and those paths are version-specific.

    Suggested product fixes: start MCP servers/helpers in a neutral working directory instead of the Project mirror; update managed files in place instead of renaming the live root; log the native error code (EBUSY/EPERM) and path.

    Question for maintainers: the bundle contains the codex_unified_projects route, which pairs a ChatGPT Project with a separate local work folder instead of running tasks in the mirror. Is there a supported way to opt in for existing Projects, and does it keep existing Project IDs, chat history, sources, and memory settings?

  16. jaywking commented on Oct 6, 2026

    @jaywking

    Independent confirmation of the node_repl workaround on Windows, with a repeatable fail → recover → fail → recover sequence.

    Test

    With the ChatGPT Windows desktop app open:

    1. From an existing ChatGPT Project, started a new Work / Local chat.
    2. Received: “Could not use this project for a local chat.”
    3. Checked for node_repl processes:
    Get-Process node_repl -ErrorAction SilentlyContinue

    There were 13 node_repl processes running.

    1. Terminated only those processes:
    Get-Process node_repl -ErrorAction SilentlyContinue | Stop-Process -Force
    1. Immediately retried creating the Work / Local chat in the same Project.

    Result: success.

    I then immediately tested the sequence again:

    1. Started another new Work / Local chat from the Project.
    2. “Could not use this project for a local chat.” returned.
    3. Ran the same node_repl termination command.
    4. Immediately retried the same workflow.

    Result: success again.

    So on this installation the sequence is repeatable:

    New Project → Local Work chat → FAIL
    Terminate node_repl → retry → SUCCESS
    Create another new Project → Local Work chat → FAIL
    Terminate node_repl → retry → SUCCESS

    No ChatGPT restart, Project recreation, .codex modification, cache deletion, configuration change, or other process termination was performed.

    This appears consistent with node_repl being relaunched after the successful Local Work session and subsequently recreating the condition that prevents the next Project-context synchronization.

  17. exarkun4 commented on Oct 7, 2026

    @exarkun4

    Another holder on recent Windows builds (since about Oct 5; current Store package OpenAI.Codex 26.1002.7124.0): the bundled unified-computer-use plugin.

    Its .mcp.json (plugin 26.1002.52244) declares the cua_repl stdio server without a cwd, while the other bundled/curated plugins here (code-review, rosalind, codex-app-tools) set one ("cwd": "."). Without it, cua_repl (node … @oai/cua-repl/bin/cua-repl.mjs) starts in the thread's working directory, which for a ChatGPT Project chat is the .chatgpt-projects\<id> mirror, and the node_repl.exe it launches inherits that directory. I found exactly that pair holding a Project mirror after the update, and cua_repl was among the servers started in the minutes before each of the three ChatGPT project context sync failed … stage=filesystem entries I logged after Oct 5.

    That may also be part of why stopping node_repl (comment above) restores new chats: on these builds a node_repl holding the mirror can be the cua_repl child, not only the configured node_repl server.

    Local mitigation that worked here: add "cwd": "<a folder outside .chatgpt-projects>" to mcpServers.cua_repl in %USERPROFILE%\.codex\plugins\cache\openai-bundled\unified-computer-use\<version>\.mcp.json. codex mcp list --json then reports the new cwd, the running app used it for new threads without a restart, and a new local Work chat in the affected Project was created with no sync error and none of its helpers inside the mirror. Each new plugin version ships without the field, so it has to be reapplied.

    Suggested fix: give cua_repl a cwd like the other bundled plugins, and more generally start MCP servers and helpers outside the Project mirror.

  18. marukorono commented on Nov 22, 2026

    @marukorono

    Additional Windows evidence on desktop package 26.1117.4957.0 (x64), checked on 2026-11-22.

    I observed a repeatable directory-lock sequence, including child workers whose parent already uses a neutral working directory:

    1. Immediately after a normal app restart, a handle-open probe on the affected ChatGPT Project mirror root returned 0, and no inspected helper had that mirror as its working directory. Three prewarmed node_repl processes used a directory outside the project mirror.
    2. One read-only JavaScript call, printing only nodeRepl.cwd, reported the project mirror path. Six new descendants appeared: four codex.exe and two node.exe processes, all using the mirror root as their working directory. Their node_repl parent remained outside the mirror.
    3. The same probe then returned Windows ERROR_SHARING_VIOLATION (32).
    4. A normal JavaScript-kernel reset ended those six workers and restored the probe result to 0. No bulk process termination, project-root rename, file deletion, or database edit was performed.

    The probe opens a directory handle with DELETE access, read/write/delete sharing, OPEN_EXISTING and FILE_FLAG_BACKUP_SEMANTICS, then closes it. It performs no rename or deletion. A separate control directory and the sources child directory returned 0.

    A separate persistence check also failed: a backed-up, CLI-validated cwd setting for the existing node_repl server was absent after a normal desktop restart. I did not expand trusted roots or patch plugin bundles to compensate.

    Context-sync status remains unresolved: the original Project has seven accessible source files, while the existing local mirror still contains three older files and older instructions. I found no direct context-sync failure log line for this attempt, so the directory probe does not establish the exact failed synchronization syscall. Existing-chat reopening is also not proof that the normal new-chat sync path was exercised.

    Is there a supported per-project workaround that covers these child workers and survives desktop startup without expanding trusted roots or pinning version-specific launcher paths?

    This report intentionally omits project names, local user paths, chat IDs, process IDs, source contents, account data, and raw logs.

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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions