# Debugging Phases

1. Observe the complete failure.
2. Reproduce it reliably.
3. Form one specific hypothesis.
4. Isolate one variable.
5. Add a regression test when practical.
6. Fix the root cause.
7. Verify the reproduction and relevant checks.

After three failed fixes, stop and revisit assumptions or architecture.
