The getManager() function was returning a literal "<rig>/witness" string for polecats and refineries instead of substituting the actual rig name. This caused LIFECYCLE messages to be sent to "@<rig>/witness" instead of proper addresses like "@gastown/witness". Fix: - Add detectRigFromContext() to extract rig from current directory - Update getManager() to use detected rig name - Fallback to deacon/ if rig detection fails (safety) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9.7 KiB
9.7 KiB