Document durable session cleanup
This commit is contained in:
@@ -330,12 +330,11 @@ writes, or run-directory creation. Excluded prefix records are not passed to
|
||||
resume validators. Records after the selected end are not prerequisites and
|
||||
may be made stale by selected work without being scheduled.
|
||||
|
||||
After a publish commits remotely, any configured local cleanup is first recorded
|
||||
as a session-manifest obligation before deletion begins. Each target becomes
|
||||
complete only after its confined deletion (or safe absence check) and a
|
||||
successful manifest save. An incomplete obligation is retried when publish
|
||||
executes again and retains the committed run and remote identity that authorized
|
||||
it; an invocation that does not execute publish does not perform cleanup.
|
||||
Cleanup is an ordinary selected stage. It validates recorded successful
|
||||
publication evidence before deleting local run history, saves its normal stage
|
||||
transition, and retries incomplete work on a later selected invocation without
|
||||
republishing. Historical run-local paths in records are provenance, not a
|
||||
requirement that those files remain present. See [cleanup](stage-cleanup.md).
|
||||
|
||||
Each invocation derives campaign, session, run, local-path, and remote-prefix
|
||||
metadata from the validated resolved configuration as one projection. A persisted
|
||||
|
||||
Reference in New Issue
Block a user