pub fn parse_report(value: &Value) -> Result<ParsedReport, String>Expand description
Parse a report: value (a YAML mapping) into a Report.
Errors describe the offending input precisely; warnings (e.g. empty groups, kind-mismatched directives) are collected alongside so callers can decide whether to surface or promote to errors under strict mode.