5-Whys Root Cause Tracer
kilo_trace_root_causeTrace crash logs backward through causal chains to uncover the underlying systemic root cause of a failure.
Instructions
Recursive causal backward-propagation analysis from crash log to the underlying systemic root cause.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | REQUIRED for observability: Name the bug you are tracing, e.g. 'Truy vết lỗi TypeError: Cannot read property sessionId'. Displayed in terminal so users see what error is being diagnosed. | |
| format | No | markdown | |
| errorLog | Yes | Raw error message, stack trace, or failing test output | |
| sessionId | No | Active session ID to register cognitive gate satisfaction | |
| failingFile | No | File where failure occurred | |
| actualBehavior | No | Actual behavior | |
| expectedBehavior | No | Expected behavior | |
| decision_narration | No | MANDATORY INTER-TOOL NARRATION: State what you just concluded, verified, or analyzed before calling this tool. Appears in terminal tool badge for full user observability. | |
| next_action_narration | No | MANDATORY: State what this tool will execute and what immediate action follows. |