@chllming/wave-orchestration 0.9.11 → 0.9.12

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 (50) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +7 -8
  3. package/docs/README.md +4 -10
  4. package/docs/architecture/README.md +12 -4
  5. package/docs/concepts/operating-modes.md +1 -1
  6. package/docs/guides/author-and-run-waves.md +3 -2
  7. package/docs/guides/planner.md +3 -3
  8. package/docs/guides/recommendations-0.9.12.md +49 -0
  9. package/docs/guides/sandboxed-environments.md +2 -2
  10. package/docs/guides/terminal-surfaces.md +1 -1
  11. package/docs/plans/current-state.md +3 -3
  12. package/docs/plans/end-state-architecture.md +1 -1
  13. package/docs/plans/examples/wave-example-design-handoff.md +1 -1
  14. package/docs/plans/examples/wave-example-live-proof.md +1 -1
  15. package/docs/plans/migration.md +32 -28
  16. package/docs/plans/wave-orchestrator.md +1 -1
  17. package/docs/reference/cli-reference.md +2 -2
  18. package/docs/reference/coordination-and-closure.md +1 -1
  19. package/docs/reference/npmjs-token-publishing.md +2 -2
  20. package/docs/reference/package-publishing-flow.md +12 -12
  21. package/docs/reference/runtime-config/README.md +2 -2
  22. package/docs/reference/sample-waves.md +5 -5
  23. package/docs/reference/skills.md +1 -1
  24. package/docs/reference/wave-control.md +3 -1
  25. package/docs/roadmap.md +3 -3
  26. package/package.json +8 -9
  27. package/releases/manifest.json +32 -0
  28. package/scripts/context7-api-check.sh +0 -0
  29. package/scripts/context7-export-env.sh +0 -0
  30. package/scripts/wave-autonomous.mjs +0 -0
  31. package/scripts/wave-dashboard.mjs +0 -0
  32. package/scripts/wave-human-feedback.mjs +0 -0
  33. package/scripts/wave-launcher.mjs +0 -0
  34. package/scripts/wave-local-executor.mjs +0 -0
  35. package/scripts/wave-orchestrator/autonomous.mjs +2 -2
  36. package/scripts/wave-orchestrator/closure-engine.mjs +103 -6
  37. package/scripts/wave-orchestrator/closure-policy.mjs +319 -0
  38. package/scripts/wave-orchestrator/config.mjs +15 -0
  39. package/scripts/wave-orchestrator/derived-state-engine.mjs +45 -2
  40. package/scripts/wave-orchestrator/gate-engine.mjs +72 -4
  41. package/scripts/wave-orchestrator/install.mjs +1 -1
  42. package/scripts/wave-orchestrator/launcher.mjs +14 -4
  43. package/scripts/wave-orchestrator/planner.mjs +4 -3
  44. package/scripts/wave-orchestrator/shared.mjs +2 -3
  45. package/scripts/wave-orchestrator/swe-bench-pro-task.mjs +1 -1
  46. package/scripts/wave-orchestrator/traces.mjs +22 -1
  47. package/scripts/wave-status.sh +0 -0
  48. package/scripts/wave-watch.sh +0 -0
  49. package/scripts/wave.mjs +0 -0
  50. package/wave.config.json +13 -2
@@ -623,6 +623,7 @@ export function normalizeGateSnapshotForBundle(gateSnapshot, agentArtifacts) {
623
623
  return gateSnapshot;
624
624
  }
625
625
  const normalized = { ...gateSnapshot };
626
+ const overallGate = String(gateSnapshot.overall?.gate || "").trim();
626
627
  for (const key of [
627
628
  "implementationGate",
628
629
  "componentGate",
@@ -638,7 +639,27 @@ export function normalizeGateSnapshotForBundle(gateSnapshot, agentArtifacts) {
638
639
  "evaluatorGate",
639
640
  "infraGate",
640
641
  ]) {
641
- normalized[key] = normalizeGateLogPath(gateSnapshot[key], agentArtifacts);
642
+ const nextValue = normalizeGateLogPath(gateSnapshot[key], agentArtifacts);
643
+ if (key === "documentationGate") {
644
+ normalized[key] =
645
+ overallGate === "documentationGate" && nextValue
646
+ ? {
647
+ ok: Boolean(nextValue.ok),
648
+ statusCode: nextValue.statusCode || null,
649
+ }
650
+ : null;
651
+ continue;
652
+ }
653
+ if (key === "integrationGate" || key === "integrationBarrier") {
654
+ normalized[key] = nextValue
655
+ ? {
656
+ ok: Boolean(nextValue.ok),
657
+ statusCode: nextValue.statusCode || null,
658
+ }
659
+ : null;
660
+ continue;
661
+ }
662
+ normalized[key] = nextValue;
642
663
  }
643
664
  return normalized;
644
665
  }
File without changes
File without changes
package/scripts/wave.mjs CHANGED
File without changes
package/wave.config.json CHANGED
@@ -276,7 +276,18 @@
276
276
  "requireExitContractsFromWave": 6,
277
277
  "requireIntegrationStewardFromWave": 0,
278
278
  "requireComponentPromotionsFromWave": 0,
279
- "requireAgentComponentsFromWave": 0
279
+ "requireAgentComponentsFromWave": 0,
280
+ "closureModeThresholds": {
281
+ "bootstrap": 0,
282
+ "standard": 4,
283
+ "strict": 10
284
+ },
285
+ "autoClosure": {
286
+ "allowInferredIntegration": true,
287
+ "allowAutoDocNoChange": true,
288
+ "allowAutoDocProjection": false,
289
+ "allowSkipContQaInBootstrap": true
290
+ }
280
291
  },
281
292
  "capabilityRouting": {
282
293
  "preferredAgents": {}
@@ -309,4 +320,4 @@
309
320
  }
310
321
  }
311
322
  }
312
- }
323
+ }