pub enum TrustLevel {
Mediated,
Verified,
Advisory,
}Expand description
Trust level of a receipt’s authorization, recording HOW the Kernel participated in the evaluation. Captured per-receipt so downstream consumers (audit, regulatory, dashboards) can reason about the strength of mediation that produced each authorization.
See docs/protocols/STRUCTURAL-SECURITY-FIXES.md and roadmap Phase 1.2.
Variants§
Mediated
Tool invocation was synchronously mediated by the kernel (the strongest form: kernel observed the call inline and authorized it). This is the default and the safest baseline.
Verified
Authorization happened inline in the agent process (e.g. a long-running orchestrator embedded the kernel via FFI). The kernel observed the call but did not synchronously mediate it through a separate trust boundary.
Advisory
Authorization was advisory only – the kernel evaluated but the caller may have proceeded regardless. Used for shadow-mode integrations and observability-only deployments.
Implementations§
Trait Implementations§
Source§impl Clone for TrustLevel
impl Clone for TrustLevel
Source§fn clone(&self) -> TrustLevel
fn clone(&self) -> TrustLevel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more