fix(beads): align agent bead prefixes and force multi-hyphen IDs (#482)
* fix(beads): align agent bead prefixes and force multi-hyphen IDs * fix(checkpoint): treat threshold as stale at boundary
This commit is contained in:
@@ -751,7 +751,8 @@ func (d *Daemon) checkPolecatHealth(rigName, polecatName string) {
|
||||
}
|
||||
|
||||
// Session is dead. Check if the polecat has work-on-hook.
|
||||
agentBeadID := beads.PolecatBeadID(rigName, polecatName)
|
||||
prefix := beads.GetPrefixForRig(d.config.TownRoot, rigName)
|
||||
agentBeadID := beads.PolecatBeadIDWithPrefix(prefix, rigName, polecatName)
|
||||
info, err := d.getAgentBeadInfo(agentBeadID)
|
||||
if err != nil {
|
||||
// Agent bead doesn't exist or error - polecat might not be registered
|
||||
|
||||
Reference in New Issue
Block a user