Skip to content

Commit 908447b

Browse files
authored
Merge pull request #188 from maystudios/worktree-agent-a57b9f58
docs(maxsim-batch): add tier selection table and graceful degradation (§7.2)
2 parents 639e845 + da60991 commit 908447b

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

templates/skills/maxsim-batch/SKILL.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,34 @@ Agent Teams (available since Claude Code v2.1.32, Feb 2026) enable inter-agent c
8989

9090
**Current status:** Infrastructure is in place (env var, hooks). Workflow templates that invoke `TeamCreate`/`SendMessage` for Tier 2 patterns (competitive implementation, multi-reviewer code review, collaborative debugging) are planned but not yet implemented. All workflows currently use Tier 1 subagents. See PROJECT.md §7.2 for the full specification.
9191

92+
### Tier Selection Logic
93+
94+
MaxsimCLI chooses the tier automatically based on the workflow:
95+
96+
| Workflow | Tier | Reason |
97+
|----------|------|--------|
98+
| Phase execution (independent tasks) | Tier 1 (Subagents) | Tasks don't need to communicate |
99+
| Codebase scanning | Tier 1 (Subagents) | Read-only, report back |
100+
| Research gathering | Tier 1 (Subagents) | Collect and report |
101+
| Competitive implementation | Tier 2 (Agent Teams) | Agents need to debate |
102+
| Multi-dimensional code review | Tier 2 (Agent Teams) | Findings need cross-checking |
103+
| Collaborative debugging | Tier 2 (Agent Teams) | Hypotheses need adversarial testing |
104+
| Architecture exploration | Tier 2 (Agent Teams) | Requires discussion |
105+
92106
**When Tier 2 is ready, it will be used for:**
93107
- Competitive implementation with adversarial debate
94108
- Multi-dimensional code review (security + performance + test coverage)
95109
- Collaborative debugging with competing hypotheses
96110
- Cross-layer feature work (frontend + backend + tests)
97111

112+
### Graceful Degradation
113+
114+
If Agent Teams are unavailable (env var `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` not set, unsupported plan, or feature not yet stable), MaxsimCLI falls back to Tier 1 subagents for all workflows. Inform the user with this exact message:
115+
116+
> "Competitive mode: using Tier 1 subagents (Agent Teams not available or not required for this strategy). Each executor works independently; verifier selects the best result."
117+
118+
The user is informed but not blocked. All workflows remain fully functional via Tier 1.
119+
98120
## Limits
99121

100122
- Up to 30 parallel agents; typically 3-10 for manageable coordination

0 commit comments

Comments
 (0)