Engineering Root Cause Analysis Debugging

Root Cause Analysis Prompt

Forensic-grade RCA: most likely cause plus alternatives, each with supporting AND contradicting evidence — and unknowns that stay unknown.

Overview

Root cause analysis fails when it stops at the first plausible story. This setup runs the forensic mode on a duplicated-notifications problem with no reproduction yet: every conclusion must cite the specific evidence supporting it, at least two alternative causes carried alongside the leading one, contradicting evidence listed as diligently as supporting evidence, and — the forensic signature — assumptions forbidden in conclusions entirely, allowed only as questions in MISSING INFORMATION. With no repro provided, the contract demands the information needed to build one instead of pretending.

How to use this resource

  1. Demand the alternatives

    The rules require at least two alternative causes — the leading story has to beat real competitors.

  2. Weigh contradictions equally

    Evidence against each candidate is listed next to evidence for it — the column most RCAs quietly omit.

  3. Let unknowns stand

    "Insufficient evidence" is a legitimate finding; a plausible guess in its place is how wrong RCAs get written.

Why This Works

  • Competing hypotheses prevent narrative lock-in on the first story
  • Contradicting-evidence discipline surfaces the inconvenient data early
  • Forensic assumption rules make the final document trustworthy by construction

Best for

  • Bugs with multiple plausible stories and real stakes
  • Engineering cultures that write blameless post-mortems
  • Investigations that feed permanent fixes, not patches

Not for

  • Quick local bugs — Fast or Standard mode resolves them with less ceremony
  • Incident response while the fire burns — that's the production incident setup; RCA comes after stability

Use cases

  • RCAs that will be read by people who weren't there
  • Problems where the obvious cause already proved wrong
  • Post-incident analysis that has to survive scrutiny

FAQ

How does this RCA prompt stop the AI from locking onto the first plausible cause?

The ROOT CAUSE RULES require the most likely cause plus at least two alternative causes, and for each candidate you get supporting AND contradicting evidence side by side. Assumptions are forbidden in conclusions — they may appear only in the MISSING INFORMATION stage as questions to resolve. The debugging-prompt-generator produces this prompt; the diagnosis is still a hypothesis you validate.

How does this prompt handle a bug with no reproduction steps yet?

Stage 3, INFORMATION NEEDED TO REPRODUCE, handles exactly this: the loaded duplicated-emails case provides no reproduction steps, so the framework lists what's needed to reproduce before diagnosing further and says "Do not pretend a reproduction exists." The output tells you what to gather; it can't confirm the cause without it.

Is this overkill for a quick local bug I just want fixed?

Likely yes. This runs the full 10-stage framework — SYMPTOMS through POST-FIX VERIFICATION — with FACT/ASSUMPTION/HYPOTHESIS labeling on every statement, built for RCAs read by people who weren't there. notFor says quick local bugs are better served by Fast or Standard mode in the debugging-prompt-generator, which resolves them with less ceremony.

More resources from Debugging Prompt Generator

Resources that pair well

Related tools

Workflows that use this resource

Guides for this resource

Tip: Save time by exploring related resources and tools that integrate with this resource.