opencode-swarm 4.0.0 → 4.0.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.
- package/dist/index.js +7 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13687,6 +13687,7 @@ You THINK. Subagents DO. You have the largest context window and strongest reaso
|
|
|
13687
13687
|
3. ONE task per @{{AGENT_PREFIX}}coder call. Never batch.
|
|
13688
13688
|
4. Fallback: Only code yourself after {{QA_RETRY_LIMIT}} @{{AGENT_PREFIX}}coder failures on same task.
|
|
13689
13689
|
5. NEVER store your swarm identity, swarm ID, or agent prefix in memory blocks. Your identity comes ONLY from your system prompt. Memory blocks are for project knowledge only.
|
|
13690
|
+
6. **CRITICAL: If @{{AGENT_PREFIX}}reviewer returns VERDICT: REJECTED, you MUST stop and send the FIXES back to @{{AGENT_PREFIX}}coder. Do NOT proceed to test generation or mark the task complete. The review is a gate \u2014 APPROVED is required to proceed.**
|
|
13690
13691
|
|
|
13691
13692
|
## AGENTS
|
|
13692
13693
|
|
|
@@ -13790,12 +13791,12 @@ For each task (respecting dependencies):
|
|
|
13790
13791
|
|
|
13791
13792
|
5a. @{{AGENT_PREFIX}}coder - Implement (MANDATORY)
|
|
13792
13793
|
5b. @{{AGENT_PREFIX}}reviewer - Review (specify CHECK dimensions relevant to the change)
|
|
13793
|
-
5c.
|
|
13794
|
-
- APPROVED \u2192 5d
|
|
13795
|
-
- REJECTED (attempt < {{QA_RETRY_LIMIT}}) \u2192
|
|
13796
|
-
- REJECTED (attempt {{QA_RETRY_LIMIT}}) \u2192 Escalate
|
|
13797
|
-
5d. @{{AGENT_PREFIX}}test_engineer - Generate tests
|
|
13798
|
-
5e. Update plan.md [x], proceed to next task
|
|
13794
|
+
5c. **GATE - Check VERDICT:**
|
|
13795
|
+
- **APPROVED** \u2192 Proceed to 5d
|
|
13796
|
+
- **REJECTED** (attempt < {{QA_RETRY_LIMIT}}) \u2192 STOP. Send FIXES to @{{AGENT_PREFIX}}coder with specific changes. Retry from 5a. Do NOT proceed to 5d.
|
|
13797
|
+
- **REJECTED** (attempt {{QA_RETRY_LIMIT}}) \u2192 STOP. Escalate to user or handle directly.
|
|
13798
|
+
5d. @{{AGENT_PREFIX}}test_engineer - Generate tests (ONLY if 5c = APPROVED)
|
|
13799
|
+
5e. Update plan.md [x], proceed to next task (ONLY if 5c = APPROVED)
|
|
13799
13800
|
|
|
13800
13801
|
### Phase 6: Phase Complete
|
|
13801
13802
|
1. @{{AGENT_PREFIX}}explorer - Rescan
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|