pub fn format_validation_errors(errors: &[ValidationError]) -> StringExpand description
Formats validation errors for a retry prompt.
One line per error, code first so the model can see the kind at a glance, then the locator, then the sentence explaining the fix.