wb-debug-rigorous
Suggested role: root-cause-debugger. This file is portable and does not depend on that agent existing.
When to use
Bugs, intermittent failures, crashes, exceptions, regressions or unexpected results.
Procedure
- Collect symptom, version/build, environment, steps, expected/actual, logs and the last known good commit.
- Form a falsifiable hypothesis and a minimal repro; establish a measurement before fixing.
- Isolate one variable per experiment. Compare regressions with
git diffandgit bisectwhen feasible. - Fix the demonstrated cause and add a regression test; run relevant tests and record command + output.
Exit criteria
Deliver a confirmed cause or ranked hypotheses, evidence, the change, and validation performed/not performed.