Codex deletes .env files instead of removing hardcoded values in my python file.
Resolved 💬 1 comment Opened Jan 10, 2026 by christopheragnus Closed Jan 10, 2026
What version of Codex is running?
codex-cli 0.79.0
What subscription do you have?
Plus
Which model were you using?
gpt-4.2-codex
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
I told Codex to check the env variables in services/.env and remove any hardcoded values in services/realtime-webhook/main.py . However, it just deleted and removed all my .env values instead. I can't even revert the change.
What steps can reproduce the bug?
Uploaded thread: 019b820d-6056-7893-a976-b55572adb6f5
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