DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to undo an agent turn that broke your files with Tellurion

Restore project files to the snapshot taken before an agent's last turn, in one click.

Short answer: Let the agent finish its turn in a git repository or any folder; then open the tab's ⋮ menu and choose Undo last turn, or use Restore to before this on one of your prompts in the agent timeline; read the list of files the undo will change. All steps.

Who it is forA developer whose coding agent made a wrong or unwanted set of edits in a repository and needs the files back as they were.

The problemAn agent turn changed several files in a way you did not want, and reverting by hand is slow and error prone.

The outcomeYour files return to the state from before the turn, with a list of the files that will change shown first and the current state saved so the undo can be undone.

What you need first

  • An Apple silicon Mac running macOS 13 or newer
  • Terminal access to run the install command
  • At least one supported coding agent installed, such as Claude Code or Codex

Steps

  1. Let the agent finish its turn in a git repository or any folder.
  2. Open the tab's ⋮ menu and choose Undo last turn, or use Restore to before this on one of your prompts in the agent timeline.
  3. Read the list of files the undo will change.
  4. Confirm the restore.
  5. Open the review inbox with ⌃⌘I to check that it matches the restored files.

Prompt for your agent

Using the Tellurion repo at https://github.com/steventsvik/Tellurion, run an agent turn in <project-folder> that makes a change, then use Undo last turn from the tab's ⋮ menu. Report the list of files the undo listed. Verify that the restored files match their state before the turn.

Caveat. Snapshots are git objects, and the README says staged changes stay as they are, so check the file list before you confirm.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for steventsvik/Tellurion and "Undo an agent turn that broke your files"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer