pub fn doctor_lines(report: &Report) -> Vec<String>
The doctor report (SP5c design §7): records grouped under host, repositories and one agent <id> heading per agent, then the summary line.
doctor
host
repositories
agent <id>