Simplification Workflow
Workflow
- •Identify complexity hotspots (deep nesting, duplicate logic, large functions).
- •Confirm behavior boundaries and tests that must pass.
- •Propose small, safe refactors (extract functions, rename, remove dead code).
- •Apply changes in minimal steps; keep diffs focused.
- •Update or add tests when coverage gaps appear.
- •Summarize impact and remaining opportunities.
Guardrails
- •Preserve public APIs unless asked.
- •Avoid behavior changes; call out any unavoidable ones.
- •Prefer reversible changes and keep commits small.