Codex state-sync bug

Resolved 💬 1 comment Opened Feb 12, 2026 by shaywiin Closed Feb 12, 2026

What version of Codex CLI is running?

Latest

What subscription do you have?

Pro

Which model were you using?

All models

What platform is your computer?

_No response_

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

Codex failed to dectect changed I made, then continue with its old changes

What steps can reproduce the bug?

Codex state-sync bug:

  1. Codex reads or edits a file.
  2. You manually edit that same file.
  3. You prompt Codex for a new edit.
  4. Codex uses its stale cache and completely ignores your manual changes.

What is the expected behavior?

It update the file using the latest version

Additional information

Claude Code fixed the issue by implementing a file lock to detect modifications, which then triggers Claude to re-read the updated file

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