---
name: diagnosing-bugs
description: Diagnose bugs and regressions through reproduction, minimization, instrumentation, fixing, and regression testing.
---

# Diagnosing Bugs

Reproduce the issue, minimize the failing case, record expected versus actual behavior, form competing hypotheses, instrument the path, verify the root cause, implement the narrow fix, and add a regression test. Do not jump directly to a speculative patch.
