mixle.inference.integrity module

Canonical identities for executable inference artifacts.

The helpers in this module deliberately fail when an object cannot be represented without an address-bearing repr. A missing identity is not interchangeable with a stable identity in a receipt, replay request, or reusable skill.

canonical_digest(value)[source]

Return a full SHA-256 digest of content with a stable, address-free identity.

Parameters:

value (Any)

Return type:

str

object_state_digest(value)[source]

Digest an object’s canonical type and state.

Parameters:

value (Any)

Return type:

str

implementation_digest(callable_object)[source]

Digest executable code, defaults, referenced constants, closure, and bound state.

Parameters:

callable_object (Any)

Return type:

str

dependency_manifest()[source]

Return the executable platform and core dependency versions bound by inference receipts.

Return type:

dict[str, Any]

dependency_digest()[source]

Digest dependency_manifest().

Return type:

str