Systematic Debugging
Loop
- Reproduce the failure with the smallest exact command.
- Capture expected vs actual behavior.
- Form one hypothesis at a time.
- Add instrumentation or a focused test to falsify it.
- Apply the smallest fix, then rerun the failing command and the relevant regression suite.
Never batch unrelated fixes in one debugging loop.