swarm-engine 1.0.2 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +8 -0
  2. package/agents/accessibility-reviewer.md +3 -1
  3. package/agents/api-contract-reviewer.md +3 -1
  4. package/agents/concurrency-reviewer.md +3 -1
  5. package/agents/data-integrity-reviewer.md +2 -1
  6. package/agents/debugger.md +3 -1
  7. package/agents/dependency-reviewer.md +3 -1
  8. package/agents/devils-advocate.md +2 -1
  9. package/agents/documentation-reviewer.md +3 -1
  10. package/agents/documenter.md +14 -1
  11. package/agents/error-handling-reviewer.md +3 -1
  12. package/agents/grounding.md +4 -3
  13. package/agents/guardian.md +4 -1
  14. package/agents/implementer.md +3 -1
  15. package/agents/integrator.md +4 -1
  16. package/agents/judge.md +3 -1
  17. package/agents/librarian.md +5 -2
  18. package/agents/orchestrator.md +5 -2
  19. package/agents/performance-reviewer.md +3 -1
  20. package/agents/planner.md +3 -1
  21. package/agents/refactorer.md +4 -1
  22. package/agents/researcher.md +1 -1
  23. package/agents/reviewer.md +2 -1
  24. package/agents/security-reviewer.md +2 -1
  25. package/agents/sentinel.md +4 -1
  26. package/agents/tester.md +3 -1
  27. package/agents/testing-reviewer.md +3 -1
  28. package/dist/cli/commands/configure.js +5 -5
  29. package/dist/cli/commands/configure.js.map +1 -1
  30. package/dist/cli/commands/doctor.js +1 -1
  31. package/dist/cli/commands/doctor.js.map +1 -1
  32. package/dist/cli/commands/run.d.ts.map +1 -1
  33. package/dist/cli/commands/run.js +3 -2
  34. package/dist/cli/commands/run.js.map +1 -1
  35. package/dist/core/patterns.d.ts.map +1 -1
  36. package/dist/core/patterns.js +39 -39
  37. package/dist/core/patterns.js.map +1 -1
  38. package/dist/core/registry.d.ts.map +1 -1
  39. package/dist/core/registry.js +4 -1
  40. package/dist/core/registry.js.map +1 -1
  41. package/dist/core/types.d.ts +7 -3
  42. package/dist/core/types.d.ts.map +1 -1
  43. package/dist/core/types.js.map +1 -1
  44. package/dist/runtime/adaptive.d.ts +2 -2
  45. package/dist/runtime/adaptive.d.ts.map +1 -1
  46. package/dist/runtime/adaptive.js +13 -12
  47. package/dist/runtime/adaptive.js.map +1 -1
  48. package/dist/runtime/backends/claude.d.ts.map +1 -1
  49. package/dist/runtime/backends/claude.js +2 -6
  50. package/dist/runtime/backends/claude.js.map +1 -1
  51. package/dist/runtime/backends/vercel-ai.d.ts.map +1 -1
  52. package/dist/runtime/backends/vercel-ai.js +10 -7
  53. package/dist/runtime/backends/vercel-ai.js.map +1 -1
  54. package/dist/runtime/cascade.d.ts +6 -6
  55. package/dist/runtime/cascade.d.ts.map +1 -1
  56. package/dist/runtime/cascade.js +6 -6
  57. package/dist/runtime/cascade.js.map +1 -1
  58. package/dist/runtime/cost-model.d.ts.map +1 -1
  59. package/dist/runtime/cost-model.js +19 -15
  60. package/dist/runtime/cost-model.js.map +1 -1
  61. package/dist/runtime/distiller.js +1 -1
  62. package/dist/runtime/distiller.js.map +1 -1
  63. package/dist/runtime/engine.d.ts +3 -3
  64. package/dist/runtime/engine.d.ts.map +1 -1
  65. package/dist/runtime/engine.js +2 -1
  66. package/dist/runtime/engine.js.map +1 -1
  67. package/dist/runtime/model-router.js +1 -1
  68. package/dist/runtime/model-router.js.map +1 -1
  69. package/dist/runtime/plan-search.d.ts.map +1 -1
  70. package/dist/runtime/plan-search.js +5 -5
  71. package/dist/runtime/plan-search.js.map +1 -1
  72. package/dist/runtime/rewriter.d.ts.map +1 -1
  73. package/dist/runtime/rewriter.js +4 -3
  74. package/dist/runtime/rewriter.js.map +1 -1
  75. package/dist/utils/config.d.ts +2 -3
  76. package/dist/utils/config.d.ts.map +1 -1
  77. package/dist/utils/config.js +1 -7
  78. package/dist/utils/config.js.map +1 -1
  79. package/dist/utils/schemas.d.ts +6 -9
  80. package/dist/utils/schemas.d.ts.map +1 -1
  81. package/dist/utils/schemas.js +2 -1
  82. package/dist/utils/schemas.js.map +1 -1
  83. package/dist/utils/tiers.d.ts +8 -0
  84. package/dist/utils/tiers.d.ts.map +1 -0
  85. package/dist/utils/tiers.js +52 -0
  86. package/dist/utils/tiers.js.map +1 -0
  87. package/package.json +1 -1
  88. package/templates/agent-template.md +1 -1
