Expand description
Canonical serialization helpers for deterministic replay/testing artifacts.
Structs§
- Canonical
Replay Fragment V1 - Versioned canonical replay-state fragment used by tests and replay checks.
- Canonical
Trace V1 - Versioned canonical trace payload used for cross-target normalization.
Enums§
- Semantic
Audit Record - Replay-stable semantic record derived from authority, delegation, effect, and failure-visible runtime artifacts.
Constants§
- SERIALIZATION_
SCHEMA_ VERSION - Canonical schema version identifier for ProtocolMachine replay/trace payloads.
Functions§
- binary_
decode - Deserialize one value through the canonical ProtocolMachine binary codec.
- binary_
encode - Serialize one value through the canonical ProtocolMachine binary codec.
- binary_
size - Return the binary-encoded size for one value, saturating to
usize. - canonical_
effect_ trace - Canonicalize effect-trace ordering for deterministic replay diffs.
- canonical_
replay_ fragment_ v1 - Build a canonical replay-state fragment from runtime snapshots.
- canonical_
semantic_ audit_ log - Canonicalize semantic audit ordering for deterministic replay diffs.
- canonical_
trace_ v1 - Normalize an observable trace into the canonical versioned format.
- canonicalize_
protocol_ machine_ semantic_ objects - Canonicalize semantic-object ordering for deterministic replay diffs.
- semantic_
audit_ log_ v1 - Build canonical semantic audit records from authority, delegation, failure-visible observable events, and effect/interface observations.