Document durable session cleanup

This commit is contained in:
2026-11-30 14:08:28 +00:00
parent e9d74a7de0
commit 719a6839d1
14 changed files with 84 additions and 60 deletions

View File

@@ -122,7 +122,8 @@ merely on incidental files existing on disk.
A failed or interrupted stage must not be presented as successful. Failure
should preserve enough local state and diagnostics for inspection, recovery,
and resume. Forcing a stage invalidates succeeded transitive dependents
and resume until a later authorized cleanup. Forcing a stage invalidates
succeeded transitive dependents
according to a fixed application-owned relation that is separate from canonical
execution order. The relation is validated against the stage inventory and is
not configurable.
@@ -264,9 +265,9 @@ transaction boundary.
Automatic local cleanup is permitted only after a successful publish commit,
only when explicitly configured, and only through the path-safety guardrails.
It is the final ordinary pipeline stage after `notify`. The stage derives its
exact run-scoped targets from validated publish metadata and the configured
campaign/session identity; it never infers a target from directory contents or
It is the final ordinary pipeline stage after `notify`. The stage derives the
selected session's run-history target from validated publish metadata and the
configured campaign/session identity; it never infers a target from directory contents or
rereads remote storage. A cleanup failure makes the invocation incomplete while
leaving publish succeeded and the committed remote snapshot authoritative. A
normal later full run reuses valid upstream stages and retries cleanup.
@@ -305,9 +306,9 @@ Safe bootstrap diagnostics may identify files and statuses but never values. Dia
prompt content unless a deliberate, bounded inspection mechanism requires it.
Logs, reports, generated invocation files, generated configuration, and render
debug files are diagnostics, not canonical pipeline products. They should be
durable and discoverable where configured, and manifest references must preserve
the distinction between diagnostics and artifacts.
debug files are diagnostics, not canonical pipeline products. They remain
discoverable until configured cleanup removes their run history. Manifest
references must preserve the distinction between diagnostics and artifacts.
Documentation security rules belong in the
[Documentation Policy](documentation.md). Credential supply belongs in