Found a glitch today that completely deleted the pages directory of a site :-/
I recorded it happening, easily reproducible, but essentially editing an existing page and putting it in a folder that doesn’t exist (in my case, the intent was grav would create the folder) and then trying to delete the non-existent folder will result in the entire pages directory being deleted.