Who it is forA developer whose agent made a series of edits in a Git repo and now needs to undo back to a known good point in the conversation.
The problemUndoing a bad run of agent edits by hand is slow and easy to get wrong, especially when the conversation and the code have diverged.
The outcomeThe task returns to an earlier conversation-aware checkpoint, so code and conversation line up again.
What you need first
- A supported agent CLI installed and authenticated, such as Claude Code, Codex CLI, or Cursor CLI
- macOS, Linux, or Windows (the README lists different install paths and feature availability per platform)
- For the Linux script, a shell with curl and permission to write to ~/.local (no root needed)
- For building from source: Rust 1.96 or newer, Bun, and the native prerequisites in CONTRIBUTING.md
Steps
- Install Waku and open a project that is a Git repository.
- Start an agent task and let it make a few changes.
- Pick an earlier checkpoint in the task history.
- Rewind the task to that checkpoint.
- Review the Git state of the project to confirm the rewind.
Prompt for your agent
In the waku app, open the Git project at <project path>, run an agent task called <task name>, and rewind it to the checkpoint <checkpoint name>. Expected output: the project files and conversation match the checkpoint. Verify with `git status` in <project path> that the working tree reflects that earlier point.
Caveat. The README says rewind applies to Git-backed tasks only, so a project without Git will not support it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for egoist/waku and "Rewind a Git-backed agent task to a checkpoint"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer