Use when you must find the root cause of an issue, alert or mistake before a fix — a failed test, a gate refusal, a WARN or INCIDENT signal, a leak, a wrong claim. It traces the causal chain from the evidence, names each contributing cause and the control that did not catch the issue (the escape), and gives the instance fix, the class fix and the red-first regression test. issue-record calls it; it also works alone.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Issue Analyze?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mickeyyaya-issue-analyze)
---
name: issue-analyze
description: Use when you must find the root cause of an issue, alert or mistake before a fix — a failed test, a gate refusal, a WARN or INCIDENT signal, a leak, a wrong claim. It traces the causal chain from the evidence, names each contributing cause and the control that did not catch the issue (the escape), and gives the instance fix, the class fix and the red-first regression test. issue-record calls it; it also works alone.
---
# issue-analyze — the causal chain, the escape and the class fix
> TLDR: no fix before the cause. Trace back from the symptom to the first cause, one link at a time, with evidence for each link. Then ask which control let the issue through. The instance fix removes the cause; the class fix repairs the control.
>
> Sources: [docs/research/issue-record-skills-2026-11.md](../../docs/research/issue-record-skills-2026-11.md) (P2.6 and P2.7). The principle "root cause or nothing" is in [fable](../fable/SKILL.md) §2. When the superpowers plugin is installed, its `systematic-debugging` skill and its `root-cause-tracing.md` give the debug loop; this skill adds the escape and the output shape.
## Inputs
- The evidence of [issue-record](../issue-record/SKILL.md) step 1: the commands, the exit codes, the signal lines, the gate text and the run paths.
- Read access to the code. Track code with `evolve code` when the index is fresh.
## The procedure
| Step | Action | Exit criterion |
|---|---|---|
| 1. State the symptom | Write what failed, where and when, in one sentence with its evidence. | One sentence, one source. |
| 2. Reproduce | Run the smallest command that shows the symptom. Record the command and its output. | The symptom recurs, or you write why it cannot. |
| 3. Trace back | From the symptom, ask "what made this happen?" Read the code at each link and cite `path:line`. Stop at a cause that is a design choice or an input from outside. | A chain of numbered links, each with a source. |
| 4. Find the other causes | Ask which other conditions were necessary. An issue often needs two or more causes together. | Each contributing cause is in the list. |
| 5. Find the escape | Ask which control did not catch the issue: a test, a guard, a gate, CI, a review. Then ask why. | The escape names a control and the reason. |
| 6. Choose the fixes | The instance fix removes the first cause. The class fix repairs the escape. | Two fixes, or one with the reason. |
| 7. Plan the test | Name the regression test through the real entry point. Prove it red without the fix. | A test name and its red output. |
| 8. Separate the steps | Name the step that decided the harmful action. Name the step that ran it. Do not blame the last step by default. | Two steps, or one with the reason. |
| 9. Reject the alternatives | List each other cause that fits the symptom. Write the evidence that rules out each one. | Each alternative has its evidence. |
| 10. Prove the cause | Run the proof of ADR-0175 decision 8 for a code cause, or of decision 9 for an environment cause. Store each run with `evolve issue evidence add`. The planned verb is `evolve issue prove`. | Each run has its `src-NN` and its sha256 (decision 7), or the cause follows decision 10. |
Five Whys is a fast first probe for step 3. Do not stop at its fifth answer. An issue that needs two causes together has two chains, and Five Whys follows only one.
## The output
Give this block to issue-record. docs-write puts it into the §Root cause and §What changed sections of the record. The wave retrospective of [issue-retro](../issue-retro/SKILL.md) reads the same block for each record of the wave.
```markdown
**Symptom.** <one sentence, with its source>
**Chain.**
1. <the symptom> ← 2. <what caused it, path:line> ← 3. ... ← n. <the first cause>
**Contributing causes.** <each other necessary condition, with its source>
**Deciding step.** <the step that chose the harmful action> — **Executing step.** <the step that ran it>
**Rejected alternatives.** <each other cause that fits the symptom, and the evidence that rules it out>
**Intervention proof.** <the output of each run of the proof of ADR-0175 decision 8 or 9, each as src-NN with its sha256>. Status: <hypothesis | inconclusive | confirmed | refuted>
**Escape.** <the control that did not catch it, and why>
**Instance fix.** <the change, and its PR or item>
**Class fix.** <the change to the control, and its PR or item>
**Regression test.** <path::TestName>, red without the fix: <the output line>
```
[ADR-0175](../../docs/architecture/adr/0175-every-issue-goes-through-one-deterministic-evidence-process-and-its-record-matches-the-true-history.md) decisions 7 to 10 are the proof rule. A cause is confirmed only with an intervention proof, and the record keeps the hash of the proof output (decision 7). A cause without a proof is a hypothesis or is inconclusive (decision 10). Write `inconclusive` when the evidence cannot decide, and `refuted` when the proof contradicts the cause. Code checks each sha256 against the bundle manifest, so a proof without its hash does not count. The step that runs a harmful action is often not the step that decided it ([Causal Agent Replay](https://arxiv.org/abs/2606.08275)).
## Worked example: tests leaked ledgers under go/ (2026-11-16)
This example is older than the fields for the deciding step, the rejected alternatives and the intervention proof.
- **Symptom.** The composed-tree `make test` of cycle 2419 failed with four `LEAK` paths under `go/internal/phases/triage/.evolve` (signal `ORCHESTRATOR_COMPOSED_GATE_DECLINED`, 00:50:27Z).
- **Chain.** 1. `evolve treewalk check` found new files under `go/` ← 2. a test wrote `.evolve/ledger.jsonl` in its package directory ← 3. `inboxmover` built the ledger path from `ProjectRoot`, which the test left empty, so the path was relative ← 4. `resolveOpts` filled `InboxDir` from `ProjectRoot`, but never `ProjectRoot` from `InboxDir`.
- **Contributing causes.** Three test files in three packages named only the inbox. Each lane composed the whole tree, so each lane met the leak.
- **Escape.** CI runs `make test-integration`, which has no treewalk guard. Main stayed green, so no person saw the leak until the lanes failed.
- **Instance fix.** PR #1490: `planeRootOf` derives the root from `<root>/.evolve/inbox`.
- **Class fix.** The inbox item `ci-test-integration-treewalk-parity` adds the treewalk guard to `make test-integration`.
- **Regression test.** `go/internal/inboxmover/resolve_root_test.go::TestClaimPending_AnInboxOnlyCallerWritesTheClaimRowToThePlaneLedger`.
## Red flags
| Thought | Correction |
|---|---|
| "I see the bug, so I skip the trace." | A fix without the chain fixes a symptom. Trace first. |
| "The person or the agent made an error." | Name the design that let the error happen. A record is blameless. |
| "There is one root cause." | Look for the other conditions that were necessary. |
| "The fix works, so the escape does not matter." | The escape lets the next issue of the class through. |
| "No root cause exists; it is the environment." | Write what you checked. Most such cases are an incomplete trace. |
| "The model found the cause, so it is confirmed." | A cause without a proof is a hypothesis or is inconclusive (ADR-0175 decision 10). Models find the deciding step 14.2% of the time ([Who&When](https://arxiv.org/abs/2505.00212)). |