dbb6acd333
Regression coverage for the #100130 salvage, all against real SessionDB files and a real child process holding the flock: * errno table for `is_advisory_lock_contention` (EAGAIN/EWOULDBLOCK/EACCES contend; ESTALE/ENOTSUP/ENOLCK/EIO fail fast); no misleading "held by another process" line on the fast-fail path; `_cross_process_repair_lock` shares the filter (sibling site). * `retry_deferred_fts_recovery`: open under a live holder -> stale; retry returns in <2s with a 30s admission budget (timeout=0); rate limit + 60s->120s backoff engaged; holder dies -> same instance recovers, triggers restored, breadcrumb cleared; no-op when not stale / read-only. * `_start_gateway_housekeeping` tick (real loop, 50ms interval) recovers a stale shared-registry SessionDB with no direct call and no extra thread. Backoff floor: a monkeypatched 0s base interval must not zero the doubled interval (min 1s), so the cap math is testable. Sabotage run (source at origin/main, these tests): 16 failed / 35 passed, including 30s timeouts on the fast-fail tests.