Repository navigation
Description
What version of the Codex App are you using?
Windows package OpenAI.Codex 26.1103.3517.0, as reported by Get-AppxPackage after the incident. The version before the update was not recorded.
What platform is your computer?
Windows, Codex desktop app.
What issue are you seeing?
All previously visible local Codex projects disappeared from the Projects list after switching back from an enterprise account to the personal account. Individual chats remain visible, but are no longer grouped under their projects. The local project folders still exist. Restarting the app did not restore the projects.
Observed sequence
This is the observed sequence, not a controlled reproduction:
- Before November 6, 2026, switching between the personal and enterprise accounts did not remove the local projects; they were accessible under either account. The user also switched accounts on November 5 without losing them.
- On November 6, the user switched from personal to enterprise and the projects remained available. They did some minor work in those projects.
- The user updated the desktop app while using the enterprise account.
- The user signed out of enterprise and back into personal. The local projects were no longer listed, although their individual chats remained visible.
- Restarting the app did not restore the project list.
The update occurred between the successful switch and the failed switch, but this observation does not establish whether the update or account switching caused the problem.
Expected behavior
Local projects and their chat groupings should remain accessible as they were before, including after account switches and app updates. At minimum, returning to the original account should restore its existing project list and associations, or the app should provide a clear, safe recovery path.
Additional investigation
Read-only local inspection found 30 project records in the local Codex state database. The saved inactive account state contains 30 local project entries and 466 saved thread-to-project assignments. At inspection time the database reported no threads with a non-null project ID, and the app's project listing returned no local projects. Local folders and individual chats were still present. These observations indicate retained metadata but do not establish the cause or prove that every saved association is current.
A recovery copy of the state was made; project records and associations were not modified. Please investigate the account-state transition and project migration/reconciliation, and provide a supported recovery method that preserves the existing project IDs, folder roots, and chat assignments.
Possibly related: #54155 (project grouping unavailable after account switching) and #39095 (remote tasks remain visible while projects disappear). This report concerns local projects on Windows and adds the observed update between the successful and unsuccessful switches; a common cause is not established.
Submitted by an AI assistant at the user's request. Account identifiers, personal paths, project names, chat contents, and raw logs are omitted.
Activity
github-actions commentedon Nov 6, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
wojtowicz-tomasz-tfs commentedon Nov 6, 2026
My report is somewhat different, in that it was observed after restart due to account switching. The app has been updated earlied today, but the projects remained after update, and only dissapeared after account-switch related restart. An account-switch performed earlier that day (prior to app update) went fine, projects were visible.
Joehott commentedon Nov 6, 2026
Same bug here, with a workaround and local evidence pointing to a startup race.
Environment
Symptom
After signing out and signing in, the Codex sidebar shows "No projects" and chats appear only under Recents.
Workaround that worked for me
Fully quit the app from File > Quit ChatGPT, then reopen it while already signed in. All projects and their chat grouping came back, with no change to any data. Closing the window with X is not enough, because the processes stay alive in the tray.
Evidence: same account, same data, two launches
hasAccount=falseuntil 15:57:50Z, sign-in completed during the sessionhasAccount=truefrom the first log lineelectron-account-renderer-state-v1.ownerlocal-projects/project-order/thread-project-assignmentsprojectsmigration completed projectCountDuring launch A the file held all 19 projects while the UI showed none, until the app was fully quit. Switching the top-left selector from Codex to ChatGPT and back did not refresh it.
Suspected cause (not proven)
The window initializes before an authenticated principal exists, gets an empty project state, and does not refresh after sign-in completes. In
app.asar, the persisted atom sync sets the state to{}whengetRequestAuthenticatedPrincipal()returns null. I did not trace the exact path that feeds the sidebar project list. I have one bad launch and one good launch compared, so this is not a repeated test.Second, separate problem: project state is per account
Project state is stashed under
electron-account-renderer-state-v1.inactive[hash]. An account with no stash starts with no projects, and a full quit does not help there, even though local folders and the SQLite catalog belong to the machine. On this machine one of the other accounts has no project state at all, and another has projects but no ordering or chat grouping.Possibly related
app-server-projects-migration-by-hosthas two host keys for the same folder,local:C:\Users\<user>\.codexand theCODEX_HOMEpath, because~/.codexis a junction. The older key hasthreadAssignmentsMigrated: falsewith pending thread ids.Expected
I can provide redacted copies of the state keys if useful.
dphil commentedon Nov 6, 2026
Confirmed reproduction and successful recovery on macOS
I encountered what appears to be the same issue on November 6, 2026, using the macOS ChatGPT desktop app in Codex mode. I was able to diagnose the underlying state inconsistency and successfully restore all missing projects and their conversation associations without modifying the SQLite database.
1. Steps leading to the issue
I routinely switch between two ChatGPT accounts (personal and work) within the same macOS desktop application. Historically, both accounts displayed the same collection of local Codex projects.
On November 6:
Logged out of my personal account and signed into my work account.
Unexpectedly received the first-time-user onboarding flow, including questions about my profession and introductory guidance.
After completing onboarding, the Codex sidebar displayed "No projects".
Previously associated conversations remained accessible under Recents, but were no longer grouped by project.
ChatGPT-mode (cloud) Projects were unaffected.
Fully quitting and reopening the application did not resolve the problem. Switching back to my personal account and subsequently returning to my work account also failed to restore the projects. Both accounts now displayed an empty Codex project list.
2. Local data integrity and persistence
Inspection of
Diagnostic | Result -- | -- SQLite PRAGMA quick_check | ok projects records | 14 project_roots records | 15 Existing filesystem root directories | 15/15 project_idempotency_keys records | 26 Idempotency mappings referencing existing projects | 14 threads records | 1,230 Threads with non-null project_id | 0~/.codex/state_5.sqliteconfirmed that the underlying project data had not been deleted or corrupted.Importantly, the zero non-null
threads.project_idvalues did not indicate that conversation associations were irrecoverable.The global-state JSON also retained the complete project catalog and explicit conversation associations:
local-projects: 14 entriesproject-order: 13 entriesthread-project-assignments: 416 entriesapp-server-project-id-by-legacy-project-id-by-host: presentthread-workspace-root-hints: presentsidebar-project-thread-orders: presentBoth
.codex-global-state.jsonand.codex-global-state.json.bakcontained this data and were byte-identical.3. Identified state inconsistency
The key finding was the structure of
~/.codex/.codex-global-state.json.The project-related state existed only inside an inactive account-specific renderer snapshot:
The equivalent project-related keys were absent from the top level of the global-state JSON.
This suggests that during an account-switching or onboarding-related state transition, the application preserved the existing project catalog within an inactive renderer snapshot but failed to restore or hydrate that catalog into the active renderer state.
The exact trigger is not yet established.
4. Successful recovery procedure
With the desktop application fully quit and backups preserved:
Loaded
.codex-global-state.json.Located the preserved project catalog inside
electron-account-renderer-state-v1.inactive.Created a recovery candidate by copying the following six fields from that nested snapshot to the JSON document's top level:
local-projectsproject-orderthread-project-assignmentsapp-server-project-id-by-legacy-project-id-by-hostthread-workspace-root-hintssidebar-project-thread-ordersPreserved all other JSON state, including the inactive snapshot and account-related metadata.
Atomically replaced the global-state JSON with the recovery candidate.
Relaunched the macOS desktop application while signed into my work account.
Result: Complete recovery.
All 14 Codex projects immediately reappeared in the sidebar.
Conversations were correctly nested under their original projects.
Previously associated conversations opened normally.
Filesystem working directories were correctly preserved.
No SQLite modifications, project recreation, or manual conversation reassignment were necessary.
This recovery was verified immediately after relaunch. Persistence through subsequent account switches has not yet been verified.
5. Suspected root cause
The evidence points to a desktop renderer-state ownership/hydration regression associated with account switching, rather than underlying data loss.
The application appears to have retained the complete project catalog and its conversation associations in an inactive account snapshot while initializing the active renderer with no project catalog.
The unexpected first-time onboarding flow may be related to the same state-transition failure.
Notably, my local Codex projects had historically been shared across both personal and work account logins, so the inactive catalog was not inherently exclusive to one account.
6. Suggested areas for investigation
Account-switching logic associated with
electron-account-renderer-state-v1, particularly transitions between active and inactive snapshots.Whether first-time onboarding or account initialization can leave the active renderer without project metadata even when valid data exists in an inactive snapshot.
Restoration/migration of legacy local project state across account identities.
Whether the application should detect and recover a missing active project catalog when SQLite still contains valid project records and the original JSON catalog remains available.
Conclusion: This is a reproducible data-visibility/state-restoration failure with a confirmed macOS recovery path. All project definitions, filesystem roots, and conversation associations survived; restoring the preserved project metadata to the active global-state location resolved the issue without altering the underlying database.
maneco2 commentedon Nov 6, 2026
My GOD, i lose all projects every open Codex!
chikirao commentedon Nov 6, 2026
Experiencing a very similar issue on Windows after a recent app update and switching ChatGPT accounts using CC Switch. Projects disappeared from the new account's sidebar while the local folders and individual chats remained accessible in Recents. Switching back to the original account made the projects visible again. Re-adding two existing folders to the new account did not automatically restore their historical chat grouping.
Read-only inspection found the previous account's project metadata and explicit thread-to-project assignments retained in an inactive account state. The exact cause is not confirmed, and we have not yet verified a full recovery. We will report back if we find a reliable fix.
Posted with the affected user's permission; no private paths, account identifiers, or chat contents are included.
chikirao commentedon Nov 6, 2026
Update to my earlier report: we recovered the project sidebar on this Windows installation with a profile-specific, unsupported offline metadata merge. The user confirms the projects are usable again after reopening the app. This is a single local recovery, not an official fix or proof that switching accounts will remain safe.
What we observed
Recovery used for this installation
quick_check.local-projects,project-order,app-server-project-id-by-legacy-project-id-by-host, andthread-project-assignments. Historical project IDs were translated to current IDs for the two existing projects. Existing active entries and assignments were preserved. The script skipped assignments where the thread record was absent or a current projectless entry conflicted; it did not infer membership solely from folder paths.The preview contained 35 projects and added 58 historical assignments to the two assignments already present; six historical assignments were skipped. After reopening, the supported project listing currently reports 34 projects and 60 assignments targeting listed projects. The user reports that the restored projects work. We have not established why one of the 35 original project entries is not currently listed, independently checked every historical chat, or tested whether the recovery persists through subsequent account switches.
The script was tailored to this profile, its account snapshot and existing duplicate projects, so I am not posting it as a general-purpose repair. Different installations can have different state, host mappings, missing records, or conflicts. A full quit and reopen may be worth testing first, as noted above; please provide a supported recovery path that preserves project identity and memberships without manual state editing.
Posted with the affected user's permission; no personal paths, account IDs, project names, conversation contents, credentials, or raw state files are included.
asurace commentedon Nov 6, 2026
I'm running into the same since the last update, every time I log out and switch between work and personal accounts all of my projects and sidebar groupings disappear.
EolnMsuk commentedon Nov 7, 2026
This issue is very frustrating, I thought it was because I recently switched the startup of the chatgpt service that launches codex sandbox, but seeing all of these reports I think its unrelated, I have uninstalled, removed all temp files (ALL configs etc) from my machine, re-installed using Install_ChatGPT_No_MSStore.ps1 because my windows 11 ltsc iot doesnt come with microslop store baked in, and i dont want it. Made a project, used it, switched accounts, then boom its gone on both accounts ;(
Nancyingcode commentedon Nov 7, 2026
Same here, hope to get it fixed soon
49 remaining items
ss-glocal commentedon Nov 11, 2026
With the new update, it's now fixed. Thank you!
UweKeim commentedon Nov 11, 2026
@ss-glocal Which version are you using?
I'm currently on 26.1103.60933 on Windows and still see no projects after I switched to my other account.
w821074061-sketch commentedon Nov 11, 2026
I've resolved it—in 5.6sol mode, it takes less than 30% of the 5-hour limit.
ss-glocal commentedon Nov 11, 2026
I am on Mac. The app version is 26.1106.51428; the update arrived recently, and it fixed the issue. I have not done any manual/temporary fixes with MySQL described above. Just waited for the updated version.
UPD: try to update manually (i.e., do "check for the updates")
iljamaki commentedon Nov 11, 2026
Did you try adding new sessions? Or new projects? Do they get synced to the other account? Or when you add new messages to existing sessions?
ss-glocal commentedon Nov 11, 2026
Yes, I added a new chat to the project, and it is visible in both accounts. It works as before. I have not done extensive testing, though.
I have not modified anything in config files before, I just waited for the update as it was promised and now it looks to me like the issue is fixed.
legend-yx commentedon Nov 11, 2026
🎉 Confirmed fixed!
I'm running Codex Desktop 26.1106.51428 on Windows 11, and everything is working as expected now.
I can successfully switch between my two ChatGPT Team workspaces and my personal account without losing any local projects or conversation history and grouping. ✅
💡 If you haven't received the update automatically, try manually checking for updates in the Microsoft Store. That's how I got the latest version!
👏 Thanks to the OpenAI team for fixing this issue!
EolnMsuk commentedon Nov 11, 2026
same here, some of my projects doubled up because i had re-created them, so i lost some chats I think.
The worst side-effect of this whole ordeal was that I had to re-configure all my chatgpt/codex settings (like full access kept triggering on each new login)...
what a mess...
H4XOFFICIAL commentedon Nov 11, 2026
Still affected on Windows 26.1106.51428 — continued work disruption and compensation request
As of November 11, 2026 (Europe/Stockholm), my original local Codex project structure is still missing. This has been disrupting my work since at least November 9. I rely on a clear project-folder structure to navigate my ongoing projects and their related conversations, and I have not been able to work properly without it.
Current read-only checks on my installation:
up_to_date.projectIdisnull.I saw the November 9 developer reply targeting Tuesday's release, and today's reports that 26.1106.51428 restored projects for other users. On my installation, the existing project catalog and historical chat grouping have still not been restored. These checks establish the current missing state; they do not establish whether a fresh account switch on this build would reproduce the original trigger. No new logout/account-switch or full-relaunch test was performed during this follow-up.
Compensation request
I would like OpenAI to compensate me for this period of significantly impaired use and the disruption to my work. Please review an appropriate refund or subscription/account credit for the affected period, and explain the official process for submitting this request. If compensation must be handled by Customer Support rather than through GitHub, please provide the correct route and the evidence needed.
Recovery and status request
Please confirm whether the released fix also restores project catalogs and historical conversation assignments that disappeared before the update. I need a supported recovery procedure that preserves the original project identities, folder roots, and chat grouping, plus an updated timeframe if that recovery remains unresolved.
Submitted by my AI assistant at my explicit request. The diagnostic checks above were read-only; private project names, paths, account identifiers, conversation contents, and raw state files are omitted.
nammae commentedon Nov 12, 2026
I can confirm that the project list appeared on Codex version 26.1106.51428 on Windows.
Thanks for the fix.
pinguelanarosca commentedon Nov 12, 2026
Ubuntu/Linux: missing local projects restored twice after account switching
I encountered this symptom twice on Ubuntu in the Codex desktop interface after logging out and signing back in: local projects disappeared from the sidebar, but existing chats were still accessible, just no longer organized by project. Both times, the following offline, unsupported cache reconstruction brought back the projects after restarting the app.
What I checked
~/.codex/state_5.sqlitestill contained the originalprojects,project_roots, andproject_idempotency_keysrecords.Recovery used on this particular Linux installation
~/.codex(including the SQLite database and global-state JSON).Important caveats: This worked twice for one Ubuntu installation and this exact state schema. It is not a general-purpose repair or an official workaround; other profiles may have different account-specific snapshots, host keys, collisions, or incomplete mappings. Review a backup first and do not run blindly. It also does not prove the underlying account-switching bug is fixed. A supported, non-destructive catalog reconciliation/refresh tool would be preferable.
Posted with the affected user's permission; no personal paths, account identifiers, project names, chat text, or credentials have been shared.
mimranlahoori commentedon Nov 15, 2026
Very Simple Solution
Just prompt in codex chat with creating any project and prompt this
“On my Windows Codex desktop app, all projects have disappeared from the sidebar, although my chats are still visible. Investigate the cause and prepare the files needed to restore the original project list without losing chats or settings. Do not apply the recovery yourself; give me the files, their exact paths, clear instructions for copying and using them, a backup step, and a way to verify that the projects are restored.”
it will solve your problems
i tried and its work for me
dozerbeatz commentedon Nov 22, 2026
WORKAROUND FOUND: Codex Projects Missing After Switching ChatGPT Accounts — Windows Desktop
I ran into an issue with the Codex Windows desktop app after my daughter signed into her ChatGPT account on the same computer.
When I switched back to my own account, all my project folders were missing. The Projects section simply displayed "No projects."
My existing conversations were still showing under Recents, along with two conversations from my daughter's account. However, none of my original project folders or their organized conversations were visible.
I verified I was signed into my own account and checked the settings, but nothing brought the projects back.
HERE'S WHAT FIXED IT FOR ME:
That's it!
No reinstalling Codex, no PowerShell commands, no deleting application data, and no manually rebuilding my projects.
I've attached screenshots showing the missing Projects section, the right-click menu, and the restored project folders.
NOTE: This worked on my Windows installation. I haven't verified whether it works for everyone or whether it persists after restarting or switching accounts again.
Hopefully this saves someone else the headache of thinking their projects have disappeared.
H4XOFFICIAL commentedon Nov 25, 2026
Still unresolved on Windows 26.1120.50957 — workaround did not restore projects
As of November 25, 2026, this is still affecting my installation on Windows. The app is on 26.1120.50957 (build 30866) and its update checker reports that it is up to date.
I tried the reported workaround of opening an existing conversation from Recents in a new window. It did not restore my missing local projects or their sidebar organization.
Read-only checks still show only one local project in the app's project inventory. Existing project conversations remain visible individually but have no project association, while the affected local folders still exist on disk.
The missing project structure makes it very hard for me to work across multiple projects simultaneously. I rely on the project folders and their grouped conversations to keep parallel work organized, and this issue continues to significantly disrupt that workflow.
Please keep this issue open for users whose pre-existing projects remain missing after the released account-switching fix. I still need a supported way to restore the original project registrations and conversation grouping without recreating projects and losing their historical associations.
Submitted at the affected user's explicit request. No local project or account state was modified for this follow-up.
H4XOFFICIAL commentedon Nov 27, 2026
One additional remedy request: because this issue has materially disrupted work for affected users, a reset of applicable usage limits or equivalent account credit would be appreciated. Please let affected users know whether such a remedy is available and how to request it.