Expand description
§requisite
requisite encodes data-handling requirements in types:
trustroutes external input through a named sanitizer before trusted sinks receive it.confidencemaps probabilities to action tiers and issues aCertaintoken for the highest tier.freshchecks TTLs at read time and binds operation-scoped values to their closure.
A function states its requirement in its parameter type. Callers satisfy that requirement through the corresponding transition or check.
§Enforcement
Trust tags, confidence tiers, proof tokens, and scoped lifetimes are checked by the compiler. TTLs and confidence thresholds are evaluated at runtime.
Runtime checks return types that carry their result forward.
Confident::gate, for example, returns a tier
whose highest variant includes a Certain token.
§Guides
Modules§
- confidence
- Confidence-based action gates.
- fresh
- TTL-checked and operation-scoped values.
- prelude
- Common imports.
- trust
- Type-checked transitions from external input to trusted values.