Expand description
Hash implementation for AI process objects.
This module defines IntegrityHash, which is used for integrity verification
and deduplication of AI objects (Artifacts, Headers, etc.).
§Why not ObjectHash?
We avoid using git_internal::hash::ObjectHash here because:
ObjectHashimplies Git content addressing (SHA-1 or SHA-256 depending on repo config).IntegrityHashalways uses SHA-256 for consistent integrity checks regardless of the underlying Git repository format.- This separation prevents accidental usage of integrity checksums as Git object IDs.
Structs§
- Integrity
Hash - A SHA-256 hash used for integrity verification.
Functions§
- compute_
integrity_ hash - Compute canonical JSON hash.