pub fn acquire(project_root: &Path, phase: u32) -> Result<LockGuard, LockError>Expand description
Acquire an exclusive lock for the given project root and phase.
Writes the current PID into .devflow/lock-{phase:02}. Returns a guard
that releases the lock when dropped.