Skip to content

[macOS Desktop] Projects appear as separate chats after switching accounts; project organization becomes unavailable #54155

Open

Description

@Cayennina

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

Currently installed desktop bundle: 26.1007.30912, build 20156, bundle ID com.openai.codex (app name ChatGPT). Read from bundle metadata on October 15, 2026, not the About dialog. The exact build at the original account switch was not separately captured.

What subscription do you have?

Not verified for both accounts.

What platform is your computer?

macOS 27.0.1, Apple Silicon. Current uname -mprs:

Darwin 27.0.0 arm64 arm

What issue are you seeing?

After switching ChatGPT accounts in the desktop app on the same Mac, projects that had organized the user's local work stopped being available as projects. Their conversations instead appeared as individual chats. The user's clarification was: the projects became separate conversations, rather than merely disappearing together with all their history.

This disrupts resuming work through the original project and its folder/context organization.

The report concerns lost or inaccessible project organization after an account switch. It does not establish deletion of local files, deletion of chat history, or that the second account should have access to the first account's cloud projects. Whether each affected entry was an ordinary local project or a ChatGPT-backed project linked to a local directory has not yet been established.

What steps can reproduce the bug?

User-observed sequence on an existing profile; not a fresh-profile or independently repeated reproduction:

  1. Have existing projects and project conversations used for local work in the desktop app under account A.
  2. Switch the desktop app to account B on the same Mac.
  3. Inspect the sidebar and previously organized work.
  4. The prior project structure is unavailable, while the conversations appear separately.

Switching back to account A and re-adding the folders have not been tested during this report. The exact moment the project associations became unavailable was not captured.

What is the expected behavior?

Account switching should have clear, recoverable semantics for local project organization:

  • Preserve project membership within its owning account.
  • If an account-scoped project is unavailable under the new account, explain that condition and provide a supported way to return to the owning account or reconnect permitted local work.
  • Avoid silently presenting previously grouped work as unexplained standalone chats or losing its original organization.
  • Respect account isolation for cloud project data.

Please clarify the intended behavior for ordinary local projects versus ChatGPT-backed projects with local folders, and investigate the project catalog, thread membership, and sidebar reconciliation during account switching.

Additional information

Read-only inspection on October 15 established:

  • The supported sidebar metadata reports grouping mode project on the Codex surface, not list. The current flat appearance is therefore not simply explained by a list-view preference.
  • Two existing Codex chats still carry ChatGPT project identifiers that are absent from the current account's visible project catalog. This is consistent with account-scoped project visibility, but does not establish whether it is the cause of the reported regrouping.
  • Other recent chats have no project ID; many may have been created as projectless chats originally. Their existence is not evidence that historical memberships were deleted.
  • The supported listing reports no unavailable hosts or data sources.

For completeness, this installation previously required a separate recovery from a large-image startup crash on October 12. The retained recovery record shows that only queued-follow-ups in global state was cleared, with a backup retained; no project fields were intentionally edited. The user also reports reinstall/reboot attempts for that crash. The ordering of those events relative to the account-switch/project symptom is not established, so no shared cause is claimed. The separate image-crash evidence is recorded at #51818 (comment).

Related reports checked: #46987 describes lost grouping after a Windows global-state parse failure; #35657 describes previous-account projects remaining visible after switching accounts. Those differ from this observed outcome and do not establish its cause.

No settings, account state, project assignments, or application files were changed during this read-only investigation. This public report omits project names, personal paths, account identifiers, chat identifiers, conversation contents, and raw logs.

