Skip to content

[Windows Desktop] Project moves appear successful but later revert; browser-originated assignments persist #53761

Open

Description

@twentyfourkarats

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

  1. Open ChatGPT in a browser.
  2. Create a new chat inside an existing project, or move an existing chat into that project.
  3. Refresh the browser.
  4. Confirm the chat remains in the project.
  5. Open or return to the Windows desktop app.
  6. Wait for normal synchronization.

Observed: the project placement eventually appears on desktop and appears to remain stable.

B. Desktop-originated assignment — fails

  1. Open the Windows ChatGPT/Codex desktop app.
  2. Create a chat under a project, or move an existing chat into a project using the desktop UI.
  3. The UI initially shows the chat under the project.
  4. 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:

  1. Desktop UI updates optimistically, but the membership mutation is never durably saved.
  2. The write succeeds, but a later desktop reconciliation restores stale local metadata.
  3. Desktop and server use different membership records and the desktop path updates only one of them.
  4. A successful mutation acknowledgement is returned before durable persistence is complete.

Related issues

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

  1. added
    bug
    app
    windows-os
    session
    on Oct 13, 2026
  2. github-actions commented on Oct 13, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. twentyfourkarats commented on Oct 15, 2026

    @twentyfourkarats
    Author

    Update — October 15, 2026

    I rechecked this on the current Windows desktop install:

    • Package: OpenAI.Codex 26.1007.9446.0
    • App build: 26.1007.71326
    • Update check: up to date

    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.

  4. twentyfourkarats commented on Oct 15, 2026

    @twentyfourkarats
    Author

    Additional Windows state evidence — October 15, 2026

    After an app restart, a read-only check found:

    • The local global-state local-projects map is empty, although 10 g-p-* project mirror folders are present.
    • The local SQLite project catalog contains 12 project roots and 54 thread records; all 54 have project_id = NULL. Fifteen of those threads have working directories inside the local project mirrors.
    • The per-host migration marker says projectsMigrated: true but threadAssignmentsMigrated: false (with the active diagnostic thread pending).
    • The recovery watcher that had been moving the global-state file is now disabled, and no watcher process is running.

    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.

  5. twentyfourkarats commented on Oct 15, 2026

    @twentyfourkarats
    Author

    Follow-up control-flow trace from the installed production bundle (build 26.1007.71326):

    • When the home composer has a project context, it resolves the local project through the local-projects map. If that project ID is missing from the map, the resolver returns cwd: null while retaining the default host ID.
    • The sidebar action labeled “New local chat in [project]” checks this map; if missing, it sets the local project context with empty roots and calls the project-context sync. On success it replaces that with the synced local project/root paths; on sync failure the app can show “Could not use this project for a local chat.”

    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.

  6. twentyfourkarats commented on Oct 15, 2026

    @twentyfourkarats
    Author

    Cross-issue migration evidence — October 15, 2026

    A related open Windows report, #41874, independently documents the same threadAssignmentsMigrated=false marker alongside surviving local threads whose project_id values are null. The current install in this report has that same marker and null project assignments, plus an empty local-projects map.

    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.

  7. twentyfourkarats commented on Oct 15, 2026

    @twentyfourkarats
    Author

    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 in pendingThreadAssignmentIds do 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.

  8. twentyfourkarats commented on Oct 15, 2026

    @twentyfourkarats
    Author

    Workaround check — October 15, 2026

    A related macOS report, #53486, documents the supported move_thread_to_project action returning success while an immediate list_threads read still returned projectId: 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.

  9. twentyfourkarats commented on Oct 15, 2026

    @twentyfourkarats
    Author

    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.

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

    appbugsessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions