Consolidation Lock

Description

The .consolidate-lock file in src/services/autoDream/consolidationLock.ts (4KB) that serves dual purposes: its mtime is the lastConsolidatedAt timestamp, and its body contains the holding process's PID. Uses compare-and-swap: both competing processes write PID, re-read, only one sees its own.

Key claims

Relations

Sources

none