-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
What version of Codex is running?
codex-cli 0.36.0
Which model were you using?
gpt-5-codex medium
What platform is your computer?
Linux 6.16.7 x86_64 unknown
What steps can reproduce the bug?
Not sure. This is likely rare and hard to reproduce. I am making this report to give some general awareness and see if this increased aggression/lack of care becomes a trend.
What is the expected behavior?
For GPT-5 to not to delete the .git directory out of nowhere.
What do you see instead?
More like what I don't see: the .git directory.
Additional information
I don't usually submit reports on poor model behavior for the reasons you would already know (extremely difficult to reproduce, fundamental model issues rather than actionable code issues), but this is pretty egregious and I'd simply like people to be aware of this. This is the first time I've seen gpt-5 make an oopsie as bad as this, for seemingly no reason at all. Luckily I had pushed to GitHub recently so no damage was done.
And yes, I was in --yolo mode, serves me right I suppose?
Curious to know if anyone else has had an experience like this with the new gpt-5-codex model. I have attached a chunk of the transcript below. Nothing should have prompted it to run that rm -rf command.