pub fn recoverer_lock_path() -> PathBufExpand description
Advisory lock file used to serialize RECOVERY (kill+respawn) attempts
across concurrent clients only — the daemon’s own boot sequence never
acquires this file (lock_path / acquire_daemon_boot_guard is the
boot-side lock). A recoverer holding this lock across dead-confirmation
→ kill → spawn (khive-mcp’s kill_and_respawn) therefore can never
deadlock against a peer daemon’s boot, unlike holding the shared boot
lock for that whole span would.
Overridable via the KHIVE_RECOVERER_LOCK env var (for tests).