team
Purpose
Meta-orchestrator for complex tasks requiring parallel workstreams. Team decomposes large features into independent subtasks, assigns each to an isolated cook instance (using git worktrees), coordinates progress, and merges results. Uses opus for strategic decomposition and conflict resolution.
<HARD-GATE>
- MAX 3 PARALLEL AGENTS: Never launch more than 3 Task calls simultaneously. If more than 3 streams exist, batch them.
- No merge without conflict resolution complete (Phase 3 clean).
- Full integration tests MUST run before reporting success.
</HARD-GATE>
Triggers
/rune team <task>— manual invocation for large features- Auto-trigger: when task affects 5+ files or spans 3+ modules
Mode Selection (Auto-Detect)
IF streams ≤ 2 AND total files ≤ 5:
→ LITE MODE (lightweight parallel, no worktrees)
ELSE:
→ FULL MODE (worktree isolation, opus coordination)