stordai records file reads/writes/deletes, attributes them to the agent/session/user, and snapshots writes so they can be reversed without touching your real git history.
The current implementation is quite rudimentary. It creates a shadow git repo to track every diff using hooks and some other things. So an agent with root permissions could potentially delete the repo. But I have interesting ideas in the works to address this.
Install:
npm install -g stordai stord enable
Then:
stord log stord undo last stord agents
GitHub: https://github.com/ishwantsingh/stordai
would love feedback, especially from people running coding agents with permissions skipped