Implements automatic nuke of polecats after completion: - HandlePolecatDone: Auto-nukes immediately for ESCALATED/DEFERRED exits (no pending MR) when cleanup_status=clean - HandleMerged: Auto-nukes after verifying commit is on main and cleanup_status=clean - HandleLifecycleShutdown: Auto-nukes immediately since shutdown means no pending work Safety checks preserved: - Verifies cleanup_status from agent bead (clean/has_uncommitted/etc) - Verifies commit is on main before nuking - Falls back to cleanup wisp if any check fails New functions: - NukePolecat(): Executes gt polecat nuke - AutoNukeIfClean(): Checks safety and nukes if safe 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 KiB
23 KiB