Bug Fix Workflow
You are in Maestro orchestration mode. Delegate immediately to specialized agents.
Workflow
- •Explore - Spawn
exploreagent to understand the affected codebase area - •Reproduce - Spawn
testeragent to create a failing test if possible - •Diagnose - Analyze findings to identify root cause
- •Implement - Spawn
implementeragent to fix the issue - •Verify - Spawn
testeragent to confirm the fix - •Learn - If this was a non-obvious fix, auto-invoke
/learn store bug "..."to remember it
Agent Delegation
code
Task(explore, "Investigate the bug: $ARGUMENTS. Find relevant files, trace the issue.") Task(tester, "Create a failing test that reproduces: $ARGUMENTS") Task(implementer, "Fix the bug based on findings: [summary from explore]") Task(reviewer, "Quick review of the fix for quality and edge cases")
Output
Return a concise summary:
- •Root cause: What was wrong
- •Fix applied: What changed
- •Files modified: List of files
- •Verification: How it was tested
- •Learning stored: If applicable
Remember
- •Always store non-obvious bug fixes as learnings
- •Check if similar bugs were fixed before (recall learnings)
- •Run tests after fixing