opencode-orchestrator 1.0.22 → 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.
Files changed (2) hide show
  1. package/dist/index.js +62 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15219,40 +15219,88 @@ ${PROMPT_TAGS.ASYNC_MONITORING.close}`;
15219
15219
 
15220
15220
  // src/agents/prompts/reviewer/integration-testing.ts
15221
15221
  var REVIEWER_INTEGRATION_TESTING = `${PROMPT_TAGS.INTEGRATION_TESTING.open}
15222
- ## E2E INTEGRATION TESTING (Master Mode)
15222
+ ## E2E INTEGRATION TESTING RULES
15223
15223
 
15224
- ### Step 1: Ingest Parallel Scout Findings
15224
+ ### 1. Timing
15225
+ Start when **${PATHS.TODO} \u2265 80%** (some Workers still active).
15226
+
15227
+ ### 2. Pre-integration Checklist
15228
+ Before running integration tests, all merged files must:
15229
+ - [ ] Have clean lsp_diagnostics
15230
+ - [ ] Have unit test passing records in ${PATHS.UNIT_TESTS}/
15231
+ - [ ] Be listed in ${PATHS.WORK_LOG} "Pending Integration"
15232
+
15233
+ ### Integration Workflow (Master Mode)
15234
+
15235
+ #### Step 0: Ingest Parallel Scout Findings
15225
15236
  Read the output of the **[${SCOUT_INTEGRATION.NAME}]** swarm. Locate:
15226
15237
  - Cross-module interface changes
15227
15238
  - Shared constant modifications
15228
15239
  - Potential synchronization bottlenecks
15229
15240
 
15230
- ### Step 2: Global Consistency Check
15241
+ #### Step 1: Check ${PATHS.TODO} Status
15242
+ \`\`\`bash
15243
+ cat ${PATHS.TODO}
15244
+ # If incomplete items exist, wait for E2E
15245
+ \`\`\`
15246
+
15247
+ #### Step 2: Global Consistency Check
15231
15248
  - Do all modules agree on shared types?
15232
15249
  - Are imports/exports correctly synchronized across files?
15233
15250
  - Record results in ${PATHS.SYNC_ISSUES}
15234
15251
 
15235
- ### Step 3: Global Build Verification
15236
- - Run the project's BUILD command (from ${PATHS.CONTEXT})
15237
- - Must pass without errors
15252
+ #### Step 3: Run Build (language-appropriate)
15253
+ \`\`\`bash
15254
+ # Run project build command (from ${PATHS.CONTEXT})
15255
+ # If failed, record in ${PATHS.SYNC_ISSUES}
15256
+ \`\`\`
15238
15257
 
15239
- ### Step 4: System-wide Test Verification
15240
- - Run the project's TEST command (from ${PATHS.CONTEXT})
15241
- - ALL tests must pass
15258
+ #### Step 4: Run Full Tests
15259
+ \`\`\`bash
15260
+ # Run project test command (from ${PATHS.CONTEXT})
15261
+ # Check for regressions
15262
+ \`\`\`
15263
+
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
15268
+
15269
+ #### Step 6: Record Results
15270
+ Write to ${PATHS.INTEGRATION_STATUS}:
15271
+ \`\`\`markdown
15272
+ # Integration Status
15273
+
15274
+ ## Last Integration
15275
+ - Timestamp: [ISO timestamp]
15276
+
15277
+ ## Result
15278
+ - Build: ${STATUS_LABEL.PASS}/${WORK_STATUS.TEST_RESULT.FAIL}
15279
+ - E2E Test: ${STATUS_LABEL.PASS}/${WORK_STATUS.TEST_RESULT.FAIL}
15280
+
15281
+ ## Sync Issues Found
15282
+ - (omit if none)
15283
+ \`\`\`
15242
15284
 
15243
15285
  ---
15244
15286
 
15245
- ## Loop & Seal Logic (Reviewer Verdict)
15287
+ ## Loop Condition Check (Reviewer verifies)
15246
15288
 
15247
15289
  ### SEALED Conditions (all must be true)
15248
15290
  - [ ] ${PATHS.TODO} all items [x]
15249
15291
  - [ ] ${PATHS.SYNC_ISSUES} is EMPTY
15250
- - [ ] Build & System Tests pass
15292
+ - [ ] Build passes
15293
+ - [ ] E2E test passes
15251
15294
 
15252
15295
  ### LOOP BACK Conditions
15253
- - Missing items or unresolved issues \u2192 Record in ${PATHS.SYNC_ISSUES} \u2192 Trigger LOOP
15254
-
15255
- **CRITICAL**: As Master Reviewer, you are the final authority. Use the parallel intelligence from scouts to ensure 100% mission integrity.
15296
+ - ${PATHS.TODO} has incomplete items \u2192 LOOP
15297
+ - ${PATHS.SYNC_ISSUES} has unresolved issues \u2192 LOOP
15298
+ - Build/test fails \u2192 record in ${PATHS.SYNC_ISSUES} \u2192 LOOP
15299
+
15300
+ **CRITICAL**:
15301
+ - E2E only at ${PATHS.TODO} completion time!
15302
+ - Use the parallel intelligence from **[${SCOUT_INTEGRATION.NAME}]** to ensure 100% mission integrity.
15303
+ - All ${PATHS.TODO} [x] + no issues = SEALED!
15256
15304
  ${PROMPT_TAGS.INTEGRATION_TESTING.close}`;
15257
15305
 
15258
15306
  // 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.22",
5
+ "version": "1.0.23",
6
6
  "author": "agnusdei1207",
7
7
  "license": "MIT",
8
8
  "repository": {