pub fn strip_ansi(s: &str) -> String
Removes ANSI escape sequences (colors/bold) from an error message so that structured diagnostics carry plain text.