38fc95d6a7
Add safety check to HandleMerged that verifies cleanup_status from the polecat's agent bead before allowing nuke. This prevents work loss when: - MERGED signal arrives for a stale MR (already merged via different path) - Polecat has new unpushed work since the MR was created - Race condition between merge and nuke The Witness now blocks nuke and sets an error for escalation when: - has_uncommitted: polecat has uncommitted changes - has_stash: polecat has stashed work - has_unpushed: polecat has unpushed commits (critical) Clean status or unknown status (backward compat) allows nuke to proceed. (gt-5q6jr) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>