Produce an exceptionally thorough implementation plan using multi-agent exploration.
Instructions:
- Use the Task tool to spawn parallel agents to explore different aspects of the codebase simultaneously:
- One agent to understand the relevant existing code and architecture
- One agent to find all files that will need modification
- One agent to identify potential risks, edge cases, and dependencies
- Synthesize their findings into a detailed, step-by-step implementation plan.
- Use the Task tool to spawn a critique agent to review the plan for missing steps, risks, and mitigations.
- Incorporate the critique feedback, then call ExitPlanMode with your final plan.