pub struct CoherenceConfig {
pub enabled: bool,
pub lookahead: usize,
pub risk_score: u8,
pub min_confidence: f64,
}Expand description
Coherence-divergence monitor configuration.
Unlike the per-call layers above, the coherence monitor is sequential —
it consumes a run trajectory and flags a stated blocking fact followed by
a contradicting closure action (see super::coherence). It is driven by
its own super::coherence::CoherenceMonitor rather than by
super::inspector::AirlockInspector::inspect, so this config is consumed
directly by that monitor and is intentionally not a field of
AirlockConfig.
Fields§
§enabled: boolEnable coherence-divergence checking.
lookahead: usizeMax trajectory events between a stated blocking fact and a contradicting closure action for them to be paired. Beyond this the fact is treated as stale and dropped.
risk_score: u8Risk score (0-100) assigned to coherence-divergence violations. Clamped to 100.
min_confidence: f64Minimum confidence in [0, 1] required to surface a divergence —
guards the false-positive rate.
Trait Implementations§
Source§impl Clone for CoherenceConfig
impl Clone for CoherenceConfig
Source§fn clone(&self) -> CoherenceConfig
fn clone(&self) -> CoherenceConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more