Projects

Livegodofdebugger.bixai.dev

God of Debugger

Debugging plugin for Claude Code

Debug by disproving. One slash command turns a bug report into a falsification protocol, and a fix is proposed only when exactly one hypothesis is left standing.

Visit siteSource on GitHub
God of Debugger interface

What it does

  • Bootstraps a deterministic repro before hypothesising
  • Generates competing primary and adversarial hypotheses
  • One falsification experiment per hypothesis, run by parallel subagents
  • Survival table scoring each hypothesis killed, survived, or inconclusive
  • Promotes surviving experiments into permanent regression tests

Why I built God of Debugger

Coding agents debug the way tired people do: they latch onto the first plausible cause and ship a fix. Sometimes it’s right. Often it just moves the bug.

God of Debugger makes the agent work like a scientist instead. It writes down several competing explanations, tries to kill each one with an experiment, and is only allowed to fix the bug when exactly one explanation survives.

How God of Debugger works

  1. /god-of-debugger:go reproduces the bug, narrows it to 2–5 files, then writes 5–8 hypotheses that cover at least 4 of 7 causes: data, control flow, concurrency, config, dependencies, environment and contracts.
  2. An adversary subagent adds 2–3 more hypotheses in the categories the first list missed, including “the premise is wrong”.
  3. Each hypothesis gets one experiment, with its kill and survive conditions written down before it runs. Runners can’t rewrite them after seeing the output.
  4. One runner per hypothesis works in parallel and sees only its own hypothesis and files. Each returns killed, survived or inconclusive.
  5. A fix is allowed only when exactly one hypothesis survives, and a hook enforces it: until then, edits to production files are blocked.
  6. The surviving experiment becomes a regression test that fails before the fix and passes after it.

Built with

  • JavaScript
  • Node.js
  • Claude Code plugins, subagents and hooks
  • Bash

Try God of Debugger

npm i -g @bixai/god-of-debugger && god install
हि