AI Project Guardian AI Project Guardianby VoxCaption
AI Project Guardian · Go back

How to undo Claude Code, Codex or Cursor changes

By the VoxCaption team · updated · 4 min read

Short answer: when Claude Code, Codex or Cursor breaks your project, press Go back one version. AI Project Guardian brings back the version before your newest one, across every file the agent touched. It tells you which version and from when before it does anything, and what you have now is saved first, so even going back can be undone.

Windows 10 & 11 · 14 days free, no card

AI Project Guardian versions list with Restore and Pick files buttons

The problem: the AI broke it, and you are not sure what it changed

You asked for one small thing. The agent changed twelve files, the page no longer loads, and the chat is already three answers further. Now you face the worst choice in AI coding: ask the same agent to repair its own damage on your only copy, or try to remember what the files looked like twenty minutes ago.

Most people try the first. The agent "fixes" one thing and breaks another, and every round makes the way back harder to find.

Three ways back, from fastest to most careful

  • Go back one version on the main screen: one press, and the whole project returns to the version before your newest one.
  • Restore any version from the list: pick the moment before things went wrong, by its time and the request you gave the AI.
  • Pick files: bring back only the files that broke and keep the good changes the agent made elsewhere.

Nothing is lost by going back

Before any version comes back, Guardian keeps what you have right now. If the older version was not the one you wanted, go back again to where you were. You can try, look, and change your mind without risk.

Know before you press

Guardian always names the version and its time before it changes anything. Not sure which one worked? Open Compare and see which files were added, changed or deleted between two moments. See exactly what the AI changed first →

Your agent can go back too

Connect Claude Code, Codex, Cursor, Gemini CLI or Windsurf once. When you tell the agent "go back to the version that worked", it can do it for you, with the same safety: what you have now is kept first. Connect your agent once →

How to start

  1. Install AI Project Guardian and pick your project folder.
  2. Work as usual. Versions are saved by themselves while files change.
  3. When something breaks, press Go back one version, or open Versions and choose.

Questions

Can I undo changes from Claude Code, Codex or Cursor?

Yes. Guardian watches your project folder, not the agent, so it can bring back the files whichever tool changed them.

Can I bring back only one file?

Yes. Open the version and press Pick files; the rest of your project stays as it is.

What if I go back to the wrong version?

Your current state is saved before every restore, so you can return to it at once.

Can I get back files the AI deleted?

Yes. Restoring a version from before the delete brings those files back.

Is going back free?

Going back is included in the 14-day free trial and in the paid year. Saving versions stays free forever.

Do I need git?

No. You see a list of versions with times and press one button.

More guides

Undo any AI edit in one click

Every version of your project, one button away. 14 days free, no card.

⬇ Download free