[Windows][Desktop 26.810.7004.0] Historical local projects disappear after update while tasks remain intact and newer projects work

Open 💬 10 comments Opened Aug 18, 2026 by badarshahzad
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

OpenAI Codex Desktop 26.810.7004.0 The problem originally appeared after a desktop application update and persisted across these versions: - 26.730.8199.0 - 26.803.5235.0 - 26.810.4967.0 - 26.810.7004.0

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

After updating the Codex desktop application on Windows, all of my previously registered local projects disappeared from the Projects section of the sidebar.

This is not a loss of the underlying task data:

  • Recent tasks remain visible and can still be opened.
  • The local task database is present and passed an integrity check.
  • Approximately 100 active tasks across 28 historical project roots were present when the problem was first investigated.
  • The underlying project folders still exist on disk.
  • Historical tasks still contain their original working-directory paths.
  • However, affected historical tasks now have no project association and show projectId: null.
  • Projects created after the affected updates appear normally.
  • The application currently recognizes only three newer projects, while the historical projects remain missing.

Therefore, the failure appears to affect migration or restoration of the local project registry and task-to-project assignments, rather than deleting the task records or project folders.

A representative affected task is:

Task/session ID: 019fc695-4fbd-76a1-9635-34f6e83601a7

That task still opens and retains its original working directory, but it is no longer assigned to its historical project.

I also reconstructed 17 verified historical project records using existing local folders and the application's current local-project registry structure. The records initially appeared in local state, but the Codex application or its background synchronization process immediately replaced them with the application's existing three-project state.

This indicates that the current application is rejecting or overwriting historical project registrations instead of migrating or retaining them.

Some of the missing historical project names occasionally remain visible in the Codex mobile application's Remote view under the same account, but they are absent from the Windows desktop application's local Projects section and do not restore the missing task-to-project assignments.

What steps can reproduce the bug?

  1. Use Codex Desktop on Windows with multiple established local projects and existing tasks assigned to those projects.
  1. Confirm that the projects and their grouped tasks are visible in the Projects section of the sidebar.
  1. Install an available Codex Desktop update from the application.
  1. Reopen Codex Desktop using the same ChatGPT account and workspace.
  1. Open the Projects section in the sidebar.
  1. Observe that the historical local projects are missing or that the section reports no historical projects.
  1. Check Recent tasks.
  1. Observe that the underlying historical tasks are still present and can be opened.
  1. Inspect an affected task. Its original working-directory path is still present, but the project association is missing and projectId is null.
  1. Create or register a new local project after the update.
  1. Observe that the new project appears normally, while projects created before the affected update remain missing.
  1. Fully quit and restart the desktop application.
  1. Observe that the historical projects are still not restored.
  1. Re-add one of the existing historical project folders.
  1. Observe that this does not reconnect the existing historical tasks to their former project or restore the historical project grouping.

Representative affected session ID:
019fc695-4fbd-76a1-9635-34f6e83601a7

Investigation task/session ID:
019fd06e-1a6a-72b1-b3ea-ffcec4411b91

What is the expected behavior?

Updating Codex Desktop should preserve all existing local project registrations and task-to-project assignments.

After reopening the updated application:

  • Every historical local project should still appear in the Projects section.
  • Existing tasks should remain grouped under their original projects.
  • Existing project folders should not need to be manually imported again.
  • Re-adding an existing folder should reconnect it to its previous project and tasks without creating duplicates.
  • Application synchronization should not overwrite valid historical local-project records with an incomplete project registry.

Additional information

