haha yeah this'll never bee a problem with AI plugged into your VSCode :-D
Also voil asks you to confirm destructive actions. And even if you do, by default voil moves deleted files to a trash location and has undo functionality so you can easily undo your mistakes.