subagent wokflows

This commit is contained in:
Jonas H
2026-04-05 09:34:38 +02:00
parent 5c8d29a033
commit 90e62b1a51
23 changed files with 654 additions and 213 deletions

View File

@@ -13,3 +13,14 @@ Use the subagent tool with a chain to plan (but NOT implement) the following:
```
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.