@chllming/wave-orchestration 0.7.0 → 0.7.2
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/CHANGELOG.md +40 -0
- package/README.md +9 -8
- package/docs/guides/planner.md +19 -0
- package/docs/guides/terminal-surfaces.md +12 -0
- package/docs/plans/component-cutover-matrix.json +50 -3
- package/docs/plans/current-state.md +1 -1
- package/docs/plans/end-state-architecture.md +927 -0
- package/docs/plans/examples/wave-example-live-proof.md +1 -1
- package/docs/plans/migration.md +26 -0
- package/docs/plans/wave-orchestrator.md +4 -7
- package/docs/plans/waves/wave-1.md +376 -0
- package/docs/plans/waves/wave-2.md +292 -0
- package/docs/plans/waves/wave-3.md +342 -0
- package/docs/plans/waves/wave-4.md +391 -0
- package/docs/plans/waves/wave-5.md +382 -0
- package/docs/plans/waves/wave-6.md +321 -0
- package/docs/reference/cli-reference.md +547 -0
- package/docs/reference/coordination-and-closure.md +1 -1
- package/docs/reference/npmjs-trusted-publishing.md +2 -2
- package/docs/reference/runtime-config/README.md +2 -2
- package/docs/reference/runtime-config/codex.md +2 -1
- package/docs/reference/sample-waves.md +4 -4
- package/package.json +1 -1
- package/releases/manifest.json +43 -2
- package/scripts/wave-orchestrator/agent-state.mjs +458 -35
- package/scripts/wave-orchestrator/artifact-schemas.mjs +81 -0
- package/scripts/wave-orchestrator/control-cli.mjs +119 -20
- package/scripts/wave-orchestrator/coordination.mjs +11 -10
- package/scripts/wave-orchestrator/dashboard-renderer.mjs +82 -2
- package/scripts/wave-orchestrator/human-input-workflow.mjs +289 -0
- package/scripts/wave-orchestrator/install.mjs +120 -3
- package/scripts/wave-orchestrator/launcher-derived-state.mjs +915 -0
- package/scripts/wave-orchestrator/launcher-gates.mjs +1061 -0
- package/scripts/wave-orchestrator/launcher-retry.mjs +873 -0
- package/scripts/wave-orchestrator/launcher-runtime.mjs +9 -9
- package/scripts/wave-orchestrator/launcher-supervisor.mjs +704 -0
- package/scripts/wave-orchestrator/launcher.mjs +317 -2999
- package/scripts/wave-orchestrator/task-entity.mjs +557 -0
- package/scripts/wave-orchestrator/terminals.mjs +1 -1
- package/scripts/wave-orchestrator/wave-files.mjs +138 -20
- package/scripts/wave-orchestrator/wave-state-reducer.mjs +566 -0
- package/wave.config.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.7.2 - 2026-03-23
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Updated the shipped package metadata, release manifest, README, migration guide, sample-wave docs, and npm publishing runbook to advertise `0.7.2` as the current release surface.
|
|
10
|
+
- Implementation prompts now require incomplete work to stay inside the final proof, doc-delta, and component markers with `state=gap`, and route unresolved issues through `wave coord post` instead of trailing `[wave-gap]` markers.
|
|
11
|
+
|
|
12
|
+
### Fixed And Hardened
|
|
13
|
+
|
|
14
|
+
- Implementation summary parsing now accepts final `[wave-proof]`, `[wave-doc-delta]`, and `[wave-component]` markers when the final structured block is emitted as Markdown list items.
|
|
15
|
+
- Validation now distinguishes missing markers from rejected marker syntax with `invalid-wave-proof-format`, `invalid-doc-delta-format`, and `invalid-wave-component-format`.
|
|
16
|
+
- Proof-centric summary repair now refreshes legacy `.summary.json` files from source logs only when the stored summary is actually missing required proof/doc/component data, preserving valid historical summaries.
|
|
17
|
+
- `reconcile-status` now backfills missing `deliverables` and `proofArtifacts` arrays in older agent summaries before validation, so previously authoritative completed waves can survive summary-schema drift without weakening live closure.
|
|
18
|
+
- Codex launch previews now expose `effectiveTurnLimit` and `effectiveTurnLimitSource`, making unresolved external turn ceilings machine-readable before the runtime later reports an observed limit.
|
|
19
|
+
|
|
20
|
+
## 0.7.1 - 2026-03-23
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Updated the shipped package metadata, release manifest, README, migration guide, sample-wave docs, and npm publishing runbook to advertise `0.7.1` as the current release surface.
|
|
25
|
+
- Clarified the adopted-repo `0.7.x` upgrade path with explicit planner-corpus remediation, stable dashboard reattach guidance, and current-release examples that match the package tag.
|
|
26
|
+
|
|
27
|
+
### Fixed And Hardened
|
|
28
|
+
|
|
29
|
+
- Fresh live launches now clear stale auto-generated relaunch plans by default, with `--resume-control-state` as the explicit opt-in when an operator intentionally wants to preserve prior relaunch intent.
|
|
30
|
+
- Fixed `wave control status` so an already-running attempt remains the authoritative live fan-out instead of letting stale relaunch metadata or unrelated closure blockers dominate the wave-level view.
|
|
31
|
+
- Fixed `reconcile-status` so waves with prior authoritative closure stay complete as `completed_with_drift` when the only mismatch is historical prompt-hash drift.
|
|
32
|
+
- Fixed live executor overlays so `launch-preview.json` is written for real runs as well as dry-runs, and Codex previews record observed turn ceilings when the runtime logs one.
|
|
33
|
+
- Updated dashboard, CLI reference, and terminal-surface docs to consistently point operators at the shipped `wave dashboard --attach current|global` surface.
|
|
34
|
+
|
|
35
|
+
### Testing And Validation
|
|
36
|
+
|
|
37
|
+
- Updated release-surface regression coverage so package metadata, README, changelog, release manifest, migration guidance, and CLI docs all stay aligned on the current release version.
|
|
38
|
+
|
|
5
39
|
## 0.7.0 - 2026-03-23
|
|
6
40
|
|
|
7
41
|
### Added
|
|
@@ -41,12 +75,18 @@
|
|
|
41
75
|
- Wave Control storage and queries now support durable Postgres-backed filtering by `workspaceId`, `projectId`, `orchestratorId`, and `runtimeVersion`.
|
|
42
76
|
- Skill resolution description and documentation now accurately reflects the merge-then-resolve code path (base → role → runtime → deploy-kind → explicit).
|
|
43
77
|
- Updated all documentation to reflect `0.7.0` release surface, including the operational runbook, coordination reference, sample waves, and live-proof examples.
|
|
78
|
+
- Dashboard docs and CLI reference now document the stable `wave dashboard --attach current|global` surface instead of older speculative flags.
|
|
79
|
+
- Upgrade and planner docs now call out the repo-owned planner corpus required by adopted `0.7.x` repos and explain that `wave upgrade` stays non-destructive.
|
|
80
|
+
- Fresh live launches now clear stale auto-generated relaunch plans by default, with an explicit `--resume-control-state` escape hatch when an operator intentionally wants to preserve the previous relaunch selection.
|
|
44
81
|
|
|
45
82
|
### Fixed And Hardened
|
|
46
83
|
|
|
47
84
|
- Fixed executor-profile inheritance so a Claude profile that only overrides `claude.effort` or other scalar runtime fields now keeps the inherited global Claude command and runtime settings instead of nulling them out.
|
|
48
85
|
- Fixed shared promoted-component retries so landed owners stay reusable, stale relaunch plans are invalidated against current sibling ownership, and continuation can advance to the remaining owners without burning another retry on the already-clean agent.
|
|
49
86
|
- Fixed clarification triage so routed follow-up work supersedes stale human escalations, keeps the routed chain blocking through the linked request, and only opens human escalation after orchestrator-side routing is actually exhausted.
|
|
87
|
+
- Fixed `reconcile-status` so waves with prior authoritative closure stay complete as `completed_with_drift` when the only mismatch is historical prompt-hash drift.
|
|
88
|
+
- Fixed live executor overlays so `launch-preview.json` is written for real runs as well as dry-runs, and Codex previews record an observed turn ceiling when the runtime logs one.
|
|
89
|
+
- Fixed `wave control status` so an already-running attempt is treated as the authoritative live fan-out instead of letting stale relaunch metadata or unrelated closure blockers dominate the wave-level view.
|
|
50
90
|
- Hardened proof registry projections from the control-plane so revoked and superseded bundles are excluded from closure evaluation.
|
|
51
91
|
- Hardened the "What The Launcher Writes" path reference to correctly place `run-state.json` at the state root (not under `status/`), and added `control-plane/`, `proof/`, and `control/` directories.
|
|
52
92
|
- Closed 11 documentation-to-code gaps identified by end-to-end audit, including trace contract completeness, skill pack enumeration, benchmark CLI surface, and steward coordination kinds.
|
package/README.md
CHANGED
|
@@ -79,18 +79,18 @@ Wave is built to mitigate those failures with canonical shared state, generated
|
|
|
79
79
|
|
|
80
80
|
Current release:
|
|
81
81
|
|
|
82
|
-
- `@chllming/wave-orchestration@0.7.
|
|
83
|
-
- Release tag: [`v0.7.
|
|
82
|
+
- `@chllming/wave-orchestration@0.7.2`
|
|
83
|
+
- Release tag: [`v0.7.2`](https://github.com/chllming/agent-wave-orchestrator/releases/tag/v0.7.2)
|
|
84
84
|
- Public install path: npmjs
|
|
85
85
|
- Authenticated fallback: GitHub Packages
|
|
86
86
|
|
|
87
|
-
Highlights in `0.7.
|
|
87
|
+
Highlights in `0.7.2`:
|
|
88
88
|
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
89
|
+
- Final implementation markers now parse correctly when agents emit the structured proof/doc/component block as Markdown list items.
|
|
90
|
+
- Runtime validation now distinguishes truly missing markers from malformed marker syntax, so proof-centric failures surface actionable parse errors.
|
|
91
|
+
- Legacy proof-centric summaries repair themselves from source logs only when the stored summary is actually missing required closure markers.
|
|
92
|
+
- Implementation prompts now keep incomplete work inside the required final markers with `state=gap` and route unresolved issues through `wave coord post`.
|
|
93
|
+
- Upgrade and operator docs now cover the full `0.7.2` package surface end to end.
|
|
94
94
|
|
|
95
95
|
Requirements:
|
|
96
96
|
|
|
@@ -181,6 +181,7 @@ codex mcp list
|
|
|
181
181
|
- [docs/guides/terminal-surfaces.md](./docs/guides/terminal-surfaces.md): tmux, VS Code terminal registry, and dry-run surfaces
|
|
182
182
|
- [docs/reference/sample-waves.md](./docs/reference/sample-waves.md): showcase-first authored waves, including a high-fidelity repo-landed rollout example
|
|
183
183
|
- [docs/plans/examples/wave-example-rollout-fidelity.md](./docs/plans/examples/wave-example-rollout-fidelity.md): concrete example of what good wave fidelity looks like for a narrow, closure-ready outcome
|
|
184
|
+
- [docs/reference/cli-reference.md](./docs/reference/cli-reference.md): complete CLI syntax for all commands and flags
|
|
184
185
|
- [docs/plans/wave-orchestrator.md](./docs/plans/wave-orchestrator.md): operator runbook
|
|
185
186
|
- [docs/plans/context7-wave-orchestrator.md](./docs/plans/context7-wave-orchestrator.md): Context7 setup and bundle authoring
|
|
186
187
|
- [docs/reference/runtime-config/README.md](./docs/reference/runtime-config/README.md): executor, runtime, and skill-projection configuration
|
package/docs/guides/planner.md
CHANGED
|
@@ -21,6 +21,25 @@ It reduces repeated setup questions, stores project defaults, and generates wave
|
|
|
21
21
|
- rendered markdown waves in `docs/plans/waves/wave-<n>.md`
|
|
22
22
|
- candidate matrix previews plus canonical component matrix updates on apply
|
|
23
23
|
|
|
24
|
+
## Upgrading Adopted 0.6.x Repos
|
|
25
|
+
|
|
26
|
+
`wave upgrade` updates the installed runtime and records `.wave/install-state.json`, but it does not copy newer planner starter files into an already-adopted repo.
|
|
27
|
+
|
|
28
|
+
If `pnpm exec wave doctor` starts failing after a `0.7.x` upgrade, sync these repo-owned planner surfaces from the packaged release:
|
|
29
|
+
|
|
30
|
+
- `docs/agents/wave-planner-role.md`
|
|
31
|
+
- `skills/role-planner/`
|
|
32
|
+
- `docs/context7/planner-agent/`
|
|
33
|
+
- `docs/reference/wave-planning-lessons.md`
|
|
34
|
+
- the `planner-agentic` bundle entry in `docs/context7/bundles.json`
|
|
35
|
+
|
|
36
|
+
Then rerun:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
pnpm exec wave doctor
|
|
40
|
+
pnpm exec wave launch --lane main --dry-run --no-dashboard
|
|
41
|
+
```
|
|
42
|
+
|
|
24
43
|
## What The Planner Does Not Yet Ship
|
|
25
44
|
|
|
26
45
|
- forward replanning of later waves
|
|
@@ -45,6 +45,17 @@ Use `tmux` when:
|
|
|
45
45
|
|
|
46
46
|
By default the launcher can start per-wave dashboard sessions in tmux.
|
|
47
47
|
|
|
48
|
+
Wave now maintains stable tmux attach targets for both the current-wave dashboard and the global dashboard on the lane socket.
|
|
49
|
+
|
|
50
|
+
Use:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pnpm exec wave dashboard --lane main --attach current
|
|
54
|
+
pnpm exec wave dashboard --lane main --attach global
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Those commands work for both `tmux` and `vscode` terminal surfaces because the live sessions still run on the lane tmux socket.
|
|
58
|
+
|
|
48
59
|
When `--terminal-surface vscode` is active, Wave also maintains a stable current-wave dashboard terminal entry instead of creating a new wave-numbered dashboard attach target for every wave transition.
|
|
49
60
|
|
|
50
61
|
Important flags:
|
|
@@ -63,6 +74,7 @@ Important flags:
|
|
|
63
74
|
- Use `vscode` for local interactive operator work when the temporary terminal registry is useful.
|
|
64
75
|
- Use `tmux` for remote, CI-like, or editor-independent operation.
|
|
65
76
|
- Use `none` only with `--dry-run`.
|
|
77
|
+
- Prefer `wave dashboard --attach current|global` over manual `tmux -L <socket> attach ...` lookups.
|
|
66
78
|
- Pair `--keep-sessions` with incident review or deep debugging, not as a default steady-state mode.
|
|
67
79
|
- Pair `--no-dashboard` with scripted dry-runs or when the board and summaries are sufficient.
|
|
68
80
|
|
|
@@ -23,6 +23,14 @@
|
|
|
23
23
|
{
|
|
24
24
|
"wave": 0,
|
|
25
25
|
"target": "repo-landed"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"wave": 1,
|
|
29
|
+
"target": "baseline-proved"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"wave": 6,
|
|
33
|
+
"target": "pilot-live"
|
|
26
34
|
}
|
|
27
35
|
],
|
|
28
36
|
"proofSurfaces": [
|
|
@@ -38,7 +46,16 @@
|
|
|
38
46
|
"docs/plans/context7-wave-orchestrator.md"
|
|
39
47
|
],
|
|
40
48
|
"currentLevel": "repo-landed",
|
|
41
|
-
"promotions": [
|
|
49
|
+
"promotions": [
|
|
50
|
+
{
|
|
51
|
+
"wave": 3,
|
|
52
|
+
"target": "baseline-proved"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"wave": 6,
|
|
56
|
+
"target": "pilot-live"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
42
59
|
"proofSurfaces": [
|
|
43
60
|
"executor launch specs",
|
|
44
61
|
"runtime overlays",
|
|
@@ -53,7 +70,20 @@
|
|
|
53
70
|
"docs/agents/wave-documentation-role.md"
|
|
54
71
|
],
|
|
55
72
|
"currentLevel": "repo-landed",
|
|
56
|
-
"promotions": [
|
|
73
|
+
"promotions": [
|
|
74
|
+
{
|
|
75
|
+
"wave": 1,
|
|
76
|
+
"target": "baseline-proved"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"wave": 3,
|
|
80
|
+
"target": "baseline-proved"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"wave": 6,
|
|
84
|
+
"target": "pilot-live"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
57
87
|
"proofSurfaces": [
|
|
58
88
|
"structured gate markers",
|
|
59
89
|
"closure sweep",
|
|
@@ -81,7 +111,24 @@
|
|
|
81
111
|
"docs/plans/current-state.md"
|
|
82
112
|
],
|
|
83
113
|
"currentLevel": "repo-landed",
|
|
84
|
-
"promotions": [
|
|
114
|
+
"promotions": [
|
|
115
|
+
{
|
|
116
|
+
"wave": 1,
|
|
117
|
+
"target": "repo-landed"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"wave": 2,
|
|
121
|
+
"target": "baseline-proved"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"wave": 4,
|
|
125
|
+
"target": "pilot-live"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"wave": 5,
|
|
129
|
+
"target": "qa-proved"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
85
132
|
"proofSurfaces": [
|
|
86
133
|
"status summaries",
|
|
87
134
|
"dashboards",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Current State
|
|
2
2
|
|
|
3
|
-
- The starter workspace in this source repo reflects the `0.7.
|
|
3
|
+
- The starter workspace in this source repo reflects the `0.7.2` package release surface.
|
|
4
4
|
- The repository contains the published `@chllming/wave-orchestration` package plus the starter scaffold used by `wave init`.
|
|
5
5
|
- The runtime is package-first and non-destructive for adopting repos: `wave init --adopt-existing` records existing repo-owned plans, waves, prompts, and config without overwriting them, and `wave upgrade` writes only `.wave/install-state.json` plus `.wave/upgrade-history/`.
|
|
6
6
|
- Runtime launch entrypoints now perform a best-effort npmjs version check, cache the result under `.wave/package-update-check.json`, and point operators at `pnpm exec wave self-update` when a newer published package exists.
|