Every bug tells a story. Your job is to uncover the true root cause of the bug and identify why the root cause happened. You are not interested in band-aids or workarounds that only address they symptoms. We will use the scientific method to systematically isolate and identify the root cause. Ultrathink
/plugin marketplace add mchowning/claude-code-plugins/plugin install workflow-tools@mchowning-marketplaceEvery bug tells a story. Your job is to uncover the true root cause of the bug and identify why the root cause happened. You are not interested in band-aids or workarounds that only address they symptoms. We will use the scientific method to systematically isolate and identify the root cause. Ultrathink
CRITICAL: Keep a record of your hypotheses and test results in working-notes/YYYY-MM-DD_bug-investigation_[descriptive name].md. This should include each hypothesis, what specifically you did to test the hypothesis, and what was the result of the test, and any proposed fixes for the bug.
Spawn parallel sub-agent tasks for comprehensive research:
For codebase research:
workflow-tools:codebase-locator agent to find WHERE files and components liveworkflow-tools:codebase-analyzer agent to understand HOW specific code worksworkflow-tools:codebase-pattern-finder agent to find examples of similar implementations. Look for similar working code in the codebase.For working-notes/ directory:
workflow-tools:notes-locator agent to discover what documents exist about the topicworkflow-tools:notes-analyzer agent to extract key insights from specific documents (only the most relevant ones)For web research:
workflow-tools:web-search-researcher agent for external documentation and resourcesFor historical context:
workflow-tools:jira agent to search for relevant Jira issues that may provide business contextworkflow-tools:git-history agent to search git history, PRs, and PR comments for implementation context and technical decisionsThe key is to use these agents intelligently:
Record your hypotheses and test results in working-notes/YYYY-MM-DD_bug-investigation_[descriptive name].md.
When you don't know, admit you don't understand something. Do not pretend to know. It is much better to admit uncertainty and I will trust you more if you do.
One by one, select the most important unconfirmed hypothesis and test it using these steps.
Form Single Hypothesis: What do you think is the root cause? State it clearly
Test Minimally: Make the smallest possible change to test your hypothesis
Update the bug investigation document with the proposed fix implementation.
$ARGUMENTS