package/README.md CHANGED
@@ -250,6 +250,14 @@ swarm compound stats
250
250
 
251
251
  See [CONTRIBUTING.md](CONTRIBUTING.md). Share agents, templates, patterns, and plugins.
252
252
 
253
+ ## Cost and Usage Disclaimer
254
+
255
+ Swarm Engine orchestrates AI coding tools that consume API tokens from third-party providers (Anthropic, OpenAI, Google, etc.). Each orchestration incurs costs billed directly to your accounts with those providers. You are solely responsible for monitoring and managing your API usage and costs.
256
+
257
+ Use the `--budget` flag to set cost caps, `--dry-run` to preview estimated costs before running, and `swarm plan` to inspect token estimates. The built-in cost tracking is an estimate and may not reflect exact provider billing.
258
+
259
+ Swarm Engine is not affiliated with Anthropic, OpenAI, or Google. Ensure your use of each provider's API complies with their respective terms of service.
260
+
253
261
  ## License
254
262
 
255
263
  MIT
@@ -16,12 +16,13 @@ description: |
16
16
  <assistant-response>Launches accessibility-reviewer to verify keyboard and screen reader support</assistant-response>
17
17
  <commentary>Interactive UI accessibility review</commentary>
18
18
  </example>
19
- model: sonnet
19
+ model: claude-sonnet-4-6
20
20
  tools: Read, Glob, Grep
21
21
  disallowedTools: Write, Edit, Bash
22
22
  permissionProfile: safe
23
23
  maxTurns: 30
24
24
  tags: [review, accessibility, frontend]
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are an Accessibility Review Agent. You analyze UI code for WCAG compliance, ARIA correctness, keyboard accessibility, and screen reader compatibility.
@@ -29,6 +30,7 @@ You are an Accessibility Review Agent. You analyze UI code for WCAG compliance,
29
30
  ## Process
30
31
 
31
32
  1. **Identify interactive elements** — Buttons, links, forms, modals, dropdowns, tabs, custom widgets
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "accessibility"`. Prior findings may reveal known issues.
32
34
  2. **Check semantic HTML**:
33
35
  - Using `<div>` or `<span>` where `<button>`, `<a>`, `<nav>`, `<main>`, `<section>` is appropriate
34
36
  - Missing heading hierarchy (`<h1>` → `<h2>` → `<h3>`, not skipping levels)
@@ -16,12 +16,13 @@ description: |
16
16
  <assistant-response>Launches api-contract-reviewer to verify versioning and deprecation strategy</assistant-response>
17
17
  <commentary>API versioning and migration review</commentary>
18
18
  </example>
19
- model: sonnet
19
+ model: claude-sonnet-4-6
20
20
  tools: Read, Glob, Grep
21
21
  disallowedTools: Write, Edit, Bash
22
22
  permissionProfile: safe
23
23
  maxTurns: 30
24
24
  tags: [review, api]
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are an API Contract Review Agent. You analyze API changes for backward compatibility, breaking changes, and contract consistency.
@@ -29,6 +30,7 @@ You are an API Contract Review Agent. You analyze API changes for backward compa
29
30
  ## Process
30
31
 
31
32
  1. **Map the API surface** — Identify all public endpoints, exported functions, type definitions, CLI commands, and configuration formats
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "API contracts"`. Prior findings may reveal known issues.
32
34
  2. **Detect breaking changes**:
33
35
  - Removed endpoints, functions, or type exports
34
36
  - Renamed fields in request/response objects
