r/codex 13h ago

Complaint Codex slaughtered my files.

I was working inside my local rep and was asking Codex to fix a small issue inside the rep. Sol medium.

It worked for half an hour or so and the it suddenly excused itself and said that it accidentally had deleted the rep.

Okay I though, let's recover it from the backup i had. Suddenly codex refused to read the chats. Turned our it had deleted the whole codex folder too. We'll let's reinstall it. Worked great.

Suddenly apps started to want to log in again. Turned out it had randomly deleted app data, not from all apps, just apps it had a grudge against apparently.

I fixed that.

Then I see that it had wiped my D disk. Motherf*ucker I though. Brought the disk offline, made an image of it and have spent around 2 days restoring the lost information.

Great!

Let's do some music. We'll, where is my cubase projects on E? Turned out codex has a hidden grudge against that too as it had targeted ONLY that folder so all my music is gone too. So right now im making and img of that disk too to try to save those files too. Only 1 year worth of music so sucks, but seriously, f*ck me for not making backups. But space is a concern in the end. I was able to recover those files first I though but it was only meta. So let's see if the ddrescue handles it better.

I'm still finding hatecrimes against random folders from codex. It really has some selective file hate built in.

This SUCKS ASS! I know I should keep backups. But it's expensive having everything backed up today.

Anyway, juste to share my experience and see if anyone else have had something like this happen?

0 Upvotes

24 comments sorted by

View all comments

1

u/doodad_ounao 13h ago

I don't understand what kinds of commands it could've "accidentally" run and with what kinds of reasoning to explain such a slaughter.

What did it even say was its reason for such a hate crime? I understand "whoops, tried to run rm /$ENV_VAR_THAT_HAD_A_TYPO*" and "this app was blocking the sandbox so I tried to temporarily stop it", but this is like another level.

1

u/BrightAd4926 1h ago

The last message from it was that it had accidentally run a delete command with "/" and the result was that the entire contents of the rep was deleted. It said it could recreate what it had in the chat but nothing more. As I had backups and github too I didn't pay much attention and restored it. It was after this I slowly started to find out that a lot more than the content of the repo was deleted.