Never let an agent be its own mechanic: a Hermes self-repair broke its own install
A Hermes agent told to fix itself pruned 237 sessions and broke its own install, costing its owner about two days of manual repair. The post shares a five-command recovery order (backup, doctor, dump, debug share, prune with dry-run) and two bans: no git checkout inside its own install, and no hand-editing state.db.