@@ -16,12 +16,13 @@ description: |
16
16
  <assistant-response>Launches concurrency-reviewer to identify time-of-check-time-of-use vulnerabilities</assistant-response>
17
17
  <commentary>TOCTOU and parallel I/O race condition analysis</commentary>
18
18
  </example>
19
- model: opus
19
+ model: claude-opus-4-6
20
20
  tools: Read, Glob, Grep
21
21
  disallowedTools: Write, Edit, Bash
22
22
  permissionProfile: safe
23
23
  maxTurns: 30
24
24
  tags: [review, concurrency]
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are a Concurrency Review Agent. You analyze code for race conditions, deadlocks, data races, and unsafe concurrent access patterns.
@@ -29,6 +30,7 @@ You are a Concurrency Review Agent. You analyze code for race conditions, deadlo
29
30
  ## Process
30
31
 
31
32
  1. **Identify shared mutable state** — Global variables, class properties accessed from multiple async contexts, shared caches, singleton state
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "concurrency"`. Prior findings may reveal known issues.
32
34
  2. **Check for TOCTOU races**:
33
35
  - File existence checks followed by file operations (`if (exists(f)) read(f)`)
34
36
  - Database read-then-write without transactions
@@ -16,7 +16,7 @@ description: |
16
16
  <assistant-response>Launches data-integrity-reviewer to verify transaction isolation and consistency</assistant-response>
17
17
  <commentary>Transaction boundary and consistency analysis</commentary>
18
18
  </example>
19
- model: opus
19
+ model: claude-opus-4-6
20
20
  tools: Read, Glob, Grep, Bash
21
21
  disallowedTools: Write, Edit
22
22
  permissionProfile: safe
@@ -30,6 +30,7 @@ You are a Data Integrity Review Agent. You analyze database migrations, schema c
30
30
  ## Process
31
31
 
32
32
  1. **Identify data operations** — Find all schema changes, migrations, CRUD operations, and data transformations
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "data migration"`. Prior findings may reveal known issues.
33
34
  2. **Check migration safety**:
34
35
  - Is the migration reversible? Is there a down/rollback migration?
35
36
  - Does it drop columns or tables? Is data backed up first?
@@ -17,7 +17,9 @@ description: |
17
17
  <assistant-response>Launches debugger to investigate race conditions</assistant-response>
18
18
  <commentary>Intermittent failure suggests timing/concurrency issue — needs careful analysis</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
+ tools: Read, Glob, Grep, Bash, Write, Edit
22
+ disallowedTools: NotebookEdit
21
23
  permissionProfile: standard
22
24
  maxTurns: 50
23
25
  ---
@@ -16,12 +16,13 @@ description: |
16
16
  <assistant-response>Launches dependency-reviewer to analyze upgrade risk and compatibility</assistant-response>
17
17
  <commentary>Dependency upgrade risk assessment</commentary>
18
18
  </example>
19
- model: haiku
19
+ model: claude-haiku-4-5-20251001
20
20
  tools: Read, Glob, Grep, Bash
21
21
  disallowedTools: Write, Edit
22
22
  permissionProfile: safe
23
23
  maxTurns: 30
24
24
  tags: [review, dependencies]
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are a Dependency Review Agent. You analyze dependency changes for security vulnerabilities, license risks, compatibility issues, and unnecessary bloat.
@@ -29,6 +30,7 @@ You are a Dependency Review Agent. You analyze dependency changes for security v
29
30
  ## Process
30
31
 
31
32
  1. **Identify dependency changes** — Diff package.json/package-lock.json (or equivalent) to find added, removed, and upgraded packages
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "dependencies"`. Prior findings may reveal known issues.
32
34
  2. **Check security**:
33
35
  - Run `npm audit` or equivalent to find known CVEs
34
36
  - Check if new deps have had recent security advisories
@@ -17,11 +17,12 @@ description: |
17
17
  <assistant-response>Launches devils-advocate to probe scalability, failure modes, and alternatives</assistant-response>
18
18
  <commentary>Forces explicit justification of architectural choices</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
21
  tools: Read, Glob, Grep, Bash
22
22
  disallowedTools: Write, Edit, NotebookEdit
23
23
  permissionProfile: safe
24
24
  maxTurns: 20
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are a Devil's Advocate Agent. Your job is to aggressively challenge code and design decisions to find weaknesses BEFORE review.
@@ -16,12 +16,13 @@ description: |
16
16
  <assistant-response>Launches documentation-reviewer to verify docs match implementation</assistant-response>
17
17
  <commentary>Documentation completeness review for new feature</commentary>
18
18
  </example>
19
- model: haiku
19
+ model: claude-haiku-4-5-20251001
20
20
  tools: Read, Glob, Grep
21
21
  disallowedTools: Write, Edit, Bash
22
22
  permissionProfile: safe
23
23
  maxTurns: 30
24
24
  tags: [review, documentation]
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are a Documentation Review Agent. You analyze documentation for accuracy, completeness, and usefulness by comparing it against the actual code.
@@ -29,6 +30,7 @@ You are a Documentation Review Agent. You analyze documentation for accuracy, co
29
30
  ## Process
30
31
 
31
32
  1. **Identify documentation scope** — README, API docs, inline JSDoc/TSDoc, CHANGELOG, configuration docs, architecture docs
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "documentation"`. Prior findings may reveal known issues.
32
34
  2. **Check accuracy against code**:
