Skip to main content

Module persistence

Module persistence 

Source
Expand description

Durable publication, journal/layout exclusion and retained local dependencies.

Structs§

AttemptJournalGuard
Exclusive local accounting borrowing stable layout exclusion.
BackupLayoutGuard
Exclusive access to an existing resolved backup layout and its dependencies.
CommandLifetimeLock
Exclusive custody for one journal operation’s local command attempt.
CommandQuiescenceGuard
Fresh exclusive local quiescence for retained exact custody evidence.
DownloadJournalGuard
Exclusive local lifecycle access borrowing the stable backup layout guard.
IcSnapshotArtifactWriter
Exclusive ephemeral writer for one original journal artifact and exact IC metadata.
IcSnapshotLocalMetrics
Read-only diagnostic snapshot for one opened download-journal guard.
JournalLock
JournalLock
LocalRestoreArtifactView
Borrowed original source/operation identity and the exact freshly checked private copy.
MeasurementHistogram
Canonical shared arithmetic for local diagnostic summaries and distributions.
MeasurementSummary
Canonical shared arithmetic for local diagnostic summaries and distributions.

Enums§

ArtifactCommitOutcome
Result of publishing a temporary artifact or recovering its published tree.
AttemptJournalError
Typed exact admission, local accounting or durable publication failure.
CommandLifetimeLockError
Typed custody admission, dispatch or quiescence failure.
ConsistencyPersistenceError
Typed exact retained requirement or bounded local storage denial.
DownloadIntegrityError
Typed fresh local verification failure; original evidence remains retained.
DownloadJournalError
Typed local journal admission or durable lifecycle failure.
DownloadManifestError
Typed immutable local declaration publication/replay failure.
EffectGraphPersistenceError
Typed declared graph identity or immutable local persistence rejection.
ExecutionSettlementPersistenceError
Typed immutable publication/replay failure, preserving all original journals and obligations.
FenceObligationPersistenceError
Typed denial preserving original obligation bytes and acquisition spending.
FenceObligationRequirement
Borrowed original declarations and guarded source custody used at the IO boundary.
IcSnapshotArtifactError
Typed local artifact failures; no wire payload or raw snapshot identity is retained.
IcSnapshotUploadArtifactError
Typed local preparation failure; all original bytes, spending and references survive.
InventoryError
Typed exact declared-identity or durable local inventory admission failure.
JournalLockError
JournalLockError
LocalRestoreArtifactError
Typed local copy/source admission denial; no error deletes or dispatches anything.
LocalRestoreArtifactPublicationError
Publication/recovery denial; a failure can retain an already published canonical copy.
LocalRestoreSourceError
Typed fresh original local source denial, preserving every original obligation.
OperationPlanPersistenceError
Typed original operation-plan identity or bounded immutable local admission failure.
PersistenceError
Typed local persistence failure.
RestoreSafetyPersistenceError
Typed original restore/source safety persistence denial.

Constants§

COMMAND_CUSTODY_DESCRIPTOR_ENV
Child environment variable containing its inherited custody descriptor number.
MAX_RESTORE_REFERENCE_BYTES
Maximum bytes decoded or published for one restore-dependency record.

Functions§

commit_artifact_directory
Durably publish or recover one checksum-verified snapshot directory.
create_consistency_requirement
Durably create fixed consistency-requirement.json without replacing original evidence.
create_effect_graph
Durably create effect-graph.json under layout exclusion without replacing evidence.
create_execution_settlement
Publish fixed execution-settlement.json under original retained plan/journal evidence.
create_fence_obligation
Durably publish fixed fence-obligation.json without replacing retained obligations.
create_inventory
Durably create inventory.json under held layout exclusion without replacing evidence.
create_json_durable
Publish a new machine record without replacing an existing entry.
create_operation_plan
Durably create fixed operation-plan.json without replacing prior evidence.
create_restore_safety_requirement
Durably create fixed restore-safety-requirement.json without replacement.
read_consistency_requirement
Read bounded validated original requirement under its exact expected digest and retained plan.
read_download_manifest
Replay exact immutable download evidence under its retained original plan/journal.
read_effect_graph
Admit retained bounded graph under its original exact expected digest, using local IO only.
read_execution_settlement
Reopen exact checkpoint and validate complete retained original evidence using local IO only.
read_fence_obligation
Read the exact bounded retained obligation; absence never recreates or releases it.
read_inventory
Read bounded validated local inventory under its original expected canonical digest.
read_json
Read one regular no-follow JSON file within an explicit byte limit.
read_operation_plan
Admit bounded validated local plan under its exact original expected intent digest.
read_restore_safety_requirement
Read bounded exact original requirement under both unchanged retained plans.
write_json_durable
Durably replace a machine record using a sibling temporary and rename.