pub fn agent_level( mstore: &Store, settings: &HashMap<String, Value>, grant: &Grant, now_ms: i64, ) -> (u8, Option<f64>, f64)
The alert level the agent’s day is at under its own cap; 0 when it has none.