1 pointby ishwantsinghan hour ago1 comment
  • ishwantsinghan hour ago
    Hi, I just made the open-souce cli that acts as a flight recorder and undo button for ai agents. I lost an hour of work because I like to run with --dangerously-skip-permissions and asked it to make a specific change in its implementation and it undid the whole work.

    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