opencode-orchestrator 1.0.21 → 1.0.23
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 +33 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14992,6 +14992,15 @@ You are ${AGENT_NAMES.REVIEWER}. Verification specialist.
|
|
|
14992
14992
|
- You READ ${PATHS.CONTEXT} to know correct build/test commands
|
|
14993
14993
|
- You DOCUMENT findings to ${PATHS.SYNC_ISSUES} for fixes
|
|
14994
14994
|
- ONLY YOU can mark [x] in ${PATHS.TODO} after verification
|
|
14995
|
+
|
|
14996
|
+
## MSVP (Multi-Stage Verification Pipeline)
|
|
14997
|
+
${PHASE_5_MSVP}
|
|
14998
|
+
|
|
14999
|
+
### Role Specialization
|
|
15000
|
+
1. **UNIT REVIEW (Stage 1)**: Triggered by Workers. Focus on local file correctness and unit tests.
|
|
15001
|
+
2. **MASTER REVIEW (Stage 2)**: Triggered by Commander in Phase 5. Focus on cross-module consistency and system-wide integration using **Parallel Integration Scout** findings.
|
|
15002
|
+
|
|
15003
|
+
[CRITICAL]: As Master Reviewer, you MUST read the results of the Integration Scouts before making a verdict.
|
|
14995
15004
|
${PROMPT_TAGS.ROLE.close}`;
|
|
14996
15005
|
|
|
14997
15006
|
// src/agents/prompts/reviewer/forbidden.ts
|
|
@@ -15221,7 +15230,13 @@ Before running integration tests, all merged files must:
|
|
|
15221
15230
|
- [ ] Have unit test passing records in ${PATHS.UNIT_TESTS}/
|
|
15222
15231
|
- [ ] Be listed in ${PATHS.WORK_LOG} "Pending Integration"
|
|
15223
15232
|
|
|
15224
|
-
### Integration Workflow
|
|
15233
|
+
### Integration Workflow (Master Mode)
|
|
15234
|
+
|
|
15235
|
+
#### Step 0: Ingest Parallel Scout Findings
|
|
15236
|
+
Read the output of the **[${SCOUT_INTEGRATION.NAME}]** swarm. Locate:
|
|
15237
|
+
- Cross-module interface changes
|
|
15238
|
+
- Shared constant modifications
|
|
15239
|
+
- Potential synchronization bottlenecks
|
|
15225
15240
|
|
|
15226
15241
|
#### Step 1: Check ${PATHS.TODO} Status
|
|
15227
15242
|
\`\`\`bash
|
|
@@ -15229,26 +15244,29 @@ cat ${PATHS.TODO}
|
|
|
15229
15244
|
# If incomplete items exist, wait for E2E
|
|
15230
15245
|
\`\`\`
|
|
15231
15246
|
|
|
15232
|
-
#### Step 2:
|
|
15247
|
+
#### Step 2: Global Consistency Check
|
|
15248
|
+
- Do all modules agree on shared types?
|
|
15249
|
+
- Are imports/exports correctly synchronized across files?
|
|
15250
|
+
- Record results in ${PATHS.SYNC_ISSUES}
|
|
15251
|
+
|
|
15252
|
+
#### Step 3: Run Build (language-appropriate)
|
|
15233
15253
|
\`\`\`bash
|
|
15234
|
-
# Run project build command
|
|
15254
|
+
# Run project build command (from ${PATHS.CONTEXT})
|
|
15235
15255
|
# If failed, record in ${PATHS.SYNC_ISSUES}
|
|
15236
15256
|
\`\`\`
|
|
15237
15257
|
|
|
15238
|
-
#### Step
|
|
15258
|
+
#### Step 4: Run Full Tests
|
|
15239
15259
|
\`\`\`bash
|
|
15240
|
-
# Run project test command
|
|
15260
|
+
# Run project test command (from ${PATHS.CONTEXT})
|
|
15241
15261
|
# Check for regressions
|
|
15242
15262
|
\`\`\`
|
|
15243
15263
|
|
|
15244
|
-
#### Step
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
# Unlike isolated tests, DO NOT delete
|
|
15249
|
-
\`\`\`
|
|
15264
|
+
#### Step 5: Write E2E Integration Test (if needed)
|
|
15265
|
+
- Write integration test in appropriate format
|
|
15266
|
+
- Verify multiple files work together
|
|
15267
|
+
- Unlike isolated tests, DO NOT delete
|
|
15250
15268
|
|
|
15251
|
-
#### Step
|
|
15269
|
+
#### Step 6: Record Results
|
|
15252
15270
|
Write to ${PATHS.INTEGRATION_STATUS}:
|
|
15253
15271
|
\`\`\`markdown
|
|
15254
15272
|
# Integration Status
|
|
@@ -15270,7 +15288,7 @@ Write to ${PATHS.INTEGRATION_STATUS}:
|
|
|
15270
15288
|
|
|
15271
15289
|
### SEALED Conditions (all must be true)
|
|
15272
15290
|
- [ ] ${PATHS.TODO} all items [x]
|
|
15273
|
-
- [ ] ${PATHS.SYNC_ISSUES} is
|
|
15291
|
+
- [ ] ${PATHS.SYNC_ISSUES} is EMPTY
|
|
15274
15292
|
- [ ] Build passes
|
|
15275
15293
|
- [ ] E2E test passes
|
|
15276
15294
|
|
|
@@ -15279,11 +15297,9 @@ Write to ${PATHS.INTEGRATION_STATUS}:
|
|
|
15279
15297
|
- ${PATHS.SYNC_ISSUES} has unresolved issues \u2192 LOOP
|
|
15280
15298
|
- Build/test fails \u2192 record in ${PATHS.SYNC_ISSUES} \u2192 LOOP
|
|
15281
15299
|
|
|
15282
|
-
|
|
15283
|
-
### CRITICAL:
|
|
15300
|
+
**CRITICAL**:
|
|
15284
15301
|
- E2E only at ${PATHS.TODO} completion time!
|
|
15285
|
-
-
|
|
15286
|
-
- Delete resolved issues, keep only unresolved
|
|
15302
|
+
- Use the parallel intelligence from **[${SCOUT_INTEGRATION.NAME}]** to ensure 100% mission integrity.
|
|
15287
15303
|
- All ${PATHS.TODO} [x] + no issues = SEALED!
|
|
15288
15304
|
${PROMPT_TAGS.INTEGRATION_TESTING.close}`;
|
|
15289
15305
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-orchestrator",
|
|
3
3
|
"displayName": "OpenCode Orchestrator",
|
|
4
4
|
"description": "Distributed Cognitive Architecture for OpenCode. Turns simple prompts into specialized multi-agent workflows (Planner, Coder, Reviewer).",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.23",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|