/dpf-platform:dpf-systematic-debuggingfrom dpf-platform
Root-causes DPF build failures, wedged runtimes, stuck jobs, and wrong output using live evidence before hypotheses.
Ships in dpf-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Hypothesis-and-isolate is assumed, not taught. In DPF the failure modes are substrate- and concurrency-shaped rather than logic-shaped, so the generic loop misleads more often than it helps. What follows is only the DPF-specific gating.
For a broken upgrade, unavailable MCP/portal/CI, permission denial or occupied break-fix lane, read recovery routing before the normal steps below. A recovery route preserves authorization and reports unrun gates honestly. Ordinary queue contention still waits.
Skip it when you already have verified evidence of the cause, or when the "cause" is hypothetical with no observed symptom.
Hard gate: dpf-evidence-before-diagnosis. A log line saying "X failed because Y" is a hypothesis written by code that can itself be wrong — not a finding. Query the live state that would confirm or refute it:
docker exec dpf-postgres-1 psql -U dpf -d dpf -c "…") — the actual record, not the log's claim about it.tools/list, build and sandbox status tools) — check-tool-signals-first.docker logs <svc>), plus the relevant status route or run table (QuiescenceRun, SelfUpgradeRun, FeatureBuild.buildExecState).get_build_sandbox_state, diagnose_sandbox.~/.dpf/install-state.json and the deployed build identity when the symptom is install- or version-shaped.Write down observed facts — numbers, timestamps, statuses — separately from any suggested cause.
Substrate anchor: runtime-bound reproduction (running a service, testing against a live DB, exercising a build flow) belongs in the shared local-CI convergence sandbox, not a worktree. Kernel principle
worktree-is-source-control-not-runtime; AGENTS.md §3.
propose-acknowledge-reassign). Before concluding a shared substrate is broken, check whether another session, worktree, or agent is already on it: list_work_capsules, git log for very recent commits, running build/compose processes, other worktrees. A peer may have the fix in flight, and re-fixing collides.dpf-verify-substrate-first). Before "the component is missing," sweep search_code_graph plus a main-branch check. It usually exists; the wiring or the version is what is off.Hard gate: structural-verification-is-not-functional. A fix that compiles, type-checks, or lints is not verified. The symptom is fixed when the running thing behaves: the build goes green, the job completes, the row reaches the expected status, the endpoint returns the right value. A green typecheck on a wedged runtime is not a fix.
The portal refused all MCP writes with portal_quiescing. Tempting diagnosis: "the quiescence logic is broken, go fix it."
QuiescenceRun showed status=draining, enteredStateAt.draining 11+ minutes against a budgetMs of 300000, and lastHeartbeatAt=null. Observed fact: the coordinator never ran a single drain-tick. That refuted "logic bug in the wait loop" and pointed at "the coordinator never resumed."ps and git log showed a peer session had already committed the fix (bcaa30a8) and was rebuilding. Re-fixing would have collided in the shared tree.quiescence-state returning level: normal with MCP accepting a write.Without gates 1 and 2, the obvious-but-wrong move — rewriting the quiescence logic — would have wasted effort and stepped on a peer.
dpf-evidence-before-diagnosisdpf-verify-substrate-firstevidence-before-diagnosis, structural-verification-is-not-functional, check-tool-signals-first, propose-acknowledge-reassign.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dpf, debugging, root-cause-analysis, build-failure, sandbox-diagnosis
npx claudepluginhub opendigitalproductfactory/opendigitalproductfactory --plugin dpf-platform88 skills in this plugin
/acquisition-brief-refreshKeep the acquisition brief current./ai-platform-posture-refreshReport AI platform and host health./architecture-alignment-sweepCompare delivered against recorded architecture./asset-inventory-reconciliationReconcile recorded against observed assets./books-period-advanceAdvance the open books period./build-sensitive-domain-requirementsBound sensitive-domain build requirements.Other plugins' skills for the same job