pub fn generate_compensating_events(
drifts: &[Drift],
scope: Option<&str>,
ctx: &EventContext,
) -> Vec<AuditEvent>Expand description
Generate compensating events that bring the audit log in sync with the file state.
Each drift item produces a single reconciled event with actor: "reconcile".