Codex App fails to detect sub-repositories in a workspace folder and orphans conversation context
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.305.950 (863)
What subscription do you have?
Plus
What platform is your computer?
_No response_
What issue are you seeing?
Codex App does not correctly handle a workspace folder that contains multiple Git repositories.
In my setup, I have a workspace directory that contains two independent repositories:
workspace/
repository_a/.git
repository_b/.git
The workspace folder itself is NOT a Git repository.
When I move two repositories:
- The Codex app does not detect the repositories inside subfolders.
- The previous conversation context is lost after removing the folder from the Codex app (the folder isn't deleted).
- There is no warning that removing the repository will delete the conversation context.
This caused a loss of several hours of debugging context.
What steps can reproduce the bug?
- Open a Git repository in Codex App.
- Work with Codex for a while so the conversation builds context.
- Remove the repository from Codex.
- Add a workspace folder that contains multiple Git repositories (including the first Git repository that has the context).
Original structure:
projects/
repository_a/.git
repository_b/.git
The folder repository_a/ and repository_b/ is moved to another folder in this case.
Structure that loses context and not detecting the Git repositories in sub folders:
projects/
workspace/
repository_a/.git
repository_b/.git
- Codex does not detect the sub-repositories and suggests creating a Git repository in the workspace root.
- The previous conversation context is lost.
What is the expected behavior?
Expected behavior:
- Codex should detect Git repositories inside subfolders.
- Codex should not suggest creating a Git repository if sub-repositories already exist.
- Codex app should warn the user that removing a repository will delete the conversation and context.
- Ideally, Codex should support multi-repository workspaces so related projects can share context.
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