pub struct PolicyConfig {
pub tau: f32,
pub k: u8,
pub m: u8,
pub extreme_bypass: bool,
}Expand description
Policy configuration — the Stage III fixed protocol parameters.
Fields§
§tau: f32DSA score threshold τ. Default 2.0 (paper Stage III).
k: u8Persistence count K. Default 4 (paper Stage III).
m: u8Minimum corroboration count m. Default 1 (paper Stage III).
extreme_bypass: boolWhen true, a GrammarState::Violation causes an immediate
PolicyDecision::Escalate without waiting for K persistence
observations. This is the magnitude-gated bypass described in
paper §L item 9 (hypersonic detection latency defence): an extreme
violation (residual norm >> ρ, triggering Violation directly) must
not be delayed by the hysteresis confirmation window.
Default: true. Set to false only if false-escalation suppression
is more important than latency (e.g., benign laboratory environments
with high transient artefact rates).
Implementations§
Source§impl PolicyConfig
impl PolicyConfig
Trait Implementations§
Source§impl Clone for PolicyConfig
impl Clone for PolicyConfig
Source§fn clone(&self) -> PolicyConfig
fn clone(&self) -> PolicyConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more