Skip to main content

Crate lean_ctx_protocol

Crate lean_ctx_protocol 

Source

Structs§

EvidenceGapClosedV1
EvidenceGapOpenedV1
EvidenceRefV1
Typed evidence reference (not just a string).
ExperimentAssignmentV1
Signed assignment from sidecar. Runtime executes, never decides.
MeasuredUnitV1
MoneyV1
Sub-cent precision money. NOT floating point. Rounding to legal minor units happens only at invoice time.
PolicyClassification
Extended policy rule with classification.
SavingsObservationV1
What OSS emits. NOT VerifiedSavings (that’s proprietary).
UsageBreakdownV1
Granular token usage breakdown.

Enums§

BillingPeriodStatus
DataClassification
EvidenceKind
ExperimentArm
Experiment arm assignment — signed by proprietary platform.
ExpiryBehavior
GapReason
Gap lifecycle — append-only audit events.
PolicyCriticality
Policy class — determines fail behavior on expiry.
SideEffectPolicy
SignatureStatus

Type Aliases§

CurrencyCode
ISO 4217 currency code.