Troubleshooting and diagnostic results:

  • The same ChatGPT account and workspace were used before and after the update.
  • Fully quitting and restarting Codex Desktop did not restore the projects.
  • Recent tasks remain visible, so this is not simply a Recent/chronological filter issue.
  • Archived chats were checked and do not explain the missing project registrations.
  • The historical project folders still exist on the same local drives.
  • Opening an affected folder did not restore the historical project or reconnect its existing tasks.
  • The missing projects cannot be edited through “Edit project → Add folder” because the projects themselves are no longer displayed.
  • Some affected folders contain a .codex directory and others do not, so the presence of that directory does not correlate with restoration.
  • The local database integrity check returned “ok.”
  • At the initial investigation, approximately 100 active tasks and 28 historical project roots were still represented in local state.
  • Seventeen verified historical local project roots were reconstructed during troubleshooting.
  • Codex or its background state synchronization immediately overwrote the reconstructed registry and restored only the three newer projects currently recognized by the application.
  • The problem persisted through versions 26.730.8199.0, 26.803.5235.0, 26.810.4967.0, and 26.810.7004.0.
  • Newer projects created after the affected updates work normally.
  • Historical projects and their task assignments are the records that fail to migrate or restore.

Current application state:

  • Recognized local projects: 3 newer projects
  • Historical projects restored: 0
  • Historical task records: still present
  • Historical working-directory paths: still present
  • Historical projectId assignments: missing/null

Representative redacted project path:

D:\...\Al Manal Project\Cv Code

This issue has also been reported to OpenAI Support:

  • Original support case: 12706474
  • Duplicate support case: 13322519, closed in favor of the original case

Related GitHub reports:

  • #33057 reports projects and conversation history disappearing after an update. In my case, recent tasks remain accessible, but historical local project registrations and task-to-project assignments are missing.
  • #35088 reports both Projects and Recent sections being empty. In my case, Recent tasks remain visible, and newer projects work, but historical projects do not return.

The issue is severely affecting my work because the project groupings contain the task history and organizational context needed to continue ongoing work and prepare progress reports.

I can provide sanitized diagnostic files or local-state details privately if requested. I have not attached the complete local database publicly because it may contain task content, local filesystem paths, and account-related information.

Cross-device observation:

  • In the Codex mobile application’s Remote view, the older project names sometimes remain visible.
  • The same historical projects are missing from the Projects section of the Windows desktop application.
  • This occurs while using the same ChatGPT account and workspace.
  • The mobile/Remote visibility is intermittent and does not restore the missing local project registrations or task-to-project assignments on Windows.
  • New local projects created after the affected desktop updates appear correctly, but the older projects are still absent.
  • This suggests the historical project metadata may still exist in remote/account-level state while the Windows desktop application fails to load, migrate, or reconcile it with its local project registry.

Examples of historical project names previously visible in the mobile Remote view include:

  • Cv Code
  • PrepBee Pakistan
  • mcq-review-studio
  • CDR Analysis tool
  • JCL
  • MCQ Review Studio for PrepBeePakistan
  • Shahzad Word
  • my-app

The mobile Remote view and Windows local Projects view may represent different project sources. However, the fact that historical project names can still appear remotely while their associated tasks and project registrations are missing on Windows may help diagnose the migration or synchronization failure.

View original on GitHub ↗

10 Comments

github-actions[bot] contributor · 10 days ago

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

  • #38757
  • #38956

Powered by Codex Action

ArcGG33 · 9 days ago

I am experiencing a closely related Windows regression after the current Codex Desktop → ChatGPT Desktop transition, but with an even more severe failure mode.

Environment / observed behavior:

  • Windows desktop app updated and required re-authentication.
  • I signed back in with the same ChatGPT account; normal ChatGPT history loads correctly.
  • Codex shows 0 projects and only newly created post-update items.
  • Before the update, the Codex Desktop app contained active local projects and ongoing work history that I relied on for production work.
  • After the update, those projects and prior Codex history are no longer accessible from the UI.

Local forensic checks already performed:

  • %USERPROFILE%\.codex exists, but the current sessions tree contains only a newly created session from Aug 19, 2026.
  • session_index.jsonl, state_5.sqlite, and .codex-global-state.json are present but appear to belong to the newly initialized post-update state.
  • A recursive search under the Windows user profile did not find older rollout-*.jsonl files.
  • The older Windows MSIX package path (OpenAI.Codex_2p2nqsd0c76g0) still exists, but its LocalState/RoamingState/LocalCache do not contain the missing conversation history.
  • Re-authenticating with the same account does not restore anything.
  • The current .codex directory has been backed up before any further repair attempts.

