Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Crash-safe run publication, recovery and explicit retention.

Deletion targets are derived from a trusted project root. Large trees are atomically moved into durable trash; recursive unlinking is a separate, retryable operation that the CLI can run in a detached child.

Structs§

CleanupOptions
CleanupResult
ProjectLock
RunState

Enums§

LifecycleError
RunStateStatus

Functions§

clean_storage
cleanup_storage_locked
finalize_published_run
interrupt_run_state
publish_run
Publish immutable run evidence and its initial assertion map/state together.
recover_abandoned_runs
remove_stored_tree_deferred
sweep_trash
Retryable trash unlinking. Public commands execute this in a child.
update_run_state
write_run_state