Cloud chat converted locally attaches to active local project instead of original project
Summary
When converting or continuing a cloud Codex chat locally from an existing project, Codex appears to attach the chat/session to the currently active local project rather than the original project associated with the cloud chat.
This only behaves correctly when the original project is the only currently active local project.
Expected behavior
A cloud chat that originated from Project A should convert/continue locally in Project A, regardless of which other local project is currently active.
If Codex cannot safely determine the target project, it should prompt the user to confirm the local project/workspace before attaching the chat.
Actual behavior
When another local project is active, the cloud chat is forcibly brought into that active local project, even when that project is different from the original project.
This can cause confusion and may risk applying edits or context to the wrong local workspace.
Reproduction steps
- Have at least two local Codex projects available, Project A and Project B.
- Start or have an existing cloud Codex chat associated with Project A.
- Locally switch Codex so Project B is the active local project.
- Convert or continue the cloud chat locally.
- Observe that the chat/session attaches to Project B instead of Project A.
Environment
- App: Codex Desktop
- OS: Windows
- Codex Desktop app package:
OpenAI.Codex_26.519.3891.0 - Codex Desktop product version:
26.519.31651 - Codex CLI / agent binary:
0.133.0-alpha.1 - Git for Windows:
2.54.0.windows.1 - Local workspace location includes Google Drive-backed folders
Notes
This seems related to workspace/repo routing or stale active-project state. Similar existing reports include:
- #5057, where cloud task creation can target the wrong repo
- #10547, involving cloud/local state confusion
- #21076, involving stale or incorrect project/thread history state
The core concern is that Codex seems to prioritize the current active local project over the cloud chat's original project identity when converting/continuing the chat locally.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