This is materially different from a cosmetic sidebar bug when the user can no longer access the historical sessions needed to continue ongoing work. From the user’s perspective, inaccessible project history is functionally equivalent to lost project history until a supported recovery path exists.

OpenAI’s migration guidance states that existing Codex chats/projects should remain after the transition. In this case they did not.

Please treat this as a data-continuity / migration incident, not merely a UI issue, and provide:

  1. An official supported recovery procedure for pre-update Codex Desktop projects and chats.
  2. The authoritative pre/post-migration storage locations on Windows.
  3. A supported re-index / backfill / import command or UI action.
  4. Guidance on whether reinstalling is safe or risks overwriting further recoverable state.
  5. Confirmation whether OpenAI retains any server-side metadata or recoverable mapping for local Codex projects that disappeared during this migration.

Please do not require users to publicly upload full .codex databases or transcripts as a first step: these files may contain private conversation content, local filesystem paths, repository names, and account-related metadata. If diagnostic artifacts are required, please provide a redaction-safe procedure or private upload channel.

Severity: blocking. This regression has interrupted active paid production work and removed access to project context immediately after an app update/re-authentication flow.

ArcGG33 · 9 days ago

I want to add a legal/consumer-protection dimension because this failure mode should not be characterized merely as a cosmetic sidebar regression.

I am not alleging intentional deletion. I am asking OpenAI to address the legal and contractual consequences of making paid users’ existing digital work product and project history inaccessible immediately after a vendor-controlled update and re-authentication flow.

Functional effect

From the user’s perspective, there is no meaningful operational distinction between:

  • deleting a project history,
  • corrupting the index required to retrieve it,
  • migrating it into an unreachable state,
  • or rendering it inaccessible with no supported recovery mechanism.

In each case the user loses the ability to possess, use, inspect, continue, export, or recover the digital work product on which ongoing work depends. If the service itself performed the update that caused that state, the resulting loss of access should be treated as a data-continuity and service-performance incident, not dismissed as a UI inconvenience.

Paid digital service / allocation of risk

OpenAI’s own Terms of Use acknowledge the possibility of loss of data and expressly state that liability limitations apply only to the maximum extent permitted by applicable law. That qualification matters. A standard-form disclaimer does not automatically answer whether a vendor may shift to a paying user the entire risk of a vendor-controlled migration failure that makes accumulated work product inaccessible.

For users in Taiwan, this raises at minimum questions under the Consumer Protection Act’s principles governing standard-form contracts. The Executive Yuan Consumer Protection Committee explains that:

  • Article 11 requires standard-form terms to follow the principle of equality and reciprocity;
  • Article 12 provides that terms contrary to good faith and manifestly unfair to consumers are invalid;
  • a term may be considered inconsistent with equality and reciprocity where the consumer is made to bear risks that are not within the consumer’s control.

A forced or vendor-controlled update is, by definition, not a risk the end user controls. If the result is loss of access to accumulated paid-service work history, OpenAI should explain what safeguards, rollback, recovery, and preservation mechanisms existed and why the user should bear the consequences of their failure.

Preservation / spoliation concern

Now that this class of failure has been repeatedly reported, OpenAI should preserve relevant migration, authentication, synchronization, project-registry, and account-mapping logs associated with affected users. Users should not be instructed to reinstall, reset, clear local state, or overwrite databases before OpenAI states clearly whether those actions could destroy evidence or recoverable state.

This is especially important where support or engineering may later need to determine whether the missing material still exists in remote metadata, an account-level project registry, migration caches, or server-side mappings.

Requested response

Please provide a concrete answer to the following:

  1. Does OpenAI classify inaccessible pre-update Codex project history as a data-loss/data-continuity incident when no supported recovery path is available?
  2. What is the authoritative source of truth for pre-update Windows Codex projects and chats?
  3. What preservation steps should affected users take before reinstalling or resetting the app?
  4. Does OpenAI retain server-side project/thread metadata that can be used to restore local project associations?
  5. Is there an internal recovery or reindex tool that Support can run for affected accounts?
  6. If recovery is impossible, what remedy is OpenAI offering paying users whose accumulated work context became inaccessible as a direct consequence of the update?
  7. What safeguards will be added so future migrations are transactional, reversible, and do not commit until preservation/backfill succeeds?

