Make sure that your rollback system can be rolled back to. It's all well and good to go back in git history and use that as the system, but if an rm -rf hits .git, you're nowhere.
Limit its access to a subdirectory. You should always set boundaries for any automation.
Limit its access to a subdirectory. You should always set boundaries for any automation.