Document standalone preflight and complete verification

This commit is contained in:
2026-11-30 15:42:21 +00:00
parent 727ed783d1
commit b2877c1ea0
17 changed files with 276 additions and 97 deletions

View File

@@ -51,14 +51,15 @@ operating-system lock held on `.lock` (`ErrLockConflict` on contention). The
file retains owner metadata after release or process death; its existence is
not evidence that a lock is active. Command and restore flows wait for this
lock only while their context remains active, and report a release failure.
Standalone validation uses the same lock for its prepared-state reads and
session-local readiness probes, keeping active probe files outside concurrent
cleanup. Validation leaves stage progress unchanged.
Standalone preflight holds the same lock through preparation, readiness probes,
and finalization, keeping active probe files outside concurrent cleanup.
Preparation uses ordinary manifest transitions and invalidation.
The runner assigns every invocation a run-workspace identity but creates the
physical run directory and its `runs/` parent only when an executing stage
requires them. Fully reused invocations and cleanup-only invocations therefore do not accumulate
empty run directories.
physical stage run directory only when an executing stage requires it. Fully
reused pipeline invocations and cleanup-only invocations do not accumulate
empty run directories. Readiness probes create their separate invocation-scoped
diagnostic directories when checks run, including during a reused preparation.
## Cleanup Semantics