config_duration_bad_char
Diagnostic `nanook::config::duration_bad_char`
Summary
invalid character `{0}` in duration `{1}`
Help
durations are digits followed by a unit, like 30s or 1h30m
Details
When this fires
The duration parser in crates/nanook-core/src/duration.rs ran into a non-digit, non-letter, non-whitespace character before any number had been read, or right after a unit boundary where it expected a digit. Anywhere a nanook.toml field accepts a duration (rule cooldown, escalate.after, collector interval, opts coerced through Resolver::duration) feeds this parser. You'll usually see this during nanook check or at startup of nanook run.
What to check
The shape is digits then a unit, like 30s, 1h30m, 2d. No commas, dashes, or stray punctuation. Watch for zero-width or smart-quote characters from copy-paste.
# bad
= "5-min"
# good
= "5m"