Codex context persistence issue after closing folders in VS Code
What version of the IDE extension are you using?
1.109.3
What subscription do you have?
free
Which IDE are you using?
vs code
What platform is your computer?
windows WIN11 64bit
What issue are you seeing?
I am experiencing an issue with Codex's context management. When I finish a session, close the current folder, and open a new project folder, Codex seems to remain "locked" to the previous environment.
If I return to an existing chat, Codex attempts to apply code changes or suggestions to the previously closed folder instead of the currently active one. It fails to recognize that the workspace has changed.
What steps can reproduce the bug?
Open Folder A and start a chat with Codex.
Close Folder A and open Folder B.
Return to the previous chat session.
Ask for a change; Codex tries to modify files from Folder A (the closed one).
What is the expected behavior?
Codex should dynamically update its context based on the currently open workspace or prevent modifications to closed directories.
Additional information
just, i love codex it's cursor killer❤️
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