pub fn render_diff(diff: &DiffReport, baseline_hint: Option<&str>) -> StringExpand description
Render a standalone diff report as Markdown.
Schema:
# AgentSec diff vs <baseline-path-or-"latest snapshot">— header.- If the diff is empty, a single
_no changes._line and nothing else. - Otherwise the three
### Added/### Modified/### Removedsubsections, each omitted when its vector is empty.
Pass baseline_hint as Some("/path/to/snapshot") to put the
snapshot path in the header, or None for the generic phrasing.