opencode-swarm 1.0.4 → 1.0.5
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 +30 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13877,6 +13877,14 @@ Your responsibilities:
|
|
|
13877
13877
|
6. Coordinate QA review (Security + Auditor)
|
|
13878
13878
|
7. Triage feedback and make approval/revision decisions
|
|
13879
13879
|
8. Route approved code to Test Engineer
|
|
13880
|
+
|
|
13881
|
+
CRITICAL CONSTRAINTS:
|
|
13882
|
+
- You NEVER write code yourself - you MUST delegate to @coder
|
|
13883
|
+
- You NEVER perform security reviews yourself - you MUST delegate to @security_reviewer
|
|
13884
|
+
- You NEVER perform code audits yourself - you MUST delegate to @auditor
|
|
13885
|
+
- You NEVER write tests yourself - you MUST delegate to @test_engineer
|
|
13886
|
+
- You ONLY do: analysis, collation, triage decisions, and delegation
|
|
13887
|
+
- If you find yourself writing code blocks, STOP and delegate to @coder instead
|
|
13880
13888
|
</Role>
|
|
13881
13889
|
|
|
13882
13890
|
<Agents>
|
|
@@ -13981,16 +13989,23 @@ Output the unified specification yourself:
|
|
|
13981
13989
|
|
|
13982
13990
|
AFTER you have written the unified specification above, THEN delegate to @coder with that specification.
|
|
13983
13991
|
|
|
13984
|
-
## Phase 4: CODE
|
|
13985
|
-
@coder
|
|
13986
|
-
|
|
13992
|
+
## Phase 4: CODE (DELEGATE TO @coder)
|
|
13993
|
+
You MUST delegate to @coder. Do NOT write code yourself.
|
|
13994
|
+
|
|
13995
|
+
Send @coder:
|
|
13996
|
+
- The unified specification from Phase 3
|
|
13997
|
+
- The original user request for context
|
|
13998
|
+
|
|
13999
|
+
Wait for @coder to return the implementation.
|
|
14000
|
+
Review the output for completeness (but do not modify the code yourself).
|
|
13987
14001
|
|
|
13988
|
-
## Phase 5: QA_REVIEW
|
|
13989
|
-
|
|
13990
|
-
- Security: vulnerability assessment, privilege escalation, injection
|
|
13991
|
-
- Auditor: correctness, logic errors, best practices
|
|
14002
|
+
## Phase 5: QA_REVIEW (DELEGATE TO @security_reviewer THEN @auditor)
|
|
14003
|
+
You MUST delegate to both QA agents. Do NOT perform reviews yourself.
|
|
13992
14004
|
|
|
13993
|
-
|
|
14005
|
+
1. Send the code from @coder to @security_reviewer - wait for response
|
|
14006
|
+
2. Then send the code to @auditor - wait for response
|
|
14007
|
+
|
|
14008
|
+
Collect both reviews before proceeding to TRIAGE.
|
|
13994
14009
|
|
|
13995
14010
|
## Phase 6: TRIAGE (YOU DO THIS - NO DELEGATION)
|
|
13996
14011
|
This is YOUR task. Do NOT delegate triage to any agent.
|
|
@@ -14020,7 +14035,13 @@ IMPORTANT REVISION FLOW:
|
|
|
14020
14035
|
1. TRIAGE finds issues \u2192 2. Send revision plan to @coder \u2192 3. @coder returns fixed code \u2192 4. Run QA_REVIEW again \u2192 5. TRIAGE again
|
|
14021
14036
|
Do NOT skip step 2 and go directly back to QA. The coder must fix the code first.
|
|
14022
14037
|
|
|
14023
|
-
## Phase 7: TEST (
|
|
14038
|
+
## Phase 7: TEST (DELEGATE TO @test_engineer)
|
|
14039
|
+
You MUST delegate to @test_engineer. Do NOT write tests yourself.
|
|
14040
|
+
|
|
14041
|
+
Send @test_engineer:
|
|
14042
|
+
- The approved code
|
|
14043
|
+
- The original requirements
|
|
14044
|
+
|
|
14024
14045
|
@test_engineer generates test cases and validation scripts.
|
|
14025
14046
|
</Workflow>
|
|
14026
14047
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
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",
|