Expand description
Auto-fix suggestions for deterministic drift rules.
Some rules are mechanically fixable:
symbol_absence: doc references a renamed/missing symbol → suggest the new nameghost_command: CI references a deleted crate/binary → suggest removalcompile_failure: example doesn’t compile → surface the rustc diagnostic
This module produces AutoFix structs that either auto-apply
(with --fix) or are surfaced as suggestions in the report.
Structs§
- AutoFix
- A suggested fix for a divergence.
Functions§
- apply_
fixes - Auto-fix runner: apply all auto-applicable fixes.
- build_
example_ narrative_ prompt - build_
markdown_ correction_ prompt - build_
outdated_ logic_ context - collect_
public_ signatures - format_
as_ comments - slice_
example_ narrative - slice_
markdown_ section - suggest_
fix - Try to generate an auto-fix for a divergence.