Skip to main content

Module hash

Module hash 

Source

Enums§

DriftStatus

Functions§

content_hash_for_origin
Origin-stable content hash — excludes origin, origin_version, origin_hash (the stamp itself) plus transfer_chain/evolution_log (trust-excluded already) so restamping a skill never changes its own hash, but a real content edit always does.
content_hash_for_trust
Compute content hash for trust verification — excludes transfer_chain and evolution_log so registry lookup and trust-store keys remain stable across transfers and across generation increments.
content_sha256
Hex-encoded SHA-256 of the canonical YAML form. Lowercase.
ct_eq_hex
Constant-time hex-string comparison. Used by drift detection.
drift_status
sha256_hex