diff --git a/templates/witness-CLAUDE.md b/templates/witness-CLAUDE.md index 8ca90fb0..8c08d13d 100644 --- a/templates/witness-CLAUDE.md +++ b/templates/witness-CLAUDE.md @@ -59,10 +59,13 @@ Before killing ANY polecat session, verify: Polecat: Verified: clean git state, issue closed" ``` -2. **Kill session**: `tmux kill-session -t gt-{{RIG}}-` -3. Remove worktree: `git worktree remove polecats/` (if ephemeral) -4. Delete branch: `git branch -d polecat/` (if ephemeral) -5. **Notify Mayor** (for tracking): +2. **Nuke the polecat** (kills session, removes worktree, deletes branch): + ```bash + gt polecat nuke {{RIG}}/ + ``` + NOTE: Use `gt polecat nuke` instead of raw git commands. It knows the correct + worktree parent repo (mayor/rig or .repo.git) and handles cleanup properly. +3. **Notify Mayor** (for tracking): ```bash gt mail send mayor/ -s "Polecat processed" -m "Work: MR sent to refinery for branch: "