Skip to content

Diagnose Bug

Backend / algo / API root-cause with a repair hypothesis.

Backend / algo / API root-cause with a repair hypothesis. This practice is a skill-mapped TTP: when, why, and which command—not a full copy of the skill. Open the skill to execute.

Debugging without a hypothesis wastes time. This practice is the deterministic compute cut of diagnosis (Quality regimes A) — APIs, algos, pipelines — vs troubleshoot-app (product UI, B) or agents analyze + Langfuse (generative, C). Prefer the quality trace; silent data lies and missing contracts are still bugs.

When the situation matches the one-liner above and Orientation (or your project path) says this is the fire to touch now.

  • Invoke the skill; follow its safety rules
  • Keep one write owner; collect evidence before claiming done
  • Hand off to the next practice instead of boiling the ocean
  • Skip orientation when you’re lost
  • Spawn overlapping agents to “go faster”
  • Treat the practice as done without evidence

04-evidence-over-vibes, 11-quality-regimes, 12-bugs-and-debt, 13-quality-trace

See also the handbook Sources & grounding bibliography.

diagnose-bug