Repository navigation
Description
Summary
On the Windows ChatGPT/Codex desktop app, project membership changes made from the desktop UI do not reliably persist.
The UI initially shows the chat under the selected project, but later the chat leaves the project and returns to Recents / no-project state.
The same account and same projects behave differently when the membership change is made in ChatGPT Web:
- creating a chat inside a project in the browser persists after refresh;
- moving an existing chat into a project in the browser persists after refresh;
- after normal synchronization delay, those browser-originated assignments appear correctly in the Windows desktop app and continue to persist there.
This strongly narrows the failure to the desktop-originated project-assignment write/reconciliation path, rather than general project persistence or cross-device read synchronization.
Environment
- Windows 11
- Current combined ChatGPT / Codex desktop application
- ChatGPT Projects + Work / local chat workflows
- Same ChatGPT account/workspace in browser and desktop
- Observed October 13, 2026
Exact current desktop package version was not collected before filing.
Reproduction
A. Browser-originated assignment — works
- Open ChatGPT in a browser.
- Create a new chat inside an existing project, or move an existing chat into that project.
- Refresh the browser.
- Confirm the chat remains in the project.
- Open or return to the Windows desktop app.
- Wait for normal synchronization.
Observed: the project placement eventually appears on desktop and appears to remain stable.
B. Desktop-originated assignment — fails
- Open the Windows ChatGPT/Codex desktop app.
- Create a chat under a project, or move an existing chat into a project using the desktop UI.
- The UI initially shows the chat under the project.
- Continue using the app / allow synchronization to occur.
Observed: after some time, the assignment reverts and the chat leaves the project, remaining only under Recents / without the intended project association.
The failure is intermittent in timing but repeatable as a desktop-vs-browser behavioral difference.
Expected behavior
Project membership should be durable regardless of whether it is created or changed from ChatGPT Web or the Windows desktop app.
A successful desktop move should remain associated with the selected project and survive subsequent synchronization/reconciliation.
Why this is useful diagnostically
This comparison rules out several broader explanations:
- Project membership itself can persist on the account.
- Browser writes persist across refresh.
- Desktop can receive and display browser-originated project membership.
- Cross-device synchronization from browser -> desktop works.
The remaining suspect area is therefore the desktop write path, its local project/thread metadata, or a later reconciliation step that overwrites/ignores a desktop-originated assignment.
Potential cases to distinguish:
- Desktop UI updates optimistically, but the membership mutation is never durably saved.
- The write succeeds, but a later desktop reconciliation restores stale local metadata.
- Desktop and server use different membership records and the desktop path updates only one of them.
- A successful mutation acknowledgement is returned before durable persistence is complete.
Related issues
- [Codex App] Project membership differs between sidebar and list_threads; move_thread_to_project success not reflected in readback #53486 — project membership differs between sidebar and thread metadata; successful move not reflected in readback (macOS)
- Windows ChatGPT Work: “Could not use this project for a local chat” — project context sync repeatedly fails at filesystem stage #42215 — Windows Work/project context failures, including stale project state and project sync problems
This report is intentionally separate because the browser-vs-desktop persistence comparison on Windows is a clean reproduction boundary and may help isolate the write/reconciliation layer.
Additional context
The same Windows installation has also previously exhibited a separate issue where New chat retained an incompatible previously selected project and Work showed Could not use this project for a local chat. A prior state-level recovery regenerated .codex-global-state.json, but that earlier workaround is not being claimed as a fix for this project-membership persistence problem.
No project mirrors, local databases, credentials, or working files were deleted while establishing this reproduction.
Private project names, chat titles, account identifiers, and filesystem paths are omitted.
Activity
github-actions commentedon Oct 13, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
twentyfourkarats commentedon Oct 15, 2026
Update — October 15, 2026
I rechecked this on the current Windows desktop install:
A read-only inspection of the installed bundle still shows project-page local Work routing resolving the displayed ChatGPT project and the local project selection separately. If the route project has no local mapping/context, local task creation can fall back to the globally selected local project (or none). This matches the separate project-page creation report in #50335. I did not modify the installed bundle or reproduce a full new task end to end.
The sidebar’s “New local chat in [project]” action calls code that selects an existing local project mirror or creates/activates that mirror and begins project-context synchronization. It appears to avoid the stale global-selection path, but I have not validated its full end-to-end persistence behavior.
Separately, #44853 reports Windows chats missing local exec tools while the integrated PowerShell terminal works. It may be relevant to some local capability refusals, but I have not confirmed that it explains this installation’s capability reports.
No supported local setting or repair was found. #53761 remains open; this comment adds current-build evidence, not a claim of a fix.
twentyfourkarats commentedon Oct 15, 2026
Additional Windows state evidence — October 15, 2026
After an app restart, a read-only check found:
local-projectsmap is empty, although 10g-p-*project mirror folders are present.project_id = NULL. Fifteen of those threads have working directories inside the local project mirrors.projectsMigrated: truebutthreadAssignmentsMigrated: false(with the active diagnostic thread pending).This is local desktop state evidence, not proof of the server-side project membership record. It does show a concrete local project/thread catalog mismatch that is consistent with desktop-originated project membership being lost or not reconciled. I have not restored any old thread assignments.
twentyfourkarats commentedon Oct 15, 2026
Follow-up control-flow trace from the installed production bundle (build 26.1007.71326):
local-projectsmap. If that project ID is missing from the map, the resolver returnscwd: nullwhile retaining the default host ID.This makes an empty or stale local-project map a concrete path to a local task with no project working directory. It does not prove the host ID is misclassified as cloud, and it is not a fix by itself. The runtime log database has no matching project-sync failure entry for this installation, so the intermittent failing branch is not confirmed from logs.
twentyfourkarats commentedon Oct 15, 2026
Cross-issue migration evidence — October 15, 2026
A related open Windows report, #41874, independently documents the same
threadAssignmentsMigrated=falsemarker alongside surviving local threads whoseproject_idvalues are null. The current install in this report has that same marker and null project assignments, plus an emptylocal-projectsmap.This migration/catalog failure may compound the desktop project-placement problem, but it does not by itself explain why browser-originated assignments persist while desktop-originated moves revert. Please compare the local migration/reconciliation path separately from the desktop membership-write path; they may be two defects affecting the same workflow.
No local state was edited for this comparison.
twentyfourkarats commentedon Oct 15, 2026
Correction — October 15, 2026
I rechecked the app state before treating the pending migration list as evidence. Both chats referenced in my earlier comment are also explicitly present in
projectless-thread-ids. Therefore, their null project IDs and inclusion inpendingThreadAssignmentIdsdo not establish that the app lost a project assignment; they may be intentionally projectless. Please do not use those two chats as proof of the project-move failure.The reproducible issue remains the desktop-originated move that appears successful and later reverts, while a browser-originated assignment persists. Please investigate the desktop move write/readback and synchronization path for that case.
twentyfourkarats commentedon Oct 15, 2026
Workaround check — October 15, 2026
A related macOS report, #53486, documents the supported
move_thread_to_projectaction returning success while an immediatelist_threadsread still returnedprojectId: null. This means a tool-based move cannot currently be treated as a reliable repair unless the app also confirms the persisted association on readback (and after synchronization).Please fix the desktop project-move path so success means the selected project membership is durably stored and visible to the app's own thread/project listing. Until that is true, asking users or agents to repeat the move risks another optimistic success that does not stick.
twentyfourkarats commentedon Oct 15, 2026
Additional Local Work behavior — October 15, 2026
A separate Local Work chat on this Windows desktop showed the same broader instability in how the app represents and enforces Local versus Cloud capabilities. The chat was created and displayed as Local, yet the assistant first stated that Local attachments could not be accessed. It then inspected the local working directory, found the attached media, and completed the task. The user reports similar Local chats later behaving as if Cloud restrictions apply, including claims that local PowerShell is unavailable, while the UI still identifies the chat as Local.
This is not proof that the backend session was actually running as Cloud. It is evidence that the visible Local/Cloud mode and the assistant's capability behavior can disagree, and that Local Work can make unsupported capability claims before checking the tools and files actually available to it.
Please investigate whether Windows desktop Local Work session metadata/capability routing can become inconsistent across a session, alongside the desktop-originated project membership persistence failure reported above. A reliable fix should keep the execution mode and available tools aligned with the visible mode, and keep project membership durable through synchronization.