Windows Desktop data loss: 457 local rollout JSONL transcripts deleted while thread records remain
Open 💬 2 comments Opened Aug 27, 2026 by chenhao2341
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Summary
On Windows, Codex/ChatGPT Desktop retained hundreds of local thread records but the corresponding local rollout transcript files disappeared. Every historical thread now fails to open with:
failed to resolve rollout path ... rollout-<timestamp>-<thread-id>.jsonl: file does not exist
This is a data-loss incident, not merely a sidebar/indexing issue.
Environment
- Windows 11
- Microsoft Store package:
OpenAI.Codex 26.820.7780.0 - Local transcript locations:
%USERPROFILE%\.codex\sessionsand%USERPROFILE%\.codex\archived_sessions
Evidence collected
- The NTFS USN journal records a batch deletion at 2026-08-27 10:28:25–10:28:26 local time:
- 457 historical
rollout-*.jsonlfiles deleted - both
sessionsandarchived_sessionsdirectories deleted - The desktop recreated a new
sessionsdirectory at 10:41, after which newly created sessions worked normally. state_5.sqliteand the Desktop local thread catalog still contain the historical thread metadata; opening all affected items fails because their referenced rollout paths are absent.- This was not a Microsoft Store Codex update: the Store update scan at 10:20 reported
NumberOfApplicableUpdates = 0, and there is no AppX deployment/install event in the incident window. - The Windows Recycle Bin contains only manually deleted Desktop items; it contains no
.codex,sessions,archived_sessions, or rollout entry. - Process-creation auditing/Sysmon was not enabled, so the USN journal cannot identify the deleting process.
- Recovery attempts (Recycle Bin, VSS, Windows File Recovery, TestDisk, and a read-only free-space PhotoRec scan) did not produce a valid recovered rollout JSONL.
Why this needs first-party help
The Desktop UI still exposes the task records, but there is no supported recovery path when the source rollout is missing. Local SQLite state only stores metadata/path references and cannot reconstruct the transcript.
Requested action
- Please investigate whether the Windows Desktop app, bundled Codex runtime, or any supported cleanup/migration path can delete local
.codexsession directories. - Please advise whether affected transcript data may be recoverable from any OpenAI-side retained session/task state, or whether a supported diagnostic/export exists.
- Please add a safety guard: never silently delete database-referenced
sessionsorarchived_sessionstranscripts; surface an explicit backup/recovery workflow instead. - Please provide a supported way to detect and repair orphaned thread records without implying that a sidebar reindex can restore deleted transcript content.
I can provide privacy-safe additional diagnostics if maintainers request them.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Independent reproduction: no Codex App update occurred before the data loss.
codex_windows_rollout_data_loss_report.md