Repository navigation
Description
Summary
A long-running local Codex Desktop thread on Windows has now shown a cross-device history/reconstruction failure with a particularly suspicious timeline:
- Codex Mobile Remote first rolled back to an older checkpoint while the Windows Desktop thread continued normally with newer history.
- The Windows machine was later fully rebooted, and Codex Desktop successfully cold-restored the complete newer conversation history beyond that checkpoint.
- Several days later, multiple local Codex conversations began failing to reconstruct in Desktop.
- After fully quitting and restarting Codex Desktop, the most important thread reopened with approximately a week of intermediate conversation/tool history missing, while the newest active turn was still visible.
- The older visible history now stops at the same checkpoint that Mobile Remote had previously rolled back to.
This report intentionally does not claim that the underlying rollout data has been physically deleted. A read-only local forensic inspection has not yet been completed. The purpose of this report is to preserve the observed timeline before attempting any repair.
Environment
- Product: Codex Desktop + Codex Mobile Remote
- Desktop OS: Windows
- Subscription: ChatGPT Pro
- Desktop app / bundled Codex version: not yet captured
- Incident date: 2026-09-07
- Timezone of reporter: Asia/Bangkok (UTC+07:00)
- The affected Desktop machine is physically located in Beijing and was observed remotely by video call during the incident.
Observed timeline
~September 2, 2026 — Mobile Remote rollback
A long-running local Windows Codex Desktop thread continued executing normally.
On the iPhone Codex Remote view, later USER / TOOL / FINAL history had already been visible. While Remote remained in use, its displayed conversation later rolled back to an older checkpoint (referred to below as checkpoint X).
At that time:
- Windows Desktop did not roll back.
- The Desktop thread continued forward.
- Later history remained visible on Desktop.
September 3, 2026 — full Windows reboot proves later history was recoverable after cold start
The Windows PC was fully rebooted for an unrelated Docker startup problem.
This was a real machine reboot, not merely a renderer refresh or Codex window reopen.
After reboot:
- Codex Desktop was started again.
- Docker was started again.
- The same important Codex thread reopened normally.
- The conversation history beyond checkpoint X was still present and usable.
- Work continued for several more days.
This appears important because it rules out a simple explanation where Desktop only appeared correct because newer history existed solely in process memory and had never survived a cold restart.
September 7, 2026 — Desktop reconstruction failure
Around early afternoon, Mobile Remote again stopped updating / lost connection to the Beijing Desktop session.
The Windows Desktop screen was inspected by live video call. The active Codex task appeared visually unchanged for several hours; the bottom-most visible status/output line had not changed.
To determine whether only that task was stuck, several other local Codex projects/conversations were opened.
At that point, multiple different conversations showed the same failure pattern:
- A red warning repeatedly appeared at the top of the window.
- In the Chinese UI the warning was observed as approximately “无法重建会话” (roughly “unable to reconstruct conversation”).
- The warning appeared briefly, disappeared, and immediately reappeared in a loop.
- The center of the window showed a rename-conversation UI.
- Choosing either save or cancel did not make the affected conversation content render normally.
- The same general behavior occurred across multiple local Codex conversations, not only the important thread.
Because the failure already affected multiple conversations, no repair/reset/reindex operation was attempted.
Codex Desktop was then fully exited from the Windows system tray and started again.
After the September 7 restart
The important thread could be opened again, but its reconstructed history was abnormal:
- The newest active turn was still visible. That turn involved Codex obtaining a task from a GPT conversation and beginning execution.
- Above that newest turn, approximately a week of intermediate conversation / tool / result history was no longer visible.
- The older visible history stopped at exactly the same checkpoint X that Mobile Remote had previously rolled back to days earlier.
Observed shape:
Before:
checkpoint X
-> several days / roughly a week of later conversation, tools, results
-> newest active turn
After restart:
checkpoint X
-> [intermediate history not visible]
-> newest active turn still visible
The exact local persistence state has not yet been inspected, so this report does not assume whether the missing middle section is absent from the canonical rollout, present but not projected, or associated with another lineage/branch.
Why the timeline seems significant
The September 3 full Windows reboot successfully restored all then-current history beyond checkpoint X.
Therefore, a simple model such as:
“newer history only survived in app memory until the first restart”
is inconsistent with the observed timeline.
Likewise, the fact that Desktop on September 7 reconstructed to the same older checkpoint previously seen on Mobile Remote seems worth investigating as a possible shared checkpoint / lineage / projection / resume-state boundary rather than random file truncation.
This is only an observation, not a claimed root cause.
Steps to reproduce
There is not yet a deterministic minimal reproduction. The observed sequence was:
- Maintain a long-running local Codex Desktop thread on Windows for multiple days.
- Use Codex Mobile Remote with that Desktop session.
- Observe Mobile Remote displaying newer turns and later reverting to an older checkpoint X while Desktop remains current.
- Fully reboot Windows on a later day.
- Reopen Codex Desktop and confirm the same thread still restores the complete newer history beyond X.
- Continue working in the same thread for several more days.
- Later encounter a state where multiple Desktop conversations fail to reconstruct and repeatedly show a conversation reconstruction error.
- Fully quit and restart Codex Desktop.
- Reopen the important thread.
- Observe that intermediate days of visible history are missing, while the reconstructed older history stops at the same checkpoint X previously seen on Mobile Remote and the newest active turn may still be visible.
Expected behavior
- A local Desktop thread that has durably survived a full Windows reboot should continue to reconstruct all supported later conversation history on subsequent restarts.
- Mobile Remote should not regress to an older conversation state after newer turns have already been displayed.
- Desktop and Mobile Remote should not independently reconstruct the same thread to a stale historical checkpoint while later durable work exists.
- If conversation reconstruction cannot complete, the app should report a precise actionable error and must not silently present a stale partial history as authoritative.
- There should be a supported, non-destructive way to verify/rebuild the derived history state from the canonical local rollout when possible.
Current handling / evidence preservation
No destructive repair has been attempted after the incident:
- no
.codexdeletion - no state database deletion
- no cache reset
- no forced reindex
- no thread rollback/revert
- no archive/delete operation
- no reinstall/update performed specifically to repair this incident
- no raw transcript or private project data uploaded publicly
The next planned step is a read-only forensic preservation and comparison of the local Codex state (rollout/session files, history/state databases, and logs) to determine whether the missing intermediate history still exists in canonical local records and where reconstruction diverges.
Sanitized metadata, relevant event windows, hashes, projection cursor information, and log excerpts can be added if maintainers request them or once the read-only inspection is complete.
Related reports
Potentially related, but this report adds the cross-device same-checkpoint behavior and the September 3 successful full cold reboot before the later failure:
- [Windows][Desktop 26.831.2377.0] Thread history projection stuck after Remote Control session: expected ordinal 6758, got 6757 #42197 — Windows Desktop history projection stuck after Remote Control session
- [Desktop][Windows] Paginated thread history stalls on duplicate ordinal while rollout remains complete #41079 — Windows paginated thread history stalls while rollout remains complete
- Codex Desktop 0.153.4: existing task loses access to days of history after reopen; persisted projection cursor points behind expected ordinal #43182 — existing task loses access to days of history after reopen; stale projection / rollout boundary evidence
- Codex paginated rollout can emit duplicate ordinal after unfinished turn, permanently freezing thread history projection #41566 — duplicate ordinal can freeze thread history projection
I am not claiming these have the same root cause; they are listed because the visible failure family is similar.
Activity
github-actions commentedon Sep 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
evilsson12345-dot commentedon Sep 7, 2026
Read-only forensic update from the affected Windows machine
I have now inspected the affected thread's local persistence state read-only while leaving the active Codex task and project workspace untouched.
Confirmed thread / runtime metadata
01a052a1-b60c-7c51-89c3-816011d1a5dfpaginated0.150.0-alpha.8Critical projection / rollout mismatch
In
thread_history_1.sqlite, the affected thread'sthread_history_projection_statecurrently contains:Reading the canonical rollout JSONL at exactly byte offset 27,340,014 produces:
So the persisted projection cursor says the next expected ordinal is 2240, but the persisted byte offset points to a complete record whose ordinal is 2239. The following record is ordinal 2240.
This is a directly observed off-by-one boundary inconsistency. It is not yet proof of the code path that originally created it.
Later history is still present in the canonical rollout
The canonical rollout file is currently approximately 309 MB and continues far beyond the stale projection boundary.
The most recent sampled records at the tail were:
This confirms that the raw rollout still contains persisted activity from September 7, while the history projection remains anchored at an August 31 boundary.
Therefore, for this affected thread, the currently observed Desktop rollback is not explained by physical deletion of all later rollout records. The durable source history and the projected/reconstructed history have diverged.
Relation to existing reports
This local evidence now looks particularly close to the boundary pattern described in #43182 and the Windows projection-stall family (#41079 / #42197), although I am not claiming identical root cause yet.
The especially unusual part of this incident remains the cross-device timeline documented in the original report: Mobile Remote previously regressed to the same stale visible checkpoint, a later full Windows reboot still successfully restored the complete history, and only days afterward Desktop reconstruction also regressed.
No raw transcript text, project source, credentials, or proprietary workspace files were read or attached as part of this update.
rutledmj commentedon Sep 8, 2026
Independent reproduction observed on September 8, 2026.
Environment
OpenAI.Codex 26.901.5280.0Reproduction and evidence
Two screenshots taken one minute apart capture the transition:
A read-only check of the Windows host's local rollout JSONL confirms that the newer turns remain present after the mobile rollback. Both screenshots also show the same thread title and Windows host. This points to stale iOS Remote hydration/projection/cache selection rather than deletion from the canonical local transcript or accidentally opening another thread.
Important distinction
The latest content had already reached and rendered on the iPhone before restart. This is therefore different from a live update that never arrived: restarting/reopening the iOS app causes (or exposes) the regression to an older snapshot.
Expected
After an app restart, Codex Remote should hydrate the latest persisted thread revision.
Actual
The same thread reloads from an older checkpoint even though newer turns remain durably stored on the Windows host.
No raw transcript, local paths, host name, thread ID, or private project data are included publicly. The before/after screenshots can be supplied privately if needed.
punk8ntdead commentedon Sep 11, 2026
Have same problem. Mutliple (local) chats on Windows Desktop app are all pegged to messages 22 hours ago. Everything inbetween is gone and chats will not retain new memory after an app restart.
Chatbot summary: "The app’s visible timeline is failing, but the local append-only record is still present."
Environment:
Host: Windows 11 Pro, version 10.0.26200 (build 26200), x64
Desktop package: 26.909.12148
Client: ChatGPT on Desktop App
Local host and same long-running threads throughout
Submitted Ticket: no-active-thread-01a08edf-7972-71f3-b9ee-f4e6cd845cb3
vbzgn2rc98-ctrl commentedon Sep 11, 2026
Additional read-only projection liveness evidence (2026-09-11)
A fresh read-only inspection of an affected long-running Windows thread shows that the canonical rollout is still being appended while the thread-specific paginated history projection remains stationary.
Environment:
codex-cli 0.154.0Repeated samples
Across approximately 16 minutes:
At the frozen projection boundary, the latest projected item timestamp is
2026-09-10T23:35:12.650Z. The first complete canonical record after the cursor is timestamped2026-09-10T23:37:18.664Z. A direct count at an earlier sample found more than 6,100 complete JSONL records after the cursor.The
thread_history_1.sqlite-walfile continued receiving writes during observation, but this thread's row inthread_history_projection_statedid not change. This distinguishes general database/WAL activity from successful projection progress for the affected thread.The visible Desktop session can continue showing current live activity, but reopening or hydrating from persisted history may still expose the stale projection. This is consistent with the apparent “current while live, stale after reload/remote hydration” behavior described above.
A Windows app repair/reboot is planned next. I will add a follow-up stating whether the same projection cursor advances afterward; no destructive recovery is being attempted.
No raw transcript content, credentials, user profile paths, thread identifiers, or private workspace data are included in this update.
jmhan9417 commentedon Sep 12, 2026
Independent macOS reproduction: Remote was newer than Desktop, then Remote rolled back to the same checkpoint
I am seeing a closely related failure on a macOS host using Codex Desktop + Remote on September 11, 2026.
Observed sequence
So the visible sequence was approximately:
Read-only forensic evidence from the local host
I performed a read-only inspection of the local rollout for the affected thread. I am intentionally not publishing the thread ID or private project content.
The local rollout corresponding to the visible checkpoint has these properties:
task_complete.task_completerecord is line 3,582 (last ordinal observed: 3581).This is different from several projection-stall reports where the newer conversation is still present later in the same canonical JSONL but the UI/read projection stops earlier.
In this case, the newer work was visibly present on Remote before the Remote rollback, but the local rollout I identified for the thread ends exactly at checkpoint X.
I am not claiming the later work is permanently deleted. Plausible possibilities I am still checking include:
Preservation / safety steps
Since observing the rollback I have avoided destructive repair and have not intentionally continued the affected stale thread.
I have not:
.codexstate;I also made a read-only backup of the affected rollout before further investigation.
Next read-only checks are:
Why this may be useful
This seems especially relevant to the cross-device same-checkpoint behavior in this issue because the Remote view was demonstrably ahead of Desktop, then later rolled back to the exact same checkpoint.
It also appears related to #43537 (Remote completion leaves other clients stale), but this case goes one step further: the previously newer Remote history itself later regressed.
If maintainers want additional diagnostics, I can preserve and provide sanitized metadata only (rollout timestamps/ordinals, file hashes, app/server version, relevant state/projection rows, and logs) without exposing private repository or conversation content.
It would be useful to know whether Remote continuations are expected to use a separate rollout/lineage from the host thread, and which local state/log files should be captured before any restart or repair to help determine where the post-checkpoint Remote history went.