Module finalization
Expand description
Durable, study-wide ownership for terminal finalization.
Finalization callbacks restore and mutate the sampler and scheduler seams.
A phase cursor alone cannot fence those shared scopes, so built-in storage
backends persist one small claim per study. This module contains only the
backend-neutral value types and semantic planners. Backends must call the
planners while holding the same lock or transaction used to read and write
the corresponding StateBlob.
Structs§
- Finalization
Acquire Request - Input to a study-wide finalization claim acquisition.
- Finalization
Observation - A read-only snapshot of one study’s finalization claim.
- Finalization
Token - Opaque capability proving ownership of one study’s finalization seam.
Constants§
- FINALIZATION_
BLOB_ KIND - The kind tag used by the core-owned finalization claim state.
- FINALIZATION_
BLOB_ VERSION - The schema version used by the core-owned finalization claim state.
- FINALIZATION_
SCOPE_ NAME - The reserved name of the study-scoped finalization claim slot.
Functions§
- finalization_
scope - Alias used by backends that name all state-slot helpers with a
scopesuffix. - reserved_
finalization_ scope - Returns the reserved study-scoped state slot for finalization ownership.