Skip to main content

Module agency

Module agency 

Source

Enums§

AgencyError

Functions§

compute_scoped_merkle_root
Computes the Author-Scoped Merkle Sub-Root Hash for a specific user’s claims. It partitions the 128KB frame by the Author’s DID, strictly ignoring claims authored by other actors in the Bilateral frame. Uses zero-allocation iteration over the existing memory slice.
derive_lane_key
scrub_quin_volatile
Volatile zero of all Quin fields after WAL commit (wipes transient LLM state).
sign_agency_root
The Human Agency Hook Generates a 64-byte Ed25519 signature exclusively over the Author-Scoped Merkle Sub-Root.
sign_graph_mutation
Sign a single graph-mutation Quin using the author-scoped Merkle sub-root.
stamp_fiduciary_metadata
Stamp fiduciary metadata and refresh the XOR parity block before WAL commit. principal_did_hash is embedded in context; agent identity in metadata low bits.
verify_human_agency
The Verification Gate Validates an incoming 64-byte signature against the author’s Public Key (VerifyingKey). Only validates the specific claims matching the author’s DID, ensuring Bilateral Integrity.