opencode-orchestrator 1.0.21 → 1.0.22
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 -62
- 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
|
|
@@ -15210,81 +15219,40 @@ ${PROMPT_TAGS.ASYNC_MONITORING.close}`;
|
|
|
15210
15219
|
|
|
15211
15220
|
// src/agents/prompts/reviewer/integration-testing.ts
|
|
15212
15221
|
var REVIEWER_INTEGRATION_TESTING = `${PROMPT_TAGS.INTEGRATION_TESTING.open}
|
|
15213
|
-
## E2E INTEGRATION TESTING
|
|
15222
|
+
## E2E INTEGRATION TESTING (Master Mode)
|
|
15214
15223
|
|
|
15215
|
-
### 1
|
|
15216
|
-
|
|
15224
|
+
### Step 1: Ingest Parallel Scout Findings
|
|
15225
|
+
Read the output of the **[${SCOUT_INTEGRATION.NAME}]** swarm. Locate:
|
|
15226
|
+
- Cross-module interface changes
|
|
15227
|
+
- Shared constant modifications
|
|
15228
|
+
- Potential synchronization bottlenecks
|
|
15217
15229
|
|
|
15218
|
-
### 2
|
|
15219
|
-
|
|
15220
|
-
-
|
|
15221
|
-
-
|
|
15222
|
-
- [ ] Be listed in ${PATHS.WORK_LOG} "Pending Integration"
|
|
15223
|
-
|
|
15224
|
-
### Integration Workflow
|
|
15225
|
-
|
|
15226
|
-
#### Step 1: Check ${PATHS.TODO} Status
|
|
15227
|
-
\`\`\`bash
|
|
15228
|
-
cat ${PATHS.TODO}
|
|
15229
|
-
# If incomplete items exist, wait for E2E
|
|
15230
|
-
\`\`\`
|
|
15231
|
-
|
|
15232
|
-
#### Step 2: Run Build (language-appropriate)
|
|
15233
|
-
\`\`\`bash
|
|
15234
|
-
# Run project build command
|
|
15235
|
-
# If failed, record in ${PATHS.SYNC_ISSUES}
|
|
15236
|
-
\`\`\`
|
|
15237
|
-
|
|
15238
|
-
#### Step 3: Run Full Tests
|
|
15239
|
-
\`\`\`bash
|
|
15240
|
-
# Run project test command
|
|
15241
|
-
# Check for regressions
|
|
15242
|
-
\`\`\`
|
|
15230
|
+
### Step 2: Global Consistency Check
|
|
15231
|
+
- Do all modules agree on shared types?
|
|
15232
|
+
- Are imports/exports correctly synchronized across files?
|
|
15233
|
+
- Record results in ${PATHS.SYNC_ISSUES}
|
|
15243
15234
|
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
# Verify multiple files work together
|
|
15248
|
-
# Unlike isolated tests, DO NOT delete
|
|
15249
|
-
\`\`\`
|
|
15250
|
-
|
|
15251
|
-
#### Step 5: Record Results
|
|
15252
|
-
Write to ${PATHS.INTEGRATION_STATUS}:
|
|
15253
|
-
\`\`\`markdown
|
|
15254
|
-
# Integration Status
|
|
15255
|
-
|
|
15256
|
-
## Last Integration
|
|
15257
|
-
- Timestamp: [ISO timestamp]
|
|
15258
|
-
|
|
15259
|
-
## Result
|
|
15260
|
-
- Build: ${STATUS_LABEL.PASS}/${WORK_STATUS.TEST_RESULT.FAIL}
|
|
15261
|
-
- E2E Test: ${STATUS_LABEL.PASS}/${WORK_STATUS.TEST_RESULT.FAIL}
|
|
15235
|
+
### Step 3: Global Build Verification
|
|
15236
|
+
- Run the project's BUILD command (from ${PATHS.CONTEXT})
|
|
15237
|
+
- Must pass without errors
|
|
15262
15238
|
|
|
15263
|
-
|
|
15264
|
-
- (
|
|
15265
|
-
|
|
15239
|
+
### Step 4: System-wide Test Verification
|
|
15240
|
+
- Run the project's TEST command (from ${PATHS.CONTEXT})
|
|
15241
|
+
- ALL tests must pass
|
|
15266
15242
|
|
|
15267
15243
|
---
|
|
15268
15244
|
|
|
15269
|
-
## Loop
|
|
15245
|
+
## Loop & Seal Logic (Reviewer Verdict)
|
|
15270
15246
|
|
|
15271
15247
|
### SEALED Conditions (all must be true)
|
|
15272
15248
|
- [ ] ${PATHS.TODO} all items [x]
|
|
15273
|
-
- [ ] ${PATHS.SYNC_ISSUES} is
|
|
15274
|
-
- [ ] Build
|
|
15275
|
-
- [ ] E2E test passes
|
|
15249
|
+
- [ ] ${PATHS.SYNC_ISSUES} is EMPTY
|
|
15250
|
+
- [ ] Build & System Tests pass
|
|
15276
15251
|
|
|
15277
15252
|
### LOOP BACK Conditions
|
|
15278
|
-
- ${PATHS.
|
|
15279
|
-
- ${PATHS.SYNC_ISSUES} has unresolved issues \u2192 LOOP
|
|
15280
|
-
- Build/test fails \u2192 record in ${PATHS.SYNC_ISSUES} \u2192 LOOP
|
|
15281
|
-
|
|
15253
|
+
- Missing items or unresolved issues \u2192 Record in ${PATHS.SYNC_ISSUES} \u2192 Trigger LOOP
|
|
15282
15254
|
|
|
15283
|
-
|
|
15284
|
-
- E2E only at ${PATHS.TODO} completion time!
|
|
15285
|
-
- Record build/test failures minimally in ${PATHS.SYNC_ISSUES}
|
|
15286
|
-
- Delete resolved issues, keep only unresolved
|
|
15287
|
-
- All ${PATHS.TODO} [x] + no issues = SEALED!
|
|
15255
|
+
**CRITICAL**: As Master Reviewer, you are the final authority. Use the parallel intelligence from scouts to ensure 100% mission integrity.
|
|
15288
15256
|
${PROMPT_TAGS.INTEGRATION_TESTING.close}`;
|
|
15289
15257
|
|
|
15290
15258
|
// src/agents/prompts/reviewer/sync-verification.ts
|
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.22",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|