Codex reading an old version of a file
What version of Codex is running?
codex-cli 0.34.0
Which model were you using?
GPT 5 Codex
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
Codex appears to be unable to correctly read a file after making a manual edit and saving.
Make a manual edit in any file that was generated by codex and ctrl+s to save the file. Ask codex via chat (Vs Code extension) to then review that file for the new change, it does not spot the change. Refer to screenshots below.
<img width="474" height="534" alt="Image" src="https://github.com/user-attachments/assets/21cd17e9-e9a3-427e-bf16-ab5bb9e268b3" />
<img width="838" height="259" alt="Image" src="https://github.com/user-attachments/assets/e5b080cc-b1f0-442a-a782-5277c61e85ec" />
What is the expected behavior?
That codex is able to correctly read a file when I ask it to in the chat. Auto context is selected.
What do you see instead?
_No response_
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