Codex Desktop can enter a permanent startup crash loop after creating a project, hiding local history
Summary
Codex Desktop for Windows entered a persistent startup crash loop immediately after creating a new local project. Reinstalling did not fix the problem. Moving %USERPROFILE%\.codex aside allowed the app to start with a fresh profile, but made all previous tasks, conversation history, context, skills, plugins, MCP configuration, and other settings appear lost.
Environment
- Product: Codex Desktop for Windows
- Version observed: 26.721.4979.0
- OS: Windows 11
- Severity: Startup blocker with apparent loss of all local history and configuration
Steps to reproduce
- Open Codex Desktop.
- Create a new local project.
- Codex crashes during or immediately after project creation.
- Relaunch Codex.
- Codex fails again on every launch.
- Reinstall Codex; the startup failure remains.
- Move
%USERPROFILE%\.codexaside. - Codex starts with a fresh profile, but previous local history and configuration no longer appear.
Recovery finding
Database integrity checks passed, indicating that the durable task data was not corrupt. The startup failure appeared to be caused by invalid persisted project/startup state. Removing only the suspect project-state records while retaining the databases, sessions, and configuration restored normal startup and the previous history.
Actual behavior
A bad project/startup-state record can prevent the entire application from launching. Reinstallation does not repair or isolate that state, so users may reasonably believe all tasks and context are permanently lost.
Expected behavior
- Skip or quarantine invalid project records.
- Start in a safe mode when project-state loading fails.
- Keep volatile project-selection/UI state isolated from durable task and session data.
- Snapshot and roll back state before project creation or migration.
- Provide built-in Repair, Reindex, and Restore Backup actions.
- Preserve and detect existing local task data during reinstallation.
- Show actionable recovery information after a startup crash.
Privacy
This report is intentionally anonymized. It contains no account identity, personal filesystem paths, project names, conversation content, source code, tokens, files, or raw logs.
1 Comment
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action