Two fixes in this commit: 1. daemon/lifecycle.go: Fix agent bead ID pattern for GUPP/orphaned work checks - Wrong: gt-polecat-<rig>-<name> (e.g., gt-polecat-gastown-nux) - Correct: <prefix>-<rig>-polecat-<name> (e.g., gt-gastown-polecat-nux) - Use config.GetRigPrefix() instead of hardcoding gt prefix - Use beads.ParseAgentBeadID() in extractRigFromAgentID 2. beads/beads.go: Fix invalid --add-label flag in bd create calls - bd create uses --labels, not --add-label - bd update uses --add-label (unchanged, was correct) - Fixed Create, CreateWithID, CreateAgentBead, CreateRigBead Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
61 KiB
61 KiB