Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review
Single tool 'swarm_command' has critical definition gaps. Description is present but generic (58 chars, below 10-char minimum for clarity). Input schema visible with 'command' (string) and 'args' (array) parameters, but 'args' lacks item type definition and both parameters have minimal descriptions. No output schema documented. Tool performs write operations (WRITE risk) but lacks error handling guidance, recovery paths, or confirmation patterns. No parameter constraints (enums, ranges, formats). Naming 'swarm_command' is generic and violates verb_noun convention, should be 'execute_swarm_command' or more specific action. No evidence of idempotency, rate limiting, or permission gates despite destructive capability.
Execute swarm commands with policy enforcement and validation
Generic tool name 'swarm_command' violates verb_noun convention. Should start with action verb (execute_, run_, invoke_) to signal intent to LLM. Current name is ambiguous, does not convey what action occurs.
Input schema incomplete: 'args' parameter is array type but lacks itemType definition. LLM cannot infer what each array element should be (string? object? number?). Parameter descriptions are minimal (under 20 chars each).
No output schema documented. LLM cannot predict return structure, field types, or how to chain this tool with others. Violates pattern:tool requirement for documented return types.
Tool marked WRITE (destructive) but lacks error handling guidance, recovery paths, or confirmation pattern. No dry-run option. Agents cannot distinguish retryable vs fatal errors or know when to ask user confirmation.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 41 | 2026-07-28+ | v2 |
No parameter constraints (enums, ranges, patterns, formats). 'command' accepts any string, LLM may hallucinate invalid swarm commands. No validation rules or examples in descriptions.