← Files Software & AI CopilotARCHIVED FILE
references/debugging-playbook.md
1.01 KB · Nov 9, 2026 · 00:42 UTC
# Evidence-driven debugging Start with a concrete symptom and a minimal reproducer; do not confuse log noise with root cause. 1. Characterize expected/actual result, affected users, environment, version, timeframe and reproducibility. 2. Gather focused stack trace, last known good behavior, relevant diff and failing test. Check whether failure is in input, state, transport, logic, storage or external dependency. 3. Generate 2–3 hypotheses and an observation that can distinguish each. Prefer a targeted diagnostic to a broad speculative rewrite. 4. Reproduce in the safest representative environment; never run destructive diagnostic commands against production by default. 5. Apply smallest complete fix, add a regression case, rerun affected tests and check adjacent failure modes. 6. State whether the exact issue was reproduced and fixed. When not reproduced, report the limited confidence. For async failures trace retries, cancellations, concurrent state transitions, timeout boundaries and duplicate side effects.
SHA-256: 66be3385494aaa852d4cdeb5ac54473e7f24fcdcd30e574cc3edbf7064a17df3