Debugging
- Reproduce the failure with the smallest possible test case.
- Read the stack trace top-down and name the first frame you own.
- Write a failing test that captures the bug before touching the fix.
- Implement the fix and confirm the new test passes.
- Re-run the full suite so the fix did not move the problem elsewhere.
See references/checklist.md for the pre-merge checks.