What version of Codex is running?
Codex Desktop: 260202.0859 (build 517)
What subscription do you have?
ChatGPT Pro
Which model were you using?
N/A
What platform is your computer?
macOS: 26.2 (arm64)
What terminal emulator and version are you using (if applicable)?
No response
What issue are you seeing?
Codex Desktop shows only cloud threads (personal workspace) and ignores local sessions even when local mode is forced in ~/.codex/.codex-global-state.json. CLI can resume local sessions, but the desktop UI does not list them. This persists across reinstalls, cache resets, and build changes.
What steps can reproduce the bug?
- Ensure local sessions exist at
~/.codex/sessions/.../*.jsonl
- Open Codex Desktop.
- Sidebar shows only cloud threads from personal workspace.
- Force local mode:
codexCloudAccess = disabled
environment = null
sidebar-workspace-filter-v2 = all
- Lock file (
chflags uchg ~/.codex/.codex-global-state.json)
- Restart Codex Desktop.
- Result: still only cloud threads; local sessions never appear.
What is the expected behavior?
Local sessions under ~/.codex/sessions appear in the sidebar when codexCloudAccess is disabled (and/or when “All threads” is selected).
Actual
UI only shows cloud threads. Local sessions are ignored. Changing CLI auth to another workspace doesn’t affect the desktop UI.
Additional information
Evidence
- Local sessions exist and are written by the app:
- Example:
~/.codex/sessions/2026/02/03/rollout-2026-02-03T13-40-28-019c24ce-590a-7e42-b2e3-efe508ee3731.jsonl
- Latest
session_meta.source = appServer
- CLI can resume them (
codex resume) without issues.
- Desktop app continues to show only cloud threads.
What I already tried
- Reinstall older + latest builds
- Clear app caches:
~/Library/Application Support/Codex
~/Library/Caches/com.openai.codex
~/Library/Preferences/com.openai.codex.plist
- Rebuild
history.jsonl from sessions
- Convert
.jsonl to .json (copies)
- Force onboarding override
- Force local mode in
.codex-global-state.json and lock file
- Full Disk Access enabled for Codex
- Result unchanged
Desktop UI appears to ignore local sessions even when local mode is forced. It may be stuck in cloud-only list mode or failing to query local thread list from app-server.
Here are the fully anonymized snippets with fake paths and user:
Sanitized state (selected keys, fake paths)
{
"codexCloudAccess": "disabled",
"environment": null,
"sidebar-view-v2": "threads",
"sidebar-workspace-filter-v2": "all"
}
active-workspace-roots: [
"/Users/me/dev/project-1",
"/Users/me/dev/project-2",
"/Users/me/dev/project-3",
"/Users/me/dev/project-4",
"/Users/me/dev/project-5",
"/Users/me/dev/project-6",
"/Users/me/.codex/workspaces/default"
]
Sanitized latest session_meta (fake user/path)
{
"id": "019c24ce-590a-7e42-b2e3-efe508ee3731",
"timestamp": "2026-02-03T18:40:28.938Z",
"cwd": "/Users/me/.codex/workspaces/default",
"originator": "Codex Desktop",
"source": "appServer",
"cli_version": "0.94.0-alpha.10"
}
Sanitized codex-tui.log excerpt (fake user/path)
2026-02-03T18:42:09.715497Z INFO codex_core::rollout::recorder: Resuming rollout from "/Users/me/..."
2026-02-03T18:42:09.722553Z INFO codex_core::rollout::recorder: Resumed rollout successfully from "/Users/me/..."
What version of Codex is running?
Codex Desktop:
260202.0859(build517)What subscription do you have?
ChatGPT Pro
Which model were you using?
N/A
What platform is your computer?
macOS:
26.2(arm64)What terminal emulator and version are you using (if applicable)?
No response
What issue are you seeing?
Codex Desktop shows only cloud threads (personal workspace) and ignores local sessions even when local mode is forced in
~/.codex/.codex-global-state.json. CLI can resume local sessions, but the desktop UI does not list them. This persists across reinstalls, cache resets, and build changes.What steps can reproduce the bug?
~/.codex/sessions/.../*.jsonlcodexCloudAccess = disabledenvironment = nullsidebar-workspace-filter-v2 = allchflags uchg ~/.codex/.codex-global-state.json)What is the expected behavior?
Local sessions under
~/.codex/sessionsappear in the sidebar whencodexCloudAccessis disabled (and/or when “All threads” is selected).Actual
UI only shows cloud threads. Local sessions are ignored. Changing CLI auth to another workspace doesn’t affect the desktop UI.
Additional information
Evidence
~/.codex/sessions/2026/02/03/rollout-2026-02-03T13-40-28-019c24ce-590a-7e42-b2e3-efe508ee3731.jsonlsession_meta.source=appServercodex resume) without issues.What I already tried
~/Library/Application Support/Codex~/Library/Caches/com.openai.codex~/Library/Preferences/com.openai.codex.plisthistory.jsonlfrom sessions.jsonlto.json(copies).codex-global-state.jsonand lock fileDesktop UI appears to ignore local sessions even when local mode is forced. It may be stuck in cloud-only list mode or failing to query local thread list from app-server.
Here are the fully anonymized snippets with fake paths and user:
Sanitized state (selected keys, fake paths)
{ "codexCloudAccess": "disabled", "environment": null, "sidebar-view-v2": "threads", "sidebar-workspace-filter-v2": "all" } active-workspace-roots: [ "/Users/me/dev/project-1", "/Users/me/dev/project-2", "/Users/me/dev/project-3", "/Users/me/dev/project-4", "/Users/me/dev/project-5", "/Users/me/dev/project-6", "/Users/me/.codex/workspaces/default" ]Sanitized latest session_meta (fake user/path)
{ "id": "019c24ce-590a-7e42-b2e3-efe508ee3731", "timestamp": "2026-02-03T18:40:28.938Z", "cwd": "/Users/me/.codex/workspaces/default", "originator": "Codex Desktop", "source": "appServer", "cli_version": "0.94.0-alpha.10" }Sanitized codex-tui.log excerpt (fake user/path)