pub fn record(agent_home: &Path, r: SshRefusal) -> Result<()>Expand description
Prepend r, keep RECENT_REFUSALS, and atomically replace the file.
A stable sidecar lock serializes the entire read-modify-write across threads
and processes. Never remove the lock file: waiters may hold its inode open.