opencode-orchestrator 0.9.2 → 0.9.3
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 +32 -15
- package/dist/shared/prompt/constants/status.d.ts +14 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -419,6 +419,21 @@ var WORK_STATUS = {
|
|
|
419
419
|
FAIL: "FAIL",
|
|
420
420
|
SKIP: "SKIP"
|
|
421
421
|
},
|
|
422
|
+
// E2E integration test status
|
|
423
|
+
E2E_STATUS: {
|
|
424
|
+
NOT_STARTED: "NOT_STARTED",
|
|
425
|
+
RUNNING: "RUNNING",
|
|
426
|
+
PASS: "PASS",
|
|
427
|
+
FAIL: "FAIL"
|
|
428
|
+
},
|
|
429
|
+
// Mission phase
|
|
430
|
+
PHASE: {
|
|
431
|
+
PLANNING: "PLANNING",
|
|
432
|
+
IMPLEMENTATION: "IMPLEMENTATION",
|
|
433
|
+
E2E: "E2E",
|
|
434
|
+
FIXING: "FIXING",
|
|
435
|
+
SEALING: "SEALING"
|
|
436
|
+
},
|
|
422
437
|
// Issue severity
|
|
423
438
|
SEVERITY: {
|
|
424
439
|
HIGH: "HIGH",
|
|
@@ -13309,16 +13324,16 @@ Commander updates ${PATHS.STATUS} each loop:
|
|
|
13309
13324
|
- TODO: 8/10 (80%)
|
|
13310
13325
|
- Issues: 2 unresolved
|
|
13311
13326
|
- Workers: 3 active
|
|
13312
|
-
- E2E:
|
|
13327
|
+
- E2E: ${WORK_STATUS.E2E_STATUS.NOT_STARTED} | ${WORK_STATUS.E2E_STATUS.RUNNING} | ${WORK_STATUS.E2E_STATUS.PASS} | ${WORK_STATUS.E2E_STATUS.FAIL}
|
|
13313
13328
|
|
|
13314
13329
|
## Current Phase
|
|
13315
|
-
|
|
13330
|
+
${WORK_STATUS.PHASE.PLANNING} | ${WORK_STATUS.PHASE.IMPLEMENTATION} | ${WORK_STATUS.PHASE.E2E} | ${WORK_STATUS.PHASE.FIXING} | ${WORK_STATUS.PHASE.SEALING}
|
|
13316
13331
|
|
|
13317
13332
|
## Next Action
|
|
13318
|
-
[Brief description
|
|
13333
|
+
[Brief description]
|
|
13319
13334
|
|
|
13320
13335
|
## Blockers
|
|
13321
|
-
- [List
|
|
13336
|
+
- [List or "None"]
|
|
13322
13337
|
\`\`\`
|
|
13323
13338
|
|
|
13324
13339
|
### Status Rules:
|
|
@@ -13344,22 +13359,23 @@ ONLY THEN \u2192 output <mission_seal>SEALED</mission_seal>
|
|
|
13344
13359
|
\u274C TODO < 100% \u2192 LOOP
|
|
13345
13360
|
\u274C Issues > 0 \u2192 LOOP
|
|
13346
13361
|
\u274C Build fails \u2192 LOOP
|
|
13347
|
-
\u274C E2E
|
|
13362
|
+
\u274C E2E = ${WORK_STATUS.E2E_STATUS.FAIL} \u2192 LOOP
|
|
13348
13363
|
\`\`\`
|
|
13349
13364
|
|
|
13350
13365
|
### \u26D4 NEVER SEAL IF:
|
|
13351
13366
|
- TODO is 100% BUT issues > 0
|
|
13352
13367
|
- Workers are still active
|
|
13353
|
-
-
|
|
13368
|
+
- E2E = ${WORK_STATUS.E2E_STATUS.FAIL}
|
|
13354
13369
|
|
|
13355
13370
|
---
|
|
13356
13371
|
|
|
13357
13372
|
## \u{1F504} E2E Test Timing
|
|
13358
13373
|
|
|
13359
13374
|
E2E starts when **TODO \u2265 80%** (not at 100%):
|
|
13375
|
+
- Phase changes to ${WORK_STATUS.PHASE.E2E}
|
|
13360
13376
|
- E2E runs **parallel** with remaining work
|
|
13361
|
-
- If E2E
|
|
13362
|
-
- Both TODO 100% AND issues 0 \u2192
|
|
13377
|
+
- If E2E ${WORK_STATUS.E2E_STATUS.FAIL} \u2192 issues++ \u2192 continue TODO
|
|
13378
|
+
- Both TODO 100% AND issues 0 \u2192 ${WORK_STATUS.PHASE.SEALING}
|
|
13363
13379
|
|
|
13364
13380
|
\`\`\`
|
|
13365
13381
|
[---TODO progress---][E2E starts ~80%]
|
|
@@ -13373,16 +13389,17 @@ E2E starts when **TODO \u2265 80%** (not at 100%):
|
|
|
13373
13389
|
|
|
13374
13390
|
### Decision Matrix
|
|
13375
13391
|
|
|
13376
|
-
| TODO % | Issues |
|
|
13377
|
-
|
|
13378
|
-
| < 100% | Any |
|
|
13379
|
-
|
|
|
13380
|
-
| 100% | 0 |
|
|
13392
|
+
| TODO % | Issues | Phase |
|
|
13393
|
+
|--------|--------|-------|
|
|
13394
|
+
| < 100% | Any | ${WORK_STATUS.PHASE.IMPLEMENTATION} |
|
|
13395
|
+
| \u2265 80% | Any | ${WORK_STATUS.PHASE.E2E} (parallel) |
|
|
13396
|
+
| 100% | > 0 | ${WORK_STATUS.PHASE.FIXING} |
|
|
13397
|
+
| 100% | 0 | ${WORK_STATUS.PHASE.SEALING} \u2705 |
|
|
13381
13398
|
|
|
13382
13399
|
### CRITICAL RULES:
|
|
13383
13400
|
- Update ${PATHS.STATUS} every loop
|
|
13384
|
-
- Planner keeps docs minimal
|
|
13385
|
-
- NEVER seal with issues > 0
|
|
13401
|
+
- Planner keeps docs minimal
|
|
13402
|
+
- NEVER seal with issues > 0
|
|
13386
13403
|
- E2E starts at ~80%, runs parallel
|
|
13387
13404
|
${PROMPT_TAGS.LOOP_CONTINUATION.close}`;
|
|
13388
13405
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Work Status Constants
|
|
3
3
|
*
|
|
4
|
-
* All status values used in work-log.md, todo.md, sync-issues.md.
|
|
4
|
+
* All status values used in work-log.md, todo.md, sync-issues.md, status.md.
|
|
5
5
|
*/
|
|
6
6
|
export declare const WORK_STATUS: {
|
|
7
7
|
readonly ACTION: {
|
|
@@ -21,6 +21,19 @@ export declare const WORK_STATUS: {
|
|
|
21
21
|
readonly FAIL: "FAIL";
|
|
22
22
|
readonly SKIP: "SKIP";
|
|
23
23
|
};
|
|
24
|
+
readonly E2E_STATUS: {
|
|
25
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
26
|
+
readonly RUNNING: "RUNNING";
|
|
27
|
+
readonly PASS: "PASS";
|
|
28
|
+
readonly FAIL: "FAIL";
|
|
29
|
+
};
|
|
30
|
+
readonly PHASE: {
|
|
31
|
+
readonly PLANNING: "PLANNING";
|
|
32
|
+
readonly IMPLEMENTATION: "IMPLEMENTATION";
|
|
33
|
+
readonly E2E: "E2E";
|
|
34
|
+
readonly FIXING: "FIXING";
|
|
35
|
+
readonly SEALING: "SEALING";
|
|
36
|
+
};
|
|
24
37
|
readonly SEVERITY: {
|
|
25
38
|
readonly HIGH: "HIGH";
|
|
26
39
|
readonly MEDIUM: "MEDIUM";
|
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": "0.9.
|
|
5
|
+
"version": "0.9.3",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|