Debugging
Start from the failing output and narrow scope before editing code.
Work from reproduction to root cause:
- Re-run the failing command unchanged.
- Capture the narrowest input that still fails.
- Inspect the closest rule, config, or branch that explains the failure.
- Verify the fix with the exact same command before broadening coverage.