Again, I am deliberately avoiding claims of intentional destruction. The issue is simpler and more serious: a paid software provider shipped an update after which accumulated user work became inaccessible, and the user currently has no supported means to recover it. OpenAI should address that as an incident involving continuity of digital assets, contractual performance, preservation, and consumer protection—not merely UI state.

Shedletsky · 7 days ago

Additional confirmed occurrence on Windows with Codex Desktop 26.814.5517.0.

This instance had the same core failure, with more detailed local-state evidence:

  • The primary state_5.sqlite passed integrity checks and still contained 4,522 thread rows (4,197 active).
  • The desktop local_thread_catalog still contained 1,036 tasks across 73 distinct working directories. Historical tasks retained correct CWD values.
  • Despite that intact data, every historical task was exposed with projectId: null, and the live project API returned zero local projects.
  • %USERPROFILE%\.codex\.codex-global-state.json contained an empty "local-projects": {} registry and no effective thread-to-project assignments.
  • The migration markers already included 2026-07-13-local-projects and 2026-07-14-repair-metadata-local-projects, so the app considered the relevant migration/repair complete even though the registry was empty.
  • This incident also had a malformed logs_2.sqlite. Quarantining it allowed Codex to create a healthy replacement, but did not regenerate local projects, so I cannot establish causality between the log DB corruption and the project-registry loss.

A backup-first reconstruction from the catalog CWDs restored 17 local projects and 1,024 task-to-project assignments. After restart, the live Codex project API reports all 17 local projects again. No task contents or source files were modified.

This points to an inconsistent split-brain state: task/CWD history remains in SQLite, while the separately stored JSON project registry and membership can be empty even though the migration markers say repair already ran.

Suggested recovery behavior:

  1. Make the project migration/repair idempotent.
  2. On startup, if local-projects is empty (or assignments are missing) while the catalog contains historical CWDs, automatically reconstruct project candidates/assignments or offer a one-click repair.
  3. Consider storing project registry/membership transactionally with the catalog, or at least validate the JSON state before marking the migration complete.

I have intentionally omitted local paths, project names, chat contents, and raw database files. Sanitized diagnostics can be provided privately if needed.

suqinghechina-debug · 1 day ago

Confirmed on Windows after the latest Codex Desktop update.

Observed behavior:

  • Existing local repository files and task history are still present and accessible by absolute path.
  • The app project listing returns only ChatGPT/cloud projects; the current local Git repository is absent.
  • As a result, creating a new Codex task targeted at the saved local project (including automatic worktree creation) is unavailable.
  • A projectless task still works when given an explicit local repository path, and a manually created Git worktree also works as a temporary workaround.

Expected behavior:

  • Previously saved local projects should remain listed after update and should be selectable as targets for new local/worktree tasks.

Environment:

  • Windows x64, OS build 26200
  • Codex Desktop executable install directory build identifier: d0097be4feba73d0

No repository contents or credentials are included in this report.

miruronpa · 1 day ago

I’m seeing essentially the same failure on Windows Codex Desktop, and it has now happened to me three times.

Typical sequence:

  1. I leave the PC in sleep mode overnight.
  2. By the time I return, Windows has been forcibly restarted (I cannot yet confirm whether a Codex/Microsoft Store update occurred during that restart).
  3. After launching Codex Desktop, all of my local projects have disappeared from the Projects list.
  4. The underlying conversations are not deleted — they are still visible under Recent.
  5. The local project folders are also still present on disk.

So this looks like the same project-registry / thread-to-project-assignment loss described here, rather than actual conversation deletion.

This is extremely disruptive. Projects are the primary organizational structure for ongoing local work; silently dropping every project association after a restart makes the application look as if major work has been lost and forces manual recovery/reconstruction.

