Skip to main content

Module segment

Module segment 

Source
Expand description

§VEX Segments

Provides the data structures and JCS canonicalization for the v0.1.0 “Hardened” Commitment model.

Structs§

AuthorityData
Authority Data (CHORA Pillar) Proves the governance decision.
Capsule
A Composite Evidence Capsule (The v0.1.0 “Zero-Trust Singularity” Root) Binds Intent, Authority, Identity, and Witness into a single commitment.
ContinuationPayload
ContinuationToken
Continuation Token (Phase 2 Enforcement Primitive) A signed artifact that permits execution after an escalation.
CryptoData
Crypto verification details.
ExecutionTarget
IdentityData
Identity Data (Attest Pillar) Proves the silicon source and its integrity state.
ProvingMetadata
Metadata describing the Zero-Knowledge proving process.
RequestCommitment
Auditability metadata to link the raw payload to the intent.
SchemaValue
A wrapper for serde_json::Value that implements utoipa::ToSchema.
ShadowPublicInputs
Typed Public Inputs for Shadow Intents (Phase 2 Hardening)
StreamFinalProof
An Aggregate Proof for a sequence of authorized transitions. Used to prove the final state of a multi-step governed stream.
VexReceipt
A Spec-Grade Receipt (Phase 6 Hardening) Binds a validated Evidence Capsule to its proving context.
WitnessData
Witness Data (CHORA Append-Only Log) Proves the receipt issuance parameters.

Enums§

IntentData
Intent Data (VEX Pillar) Proves the proposed action before execution. It supports two variants:

Constants§

COL_AUX_START
COL_CONST_START
COL_IS_ACTIVE
COL_IS_FULL
COL_IS_LAST
COL_IS_REAL
COL_STATE_START
FULL_ROUNDS_START
FULL_WIDTH
GOLDILOCKS_PRIME
ME_CIRC
MU
PARTIAL_ROUNDS
SHADOW_INTENT_DOMAIN_TAG
TOTAL_ROUNDS
WIDTH

Functions§

canonical_encode_shadow_intent
Computes a canonical, length-prefixed encoding for ZK commitment preimages. Format: [DOMAIN_TAG] [PROMPT_LEN:4] [PROMPT] [SALT_LEN:4] [SALT]
get_round_constant
hash_to_m31_chunks
Phase 4A: Canonical M31 Chunking Specification. Maps a 256-bit hash (32 bytes-LE) into 9 M31 field elements using the LE rule: chunk_i = (H >> (31 * i)) & ((1 << 31) - 1) This ensures injective and bit-exact binding for Circle STARKs.
semantic_commitment_hash
Computes the semantic commitment hash for a shadow intent. Currently uses the structural permutation for ZK consistency.
structural_permute
Computes the structural permutation of a state (reference implementation).