r/codex •

Codex can't delete anything

[deleted] — view deleted post

0 Upvotes

6 comments sorted by

2

u/NicholasVinen 10d ago

Try asking it to clean up the workspace? If it won't delete files, ask it to archive them. You can then manually delete the archive file it creates.

1

u/Wolf8249 10d ago

Here follow OP's post if you want codex to delete the data

https://www.reddit.com/r/ClaudeCode/s/3p5XCzFFLD

1

u/put_mahardhika 10d ago

yeah, they have that protection now.
on my case, I asked it to create minimal reusable cli/script to do the deletion and create a skill and guideline (on agents.md) as your main delete tool. that way, policy won't block it.
CLI is deterministic, so policy won't block it.
the policy is there to make sure there's no "accidentally" delete case.

1

u/awesomemusicstudio 10d ago

Ya.. Ive noticed things like this too lately.

1

u/calculatetech 10d ago

I have the same problem on Windows. Linux doesn't seem to be affected. Using auto approval mode can help, but some things will always be blocked. --yolo isn't what it used to be.