Please prioritize this. At minimum, Codex Desktop should:

  • persist project mappings atomically so a crash/reboot/update cannot replace them with an empty registry;
  • automatically rebuild project associations from durable thread metadata / cwd when the registry is missing or inconsistent;
  • provide an official Repair/Rebuild Projects command instead of requiring users to edit internal JSON/SQLite state;
  • keep recoverable backups that are not overwritten by the same bad state.

The fact that the conversations survive in Recent strongly suggests the durable information needed for recovery still exists. Losing the UI/project index should be treated as a rebuildable cache failure, not as permanent project-state loss.

roysht · 22 hours ago

I am experiencing the same project-registry/sidebar failure on Windows, and the problem still persists on a newer desktop build.

Environment

  • Application: ChatGPT powered by Codex & OWL
  • Current version: 26.820.71523
  • Platform: Windows x64
  • Subscription: ChatGPT Pro
  • Observed: August 2026

What is happening

After a ChatGPT/Codex desktop update, all of my existing Codex projects disappeared from the Projects list in the Windows desktop application.

The underlying projects, chats, and synchronization do not appear to have been deleted:

  • All affected chats remain accessible through Search/Recents and open normally.
  • Hovering over an affected chat on Windows still shows its original project association.
  • The complete original project list remains visible in Codex Remote in the ChatGPT iOS application.
  • Existing affected chats can still be continued normally.
  • New chats created on the Windows desktop synchronize successfully and can be found on iOS.
  • The issue remains after updating the Windows desktop application again to version 26.820.71523.

Cross-device synchronization test

I performed the following test:

  1. Created a new test project in Codex on the Windows desktop.
  2. Started a new chat inside that project.
  3. Confirmed that the new chat synchronized successfully and could be found in the iOS application.
  4. Confirmed that the normal Windows desktop project list still did not repopulate.

This indicates that account/chat synchronization is working, while the Windows desktop project registry, sidebar index, or project-list hydration is failing.

Troubleshooting already attempted

  • Fully quit and reopened ChatGPT/Codex.
  • Restarted Windows.
  • Signed out and signed back into the same ChatGPT account.
  • Confirmed that the same account and workspace are selected.
  • Confirmed that the projects remain visible on iOS.
  • Confirmed that the affected chats remain searchable, accessible, and functional.
  • Installed the newest desktop update offered to me and tested again on version 26.820.71523.

None of these steps restored the Windows desktop project list.

Expected behavior

All existing projects and their chat groupings should remain visible after a desktop application update. The Windows desktop app should rebuild or reconcile the Projects list from the valid project and thread metadata that clearly still exists.

Actual behavior

Chats and project associations remain intact and synchronize across devices, but the Windows desktop Projects list no longer displays the projects.

Data-safety concern

I have intentionally not reset the application, cleared application data, manually edited the local Codex database/global-state files, recreated all of the missing projects, or applied unofficial recovery scripts. Because the chats and project associations are still present, those actions could overwrite valid metadata or make recovery harder.

Please investigate the Windows desktop project-registry/sidebar synchronization and provide a supported way to rebuild the Projects list without deleting or recreating the existing projects. I can provide sanitized diagnostics or a feedback/session ID privately if requested.

Zef76 · 14 hours ago

Additional Windows observation — 2026-08-27

I am seeing the same missing local-project registration symptom, with the entire local Projects list now empty.

Environment

  • Installed Windows package: OpenAI.Codex 26.820.10647.0, obtained with Get-AppxPackage (package version, not a version copied from the About dialog).
  • OS: Microsoft Windows NT 10.0.26200.0, x64.
  • Desktop UI language: German.

Observed behavior and verified diagnostics

  • The Projects section shows “Projekte: keine” (Projects: none); a previously listed local project is missing.
  • The app's project-list tool returns no saved local projects.
  • Read-only inspection of %USERPROFILE%\.codex\.codex-global-state.json found:
{
  "local-projects": {},
  "selected-project": null
}
  • The affected project directory still exists. Git can read its current branch and latest commit.
  • Existing related tasks are still discoverable through the app's task-list tool, with projectId: null.
  • The recent turns of an existing related task remain readable through the app's task-read tool.

This distinguishes the observed symptom from deletion of the project directory or loss of access to all task history. The immediate observable state is an empty local-project registry.

Limits of the observation

The exact transition that cleared the registry has not been captured. I cannot confirm an update, migration, synchronization operation, or user action as the trigger. There is no reliable reproduction sequence yet, and this comment does not claim to establish the root cause.

The investigation did not modify the app configuration or registry. Re-adding the existing folder was suggested from the official troubleshooting documentation, but recovery and restoration of historical task associations have not been tested.

Expected: saved local projects and their task associations remain available, or the app provides a supported recovery path when those registrations are missing.

Privacy: personal filesystem paths, project names, project contents, task/session identifiers, account details, and full configuration/log files are deliberately omitted.

naipi11 · 13 hours ago

If local projects disappear from the Projects list after an update or restart, the underlying chats and files are usually still on disk. This is a recovery method for restoring access to the affected tasks, not a fix for the project registry itself:

  1. Pin any affected task that is still visible in Recent or Search so it stays on screen.
  2. From a terminal run codex resume --all and open the missing task by its id or name. In Desktop, opening the opaque thread id directly also works (the task may show as notLoaded first, then loads).
  3. After it opens, pin it or send a new message so it stays inside the loaded window.
  4. Before assuming data loss, confirm the local store is healthy: the thread still exists in state_5.sqlite and PRAGMA quick_check returns ok.

Limitations: this restores visibility and continued access to existing tasks, but it does not rebuild the empty local-projects registry, so the project may still not reappear under Projects until a later update rebuilds the assignments.

Independent community workaround; not an official OpenAI fix.

roysht · 8 hours ago

Update: recovery succeeded on Windows desktop 26.820.71523

I successfully restored the missing Projects list. The underlying chats had not been deleted; the failure was in the local project catalog and its thread-to-project associations.

Verified diagnostics

  • SQLite still contained 639 thread records with working-directory metadata.
  • The SQLite projects, project_roots, and project_idempotency_keys tables contained no project records.
  • Every threads.project_id value was null.
  • The primary and shadow global-state JSON files contained only one incomplete/current local-project record and one assignment.

The available evidence confirms a catalog/association-state failure. It does not establish whether the trigger was the desktop update, migration, an unclean shutdown, or a synchronization/hydration defect.

Repair performed

A backup-first community repair reconstructed the project catalog using nine explicitly reviewed project roots and surviving local thread metadata. The successful plan modified only these JSON keys:

  • local-projects
  • project-order
  • thread-project-assignments
  • thread-workspace-root-hints

The primary and shadow global-state JSON files were replaced atomically after validation. SQLite was opened read-only and was not modified. No chats, prompts, transcripts, session files, source files, authentication data, or cloud/account state were changed.

After restarting the desktop application:

  • The project registry contained nine total projects.
  • The reconstructed mapping contained 74 user-facing task associations.
  • Existing chats remained intact and accessible.
  • Tasks appeared grouped under the restored Projects list.
  • SQLite remained unchanged.

Internal agent records were excluded, explicitly projectless records were preserved, and 502 internal records were not assigned.

Before writing, the repair required a fully closed application, stable file fingerprints, a successful SQLite integrity check, hash-bound planning, checksum-validated byte-for-byte backups, atomic writes, and rollback metadata.

Important warning

This was an independent community workaround, not an official OpenAI fix. The exact modernization that produced this recovery is currently local and unpublished. The older public repair repository was only the starting point and should not be presented as containing this version-specific fix.

Do not reconstruct projects blindly from every recorded working directory. Nested repositories, worktrees, temporary folders, and internal agent directories can produce incorrect projects or associations. Complete backups and a privacy-redacted, read-only dry run are essential.

OpenAI should add an official Repair/Rebuild Projects function that can detect and safely recover an empty or inconsistent local project registry.