/*
Werkstatt helpers — lock, operation, and atomic write utilities used by handoff machinery.
- Do not register commands here — werkstatt command module migrated to @warpgogol/forge.
- RFC-0362: initial Werkstatt command module.
- RFC-0374: createWerkstattModule migrated to @warpgogol/forge — helpers remain for handoff use.
*/
export { runWerkstattLockStatus, type WerkstattLockStatusData } from "./werkstatt-lock-status.ts";
export {
runWerkstattLockRecover,
type WerkstattLockRecoverData,
} from "./werkstatt-lock-recover.ts";
export {
acquireLock,
releaseLock,
heartbeatLock,
readAllLocks,
isLockStale,
removeStaleLock,
} from "./lock.ts";
export {
startOperation,
completeOperation,
failOperation,
readOperation,
computeInputHash,
generateOperationId,
} from "./operation.ts";
export { atomicWriteFile, atomicMoveDir, resolveStagingDir } from "./atomic.ts";
export { gitExec } from "./git-exec.ts";
export { commitWerkstattSideEffects, type CommitWerkstattResult } from "./werkstatt-commit.ts";