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

How to rewind a Git-backed agent task to a checkpoint with Waku

Roll an agent's Git-backed work back to an earlier conversation point when a change goes wrong.

Short answer: Install Waku and open a project that is a Git repository; then start an agent task and let it make a few changes; pick an earlier checkpoint in the task history. All steps.

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

  1. Install Waku and open a project that is a Git repository.
  2. Start an agent task and let it make a few changes.
  3. Pick an earlier checkpoint in the task history.
  4. Rewind the task to that checkpoint.
  5. 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

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