pub fn events_with_summary(
events: Vec<PolicyEvent>,
passes: u64,
changed_paths: &[String],
) -> Vec<PolicyEvent>Expand description
What: The events with a fix summary appended whatever the pass count. Why: A normalization that removed every change always reports its summary.
In TS you’d write (pseudocode):
withFixSummary({ result, trigger: 'pre-forward', passes, changedPaths });