Memory cards
Refactor in small, behavior-preserving steps
confidence: highupdated: 2026-11-25status: activeengineeringrefactortesting
Claim#
A refactor changes structure without changing behavior. A test suite proves the behavior stayed.
Test#
Name the behavior. Make one structural change. Run tests. Repeat.
Proof#
A sequence of green commits.
Failure modes#
A refactor mixed with a feature hides both.