Your coding agent just ran rm -rf.
Undo it.

agentundo is a free, open-source hook for Claude Code and Codex CLI. Before every tool call it snapshots your project into a shadow git repo outside your project, so you can go back to any step with one command.

npx github:mulanxizhizi-png/agentundo#v0.1.3 init
$ agentundo list ID TURN WHEN AGENT FILES SNAPSHOT TAKEN 1 t0 20s ago - - baseline (agentundo init) 2 t1.1 7s ago claude 0 before rm -rf src ⚠ dangerous $ agentundo restore 2 --yes Restored #2: wrote 2, removed 0. Undo this restore: agentundo restore 3

How it works

Honest limits