Expand description
Explicit mapping boundary between snapshot wrappers and canonical core models.
This module centralizes snapshot validation and run payload mapping so that snapshot persistence remains a strict projection of core semantic truth.
Enums§
- Snapshot
Mapping Error - Typed mapping and validation errors for snapshot/core parity enforcement.
Constants§
- SNAPSHOT_
SCHEMA_ VERSION - Current snapshot schema version accepted by the explicit mapping boundary.
Functions§
- map_
core_ run_ to_ snapshot - Maps a canonical core run payload into the snapshot wrapper.
- map_
snapshot_ attempt_ history - Maps snapshot attempt history entries into reducer attempt history entries.
- map_
snapshot_ lease_ metadata - Maps snapshot lease metadata into reducer lease metadata.
- map_
snapshot_ run_ history - Maps snapshot run history entries into reducer history entries.
- map_
snapshot_ run_ to_ core - Maps a snapshot run wrapper into a canonical core run payload.
- validate_
snapshot - Validates full snapshot parity and mapping invariants before bootstrap.