@chllming/wave-orchestration 0.7.0 → 0.7.1
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 +25 -0
- package/README.md +9 -8
- package/docs/guides/planner.md +19 -0
- package/docs/guides/terminal-surfaces.md +12 -0
- package/docs/plans/current-state.md +1 -1
- 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/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 +24 -2
- package/scripts/wave-orchestrator/agent-state.mjs +11 -2
- package/scripts/wave-orchestrator/control-cli.mjs +112 -19
- package/scripts/wave-orchestrator/dashboard-renderer.mjs +82 -2
- package/scripts/wave-orchestrator/install.mjs +98 -3
- package/scripts/wave-orchestrator/launcher-runtime.mjs +9 -9
- package/scripts/wave-orchestrator/launcher.mjs +88 -1
- package/scripts/wave-orchestrator/terminals.mjs +1 -1
- package/scripts/wave-orchestrator/wave-files.mjs +127 -18
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.7.1 - 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.1` as the current release surface.
|
|
10
|
+
- 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.
|
|
11
|
+
|
|
12
|
+
### Fixed And Hardened
|
|
13
|
+
|
|
14
|
+
- 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.
|
|
15
|
+
- 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.
|
|
16
|
+
- Fixed `reconcile-status` so waves with prior authoritative closure stay complete as `completed_with_drift` when the only mismatch is historical prompt-hash drift.
|
|
17
|
+
- 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.
|
|
18
|
+
- Updated dashboard, CLI reference, and terminal-surface docs to consistently point operators at the shipped `wave dashboard --attach current|global` surface.
|
|
19
|
+
|
|
20
|
+
### Testing And Validation
|
|
21
|
+
|
|
22
|
+
- 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.
|
|
23
|
+
|
|
5
24
|
## 0.7.0 - 2026-03-23
|
|
6
25
|
|
|
7
26
|
### Added
|
|
@@ -41,12 +60,18 @@
|
|
|
41
60
|
- Wave Control storage and queries now support durable Postgres-backed filtering by `workspaceId`, `projectId`, `orchestratorId`, and `runtimeVersion`.
|
|
42
61
|
- Skill resolution description and documentation now accurately reflects the merge-then-resolve code path (base → role → runtime → deploy-kind → explicit).
|
|
43
62
|
- Updated all documentation to reflect `0.7.0` release surface, including the operational runbook, coordination reference, sample waves, and live-proof examples.
|
|
63
|
+
- Dashboard docs and CLI reference now document the stable `wave dashboard --attach current|global` surface instead of older speculative flags.
|
|
64
|
+
- 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.
|
|
65
|
+
- 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
66
|
|
|
45
67
|
### Fixed And Hardened
|
|
46
68
|
|
|
47
69
|
- 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
70
|
- 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
71
|
- 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.
|
|
72
|
+
- Fixed `reconcile-status` so waves with prior authoritative closure stay complete as `completed_with_drift` when the only mismatch is historical prompt-hash drift.
|
|
73
|
+
- 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.
|
|
74
|
+
- 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
75
|
- Hardened proof registry projections from the control-plane so revoked and superseded bundles are excluded from closure evaluation.
|
|
51
76
|
- 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
77
|
- 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.1`
|
|
83
|
+
- Release tag: [`v0.7.1`](https://github.com/chllming/agent-wave-orchestrator/releases/tag/v0.7.1)
|
|
84
84
|
- Public install path: npmjs
|
|
85
85
|
- Authenticated fallback: GitHub Packages
|
|
86
86
|
|
|
87
|
-
Highlights in `0.7.
|
|
87
|
+
Highlights in `0.7.1`:
|
|
88
88
|
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
- Live-
|
|
93
|
-
-
|
|
89
|
+
- Fresh live launches now clear stale auto-generated relaunch plans by default, so explicit wave restarts seed a clean implementation fan-out unless `--resume-control-state` is passed.
|
|
90
|
+
- `wave control status` now treats the active attempt as the authoritative live fan-out instead of replaying stale rerun intent or unrelated closure blockers.
|
|
91
|
+
- `reconcile-status` now preserves previously authoritative completed waves as `completed_with_drift` when the only mismatch is historical prompt-hash drift.
|
|
92
|
+
- Live `launch-preview.json` artifacts now exist for real runs as well as dry-runs, and Codex summaries record observed turn ceilings when the runtime reveals them.
|
|
93
|
+
- Upgrade and operator docs now cover stable dashboard attach, adopted-repo planner corpus migration, and the full `0.7.1` 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
|
|
|
@@ -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.1` 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.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This is a showcase-first sample wave.
|
|
4
4
|
|
|
5
|
-
Use it as the single reference example for the current `0.7.
|
|
5
|
+
Use it as the single reference example for the current `0.7.1` Wave surface.
|
|
6
6
|
|
|
7
7
|
It intentionally combines more sections than a normal production wave so one file can demonstrate:
|
|
8
8
|
|
package/docs/plans/migration.md
CHANGED
|
@@ -22,6 +22,32 @@ GitHub Packages remains available as an authenticated fallback path, and maintai
|
|
|
22
22
|
- Fresh `wave init` seeds the starter `skills/` library. `wave init --adopt-existing` records existing repo-owned skill bundles when they are already present, but does not replace or rewrite them.
|
|
23
23
|
- The current runtime expects the post-roadmap model: typed coordination, compiled inboxes, `A8` integration, staged closure, orchestrator-first clarification, and operational runtime policy.
|
|
24
24
|
|
|
25
|
+
## Upgrading From 0.6.x To 0.7.1
|
|
26
|
+
|
|
27
|
+
Read `CHANGELOG.md` first, then treat this section as the repo-owned migration checklist for adopted `0.6.x` workspaces.
|
|
28
|
+
|
|
29
|
+
`wave upgrade` updates the installed runtime only. It does not copy planner starter files into a repo that already owns its docs, skills, and Context7 bundles.
|
|
30
|
+
|
|
31
|
+
`0.7.1` also hardens run-control behavior for manual relaunches: fresh live starts clear stale auto-generated relaunch plans by default unless `--resume-control-state` is passed, and `wave control status` now treats the active attempt as the authoritative live fan-out while that attempt is running.
|
|
32
|
+
|
|
33
|
+
### Required Repo Changes
|
|
34
|
+
|
|
35
|
+
If the repo adopted Wave before the planner corpus became a tracked required surface, sync:
|
|
36
|
+
|
|
37
|
+
- `docs/agents/wave-planner-role.md`
|
|
38
|
+
- `skills/role-planner/`
|
|
39
|
+
- `docs/context7/planner-agent/`
|
|
40
|
+
- `docs/reference/wave-planning-lessons.md`
|
|
41
|
+
- the `planner-agentic` bundle entry in `docs/context7/bundles.json`
|
|
42
|
+
|
|
43
|
+
### Recommended Upgrade Validation
|
|
44
|
+
|
|
45
|
+
After syncing those repo-owned files:
|
|
46
|
+
|
|
47
|
+
1. Run `pnpm exec wave doctor`.
|
|
48
|
+
2. Run `pnpm exec wave launch --lane main --dry-run --no-dashboard`.
|
|
49
|
+
3. Use `pnpm exec wave dashboard --lane <lane> --attach current` or `--attach global` when you need to reattach to a live tmux-backed dashboard without reverse-engineering the socket or session name.
|
|
50
|
+
|
|
25
51
|
## Upgrading From 0.5.4 To 0.6.1
|
|
26
52
|
|
|
27
53
|
Read `CHANGELOG.md` first, then treat the rest of this page as the manual repo-owned migration checklist for the `0.6.1` release. `wave upgrade` will update package-owned runtime code only; it will not rewrite the docs, prompts, config, or wave files that your repo already owns.
|
|
@@ -134,6 +134,7 @@ pnpm exec wave launch --lane main --start-wave 0 --end-wave 0 --executor codex -
|
|
|
134
134
|
|
|
135
135
|
- `wave control status` is the read-only projection for "why blocked / why retrying" at wave or agent scope. It returns blocking edges, logical agent state, tasks, dependencies, rerun intent, active proof bundles, and next timers from one materialized control-plane view.
|
|
136
136
|
- `wave control task create|get|list|act` is the operator task surface for blocking requests, blockers, clarification chains, human-input tickets, escalations, and informative handoffs, evidence, claims, and decisions. `wave control status` only treats requests, blockers, clarifications, human-input, escalations, helper assignments, and required dependencies as blocking edges.
|
|
137
|
+
- A fresh live `wave launch --start-wave <n> --end-wave <n>` now clears the previous auto-generated relaunch plan for that wave before selecting the initial implementation fan-out. Pass `--resume-control-state` only when you intentionally want to keep that persisted relaunch selection.
|
|
137
138
|
- `wave control rerun request|get|clear` manages targeted rerun intent under `.tmp/<lane>-wave-launcher/control-plane/` and projects compatible retry overrides under `.tmp/<lane>-wave-launcher/control/`, including selected agents, reuse selectors, invalidated components, and clear or preserve reuse lists.
|
|
138
139
|
- `wave control proof register|get|supersede|revoke` manages authoritative proof bundles in the same control-plane log and projects compatible proof registries under `.tmp/<lane>-wave-launcher/proof/`.
|
|
139
140
|
- `wave control telemetry status|flush` inspects and delivers the local Wave Control event queue. Pass `--no-telemetry` on `wave launch` to disable event publication for a single run.
|
|
@@ -308,13 +309,9 @@ The launcher entrypoint in `scripts/wave-orchestrator/launcher.mjs` now delegate
|
|
|
308
309
|
[claude.md](../reference/runtime-config/claude.md),
|
|
309
310
|
[opencode.md](../reference/runtime-config/opencode.md).
|
|
310
311
|
|
|
311
|
-
##
|
|
312
|
+
## CLI Reference
|
|
312
313
|
|
|
313
|
-
|
|
314
|
-
- `wave benchmark show --case <id>` shows a single case definition.
|
|
315
|
-
- `wave benchmark run --case <id>` executes a local deterministic case.
|
|
316
|
-
- `wave benchmark adapters` lists available external benchmark adapters.
|
|
317
|
-
- `wave benchmark external-list|external-show|external-run|external-pilots` manage external benchmark targets (e.g., SWE-bench Pro).
|
|
314
|
+
For the complete syntax of every command, flag, and subcommand, see [docs/reference/cli-reference.md](../reference/cli-reference.md).
|
|
318
315
|
|
|
319
316
|
## Executor Modes
|
|
320
317
|
|
|
@@ -328,7 +325,7 @@ The launcher entrypoint in `scripts/wave-orchestrator/launcher.mjs` now delegate
|
|
|
328
325
|
- Skills resolve only after that executor choice is known. Runtime-specific skill overlays are regenerated whenever retry-time fallback changes the selected executor.
|
|
329
326
|
- Runtime mix targets are enforced before launch and again before any retry-time fallback reassignment.
|
|
330
327
|
- Fallbacks are declared in profiles or lane policy, can be applied automatically on retry when the next executor is available and still satisfies mix targets, and are recorded in the ledger, integration summary, and traces when used.
|
|
331
|
-
- Generic `budget.minutes` caps per-agent attempt timeouts. Generic `budget.turns` seeds `claude.maxTurns` and `opencode.steps` when executor-specific values are not set; Codex turn ceilings remain external to Wave and show up in preview metadata as opaque when Wave cannot inspect them.
|
|
328
|
+
- Generic `budget.minutes` caps per-agent attempt timeouts. Generic `budget.turns` seeds `claude.maxTurns` and `opencode.steps` when executor-specific values are not set; Codex turn ceilings remain external to Wave and show up in preview metadata as opaque when Wave cannot inspect them, though live previews now record an observed ceiling if the Codex runtime later logs one explicitly.
|
|
332
329
|
- The launcher writes runtime overlay files under `.tmp/<lane>-wave-launcher/executors/`; these should stay ignored and local.
|
|
333
330
|
|
|
334
331
|
Runtime authoring examples:
|