omega-cognitive-kernel 0.5.7

Online strategy-patch runtime: training-free RuleEffect adaptation with audit and rollback
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[allow(unused_imports)]
use crate::prelude::*;

// Safety invariants and constraint helpers.
// Currently the main enforcement lives in L0 executor and L1 sandbox.

pub fn default_constraints() -> hashbrown::HashMap<String, f64> {
    let mut c = hashbrown::HashMap::new();
    c.insert("max_risk".into(), 0.65);
    c.insert("max_actions_per_step".into(), 3.0);
    c
}