Have Hermes Agent snapshot your project before a big refactor
What it does
Hermes Agent can take a checkpoint, a snapshot of your project's files, before destructive file operations. You switch it on for a session by starting with hermes chat --checkpoints. If a change goes wrong, type /rollback in the session, pick the snapshot you want, and it is restored.
The flag applies to one session only, so add it again each time you want the protection.
Why it's worth it
Hermes Agent can snapshot your project before destructive file operations and restore it with a single command. Switching it on takes one flag, and it is worth turning on before a big refactor.
Undo a big refactor by restoring the snapshot you pick with /rollback.
Step by step
Paste it into Hermes Agent and swap the highlighted parts for your own details.
Before you start Start the session with hermes chat --checkpoints.
Get Hermes Agent to:
- Read through my [project folder] and list each file the change would move, rename, overwrite or delete.
- Group those files by risk and flag any that hold data I could not easily rebuild.
- Confirm that checkpoint mode is on for this session before making any file changes.
- Show me the full plan of changes and wait for my approval before deleting or overwriting anything.
- Once I approve, carry out [describe the change] in my project.
- Report back with the list of changed files and the snapshot I should pick if I need /rollback.
Expected resultA snapshot of your project is ready to restore with /rollback if the change goes wrong.