01 / 06Allocation claim now waits under contentionWriters queue instead of failing immediately when another process holds inventory.lock.The polls try_lock every 2 ms inside operation budgets rather than failing on first contention in +1,544 −47.
02 / 06Waiters capped at pool size minus oneAt most three threads wait at once to prevent stalling Node crypto, DNS, and filesystem calls. tracks waiting threads and enforces a 100 ms grace for reservations and 500 ms for cleanups.
03 / 06Re-checks lock identity after waitDetects if another process unlinked and recreated inventory.lock during the wait.The runs after acquiring the claim to prevent split exclusion domains.
04 / 06Scanners now tolerate vanished transient entriesUncommitted entries removed mid-scan are skipped instead of failing closed as changed indexes. skips uncommitted files missing during directory reads in +44 −4.
05 / 06Record encode and decode invariants unifiedEnsures any record written by the native encoder can always be parsed by Rust and TypeScript readers. checks positive PID and normalized absolute paths before serialization in +1,544 −47.
06 / 06Coverage gate scoped to packages directoryLimits instrumentation to packages to bring coverage job execution down from 45 minutes to under 5. passes --dir packages to vitest in +20 −6.