feature: Instruct codex to read file before writing to a user modified file

Resolved 💬 3 comments Opened Feb 23, 2026 by 80avin Closed Mar 29, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

CLI

What feature would you like to see?

This feature is present in Claude Code.
If I modify a file after it was last read by the agent, then agent has to re-read it before doing any write to it.
Any write to it returns with an error asking the agent to re-read it.

Additional information

_No response_

View original on GitHub ↗

3 Comments

etraut-openai contributor · 6 months ago

This is related to #11696.

etraut-openai contributor · 6 months ago

Oops, didn't mean to close it. This isn't a complete duplicate, so it's fine to leave both open.

etraut-openai contributor · 5 months ago

This feature request hasn't received enough upvotes, so I'm closing it.