oxe-cc 1.4.0 → 1.5.0

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 (142) hide show
  1. package/.cursor/commands/oxe-ask.md +4 -2
  2. package/.cursor/commands/oxe-capabilities.md +4 -2
  3. package/.cursor/commands/oxe-checkpoint.md +4 -2
  4. package/.cursor/commands/oxe-compact.md +4 -2
  5. package/.cursor/commands/oxe-dashboard.md +4 -2
  6. package/.cursor/commands/oxe-debug.md +4 -2
  7. package/.cursor/commands/oxe-discuss.md +4 -2
  8. package/.cursor/commands/oxe-execute.md +5 -3
  9. package/.cursor/commands/oxe-forensics.md +4 -2
  10. package/.cursor/commands/oxe-help.md +4 -2
  11. package/.cursor/commands/oxe-loop.md +4 -2
  12. package/.cursor/commands/oxe-milestone.md +4 -2
  13. package/.cursor/commands/oxe-next.md +4 -2
  14. package/.cursor/commands/oxe-obs.md +4 -2
  15. package/.cursor/commands/oxe-plan-agent.md +4 -2
  16. package/.cursor/commands/oxe-plan.md +4 -2
  17. package/.cursor/commands/oxe-project.md +4 -2
  18. package/.cursor/commands/oxe-quick.md +4 -2
  19. package/.cursor/commands/oxe-research.md +4 -2
  20. package/.cursor/commands/oxe-retro.md +4 -2
  21. package/.cursor/commands/oxe-review-pr.md +4 -2
  22. package/.cursor/commands/oxe-route.md +4 -2
  23. package/.cursor/commands/oxe-scan.md +4 -2
  24. package/.cursor/commands/oxe-security.md +4 -2
  25. package/.cursor/commands/oxe-session.md +5 -3
  26. package/.cursor/commands/oxe-ship.md +4 -2
  27. package/.cursor/commands/oxe-skill.md +4 -2
  28. package/.cursor/commands/oxe-spec.md +4 -2
  29. package/.cursor/commands/oxe-ui-review.md +4 -2
  30. package/.cursor/commands/oxe-ui-spec.md +4 -2
  31. package/.cursor/commands/oxe-update.md +4 -2
  32. package/.cursor/commands/oxe-validate-gaps.md +4 -2
  33. package/.cursor/commands/oxe-verify-audit.md +46 -0
  34. package/.cursor/commands/oxe-verify.md +4 -2
  35. package/.cursor/commands/oxe-workflow-authoring.md +47 -0
  36. package/.cursor/commands/oxe-workstream.md +4 -2
  37. package/.cursor/commands/oxe.md +6 -2
  38. package/.github/prompts/oxe-ask.prompt.md +4 -2
  39. package/.github/prompts/oxe-capabilities.prompt.md +4 -2
  40. package/.github/prompts/oxe-checkpoint.prompt.md +4 -2
  41. package/.github/prompts/oxe-compact.prompt.md +5 -3
  42. package/.github/prompts/oxe-dashboard.prompt.md +4 -2
  43. package/.github/prompts/oxe-debug.prompt.md +4 -2
  44. package/.github/prompts/oxe-discuss.prompt.md +6 -2
  45. package/.github/prompts/oxe-execute.prompt.md +5 -3
  46. package/.github/prompts/oxe-forensics.prompt.md +4 -2
  47. package/.github/prompts/oxe-help.prompt.md +6 -2
  48. package/.github/prompts/oxe-loop.prompt.md +4 -2
  49. package/.github/prompts/oxe-milestone.prompt.md +4 -2
  50. package/.github/prompts/oxe-next.prompt.md +6 -2
  51. package/.github/prompts/oxe-obs.prompt.md +4 -2
  52. package/.github/prompts/oxe-plan-agent.prompt.md +5 -2
  53. package/.github/prompts/oxe-plan.prompt.md +4 -2
  54. package/.github/prompts/oxe-project.prompt.md +4 -2
  55. package/.github/prompts/oxe-quick.prompt.md +4 -2
  56. package/.github/prompts/oxe-research.prompt.md +4 -2
  57. package/.github/prompts/oxe-retro.prompt.md +4 -2
  58. package/.github/prompts/oxe-review-pr.prompt.md +4 -2
  59. package/.github/prompts/oxe-route.prompt.md +4 -2
  60. package/.github/prompts/oxe-scan.prompt.md +4 -2
  61. package/.github/prompts/oxe-security.prompt.md +4 -2
  62. package/.github/prompts/oxe-session.prompt.md +5 -3
  63. package/.github/prompts/oxe-ship.prompt.md +4 -2
  64. package/.github/prompts/oxe-skill.prompt.md +4 -2
  65. package/.github/prompts/oxe-spec.prompt.md +4 -2
  66. package/.github/prompts/oxe-ui-review.prompt.md +4 -2
  67. package/.github/prompts/oxe-ui-spec.prompt.md +4 -2
  68. package/.github/prompts/oxe-update.prompt.md +4 -2
  69. package/.github/prompts/oxe-validate-gaps.prompt.md +4 -2
  70. package/.github/prompts/oxe-verify-audit.prompt.md +46 -0
  71. package/.github/prompts/oxe-verify.prompt.md +4 -2
  72. package/.github/prompts/oxe-workflow-authoring.prompt.md +47 -0
  73. package/.github/prompts/oxe-workstream.prompt.md +4 -2
  74. package/.github/prompts/oxe.prompt.md +6 -2
  75. package/.github/workflows/ci.yml +57 -20
  76. package/.github/workflows/release.yml +94 -0
  77. package/AGENTS.md +3 -1
  78. package/CHANGELOG.md +383 -342
  79. package/QUICKSTART.md +99 -0
  80. package/README.md +89 -65
  81. package/bin/lib/oxe-agent-install.cjs +127 -107
  82. package/bin/lib/oxe-install-resolve.cjs +10 -0
  83. package/bin/lib/oxe-operational.cjs +34 -28
  84. package/bin/lib/oxe-project-health.cjs +38 -6
  85. package/bin/lib/oxe-release.cjs +423 -0
  86. package/bin/lib/oxe-runtime-semantics.cjs +68 -24
  87. package/bin/oxe-cc.js +388 -55
  88. package/commands/oxe/ask.md +7 -3
  89. package/commands/oxe/capabilities.md +6 -2
  90. package/commands/oxe/checkpoint.md +5 -1
  91. package/commands/oxe/compact.md +6 -2
  92. package/commands/oxe/dashboard.md +6 -2
  93. package/commands/oxe/debug.md +6 -2
  94. package/commands/oxe/discuss.md +6 -2
  95. package/commands/oxe/execute.md +6 -2
  96. package/commands/oxe/forensics.md +6 -2
  97. package/commands/oxe/help.md +6 -2
  98. package/commands/oxe/loop.md +6 -2
  99. package/commands/oxe/milestone.md +6 -2
  100. package/commands/oxe/next.md +6 -2
  101. package/commands/oxe/obs.md +6 -2
  102. package/commands/oxe/oxe.md +6 -2
  103. package/commands/oxe/plan-agent.md +6 -2
  104. package/commands/oxe/plan.md +6 -2
  105. package/commands/oxe/project.md +6 -2
  106. package/commands/oxe/quick.md +6 -2
  107. package/commands/oxe/research.md +6 -2
  108. package/commands/oxe/retro.md +6 -2
  109. package/commands/oxe/review-pr.md +6 -2
  110. package/commands/oxe/route.md +6 -2
  111. package/commands/oxe/scan.md +6 -2
  112. package/commands/oxe/security.md +6 -2
  113. package/commands/oxe/session.md +6 -2
  114. package/commands/oxe/ship.md +6 -2
  115. package/commands/oxe/skill.md +6 -2
  116. package/commands/oxe/spec.md +6 -2
  117. package/commands/oxe/ui-review.md +6 -2
  118. package/commands/oxe/ui-spec.md +6 -2
  119. package/commands/oxe/update.md +6 -2
  120. package/commands/oxe/validate-gaps.md +6 -2
  121. package/commands/oxe/verify-audit.md +50 -0
  122. package/commands/oxe/verify.md +6 -2
  123. package/commands/oxe/workflow-authoring.md +50 -0
  124. package/commands/oxe/workstream.md +6 -2
  125. package/docs/INCIDENT-PLAYBOOK.md +181 -0
  126. package/docs/RELEASE-READINESS.md +46 -0
  127. package/docs/ROLES.md +129 -0
  128. package/docs/RUNTIME-SMOKE-MATRIX.md +128 -0
  129. package/docs/TEAM-ADOPTION.md +153 -0
  130. package/docs/WALKTHROUGH.md +241 -0
  131. package/lib/runtime/scheduler/multi-agent-coordinator.d.ts +28 -0
  132. package/lib/runtime/scheduler/multi-agent-coordinator.js +152 -26
  133. package/lib/sdk/README.md +2 -0
  134. package/lib/sdk/index.cjs +22 -8
  135. package/lib/sdk/index.d.ts +60 -16
  136. package/oxe/templates/config.template.json +1 -0
  137. package/package.json +30 -22
  138. package/packages/runtime/package.json +1 -1
  139. package/packages/runtime/src/scheduler/multi-agent-coordinator.ts +357 -193
  140. package/vscode-extension/oxe-agents-1.4.0.vsix +0 -0
  141. package/vscode-extension/oxe-agents-1.5.0.vsix +0 -0
  142. package/vscode-extension/package.json +1 -1
