/thermo-fix
Evidence-based fixes for review findings.
Runs the thermo-nuclear review on changed files (git diff scope) and applies fixes. Each fix references the finding it resolves. Does not touch files outside the diff.
Goal
Resolve code quality findings by applying evidence-based fixes that each reference the issue they address.
Scope
Applies to
- +Files changed in current git diff
- +Findings from thermo-nuclear review
Does not cover
- −Files outside the diff
- −Architectural refactors (use radioactive)
Triggers
Inputs
- →Findings table from review
- →Git diff scope
- →maxFixAttempts (default: 3)
Invariants
- 01Never modify files outside the diff
- 02Every fix references the finding ID
- 03Build must pass after each fix batch
Procedure
- Step 1Read findings table from review
- Step 2Filter to Blocker and High findings
- Step 3Apply fixes in batch, each referencing finding ID
- Step 4Run build verification
- Step 5Re-review modified files
- Step 6Repeat until zero Blocker/High or maxFixAttempts reached
Outputs
- ▸Fixed files with reference to finding IDs
- ▸Updated review verdict
- ▸Build verification result
Review Gate
- [ ]Zero Blocker findings remaining
- [ ]Zero High findings remaining
- [ ]Build passes
- [ ]Every fix references its finding