Skip to main content

render_report

Function render_report 

Source
pub fn render_report(d: &Diagnosis) -> String
Expand description

Full human-readable report for the report subcommand.

Includes everything render_short shows plus the severity rationale, hypotheses, unknowns, ordered next-steps, and the escalation note. The same Diagnosis data is presented; this just shows more of it.

Section order mirrors render_prompt so a reader who has seen one can navigate the other instinctively. Section labels distinguish the two: report headers are bare (HYPOTHESES); prompt headers carry instructions (HYPOTHESES (consistent with evidence; may be true or false):).