@@ -146,18 +146,50 @@ export interface GateQueueSnapshot {
146
146
  all?: Array<Record<string, unknown>>;
147
147
  }
148
148
 
149
- export interface MultiAgentStatusSummary {
150
- path: string | null;
151
- enabled: boolean;
152
- runId: string | null;
153
- mode: string | null;
149
+ export interface MultiAgentStatusSummary {
150
+ path: string | null;
151
+ enabled: boolean;
152
+ runId: string | null;
153
+ mode: string | null;
154
154
  workspaceIsolationEnforced: boolean;
155
155
  agents: Array<Record<string, unknown>>;
156
- ownership: Array<Record<string, unknown>>;
157
- orphanReassignments: Array<Record<string, unknown>>;
158
- handoffs: Array<Record<string, unknown>>;
159
- arbitrationResults: Array<Record<string, unknown>>;
160
- }
156
+ ownership: Array<Record<string, unknown>>;
157
+ orphanReassignments: Array<Record<string, unknown>>;
158
+ handoffs: Array<Record<string, unknown>>;
159
+ arbitrationResults: Array<Record<string, unknown>>;
160
+ summary?: Record<string, unknown> | null;
161
+ }
162
+
163
+ export interface ReleaseManifest {
164
+ schema_version: number;
165
+ generated_at: string;
166
+ project_root: string;
167
+ package_root: string;
168
+ release_contract: Record<string, unknown>;
169
+ versions: Record<string, unknown>;
170
+ runtime_compiled: { path: string; ok: boolean };
171
+ wrappers: Record<string, unknown>;
172
+ reports: Record<string, unknown>;
173
+ }
174
+
175
+ export interface ReleaseConsistencyResult {
176
+ ok: boolean;
177
+ blockers: string[];
178
+ warnings: string[];
179
+ manifest: ReleaseManifest;
180
+ manifestPath: string;
181
+ }
182
+
183
+ export interface RuntimeSmokeReport {
184
+ path: string;
185
+ present: boolean;
186
+ ok: boolean;
187
+ total: number;
188
+ failures: string[];
189
+ missingRequired: string[];
190
+ results: Array<Record<string, unknown>>;
191
+ raw: Record<string, unknown> | null;
192
+ }
161
193
 
