mdv fix
Apply every safe autofix in place.
Resistance is futile. Every safe autofix will be assimilated into your document.
Usage
mdv fix [files...] [options]Arguments
[files.— Markdown documents or directories to fix; default: every auto-discovered *.mdv.md → *.md pair.. . ]
Output
-f,--formatFORMAT— stylish (default) or json.--dry-run— Show a unified diff of what would change without writing any file.
Safety
--allow-deletions— Also apply fixes that delete authored content (e.g. an undeclared section); withheld and reported by default.
Contract selection
--schemaFILE— Use an explicit contract instead of discovering one.--titleTEXT— Supply the PR, issue, or document title validated by title rules.
Context
--contextFILE— Load JSON title, issue, and value context.--nowDATE— Inject the ISO date or datetime read by freshness rules; an explicit contextvalues.wins.now
Examples
mdv fix # fix every auto-discovered *.mdv.md/*.md pair in place
mdv fix README.md # fix one file against its README.mdv.md sibling
mdv fix --dry-run README.md # show a diff of what fix would change, without writing
mdv fix --allow-deletions README.md # also apply fixes that delete content (withheld by default)Model-assisted repair: validate LLM output.