The Kluever Maneuver
Summary
The Kluever Maneuver advocates a two-commit workflow for bug fixes: first, write a passing test that captures the buggy behavior, then fix the bug and the test in a second commit. The article uses concrete code examples and diffs to illustrate how this approach provides demonstrable proof of a fix and keeps CI green throughout the process, while also addressing potential false confidence when tests pass before the fix. It also discusses bug tracking and the historical context of the technique.