pan-wipe · diff

git:20260522.817c2c7 to git:20260618.e501626

1 added, 1 removed. Audit A to A.

---
name: pan-wipe
description: "pan wipe <id> — destructive reset to Todo: remove workspace, processes, branches, review state, beads, and tracker status"
triggers:
- pan wipe
- wipe issue
- deep wipe
- destroy workspace
allowed-tools:
- Bash
---
# pan wipe
**DESTRUCTIVE — irreversible.** Confirm with the user before running.
```bash
pan wipe <issue-id>
pan wipe <issue-id> --yes # skip confirmation
pan wipe <issue-id> --force # skip confirmation
```
## What It Does
Performs the canonical destructive reset-to-Todo for an issue:
- Kills all tmux sessions and running processes for the issue
- Removes the workspace directory (`workspaces/feature-<id>/`)
- - Removes agent state (`~/.panopticon/agents/<id>/`)
+ - Removes agent state (`~/.overdeck/agents/<id>/`)
- Deletes local and remote feature branches
- Clears review status and issue beads
- Resets issue status in the tracker to Todo
## When to Use
- Abandoning a workspace that has gone completely off the rails
- Cleaning up completed/stale workspaces that were never closed
- Starting completely fresh on an issue
## Warning
This cannot be undone. If you want to restart an agent while keeping the workspace,
use `pan kill <id>` and then `pan start <id>` instead.
## See Also
- `pan kill <id>` — stop agent, keep workspace
- `pan close <id>` — close-out ceremony after successful merge