pub type FixFn = fn(&ValidationContext<'_>, &[Violation]) -> Option<GraphPatch>;Expand description
Optional auto-fix function type (ADR-034 §7).
Receives the context and violations emitted by the corresponding RuleFn.
Returns a GraphPatch (opaque in v1 — see below) that the validator applies
before writing NDJSON. Returning None leaves the graph unchanged.
GraphPatch is a placeholder type in v1; the git-native write path
(ADR-020) is out of scope for this cluster.