Codex App misclassifies conversations across multiple local clones with the same git origin
What version of the Codex App are you using (From “About Codex” dialog)?
26.506.31421
What subscription do you have?
pro x 20
What platform is your computer?
macOS
What issue are you seeing?
Codex App appears to group conversations/projects by git origin URL, so multiple full local clones of the same repository can be mixed together in the project/sidebar classification.
I have several full clones of the same repo, for example:
- ~/sample1
- ~/sample2
- ~/sample3
They intentionally share the same git origin:
git@example.com:org/repo.git
When I start a Codex worktree/session from ~/sample1, the conversation can appear under another clone such as ~/sample2 or ~/sample3. This makes it look like the session belongs to a random duplicate checkout, even though the actual cwd is correct.
What steps can reproduce the bug?
- Have multiple full local clones of the same repository:
- ~/sample1
- ~/sample2
- ~/sample3
- All clones use the same origin:
git@example.com:org/repo.git
- Start a Codex worktree/session from the main clone:
~/sample1
- Observe the Codex App project/sidebar classification.
What is the expected behavior?
Codex should distinguish local checkouts by absolute cwd, git common dir, or a user-pinned project identity, not only by git origin URL. Multiple full clones of the same repo are common when each clone needs a separate runtime environment.
Additional information
Pure git worktrees are not sufficient for my worflow because each checkout needs an independent runtime environment, such as env files, ports, local DB/Redis state, build cache, and validation setup.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