Activity

  1. added
    bug
    app
    session
    on Oct 15, 2026
  2. zhangguoli2008 commented on Nov 7, 2026

    @zhangguoli2008

    Same issue on macOS — Projects disappear after switching ChatGPT accounts (v26.1103.31037)

    I'm experiencing the same issue with the latest ChatGPT desktop app (Powered by Codex & OWL) on macOS.

    Environment:

    • OS: macOS
    • Application: ChatGPT Desktop (Powered by Codex & OWL)
    • Version: 26.1103.31037
    • Release date: November 6, 2026
    • Project type: Local Codex projects
    • Setup: Same Mac, same desktop application, switching between two ChatGPT accounts

    Steps to reproduce:

    1. Log in to ChatGPT Account A, which already has multiple local Codex projects containing existing conversations.
    2. Confirm that the projects and their conversations are displayed correctly in the sidebar.
    3. Sign out of Account A and log in to Account B using the same desktop application.
    4. All existing projects disappear from the Projects section, which now displays "No projects".
    5. However, the conversations from those projects are still visible individually under Recent, without their original project grouping.
    6. Completely quit and restart the application. The projects remain missing in Account B.
    7. Switch back to Account A. The original projects and their grouping are visible again.

    Actual behavior:

    • Local projects appear to be associated with the currently logged-in ChatGPT account.
    • Switching accounts causes the existing local project list to disappear.
    • Historical conversations remain accessible under Recent, but lose their project grouping in Account B.
    • Restarting the application does not resolve the issue for Account B.

    Expected behavior:

    • Local projects associated with folders on the same Mac should remain accessible across accounts, or there should be a documented way to import or reattach existing local projects without losing their conversation grouping.
    • If account-based project isolation is intentional, the application should clearly explain this behavior.
    • Project grouping and conversation visibility should behave consistently.

    Questions:

    1. Is account-based isolation of local Codex projects an intentional change in the latest desktop app?
    2. Or is this a regression introduced by a recent update?
    3. Is there an official way to make existing local projects and their conversation history accessible across two ChatGPT accounts?

    This behavior is particularly confusing because the conversations are still visible under Recent while the Projects section becomes empty.

    I would appreciate clarification on whether this is expected behavior or a bug, and whether a fix or migration mechanism is planned.

    Thank you!

  3. cbin66786-collab commented on Nov 8, 2026

    @cbin66786-collab

    Additional read-only diagnostics from my Mac

    I performed a read-only comparison of the local Codex metadata and the two account snapshots.

    • Active account snapshot: local-projects = 11, project-order = 10, thread-project-assignments = 77.
    • Other account snapshot: local-projects = 12, project-order = 11, thread-project-assignments = 1.
    • All 11 project IDs from the active snapshot are also present in the other snapshot; the other snapshot contains one additional project.
    • In state_5.sqlite, the read-only inspection found 11 rows in projects, 17 in project_roots, and 14 in project_idempotency_keys. PRAGMA quick_check returned ok.
    • The global-state flags were projectsMigrated = true and threadAssignmentsMigrated = false.

    No project records, conversation data, or application files were modified during these checks. I have omitted project names, local filesystem paths, account identifiers, and project/thread IDs.

    These findings show that local project metadata is still present in the inspected snapshots and database, but they do not by themselves establish the cause of the UI behavior. Could the team clarify whether local project catalogs and project-to-thread assignments are expected to be account-scoped, and whether there is a supported way to restore or reattach a project's original conversations after switching back to the owning account?

    In particular, please investigate how local-projects, project-order, and thread-project-assignments are reconciled with the visible project catalog during account switching.

  4. umdanielmonteiro commented on Nov 8, 2026

    @umdanielmonteiro

    macOS 26.1103.41825: account-switch regression isolated to renderer state and local-project catalog rehydration

    Additional reproducible macOS evidence from the same Mac/OS user profile, cross-referencing #59895. This concerns folder-backed local Codex projects, not cloud ChatGPT/Web Projects or cross-account sharing of credentials.

    Two independently observed failures:

    1. Same-account re-login, existing window: with local Projects visible under account A, sign out and sign in again as A, without quitting. The original window displays No projects. File > New Window immediately shows that account's existing projects; the original window stays empty. This is reproducible with three login identities, and does not require switching to a different account.
    2. New local projects are not discovered across logins: create a folder-backed local project with a test chat under one account; after switching to another account, that newly created project is missing from the latter account's project catalog. New Window restores only that account's previously saved projects, not the missing newly created local project. Before the recent app replacement/update, users report that the same local projects and their organization were accessible under different logins on the same Mac.

    Read-only forensic snapshot: Desktop 26.1103.41825 build 25679; 31 local SQLite project records (database integrity previously OK); three account renderer catalogs of 30/29/30 projects, 31 unique IDs in their union, and two entries present in only one catalog. Existing local folders and conversation records persist. The app logs successful local project migration, but this does not guarantee that the renderer catalog was populated.

    Static inspection of the installed compiled Desktop (no files modified): electron-account-renderer-state-v1 swaps owner/inactive account UI state; initializeProjects() calls native project/list, but the inspected normal mapping path does not insert projects missing from the current renderer's LOCAL_PROJECTS cache. This is consistent with the divergent account catalogs. We have not proven the exact event/call responsible for the separate existing-window rehydration failure. threadAssignmentsMigrated=false can occur in the compiled migration code and should not be manually flipped based on this observation alone.

    Requests to Desktop maintainers:

    • Clarify the intended policy for local folder-backed project discovery on the same OS profile, distinct from cloud/account-private data.
    • Fix original-window refresh after in-process A -> logout -> A (a clear same-account bug regardless of policy).
    • If shared local project discovery is still intended, reconcile legitimate native project/list records into the authenticated renderer UI state without duplicate IDs or loss of local conversation grouping.
    • Add regression coverage for same-account login, A/B/C switching, newly created projects, multiple windows, and cloud-project privacy isolation.

    No proprietary code excerpts, raw JSON/SQLite, tokens, private folder names, account identifiers or conversation contents are included. Detailed investigation already recorded in #59895.

  5. linchuhao23 commented on Nov 9, 2026

    @linchuhao23

    Reproduced on a newer build, plus the data point the report lists as untested.

    • App: Codex desktop bundle 26.1103.60933, build 25894 (bundle ID com.openai.codex), macOS. The app updated this morning (2026-11-09 ~01:14 UTC); account switching worked fine before the update.
    • After the update, switching to the second account on the same Mac: projects were no longer available and the conversations appeared as separate chats — same symptom as reported.
    • Local session files are intact (~/.codex/sessions, including sessions from today), so nothing was deleted.
    • Switching back to the first account restores the projects — this confirms the projects are still there and the visibility is account-scoped.

    So the issue persists in 26.1103.60933, and the untested step from the report (switching back) now has a positive result.

  6. devhassan941-png commented on Nov 11, 2026

    @devhassan941-png

    Repeated on macOS 26.1103.60933: local project organization survives in inactive account snapshots

    This recurred on the same Mac after another account switch on November 11, 2026, following a verified recovery on November 9.

    Installed environment: desktop bundle 26.1103.60933, build 25894, bundle ID com.openai.codex; macOS 27.2, arm64. Version was read from the installed bundle metadata, not the About dialog.

    Current read-only findings before recovery:

    • The active account reports zero projects, with no current local-projects or thread-project-assignments entries.
    • One inactive account snapshot contains two folder-backed local projects and 785 explicit chat assignments. All referenced local chat records exist. This newer mapping contains every one of the 773 assignments recovered on November 9, plus 12 newer assignments.
    • An older inactive snapshot independently retains the two projects and the original 773 assignments.
    • The folders and local chat history remain present. These findings concern unavailable project organization, not deleted conversations or files.

    The installed desktop's account-state handling saves account-scoped renderer globals under electron-account-renderer-state-v1.inactive and selects the authenticated account's saved globals on account changes. This is consistent with the empty catalog under the newly selected account, while local chat records remain available. It does not establish whether the account scoping is intentional or identify every cause of existing-window refresh failures reported above.

    Observed reproduction: use two folder-backed projects under account A, switch to an account with no saved local project catalog on the same Mac, and inspect the sidebar. The projects are absent while local conversations remain accessible. After recovering the organization, switching accounts again reproduces the missing project catalog. This is a repeated observation on this existing profile, not a fresh-profile reproduction.

    Workaround result: with the desktop closed, restoring the complete saved local project definitions and exact existing chat-to-project mappings into the current account's renderer globals restores 785 unique memberships, with zero unmapped. Existing project IDs are reused; no conversations or native database projects are recreated. Before/after checks confirm the local chat catalog, archive states, working directories and attachment records are unchanged, and the source account snapshots remain unchanged. A restart is needed because the running desktop holds an in-memory copy of global state.

    The earlier November 9 recovery separately verified that all 213,770 original history records remained and completed-message contents were unchanged. It did not prevent the account-switch recurrence.

    Please provide a supported local-project import/reconnect flow, or reconcile the permitted native project catalog and saved memberships when changing accounts. If account isolation is intended, an empty Projects section should explain it and offer a recoverable path for the already-visible local work. This request does not concern sharing cloud projects, authentication or credentials across accounts.

    No private folder names, personal paths, account/project/chat IDs, conversation contents, raw state files or credentials are included here.

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

    appbugsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions