Repository navigation
Description
Summary
All 14 local projects disappeared from the Windows desktop app's Projects sidebar on October 11, 2026. Restarting the app did not restore them. Existing chats and source folders remained available.
This report is filed at the affected user's explicit request. It adds observations from build 13901 and a successful recovery to the similar open report #42739. Please consolidate with that report if appropriate.
Environment
- Windows desktop app, installed package observed during diagnosis:
OpenAI.Codex_26.1007.2314.0_x64. - Desktop client version observed in logs:
26.1007.21434. - Build:
13901. - Build commit:
615adb2c04224ce3b678e72cd9e6927ce72331f5. - Observed date: October 11, 2026.
- Exact trigger and clean-profile reproduction steps are unknown; an update-triggered regression is not established.
Actual behavior and local evidence
- The Projects section was empty; the built-in
list_projectstool returned{"schemaVersion":2,"projects":[]}. - The built-in
list_threadsstill returned existing local chats, with null project IDs in the inspected entries. - A local snapshot of
state_5.sqlitecontained 14 rows inprojects, with corresponding roots inproject_roots. All project membership counts were zero when joiningthreads.project_idagainst those projects in that snapshot. .codex-global-state.jsoncontainedlocal-projects: {}and an emptysidebar-project-thread-orders. The local migration checkpoint hadprojectsMigrated: true,threadAssignmentsMigrated: false.- Desktop startup logged successful project migration with the same count, despite the empty sidebar:
2026-10-11T10:17:30.762Z info [host-app-server-projects] Local app-server project migration completed projectCount=14
- Reconstructing the global-state project cache while Desktop remained open was immediately overwritten: a subsequent read again found zero cached projects.
- Restarting Desktop alone did not fix the missing projects.
Recovery performed
After preserving settings and a database snapshot, a local helper was prepared to restore the global-state project cache while Desktop was fully closed. It reconstructed project names, IDs, roots, ordering and available appearance metadata from the existing SQLite records; merged thread assignments for exact normalized working-directory matches while excluding explicitly projectless chats; and reset the thread-assignment migration checkpoints. It did not recreate project source folders or directly modify the live SQLite database.
The user ran the helper with Desktop closed, reopened the app, and confirmed that the projects returned. Because multiple cache/membership fields were restored together, this does not isolate which individual field is necessary for recovery. Durability across future updates or repeated restarts has not been established.
Expected behavior / investigation request
Existing local projects and their organization should remain visible across launches. If the desktop cache is empty while app-server still has project records, the app should reconcile the cache or expose an actionable recovery state.
Please investigate the project registry/cache reconciliation and incomplete thread-assignment migration. The observed cache/database mismatch is established; the exact root cause remains a hypothesis.
No private project names, user paths, account or thread identifiers, credentials, raw database files, or full session transcripts are attached.
Activity
github-actions commentedon Oct 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
drakunov commentedon Oct 15, 2026
Additional report: #53305. This has now happened twice on my Windows machine following unexpected power-loss reboots. Project entries disappeared from the sidebar again after the second incident.
During the latest recovery, the SQLite integrity check passed and local chat metadata remained intact. The project catalog in .codex-global-state.json was missing, and its .bak did not contain the catalog either. Restoring only the project catalog and chat assignments from a known-good metadata backup restored the structure without replacing the SQLite database or rolling back conversations.
This is a repeated observation after unexpected shutdowns, not a controlled reproduction. Happy to provide sanitized diagnostics if useful.
Update, October 15: the same incident also cleared Settings → Connections → Control other devices. Two previously configured devices are no longer listed; the UI now shows the initial “Set up” prompt. Local diagnostics show two remote-control connections before the incident, then global-state JSON parse errors involving null characters, followed by zero connections. The electron-remote-control-client-enrollments entry is now absent from both the current global-state file and its .bak.
This loss preceded the project-only recovery, which modified only project-related fields. Restoring the project structure did not restore these connections. This suggests the state-loss issue can affect remote-control client enrollment data as well as the project catalog; it does not establish that the remote machines themselves were unregistered or offline.
Samare19 commentedon Oct 16, 2026
Додатковий випадок, 16.10.2026: втрата каталогу локальних проєктів після зникнення електроенергії під час роботи Codex.
Користувач повідомляє, що проблема повторюється після раптового відключення живлення із запущеним застосунком. Контрольоване відтворення зі штучним аварійним вимкненням не проводилося.
Середовище:
Перевірені локальні спостереження:
Очікувана поведінка: раптове завершення роботи не повинно безповоротно очищувати реєстр проєктів і прив’язки чатів. Якщо desktop-кеш порожній, а app-server/SQLite зберіг проєкти, потрібне узгодження станів або явний засіб відновлення. Записи резервних копій мають зберігати попередню придатну версію після помилки читання/запису.
Зібрано локальну резервну копію налаштувань та snapshot SQLite. Відновлення на момент цього повідомлення ще не підтверджене; його результат можна додати окремо.
Це повідомлення надіслано за прямим дорученням користувача. Приватні назви проєктів, шляхи, ID чатів, токени, повні журнали та файли виробництва не публікуються.