execution_record
Dependency-light validation for immutable Puzzletron stage execution records.
Functions
Return whether a manifest opts into immutable execution-record validation. |
|
Validate the canonical pointer and every immutable record it references. |
- stage_manifest_uses_execution_record(manifest)
Return whether a manifest opts into immutable execution-record validation.
- Parameters:
manifest (Mapping[str, Any])
- Return type:
bool
- validate_stage_execution_record(manifest_path, *, expected_stage=None)
Validate the canonical pointer and every immutable record it references.
Historical stage manifests without
execution_recordremain readable. Any manifest that opts into the execution-record schema is checked fail closed.- Parameters:
manifest_path (str | Path)
expected_stage (str | None)
- Return type:
tuple[str, …]