pub struct EntropyWatchConfig {
pub enabled: bool,
pub threshold: f64,
pub hysteresis: f64,
pub cooldown_turns: u32,
pub notify_model: bool,
}Expand description
Opt-in threshold watch over the per-turn entropy score (③). When the score crosses
threshold the kernel emits an EntropyAlert observation — at most once per crossing
(hysteresis re-arm) and never more often than cooldown_turns. With notify_model
the alert is also routed through the kernel’s own signal dispatch as a
Heartbeat/Alert RuntimeSignal, so the model
sees a durable [SIGNAL] directive at the next boundary. Default OFF: the primary
consumer is the host supervisor, which can inject a task-aware note itself — an
unconditional self-nudge risks a feedback loop (the note churns context → more entropy).
Fields§
§enabled: bool§threshold: f64Alert when score >= threshold.
hysteresis: f64Re-arm only after the score falls below threshold - hysteresis (anti-flap).
cooldown_turns: u32Minimum completed turns between two alerts.
notify_model: boolAlso self-signal the model (Heartbeat/Alert, High urgency) when the alert fires.
Trait Implementations§
Source§impl Clone for EntropyWatchConfig
impl Clone for EntropyWatchConfig
Source§fn clone(&self) -> EntropyWatchConfig
fn clone(&self) -> EntropyWatchConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for EntropyWatchConfig
Source§impl Debug for EntropyWatchConfig
impl Debug for EntropyWatchConfig
Source§impl Default for EntropyWatchConfig
impl Default for EntropyWatchConfig
Source§fn default() -> EntropyWatchConfig
fn default() -> EntropyWatchConfig
Source§impl<'de> Deserialize<'de> for EntropyWatchConfig
impl<'de> Deserialize<'de> for EntropyWatchConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntropyWatchConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntropyWatchConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for EntropyWatchConfig
impl PartialEq for EntropyWatchConfig
Source§fn eq(&self, other: &EntropyWatchConfig) -> bool
fn eq(&self, other: &EntropyWatchConfig) -> bool
self and other values to be equal, and is used by ==.