Never let an AI tool work on your only copy. Duplicate the file or folder first, or confirm that version history is switched on, and point the tool at the duplicate.
Then shrink the risk of each request. Ask the AI to describe what it plans to change before it does anything, and approve that plan. Request a new output file instead of an overwrite. Make one small change at a time, such as a single section, and compare the result with the original before moving on. If a tool can delete or move files, switch off that permission or require confirmation for each action. A backup takes seconds, and a lost year of notes cannot be recovered.