agentic-workflows-blueprint.workflow.thermo-fix
Goal
Run a thermo-nuclear code quality review on the diff, apply every identified fix inline, verify the build, and iterate until all blockers are resolved (up to 3 cycles).
Scope
- Applies to: Files modified in the current session or branch.
- Does not cover: Implementing new feature scope from scratch or running deployment pipelines.
Triggers
- "/thermo-fix"
- "Run review and fix cycle"
- "Fix code quality findings"
Inputs
diffScope: Files to review (default: modified files in branch).maxIterations: Maximum review+fix cycles (default: 3).buildCommand: Project verification/build command.
Invariants
- Never approve on behavior alone: Structural regressions are blockers.
- Inline fix cycle: Apply fixes in the same conversation without branching.
- Build verification: Run build/syntax check after every fix cycle.
- No unsolicited changes: Only fix identified quality findings.
Procedure
- Identify Diff: List all modified files.
- Review: Run
thermo-nuclear-code-quality-reviewto produce finding table (Blocker, High, Medium, Low). - Apply Fixes: Fix findings top-down (Blocker -> High -> Medium).
- Verify Build: Run project build/check command. Fix build errors if any occur.
- Re-review: Re-inspect all changed files. Stop if zero Blocker or High findings remain. Otherwise repeat up to
maxIterations. - Commit: Create a local git commit with finding summary.
Outputs
- Resolved code findings.
- Build verification pass.
- Updated
docs/tasks/task.<reference>.mdandwalkthrough.md. - Local git commit.
Review gate
- Zero Blocker findings.
- Zero High findings.
- Project build/syntax checks pass.
References
../../SKILL.md../thermo-nuclear-code-quality-review/SKILL.md../radioactive/SKILL.md- Interactive HTML View