codex icon indicating copy to clipboard operation
codex copied to clipboard

Codex reading an old version of a file

Open Mac-V-Sog opened this issue 1 year ago • 2 comments

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.

Image Image

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

Mac-V-Sog avatar Sep 20 '25 13:09 Mac-V-Sog

I am experiencing the exact same issue on macOS (VSCode extension version 0.4.19).

  • Version: codex-cli 0.45.0
  • Model: gpt-5 and gpt-5-codex (high)
  • Platform: Darwin 24.5.0 arm64 arm

RyotaUshio avatar Oct 09 '25 10:10 RyotaUshio

Thanks for the bug report. We've shared the feedback with the team members who are responsible for training our codex models. We're tracking this feedback and similar reports so we can make the model more robust in future iterations.

If you see other model behavior that you'd like to report, please use the recently-added /feedback command in the CLI. That will provide us with additional details including logs and conversation text.

etraut-openai avatar Nov 11 '25 05:11 etraut-openai