The heartbeat check slept 300 ms to get past the claim that finds the queue empty and then gave heartbeats 400 ms to move the node's last sign of life: a slow runner could fail it, or pass it on the claim's own touch. It now counts the claims the server answered, reads the last beat after the third one, waits for a later beat with a deadline and checks that no claim came since. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC