What version of Codex is running?
- Codex Desktop:
26.513.31313
- Codex CLI recorded in the thread metadata:
0.131.0-alpha.9
What subscription do you have?
Not included in this public report.
Which model were you using?
gpt-5.5
What platform is your computer?
Windows 10 Pro 22H2, build 19045, x64.
What terminal emulator and version are you using (if applicable)?
Codex Desktop on Windows. The workspace shell is PowerShell.
What issue are you seeing?
After a recent Codex Desktop update, some existing history conversations frequently fail to open correctly from history / resume flows. The underlying local data still exists and appears valid, but the Desktop UI reports/opening behavior is inconsistent.
Example affected conversation:
conversationId: 019e2fa5-0472-7cd3-a672-368b01774be1
Local inspection suggests this is not a corrupt rollout file:
- rollout JSONL exists under
%USERPROFILE%\.codex\sessions\...
- rollout size: ~
21.82 MB
- line count:
8389
- JSON parse errors:
0
- largest line:
357913 bytes
- image/base64-containing lines:
3
state_5.sqlite PRAGMA integrity_check: ok
threads table contains the conversation id with archived = 0
thread/read and thread/resume are routed successfully in Desktop logs
However, Desktop logs show this error during resume/open:
method=thread/goal/get errorCode=-32600
error={"code":-32600,"message":"goals feature is disabled"}
Failed to hydrate thread goal after resume
maybe_resume_success conversationId=019e2fa5-0472-7cd3-a672-368b01774be1 ... markedStreaming=true
There are also early warnings for this conversation:
No cwd found for local task conversationId=019e2fa5-0472-7cd3-a672-368b01774be1
One suspicious metadata detail: the threads.cwd value in SQLite is recorded with a Windows native namespace prefix like \\?\D:\..., while the rollout session_meta.cwd uses the normal D:\... form. The local session_index.jsonl also does not contain this conversation id, although state_5.sqlite does.
What steps can reproduce the bug?
- On Windows Codex Desktop
26.513.31313, open/resume an existing history conversation that was created by Codex Desktop and has a local rollout JSONL.
- The affected conversation has multiple compactions/rollbacks/aborted turns, but the JSONL parses cleanly.
- Attempt to open the conversation from history or resume it.
- Observe that Desktop attempts
thread/read and thread/resume, then thread/goal/get fails with goals feature is disabled. The user-facing history/open behavior is unreliable even though the thread data is present and readable locally.
What is the expected behavior?
Existing history conversations with valid rollout JSONL and valid threads DB rows should open normally. If the goals feature is disabled, Desktop should not treat thread/goal/get hydration failure as a blocking/error condition for opening a thread.
Additional information
This may be related to #20841, but that report covers TUI/macOS. This report is for Codex Desktop on Windows and the history/open/resume path.
Potentially related areas:
- Desktop
thread/goal/get hydration when goals are disabled
- Windows cwd normalization between
\\?\D:\... and D:\...
- history/index consistency when
state_5.sqlite contains the thread but session_index.jsonl does not
I intentionally omitted full logs and local project contents from this public issue, but the conversation id and the summarized diagnostics above should help identify the failing path.
What version of Codex is running?
26.513.313130.131.0-alpha.9What subscription do you have?
Not included in this public report.
Which model were you using?
gpt-5.5What platform is your computer?
Windows 10 Pro 22H2, build
19045, x64.What terminal emulator and version are you using (if applicable)?
Codex Desktop on Windows. The workspace shell is PowerShell.
What issue are you seeing?
After a recent Codex Desktop update, some existing history conversations frequently fail to open correctly from history / resume flows. The underlying local data still exists and appears valid, but the Desktop UI reports/opening behavior is inconsistent.
Example affected conversation:
conversationId:019e2fa5-0472-7cd3-a672-368b01774be1Local inspection suggests this is not a corrupt rollout file:
%USERPROFILE%\.codex\sessions\...21.82 MB83890357913bytes3state_5.sqlitePRAGMA integrity_check:okthreadstable contains the conversation id witharchived = 0thread/readandthread/resumeare routed successfully in Desktop logsHowever, Desktop logs show this error during resume/open:
There are also early warnings for this conversation:
One suspicious metadata detail: the
threads.cwdvalue in SQLite is recorded with a Windows native namespace prefix like\\?\D:\..., while the rolloutsession_meta.cwduses the normalD:\...form. The localsession_index.jsonlalso does not contain this conversation id, althoughstate_5.sqlitedoes.What steps can reproduce the bug?
26.513.31313, open/resume an existing history conversation that was created by Codex Desktop and has a local rollout JSONL.thread/readandthread/resume, thenthread/goal/getfails withgoals feature is disabled. The user-facing history/open behavior is unreliable even though the thread data is present and readable locally.What is the expected behavior?
Existing history conversations with valid rollout JSONL and valid
threadsDB rows should open normally. If the goals feature is disabled, Desktop should not treatthread/goal/gethydration failure as a blocking/error condition for opening a thread.Additional information
This may be related to #20841, but that report covers TUI/macOS. This report is for Codex Desktop on Windows and the history/open/resume path.
Potentially related areas:
thread/goal/gethydration when goals are disabled\\?\D:\...andD:\...state_5.sqlitecontains the thread butsession_index.jsonldoes notI intentionally omitted full logs and local project contents from this public issue, but the conversation id and the summarized diagnostics above should help identify the failing path.