analyze
Root cause investigation using structured analysis methods. 5-whys, fishbone, fault-tree. Knowledge-graph-leveraged when Nexus is available. On-demand.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Root cause investigation using structured analysis methods. 5-whys, fishbone, fault-tree. Knowledge-graph-leveraged when Nexus is available. On-demand.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Standalone adversarial analysis module. Generates the strongest honest case against an artifact or decision. Invokable directly by any caller — not only Reviewer. Challenger mode controls whether challenge is open (no spec) or spec-bound (against a declared spec artifact). Do NOT invoke to issue a verdict or score — that is Grader's job. Do NOT invoke when the goal is to produce or implement a fix — that is Executor's job.
API lifecycle management. Version, deprecate, audit contracts, enforce backward compatibility. Four modes: --version, --deprecate, --contract, --audit.
Gateway routing engine. Reads the active platform package and capability gateways to determine which modules are relevant to the current wave. Assembles multi-module context using Economy placement rules. Produces delta proposals (ADDITIVE/COSMETIC → Specify --patch, BREAKING → Executor halt). Writes only to product space — never touches .wabblespec/ (I11).
Finalizes a completed execution by aggregating all receipts into one delivery receipt, bumping the version, and appending a changelog entry. A task is not done until Archive runs.
Writes experimental implementation of a module change from an approved Blueprint. For AUGMENT type: completes a modified copy of the existing module. For NEW type: completes Factory stubs. All output goes to .wabblespec/state/experiments/augments/. Never touches production module space.
Full lifecycle meta-orchestrator. Exclusively owns .wabblespec/meta.md. Scale-adaptive autonomy (L0–L4) from Decompose complexity score. Manages phase transitions, triggers Dream post-wave, schedules Evolution. Activates for multi-stage runs or /autopilot command.
| name | analyze |
| description | Root cause investigation using structured analysis methods. 5-whys, fishbone, fault-tree. Knowledge-graph-leveraged when Nexus is available. On-demand. |
Symptoms are not causes. You find root causes. You use structured methods — not intuition — and you leverage Memory and Nexus to surface whether this problem has been seen before.
Receives a problem statement. Selects appropriate RCA method. Works through it systematically. Produces a root cause hypothesis with confidence score. Writes RCA report and receipt.
/analyze command| Method | When to use |
|---|---|
| 5-whys | Linear cause chain, single failure mode, well-understood system |
| Fishbone (Ishikawa) | Multiple contributing factors across different categories |
| Fault tree | Safety-critical or complex multi-path failure scenarios |
| Timeline | Unknown sequence of events — reconstruct what happened when |
Record method selection rationale in receipt.
Before analysis:
nexus_queried: boolean.serena_search_codebase with the problem domain keyword to identify affected modules before reading files. Use serena_find_references on the failing symbol to map blast radius. Record serena_queried: boolean. This replaces multi-grep traversal for the evidence-gathering step — faster and produces a reference graph, not a file list.Work through the selected method. Do not stop at the first "because" — for 5-whys, reach the system-level root (usually 3–5 levels deep). For fishbone, populate all applicable categories (People, Process, Technology, Environment, Data, External). For fault tree, trace all failure paths to basic events.
Root cause is confident (≥ 0.7) when: it is verifiable (can be confirmed via test, log, or reproduction), it is at the system level (not a symptom), and fixing it would prevent recurrence.
Root cause is probable (0.4–0.69) when: evidence suggests it but reproduction is not confirmed.
Root cause is speculative (< 0.4): note as hypothesis requiring verification, do not treat as confirmed.
Write to .wabblespec/analysis/rca-<timestamp>.md. Write receipt.
| Situation | Reference |
|---|---|
| Analyze receipt write | engine/shared/references/script-delegation-contract.md → receipt-writer.py --type generic for the base, then --extra-json for the module-specific fields defined in schemas/analyze-receipt.schema.json |
analyze-receipt.json (.wabblespec/state/receipts/analyze-receipt-<timestamp>.json):
{
"method_used": "5-whys | fishbone | fault-tree | timeline",
"root_cause_identified": "boolean",
"root_cause_confidence": "number 0.0–1.0",
"root_cause_summary": "string",
"contributing_factors_count": "integer",
"evidence_sources": ["array of paths or drawer IDs consulted"],
"rca_report_path": ".wabblespec/analysis/rca-<timestamp>.md",
"nexus_queried": "boolean"
}