33
35
  - Do documented function signatures match actual signatures?
34
36
  - Do documented configuration options match what the code accepts?
@@ -17,7 +17,10 @@ description: |
17
17
  <assistant-response>Launches documenter to trace the pipeline and write architecture docs</assistant-response>
18
18
  <commentary>Internal architecture documentation that requires deep code reading</commentary>
19
19
  </example>
20
- model: haiku
20
+ model: claude-haiku-4-5-20251001
21
+ tools: Read, Glob, Grep, Bash, Write, Edit
22
+ disallowedTools: NotebookEdit
23
+ permissionProfile: standard
21
24
  maxTurns: 30
22
25
  ---
23
26
 
@@ -52,6 +55,16 @@ Before executing your process, reason through these questions internally (do not
52
55
  - [What's documented and what's not]
53
56
  ```
54
57
 
58
+ ## Documentation Types
59
+ Choose the right type based on the task:
60
+ - **Inline comments**: Only where logic is non-obvious. Code says WHAT; comments say WHY.
61
+ - **Function/class docstrings**: Parameters, return values, exceptions, one-line summary.
62
+ - **Module README**: Overview, usage examples, key design decisions.
63
+ - **Architecture docs**: Component relationships, data flow, key decisions and their rationale.
64
+ - **API docs**: Endpoints, request/response schemas, authentication, error codes.
65
+
66
+ Never restate what the code does. Document what it means, why it exists, and when NOT to use it.
67
+
55
68
  ## Rules
56
69
 
57
70
  1. **Accuracy over completeness** — Never document behavior you haven't verified in code
@@ -16,12 +16,13 @@ description: |
16
16
  <assistant-response>Launches error-handling-reviewer to trace error paths and recovery behavior</assistant-response>
17
17
  <commentary>Error recovery and resilience analysis</commentary>
18
18
  </example>
19
- model: sonnet
19
+ model: claude-sonnet-4-6
20
20
  tools: Read, Glob, Grep
21
21
  disallowedTools: Write, Edit, Bash
22
22
  permissionProfile: safe
23
23
  maxTurns: 30
24
24
  tags: [review, errors]
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are an Error Handling Review Agent. You analyze code for error handling completeness, correctness, and resilience.
@@ -29,6 +30,7 @@ You are an Error Handling Review Agent. You analyze code for error handling comp
29
30
  ## Process
30
31
 
31
32
  1. **Map error sources** — Identify all operations that can fail: I/O, network calls, parsing, type assertions, external APIs, database queries
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "error handling"`. Prior findings may reveal known issues.
32
34
  2. **Check catch coverage**:
33
35
  - Unhandled promise rejections (missing `.catch()` or `try/catch` on `await`)
34
36
  - Empty catch blocks that swallow errors silently
@@ -17,11 +17,12 @@ description: |
17
17
  <assistant-response>Launches grounding agent to assess scope alignment</assistant-response>
18
18
  <commentary>Prevents over-engineering and scope creep in multi-agent work</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
21
  tools: Read, Glob, Grep, Bash
22
22
  disallowedTools: Write, Edit, NotebookEdit
23
23
  permissionProfile: safe
24
24
  maxTurns: 15
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are a Grounding Agent — you keep the swarm connected to reality.
@@ -81,8 +82,8 @@ Before executing your process, reason through these questions internally (do not
81
82
  3. **Less is more** — Building exactly what was asked is better than building more
82
83
  4. **Be honest** — If the implementation drifted, say so. Don't rationalize.
83
84
  5. **Abstention** — If you can't determine alignment (vague request, unclear implementation), say so
84
- 6. **Vault** — Check vault for the original task context
85
- 7. **Scratchpad** — If provided, append findings under `## Agent: grounding`
85
+ 6. **Vault** — Check vault for the original task context: `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "<topic>"`. Don't re-research what's already known.
86
+ 7. **Scratchpad** — If a scratchpad path is provided in your prompt, `Read` it before starting for context from sibling agents. Before completing, append your findings under a `## Agent: grounding` heading.
86
87
 
87
88
  ## Self-Check (internal — do not output)
88
89
  Before finalizing your output:
@@ -17,7 +17,10 @@ description: |
17
17
  <assistant-response>Launches guardian to run full test suite and verify integrity</assistant-response>
18
18
  <commentary>Post-orchestration safety check</commentary>
19
19
  </example>
20
- model: sonnet
20
+ model: claude-sonnet-4-6
21
+ tools: Read, Glob, Grep, Bash
22
+ disallowedTools: Write, Edit, NotebookEdit
23
+ permissionProfile: safe
21
24
  maxTurns: 15
22
25
  ---
23
26
 
@@ -17,7 +17,9 @@ description: |
17
17
  <assistant-response>Launches implementer to apply the targeted fix</assistant-response>
18
18
  <commentary>Scoped, well-defined change with clear success criteria</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
+ tools: Read, Glob, Grep, Bash, Write, Edit
22
+ disallowedTools: NotebookEdit
21
23
  permissionProfile: standard
22
24
  maxTurns: 50
23
25
  ---
@@ -17,7 +17,10 @@ description: |
17
17
  <assistant-response>Launches integrator to verify imports, contracts, and cross-module tests</assistant-response>
18
18
  <commentary>Cross-module verification where callers must match callees</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
+ tools: Read, Glob, Grep, Bash, Write, Edit
22
+ disallowedTools: NotebookEdit
23
+ permissionProfile: standard
21
24
  maxTurns: 50
22
25
  ---
23
26
 
package/agents/judge.md CHANGED
@@ -16,9 +16,10 @@ description: |
16
16
  <assistant-response>Launches judge to compare approaches and produce actionable decision</assistant-response>
17
17
  <commentary>Judge picks winner, integrator acts on the decision</commentary>
18
18
  </example>
19
- model: opus
19
+ model: claude-opus-4-6
20
20
  tools: Read, Glob, Grep, Bash
21
21
  disallowedTools: Write, Edit
22
+ permissionProfile: safe
22
23
  maxTurns: 30
23
24
  tags: [evaluation, decision]
24
25
  outputFormat: structured
@@ -38,6 +39,7 @@ Before executing your process, reason through these questions internally (do not
38
39
  ## Process
39
40
 
40
41
  1. Read BOTH implementations thoroughly — every file, every test
42
+ 1b. **Check vault** — Read repo context: `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "<topic>"`. Don't re-research what's already known.
41
43
  2. Read BOTH review assessments
42
44
  3. Identify the evaluation criteria: correctness, maintainability, performance, test coverage, security
43
45
  4. Consider second-order effects: which approach scales better? which is easier to extend?
@@ -17,7 +17,10 @@ description: |
17
17
  <assistant-response>Launches librarian to detect and flag contradictions</assistant-response>
18
18
  <commentary>Knowledge consistency checking</commentary>
19
19
  </example>
20
- model: sonnet
20
+ model: claude-sonnet-4-6
21
+ tools: Read, Glob, Grep, Bash
22
+ disallowedTools: Write, Edit, NotebookEdit
23
+ permissionProfile: safe
21
24
  maxTurns: 25
22
25
  ---
23
26
 
@@ -28,7 +31,7 @@ You are a Librarian Agent — you maintain the quality and coherence of the swar
28
31
  1. **Inventory** — List all vault entries: `~/.claude/scripts/swarm-vault.sh list`
29
32
  2. **Check freshness** — Read each entry's `updated` date. Flag entries older than 30 days as potentially stale.
30
33
  3. **Detect contradictions** — Cross-reference decisions and patterns. If decision A says "use JWT" but decision B says "use sessions", flag the contradiction.
31
- 4. **Build connections** — Add `[[backlinks]]` between related entries (decisions that reference the same pattern, learnings from the same area).
34
+ 4. **Build connections** — **Recommend** `[[backlinks]]` between related entries (decisions that reference the same pattern, learnings from the same area).
32
35
  5. **Prune** — Identify entries that are no longer relevant (superseded decisions, fixed bugs in learnings).
33
36
  6. **Summarize** — Write a vault health report.
34
37
 
@@ -25,7 +25,10 @@ description: |
25
25
  <assistant-response>Spawns orchestrator to batch the migration across files</assistant-response>
26
26
  <commentary>Many independent file transformations that can run in parallel</commentary>
27
27
  </example>
28
- model: opus
28
+ model: claude-opus-4-6
29
+ tools: Read, Glob, Grep, Bash, Agent
30
+ disallowedTools: NotebookEdit
31
+ permissionProfile: standard
29
32
  maxTurns: 50
30
33
  ---
31
34
 
@@ -55,7 +58,7 @@ Agent(
55
58
  team_name: "<team-name>",
56
59
  run_in_background: true,
57
60
  subagent_type: "<agent-type>", # researcher, implementer, reviewer, etc.
58
- model: "<model>", # haiku, sonnet, opus
61
+ model: "<model>", # claude-haiku-4-5-20251001, claude-sonnet-4-6, claude-opus-4-6
59
62
  prompt: "<full context>"
60
63
  )
61
64
 
@@ -16,12 +16,13 @@ description: |
16
16
  <assistant-response>Launches performance-reviewer to trace query patterns and async behavior</assistant-response>
17
17
  <commentary>Targeted performance analysis of a specific endpoint</commentary>
18
18
  </example>
19
- model: sonnet
19
+ model: claude-sonnet-4-6
20
20
  tools: Read, Glob, Grep
21
21
  disallowedTools: Write, Edit, Bash
22
22
  permissionProfile: safe
23
23
  maxTurns: 30
24
24
  tags: [review, performance]
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are a Performance Review Agent. You analyze code for performance problems: algorithmic complexity, memory issues, blocking operations, and resource waste.
@@ -29,6 +30,7 @@ You are a Performance Review Agent. You analyze code for performance problems: a
29
30
  ## Process
30
31
 
31
32
  1. **Identify hot paths** — What code runs frequently or processes large data? Entry points, loops, event handlers, API endpoints
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "performance"`. Prior findings may reveal known issues.
32
34
  2. **Check algorithmic complexity** — Nested loops over collections, repeated linear searches, O(n²) or worse where O(n log n) or O(1) is possible
33
35
  3. **Check memory patterns** — Unnecessary allocations in loops, unbounded caches/arrays, event listener accumulation, unclosed resources (streams, connections, file handles)
34
36
  4. **Check I/O patterns** — Synchronous I/O blocking the event loop, N+1 database queries, missing connection pooling, sequential requests that could be parallel
package/agents/planner.md CHANGED
@@ -17,8 +17,10 @@ description: |
17
17
  <assistant-response>Launches planner to design migration steps, contracts, and rollback strategy</assistant-response>
18
18
  <commentary>High-risk change that needs dependency ordering and interface contracts first</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
21
  tools: Read, Glob, Grep, Bash
22
+ disallowedTools: Write, Edit, NotebookEdit
23
+ permissionProfile: safe
22
24
  maxTurns: 30
23
25
  ---
24
26
 
@@ -17,7 +17,10 @@ description: |
17
17
  <assistant-response>Launches refactorer to rename incrementally with tests between each change</assistant-response>
18
18
  <commentary>Cross-file rename that needs verification at each step to catch breakage early</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
+ tools: Read, Glob, Grep, Bash, Write, Edit
22
+ disallowedTools: NotebookEdit
23
+ permissionProfile: standard
21
24
  maxTurns: 50
22
25
  ---
23
26
 
@@ -18,7 +18,7 @@ description: |
18
18
  <assistant-response>Launches researcher to grep and trace session lifecycle</assistant-response>
19
19
  <commentary>Cross-cutting search that needs thorough coverage</commentary>
20
20
  </example>
21
- model: sonnet
21
+ model: claude-sonnet-4-6
22
22
  tools: Read, Glob, Grep, Bash, Agent
23
23
  disallowedTools: Write, Edit, NotebookEdit
24
24
  permissionProfile: safe
@@ -17,8 +17,9 @@ description: |
17
17
  <assistant-response>Launches reviewer to do comprehensive code review</assistant-response>
18
18
  <commentary>Full code review covering multiple quality dimensions</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
21
  tools: Read, Glob, Grep, Bash
22
+ disallowedTools: Write, Edit, NotebookEdit
22
23
  permissionProfile: safe
23
24
  maxTurns: 30
24
25
  ---
@@ -16,7 +16,7 @@ description: |
16
16
  <assistant-response>Launches security-reviewer to trace input flow and identify injection points</assistant-response>
17
17
  <commentary>Input validation and injection analysis on a specific endpoint</commentary>
18
18
  </example>
19
- model: opus
19
+ model: claude-opus-4-6
20
20
  tools: Read, Glob, Grep, Bash
21
21
  disallowedTools: Write, Edit
22
22
  permissionProfile: safe
@@ -30,6 +30,7 @@ You are a Security Review Agent. You analyze code exclusively for security vulne
30
30
  ## Process
31
31
 
32
32
  1. **Identify attack surface** — Map all entry points: user input, API parameters, file uploads, URL parameters, headers, cookies, environment variables
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "security"`. Prior findings may reveal known issues.
33
34
  2. **Trace data flow** — Follow untrusted input from entry to sink. Check for sanitization/validation at each step
34
35
  3. **Check each OWASP category**:
35
36
  - **Injection** (SQLi, XSS, command injection, LDAP, template injection) — CWE-79, CWE-89, CWE-78
@@ -18,7 +18,10 @@ description: |
18
18
  <assistant-response>Launches sentinel to summarize recent activity and prepare context</assistant-response>
19
19
  <commentary>Session-start briefing from ambient monitoring</commentary>
20
20
  </example>
21
- model: sonnet
21
+ model: claude-sonnet-4-6
22
+ tools: Read, Glob, Grep, Bash
23
+ disallowedTools: Write, Edit, NotebookEdit
24
+ permissionProfile: safe
22
25
  maxTurns: 20
23
26
  ---
24
27
 
package/agents/tester.md CHANGED
@@ -17,7 +17,9 @@ description: |
17
17
  <assistant-response>Launches tester to write targeted regression test</assistant-response>
18
18
  <commentary>Focused test for a specific bug fix</commentary>
19
19
  </example>
20
- model: opus
20
+ model: claude-opus-4-6
21
+ tools: Read, Glob, Grep, Bash, Write, Edit
22
+ disallowedTools: NotebookEdit
21
23
  permissionProfile: standard
22
24
  maxTurns: 50
23
25
  ---
@@ -16,12 +16,13 @@ description: |
16
16
  <assistant-response>Launches testing-reviewer to identify timing dependencies and shared state</assistant-response>
17
17
  <commentary>Flaky test analysis focused on isolation and determinism</commentary>
18
18
  </example>
19
- model: sonnet
19
+ model: claude-sonnet-4-6
20
20
  tools: Read, Glob, Grep, Bash
21
21
  disallowedTools: Write, Edit
22
22
  permissionProfile: safe
23
23
  maxTurns: 30
24
24
  tags: [review, testing]
25
+ outputFormat: structured
25
26
  ---
26
27
 
27
28
  You are a Testing Review Agent. You analyze test suites for coverage gaps, weak assertions, flakiness patterns, and testing strategy issues.
@@ -29,6 +30,7 @@ You are a Testing Review Agent. You analyze test suites for coverage gaps, weak
29
30
  ## Process
30
31
 
31
32
  1. **Map test coverage** — For each changed/new source file, find corresponding test files. Identify untested code paths
33
+ 1b. **Check vault** — `~/.claude/scripts/swarm-vault.sh repo "<repo-name>" conventions` and `~/.claude/scripts/swarm-vault.sh search "testing conventions"`. Prior findings may reveal known issues.
32
34
  2. **Check assertion quality**:
33
35
  - Weak assertions: `toBeTruthy()`, `toBeDefined()`, `.not.toThrow()` without checking the return value
34
36
  - Missing assertions: test does setup but never asserts (effectively a smoke test)
@@ -98,26 +98,26 @@ export const configureCommand = new Command('configure')
98
98
  // Step 3: Model preferences
99
99
  console.log();
100
100
  console.log(chalk.cyan.bold(' Step 3 of 3: Model Preferences'));
101
- const adjustModels = await choose(rl, 'Adjust model assignments? (opus for complex, sonnet for fast, haiku for simple)', ['Keep defaults (recommended)', 'Adjust models']);
101
+ const adjustModels = await choose(rl, 'Adjust model assignments? (expensive for complex, mid for fast, cheap for simple)', ['Keep defaults (recommended)', 'Adjust models']);
102
102
  if (adjustModels === 'Adjust models') {
103
103
  const modelGroups = {
104
104
  'Heavy thinking (implementation, review, debugging)': {
105
105
  agents: ['implementer', 'reviewer', 'debugger', 'planner', 'refactorer', 'devils-advocate', 'grounding', 'integrator', 'tester', 'orchestrator'],
106
- current: 'opus',
106
+ current: 'claude-opus-4-6',
107
107
  },
108
108
  'Research & background (exploration, monitoring)': {
109
109
  agents: ['researcher', 'sentinel', 'guardian', 'librarian'],
110
- current: 'sonnet',
110
+ current: 'claude-sonnet-4-6',
111
111
  },
112
112
  'Simple tasks (documentation)': {
113
113
  agents: ['documenter'],
114
- current: 'haiku',
114
+ current: 'claude-haiku-4-5-20251001',
115
115
  },
116
116
  };
117
117
  for (const [desc, { agents, current }] of Object.entries(modelGroups)) {
118
118
  console.log();
119
119
  console.log(chalk.dim(` ${desc}`));
120
- const model = await choose(rl, `Model for these agents:`, ['opus', 'sonnet', 'haiku'], current);
120
+ const model = await choose(rl, `Model for these agents:`, ['claude-opus-4-6', 'claude-sonnet-4-6', 'claude-haiku-4-5-20251001', 'o3', 'gpt-4o', 'gemini-2.5-pro'], current);
121
121
  for (const agent of agents) {
122
122
  const filePath = join(agentsDir, `${agent}.md`);
123
123
  if (existsSync(filePath)) {
@@ -1 +1 @@
1
- {"version":3,"file":"configure.js","sourceRoot":"","sources":["../../../src/cli/commands/configure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,SAAS,GAAG,CAAC,EAAsC,EAAE,QAAgB;IACnE,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AAChE,CAAC;AAED,KAAK,UAAU,MAAM,CAAC,EAAsC,EAAE,MAAc,EAAE,OAAiB,EAAE,OAAgB;IAC/G,OAAO,CAAC,GAAG,EAAE,CAAC;IACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,MAAM,EAAE,CAAC,CAAC,CAAC;IACvC,OAAO,CAAC,GAAG,EAAE,CAAC;IACd,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/D,OAAO,CAAC,GAAG,CAAC,OAAO,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,M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C;IACnF,OAAO,CAAC,GAAG,EAAE,CAAC;IAEd,EAAE,CAAC,KAAK,EAAE,CAAC;AACb,CAAC,CAAC,CAAC"}
@@ -39,7 +39,7 @@ export const doctorCommand = new Command('doctor')
39
39
  }
40
40
  // swarm on PATH
41
41
  try {
42
- execFileSync('swarm', ['version'], { encoding: 'utf-8' });
42
+ execFileSync('swarm', ['--version'], { encoding: 'utf-8' });
43
43
  console.log(chalk.green(' ✓ swarm on PATH'));
44
44
  }
45
45
  catch {
@@ -1 +1 @@
1
- {"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC;KAC/C,WAAW,CAAC,+BAA+B,CAAC;KAC5C,MAAM,CAAC,GAAG,EAAE;IACX,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC1C,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,eAAe;IACf,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC1C,MAAM,SAAS,GAAG,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC;IACvD,IAAI,SAAS,IAAI,EAAE,EAAE,CAAC;QACpB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,WAAW,EAA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C,CAAC;IACjD,IAAI,CAAC;QAAC,YAAY,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;QAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;IAAC,CAAC;IAC/G,MAAM,CAAC;QAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,kDAAkD,CAAC,CAAC,CAAC;IAAC,CAAC;IACrF,IAAI,CAAC;QAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;QAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAAC,CAAC;IACjH,MAAM,CAAC;QAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,wDAAwD,CAAC,CAAC,CAAC;IAAC,CAAC;IAE3F,OAAO,CAAC,GAAG,EAAE,CAAC;IACd,IAAI,MAAM,KAAK,CAAC,EAAE,CAAC;QACjB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC;IACnD,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,MAAM,kBAAkB,CAAC,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,eAAO,MAAM,UAAU,SAwEnB,CAAC"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYpC,eAAO,MAAM,UAAU,SAwEnB,CAAC"}