pub const THRESHOLDS: [(f32, &str); 3] = [
(0.9, "Context at 90%: stop and write handoff to .deepseek/handoff.md now"),
(0.8, "Context at 80%: draft handoff to .deepseek/handoff.md"),
(0.7, "Context at 70%: consider wrapping current sub-task"),
];
pub fn threshold_message(ratio: f32) -> Option<&'static str> {
THRESHOLDS.iter().find(|(t,_)| ratio >= *t).map(|(_,m)| *m)
}