A Rollback Drill and a Per-Commit Green Gate for Messy Refactors
Conclusion first: the smallest safe change is the one you can undo in one command and re-check in one...
Tag archive
Conclusion first: the smallest safe change is the one you can undo in one command and re-check in one...

Rewrites are tempting because old code is annoying. You open a file, wince, and a quiet voice says...
A refactor is only as small as its residue. You can pin golden outputs, run the suite green, merge...
Most failed refactors break review, not behavior. The smallest safe change is usually two commits,...
A small diff is not a safe diff. Safe means the old code and the new code agree on the same inputs....
A refactor is only as safe as its smallest revertible step. If nobody can undo your change with one...
A large refactor diff asks reviewers for trust. A dual-run harness asks the code for proof. Run the...
Messy-repo refactors usually fail on size, not on design. A forty-file diff cannot be reviewed,...

En el artículo anterior contaba cómo montamos un quality gate sobre el diff para el código que...
A pinned test that outlives its refactor is dead weight. It fails on formatting, not behavior. It...
The smallest safe refactor is one seam swap. Not a module rewrite. Swap the call site, run both...
A cleanup diff hoists a rates.rate() call out of a loop, the suite stays green, and the totals still...