recoverWorkspacePathLock
Purpose and behavior
Section titled “Purpose and behavior”Releases only an explicitly inspected lock after the caller confirms its owner processes have stopped. Never infers authorization from a PID.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”idRequiredstringStable identifier of this resource, independent of its materialization path.expectedDirectoryRequiredstringInspected canonical directory that must match the exact abandoned lock.optionsRequiredWorkspacePathRecoveryOptionsStopped-process confirmation and inspected revision required to release path ownership.options.processesStoppedRequiredtrueExplicit assertion that the prior owner and its processes have stopped; never inferred from heartbeat expiry.

