Skip to main content

qualia_core_db/inference/inference_agent/governed/
mod.rs

1//! Explicitly installed policy with human-centric protections, signed actor
2//! associations and synchronous Sentinel decisions. Actor subjects and their
3//! multiple identifiers remain distinct from policy installation authority.
4//!
5//! This foundation does not yet replace the decoder's publication paths. Host
6//! installation is privileged: a public DID or a key supplied by a request is
7//! never authority. Numerical rollback and output publication belong to the
8//! caller; a rejected session must not reuse uncertain provider state.
9#![forbid(unsafe_code)]
10
11mod actor;
12#[cfg(not(target_arch = "wasm32"))]
13mod anchor;
14#[cfg(not(target_arch = "wasm32"))]
15mod associated;
16mod candidate;
17mod controller;
18pub mod evidence;
19#[cfg(not(target_arch = "wasm32"))]
20mod host;
21mod policy;
22mod program;
23mod signature;
24#[cfg(not(target_arch = "wasm32"))]
25mod store;
26
27pub use actor::*;
28#[cfg(not(target_arch = "wasm32"))]
29pub use associated::*;
30pub use candidate::*;
31pub use controller::TokenDecision;
32#[cfg(not(target_arch = "wasm32"))]
33pub use host::*;
34pub use policy::*;
35pub use program::ConstraintInstruction;
36pub use signature::{policy_digest, SignedPolicy, TrustedPolicyIdentity};
37
38#[cfg(test)]
39mod integration_tests;
40#[cfg(test)]
41mod tests;