162
194
  export interface PolicyDecisionSummary {
163
195
  total: number;
@@ -685,12 +717,24 @@ export interface OxeSdk {
685
717
  installNpmPlugin: (projectRoot: string, pkgName: string, version?: string) => { ok: boolean; path: string; error: string };
686
718
  };
687
719
 
688
- dashboard: {
689
- loadDashboardContext: (projectRoot: string, opts?: { activeSession?: string | null }) => Record<string, unknown>;
690
- savePlanReviewStatus: (projectRoot: string, input?: Record<string, unknown>) => Record<string, unknown>;
691
- addPlanReviewComment: (projectRoot: string, input?: Record<string, unknown>) => Record<string, unknown>;
692
- updatePlanReviewCommentStatus: (projectRoot: string, input?: Record<string, unknown>) => Record<string, unknown> | null;
693
- };
720
+ dashboard: {
721
+ loadDashboardContext: (projectRoot: string, opts?: { activeSession?: string | null }) => Record<string, unknown>;
722
+ savePlanReviewStatus: (projectRoot: string, input?: Record<string, unknown>) => Record<string, unknown>;
723
+ addPlanReviewComment: (projectRoot: string, input?: Record<string, unknown>) => Record<string, unknown>;
724
+ updatePlanReviewCommentStatus: (projectRoot: string, input?: Record<string, unknown>) => Record<string, unknown> | null;
725
+ };
726
+
727
+ release: {
728
+ REQUIRED_RUNTIMES: string[];
729
+ WRAPPER_TARGETS: Array<Record<string, unknown>>;
730
+ releasePaths: (projectRoot: string) => Record<string, string>;
731
+ collectWrapperHashes: (projectRoot: string) => Record<string, unknown>;
732
+ loadRuntimeSmokeReport: (projectRoot: string) => RuntimeSmokeReport;
733
+ loadRecoveryFixtureReport: (projectRoot: string) => RuntimeSmokeReport;
734
+ loadMultiAgentSoakReport: (projectRoot: string) => RuntimeSmokeReport;
735
+ buildReleaseManifest: (projectRoot: string, options?: Record<string, unknown>) => ReleaseManifest;
736
+ checkReleaseConsistency: (projectRoot: string, options?: Record<string, unknown>) => ReleaseConsistencyResult;
737
+ };
694
738
 
695
739
  context: ContextAPI;
696
740
  runtimeSemantics: RuntimeSemanticsAPI;
@@ -30,6 +30,7 @@
30
30
  "install": {
31
31
  "profile": "recommended",
32
32
  "repo_layout": "nested",
33
+ "ide_scope": "global",
33
34
  "vscode": false,
34
35
  "include_commands_dir": true,
35
36
  "include_agents_md": true
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "oxe-cc",
3
- "version": "1.4.0",
4
- "description": "OXE — spec-driven workflows in .oxe/ with runtime enterprise, evidence-first verification and multi-runtime integrations (npx)",
5
- "license": "MIT",
3
+ "version": "1.5.0",
4
+ "description": "OXE — spec-driven workflows in .oxe/ with runtime enterprise, evidence-first verification and multi-runtime integrations (npx)",
5
+ "license": "MIT",
6
6
  "author": "",
7
7
  "homepage": "https://www.npmjs.com/package/oxe-cc",
8
8
  "bugs": {
@@ -38,7 +38,8 @@
38
38
  },
39
39
  "types": "lib/sdk/index.d.ts",
40
40
  "bin": {
41
- "oxe-cc": "bin/oxe-cc.js"
41
+ "oxe-cc": "bin/oxe-cc.js",
42
+ "oxe": "bin/oxe-cc.js"
42
43
  },
43
44
  "files": [
44
45
  "bin",
@@ -46,28 +47,35 @@
46
47
  "oxe",
47
48
  "assets",
48
49
  ".cursor",
49
- ".github",
50
- "commands",
51
- "vscode-extension",
52
- "packages/runtime/src",
53
- "packages/runtime/package.json",
54
- "packages/runtime/tsconfig.json",
50
+ ".github",
51
+ "commands",
52
+ "vscode-extension",
53
+ "docs",
54
+ "QUICKSTART.md",
55
+ "packages/runtime/src",
56
+ "packages/runtime/package.json",
57
+ "packages/runtime/tsconfig.json",
55
58
  "AGENTS.md",
56
59
  "README.md",
57
60
  "CHANGELOG.md"
58
61
  ],
59
- "scripts": {
60
- "build:runtime": "cd packages/runtime && npm run build",
61
- "sync:runtime-metadata": "node scripts/sync-runtime-metadata.cjs",
62
- "sync:cursor": "node scripts/sync-cursor-from-prompts.cjs",
63
- "test:root": "node --test tests/install.test.cjs tests/oxe-project-health.test.cjs tests/oxe-dashboard.test.cjs tests/oxe-operational.test.cjs tests/oxe-azure.test.cjs tests/oxe-sdk.test.cjs tests/oxe-manifest.test.cjs tests/oxe-agent-install.test.cjs tests/oxe-install-resolve-full.test.cjs tests/oxe-health-extended.test.cjs tests/oxe-workflows-edge.test.cjs tests/oxe-sdk-edge.test.cjs tests/oxe-cli-edge.test.cjs tests/oxe-npm-version.test.cjs tests/oxe-scripts.test.cjs tests/oxe-retro-health.test.cjs tests/oxe-security-permissions.test.cjs tests/oxe-runtime-semantics.test.cjs tests/oxe-plugins.test.cjs",
64
- "test:runtime": "cd packages/runtime && npm test",
65
- "test": "npm run build:runtime && npm run test:root && npm run test:runtime",
66
- "test:coverage": "c8 --check-coverage --lines 82 --functions 85 --branches 58 --statements 82 npm test",
67
- "scan:assets": "node scripts/oxe-assets-scan.cjs",
68
- "build:vscode-ext": "cd vscode-extension && npx @vscode/vsce package --no-yarn --allow-missing-repository",
69
- "prepublishOnly": "npm run build:vscode-ext && node scripts/sync-runtime-metadata.cjs && node scripts/sync-cursor-from-prompts.cjs && npm test && npm run scan:assets && node bin/oxe-cc.js --version"
70
- },
62
+ "scripts": {
63
+ "build:runtime": "cd packages/runtime && npm run build",
64
+ "sync:runtime-metadata": "node scripts/sync-runtime-metadata.cjs",
65
+ "sync:cursor": "node scripts/sync-cursor-from-prompts.cjs",
66
+ "release:doctor": "node scripts/release-doctor.cjs",
67
+ "release:manifest": "node scripts/release-doctor.cjs --write-manifest",
68
+ "test:root": "node --test tests/install.test.cjs tests/oxe-project-health.test.cjs tests/oxe-dashboard.test.cjs tests/oxe-operational.test.cjs tests/oxe-azure.test.cjs tests/oxe-sdk.test.cjs tests/oxe-manifest.test.cjs tests/oxe-agent-install.test.cjs tests/oxe-install-resolve-full.test.cjs tests/oxe-health-extended.test.cjs tests/oxe-workflows-edge.test.cjs tests/oxe-sdk-edge.test.cjs tests/oxe-cli-edge.test.cjs tests/oxe-npm-version.test.cjs tests/oxe-scripts.test.cjs tests/oxe-retro-health.test.cjs tests/oxe-security-permissions.test.cjs tests/oxe-runtime-semantics.test.cjs tests/oxe-plugins.test.cjs",
69
+ "test:runtime": "cd packages/runtime && npm test",
70
+ "test:runtime-smoke": "node scripts/runtime-smoke-matrix.cjs",
71
+ "test:recovery-fixtures": "node scripts/run-recovery-fixtures.cjs",
72
+ "test:multi-agent-soak": "node scripts/run-multi-agent-soak.cjs",
73
+ "test": "npm run build:runtime && npm run test:root && npm run test:runtime && npm run test:runtime-smoke && npm run test:recovery-fixtures && npm run test:multi-agent-soak",
74
+ "test:coverage": "c8 --check-coverage --lines 82 --functions 85 --branches 58 --statements 82 npm test",
75
+ "scan:assets": "node scripts/oxe-assets-scan.cjs",
76
+ "build:vscode-ext": "cd vscode-extension && npx @vscode/vsce package --no-yarn --allow-missing-repository",
77
+ "prepublishOnly": "npm test && npm run scan:assets && npm run build:vscode-ext && npm run release:manifest && node bin/oxe-cc.js --version"
78
+ },
71
79
  "c8": {
72
80
  "all": true,
73
81
  "include": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxe/runtime",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "description": "OXE agentic execution engine — enterprise runtime core",