Skip to main content

lean_ctx/core/trust/
mod.rs

1//! Open trust primitives for identity, classification, policy, and evidence.
2//!
3//! This module intentionally contains portable data types and deterministic
4//! verification only. Central identity lifecycle, policy administration,
5//! tenant orchestration, and residency enforcement belong to the enterprise
6//! control plane.
7
8pub mod classification;
9pub mod evidence_chain;
10pub mod identity;
11pub mod policy;
12pub mod tenant_isolation;
13
14pub use classification::{
15    ClassificationPolicy, ClassificationRule, ClassifiedData, ResidencyRequirement,
16    SecurityClassification,
17};
18pub use evidence_chain::{ChainVerificationResult, EvidenceChain, EvidenceEntry, verify_chain};
19pub use identity::{
20    AgentId, HumanActorId, IdentityContext, IdentityScope, ProjectId, ServiceId, TenantId,
21};
22pub use policy::{
23    AllowAll, ClassificationBased, DenyAll, PolicyContext, PolicyDecision, PolicyEvaluator,
24    PolicyRule,
25};
26pub use tenant_isolation::{CrossTenantLeak, IsolationCheck, TenantBoundary, assert_same_tenant};