* fix(sling): check hooked status and send LIFECYCLE:Shutdown on --force - Change sling validation to check both pinned and hooked status (was only checking pinned, likely a bug) - Add --force handling that sends LIFECYCLE:Shutdown message to witness when forcibly reassigning work from an already-hooked bead - Use existing LIFECYCLE:Shutdown protocol instead of new KILL_POLECAT - witness will auto-nuke if clean, or create cleanup wisp if dirty - Use agent.Self() to identify the requester (falls back to "unknown" for CLI users without GT_ROLE env vars) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: use env vars instead of undefined agent.Self() The agent.Self() function does not exist in the agent package. Replace with direct env var lookups for GT_POLECAT (when running as a polecat) or USER as fallback. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: julianknutsen <julianknutsen@users.noreply.github> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: beads/crew/lizzy <steve.yegge@gmail.com>
22 KiB
22 KiB