{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "egoist-waku--rewind-git-task-to-checkpoint",
 "repo": "egoist/waku",
 "repo_url": "https://github.com/egoist/waku",
 "repo_slug": "egoist-waku",
 "title": "Rewind a Git-backed agent task to a checkpoint",
 "page_title": "How to rewind a Git-backed agent task to a checkpoint with Waku",
 "summary": "Roll an agent's Git-backed work back to an earlier conversation point when a change goes wrong.",
 "who": "A 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.",
 "problem": "Undoing a bad run of agent edits by hand is slow and easy to get wrong, especially when the conversation and the code have diverged.",
 "outcome": "The task returns to an earlier conversation-aware checkpoint, so code and conversation line up again.",
 "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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README says rewind applies to Git-backed tasks only, so a project without Git will not support it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/egoist-waku/rewind-git-task-to-checkpoint/",
 "md": "https://dedupedai.com/use-cases/egoist-waku/rewind-git-task-to-checkpoint/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/egoist-waku--rewind-git-task-to-checkpoint.json",
 "api_version": "v1"
}
