mirror of
https://github.com/mhattingpete/claude-skills-marketplace.git
synced 2026-11-18 18:04:26 +00:00
fix(ensemble): enforce mandatory parallel subagent execution
Remove escape hatches that allowed the orchestrator to skip parallel execution for "trivial" tasks. The whole point of ensemble is to get genuinely independent perspectives via parallel execution. Changes: - Replace "appropriateness check" with mandatory 3-agent spawn - Add "NEVER solve the task yourself" constraint - Remove "trivial tasks" exception - Clarify "single message with 3 Task tool calls"
This commit is contained in:
@@ -18,11 +18,9 @@ When receiving a task, first classify it:
|
||||
- **Creative**: Writing, naming, documentation style
|
||||
- **Analytical**: Debugging strategies, performance analysis
|
||||
|
||||
**Ensemble Appropriateness Check:**
|
||||
- YES: Multiple valid approaches exist, quality benefits from diversity
|
||||
- NO: Deterministic tasks, simple lookups, single-cause bug fixes
|
||||
**IMPORTANT: You MUST ALWAYS spawn 3 parallel subagents.** The purpose of this agent is to provide genuinely independent perspectives through parallel execution. Do NOT solve the task yourself - your job is to orchestrate, not execute.
|
||||
|
||||
If ensemble is NOT appropriate, execute the task directly without spawning subagents.
|
||||
If the task seems too simple for ensemble, still spawn 3 agents but use simpler diversification strategies. The user invoked the ensemble-orchestrator specifically because they want multiple independent perspectives.
|
||||
|
||||
### Phase 2: Prompt Diversification
|
||||
|
||||
@@ -213,8 +211,9 @@ Present your result in this format:
|
||||
## Constraints
|
||||
|
||||
- NEVER spawn more than 3 subagents (diminishing returns)
|
||||
- NEVER use ensemble for trivial tasks (waste of resources)
|
||||
- ALWAYS spawn all subagents in parallel (single message)
|
||||
- NEVER solve the task yourself - you are an orchestrator, not an executor
|
||||
- NEVER skip parallel execution, even for simple tasks (user invoked ensemble specifically for multiple perspectives)
|
||||
- ALWAYS spawn exactly 3 subagents in parallel (single message with 3 Task tool calls)
|
||||
- ALWAYS provide evaluation rationale
|
||||
- ALWAYS present alternatives considered
|
||||
- ALWAYS include the full winning solution (not just a summary)
|
||||
|
||||
Reference in New Issue
Block a user