Skip to content
Development
Command

/wave-checkpoint

Save wave state to disk so an auto-compact, session crash, or laptop battery death doesn't kill the run. Run this between phases or before any long operation.

From plugin
claude-wave-plugin
132 skills2 commands7 hooks
Install
> /plugin marketplace add Harshvardhan86/claude-wave-plugin
> /plugin install claude-wave-plugin@claude-wave-plugin

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/wave-checkpoint

Context preview

What this command does when you run it.

Save wave state to disk so an auto-compact, session crash, or laptop battery death doesn't kill the run. Run this between phases or before any long operation.

Command definition

wave-checkpoint.md
description: Save wave state to disk so an auto-compact, session crash, or laptop battery death doesn't kill the run. Run this between phases or before any long operation.
allowed-tools: "Bash(mkdir:*), Bash(date:*), Bash(git:*)"

Wave checkpoint

Context

  • Working dir: !`pwd`
  • Timestamp: !`date -u +%Y-%m-%dT%H:%M:%SZ`
  • Git head: !`git rev-parse --short HEAD 2>/dev/null || echo "no-git"`
  • Status: !`git status --porcelain 2>/dev/null | wc -l | tr -d ' '` changed files

Instructions

The `PreCompact` hook now writes a checkpoint automatically before compaction during an active wave. This command is the manual form: use it between phases or before a long operation. Compaction itself cannot be blocked; resume from the checkpoint in a fresh terminal.

Save a wave checkpoint to `.wave/checkpoints/<timestamp>.md` containing:

1. **Wave goal** — the original feature description from `/wave-start`. 2. **Phase reached** — which of AC / DR / RED / GREEN / TEET is currently in flight. 3. **Last verified evidence** — paste the most recent screenshot path, test output, or computed-style assertion result. NOT "tsc passes". Real evidence only. 4. **Open questions** — anything the user still has to decide. 5. **Resume instructions** — exact commands and prompts a fresh session would need to pick up where this one left off.

If `.wave/` does not exist, create it. In a git repository, add `.wave/` to `.git/info/exclude` if the entry is missing, following `wave-init.sh`. Resolve the local exclude file with `git rev-parse --git-path info/exclude` when the git directory is elsewhere.

After writing the checkpoint, print the file path and the resume command to the user. Do not commit checkpoints — they're local recovery state, not source.

Read more
Ships withclaude-wave-plugin

Run Claude Code like an engineering org. Wave-based execution with dedicated sub-agents per phase, computed-style visual verification, no "tsc passes" lies.

Get the whole plugin
Stats
13
Stars
2
Forks
Active
Maintenance
Shell
Language
MIT
License
5d ago
Last commit
4mo ago
Created

Repo: Harshvardhan86/claude-wave-plugin

Other commands on claude-wave-plugin.