Follow the bug analysis workflow and template
mainWhen performing a bug analysis, follow these steps:
- Prerequisites: Ensure
report.mdexists and is complete, then load the bug report and steering documents. - Investigation:
- Code Investigation: Search the codebase, map data flow, and identify failure points.
- Root Cause Analysis: Determine the underlying cause and why existing tests failed.
- Solution Planning: Design a fix strategy and plan the testing approach.
- Documentation: Create an analysis document using the exact structure defined in
.claude/templates/bug-analysis-template.md. - Approval: Present the analysis and wait for explicit approval (e.g., "yes", "approved") before proceeding to the next phase.