--- description: "Scout + plan + Opus plan review — no implementation" --- Use the subagent tool with a chain to plan (but NOT implement) the following: ``` { chain: [ { agent: "scout", task: "Find all code relevant to: $@" }, { agent: "planner", task: "Create a detailed implementation plan for: $@\n\nContext from scout:\n\n{previous}" }, { agent: "plan-reviewer", task: "Review this implementation plan. Verify file paths and line numbers against the actual codebase.\n\n{previous}" } ]} ``` Present the plan and the review to me. Do NOT proceed to implementation. ## Agent Failure and Fallback If any agent returns empty output or an error (rate limit, credit exhaustion, connection failure): 1. Retry once with the same agent. 2. If still failing, retry with the cross-family fallback using the `model` override: - scout (zai/glm-4.7-flash fails) → `model: "anthropic/claude-haiku-4-5"` - planner (zai/glm-5.1 fails) → `model: "anthropic/claude-opus-4-6"` - plan-reviewer (anthropic/claude-opus-4-6 fails) → `model: "zai/glm-5.1"` 3. If the fallback also fails, do the work yourself and tell me which agent failed and why.