Loading...
Loading...
Isolate root causes from defect descriptions, errors, logs, or reproductions through discriminating investigation and minimal feedback loops.
npx skill4agent add venhdev/skills diagnose.agents/scratch/[DEBUG-<hex>].env**.key*.pem.agents/environment.md.agents/dev-environment.mdIf <cause>, then <controlled probe> changes <observation>.| Seam | Investigation method |
|---|---|
| Existing test | Run the focused assertion at the failing call site |
| Running process | Invoke the CLI or HTTP path and compare expected/actual output |
| Isolated callable | Build a minimal scratch harness; disclose substituted I/O |
| Captured event | Replay sanitized payloads, logs, or HAR data in scratch |
| Historical regression | Compare revisions in an isolated scratch checkout |
| Interactive-only trigger | Adapt the local loop template in scratch; capture redacted responses |
CONFIRMEDINFERREDREJECTEDUNRESOLVED# Root-Cause Report: <defect>
State: <CONFIRMED | INFERRED | REJECTED | UNRESOLVED>
Conclusion: <causal mechanism, supported hypothesis, rejected claim, or unresolved question>
Scope: <symptom, runtime/environment, and inspected seam>
Evidence: <commands or trace references; observed results; discriminating causal link>
Conditions and proof limits: <assumptions, substitutions, missing evidence, and applicability limits>
## Competing explanations *(omit if none were investigated)*
<claim -> probe/prediction -> observation -> supported or falsified>
## Reproduction *(omit if no executable or interactive loop was established)*
<scratch path or existing command; required setup; assertion and observed symptom>