Refactor workflow drifted into cross-language rewrite that corrupted Python
Resolved 💬 2 comments Opened Apr 2, 2026 by j32097072 Closed Apr 2, 2026
What version of Codex CLI is running?
codex-cli 0.114.0
What subscription do you have?
api call
Which model were you using?
gpt 4o mini
What platform is your computer?
Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
WSL
What issue are you seeing?
The run drifted from bounded readability refactoring into a cross-language style rewrite inside Python test code, producing repository mutations that were syntactically invalid and not recovery-safe.
What steps can reproduce the bug?
- Open a repository-backed workspace.
- Ask Codex CLI to perform the requested edit, repair, or cleanup workflow reflected by this report.
- Observe whether it reproduces the failure described above.
What is the expected behavior?
Codex CLI should either apply a valid change or fail cleanly. It should not corrupt repository state, write invalid syntax, or perform over-broad filesystem actions.
Additional information
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