1.2 KiB
1.2 KiB
description
| description |
|---|
| Deep bug investigation using consultant agent. Identifies root causes, traces execution flow, assesses blast radius, and provides fix suggestions. |
Perform deep bug investigation using the consultant agent with the following prompt:
Bug Investigation Prompt
Investigation Focus
- Root Cause Identification: What's actually broken and why
- Execution Flow Tracing: Path from trigger to failure
- State Analysis: Invalid states, race conditions, timing issues
- Data Validation: Input validation gaps, edge cases
- Error Handling: Missing error handlers, improper recovery
Severity Assessment
- CRITICAL: Production down, data corruption, widespread impact
- HIGH: Core functionality broken, major user impact
- MEDIUM: Feature partially broken, workaround available
- LOW: Minor issue, limited impact
- INFO: Observation, potential issue, monitoring needed
End of consultant prompt.
Implementation Note
Use the Task tool with subagent_type='consultant:consultant'. The agent will gather symptoms, append them to the prompt above, invoke the consultant CLI, and report root cause analysis.