rm -rf .git in the middle of a session!
Resolved 💬 1 comment Opened Nov 19, 2025 by jerrylanger Closed Nov 19, 2025
What version of Codex is running?
codex-cli 0.58.0
What subscription do you have?
ChatGPT Business
Which model were you using?
gpt-5.1-codex (reasoning high, summaries auto)
What platform is your computer?
Linux 6.8.0-86-generic x86_64 x86_64
What issue are you seeing?
After a half day session, the model out of the blue asked me to approve rm -rf .git.
What steps can reproduce the bug?
Uploaded thread: 019a98c9-4e3f-7982-b9e4-09ae9a9780a7
What is the expected behavior?
I wanted to created and fix an integration test. Expected behavior is to iterate until the test works.
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