complior fix analyzes findings from your scan and applies remediation strategies. Every fix follows: structured plan → score prediction → diff preview → backup → apply → validate → evidence chain.
How it works
1
Discovery
Reads last
ScanResult. Filters for type == 'fail' findings.2
Planning
For each finding: finds matching strategy → builds FixPlan with actions (create/edit/splice).
3
Preview
Shows table with predicted score impact. Use
--dry-run to stop here.4
Apply
Backups original files → applies actions → resolves templates with passport data → re-scans project.
5
Validate
Checks: did the finding change from fail → pass? Records score delta.
6
Evidence
Records fix in evidence chain (
.complior/evidence/) + undo history (.complior/fixes-history.json).Commands
TUI Fix page
PressF in TUI to open the Fix page:
Fix Strategies
All 17 strategies across 5 categories.
Document Generation
How fixes generate compliance documents.