@chllming/wave-orchestration 0.9.0 → 0.9.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/LICENSE.md +21 -0
  3. package/README.md +133 -20
  4. package/docs/README.md +12 -4
  5. package/docs/agents/wave-security-role.md +1 -0
  6. package/docs/architecture/README.md +1498 -0
  7. package/docs/concepts/operating-modes.md +2 -2
  8. package/docs/guides/author-and-run-waves.md +14 -4
  9. package/docs/guides/planner.md +2 -2
  10. package/docs/guides/{recommendations-0.9.0.md → recommendations-0.9.2.md} +8 -7
  11. package/docs/guides/sandboxed-environments.md +158 -0
  12. package/docs/guides/terminal-surfaces.md +14 -12
  13. package/docs/plans/current-state.md +11 -3
  14. package/docs/plans/end-state-architecture.md +3 -1
  15. package/docs/plans/examples/wave-example-design-handoff.md +1 -1
  16. package/docs/plans/examples/wave-example-live-proof.md +1 -1
  17. package/docs/plans/migration.md +70 -19
  18. package/docs/plans/sandbox-end-state-architecture.md +153 -0
  19. package/docs/reference/cli-reference.md +71 -7
  20. package/docs/reference/coordination-and-closure.md +18 -1
  21. package/docs/reference/corridor.md +225 -0
  22. package/docs/reference/github-packages-setup.md +1 -1
  23. package/docs/reference/migration-0.2-to-0.5.md +9 -7
  24. package/docs/reference/npmjs-token-publishing.md +53 -0
  25. package/docs/reference/npmjs-trusted-publishing.md +4 -50
  26. package/docs/reference/package-publishing-flow.md +272 -0
  27. package/docs/reference/runtime-config/README.md +61 -3
  28. package/docs/reference/sample-waves.md +5 -5
  29. package/docs/reference/skills.md +1 -1
  30. package/docs/reference/wave-control.md +358 -27
  31. package/docs/roadmap.md +39 -204
  32. package/package.json +1 -1
  33. package/releases/manifest.json +38 -0
  34. package/scripts/wave-cli-bootstrap.mjs +52 -1
  35. package/scripts/wave-orchestrator/agent-process-runner.mjs +344 -0
  36. package/scripts/wave-orchestrator/agent-state.mjs +0 -1
  37. package/scripts/wave-orchestrator/artifact-schemas.mjs +7 -0
  38. package/scripts/wave-orchestrator/autonomous.mjs +47 -14
  39. package/scripts/wave-orchestrator/closure-engine.mjs +138 -17
  40. package/scripts/wave-orchestrator/config.mjs +199 -3
  41. package/scripts/wave-orchestrator/context7.mjs +231 -29
  42. package/scripts/wave-orchestrator/control-cli.mjs +42 -5
  43. package/scripts/wave-orchestrator/coordination.mjs +14 -0
  44. package/scripts/wave-orchestrator/corridor.mjs +363 -0
  45. package/scripts/wave-orchestrator/dashboard-renderer.mjs +115 -43
  46. package/scripts/wave-orchestrator/derived-state-engine.mjs +44 -4
  47. package/scripts/wave-orchestrator/gate-engine.mjs +126 -38
  48. package/scripts/wave-orchestrator/install.mjs +46 -0
  49. package/scripts/wave-orchestrator/launcher-progress.mjs +91 -0
  50. package/scripts/wave-orchestrator/launcher-runtime.mjs +290 -75
  51. package/scripts/wave-orchestrator/launcher.mjs +201 -53
  52. package/scripts/wave-orchestrator/ledger.mjs +7 -2
  53. package/scripts/wave-orchestrator/planner.mjs +1 -0
  54. package/scripts/wave-orchestrator/projection-writer.mjs +36 -1
  55. package/scripts/wave-orchestrator/provider-runtime.mjs +104 -0
  56. package/scripts/wave-orchestrator/reducer-snapshot.mjs +6 -0
  57. package/scripts/wave-orchestrator/retry-control.mjs +3 -3
  58. package/scripts/wave-orchestrator/retry-engine.mjs +93 -6
  59. package/scripts/wave-orchestrator/role-helpers.mjs +30 -0
  60. package/scripts/wave-orchestrator/session-supervisor.mjs +94 -85
  61. package/scripts/wave-orchestrator/shared.mjs +1 -0
  62. package/scripts/wave-orchestrator/supervisor-cli.mjs +1306 -0
  63. package/scripts/wave-orchestrator/terminals.mjs +12 -32
  64. package/scripts/wave-orchestrator/tmux-adapter.mjs +300 -0
  65. package/scripts/wave-orchestrator/traces.mjs +25 -0
  66. package/scripts/wave-orchestrator/wave-control-client.mjs +14 -1
  67. package/scripts/wave-orchestrator/wave-files.mjs +38 -5
  68. package/scripts/wave.mjs +13 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,63 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.9.2 - 2026-03-29
6
+
7
+ ### Added
8
+
9
+ - A dedicated Corridor reference at `docs/reference/corridor.md` covering `direct`, `broker`, and `hybrid` provider modes, implementation-owned path matching, generated `wave-<n>-corridor.json` artifacts, and the way Corridor can fail closure before integration.
10
+ - Full shipped-surface documentation for owned `wave-control` deployments, including Stack-backed browser access, Wave-managed approval states and provider grants, PATs, service tokens, encrypted per-user credential storage, runtime credential leasing, and the separate `services/wave-control-web` frontend.
11
+ - Starter-surface coverage for the renamed operating guide `docs/guides/recommendations-0.9.2.md`, including install seeding and regression coverage so fresh adopted workspaces receive the current recommendations guide path.
12
+
13
+ ### Changed
14
+
15
+ - Promoted the current packaged surface to `0.9.2` so the documented Corridor, Wave Control auth and security model, release manifest, tracked install-state fixtures, and package publishing docs can be tagged and published cleanly without reusing the existing `0.9.1` npm release and git tag.
16
+ - README, migration guidance, current-state notes, runtime-config docs, coordination docs, roadmap notes, package publishing docs, Wave Control docs, the new Corridor reference, and the tracked install-state fixtures now all point at the `0.9.2` surface and describe the same shipped security and control-plane model consistently.
17
+ - `services/wave-control/README.md` and `docs/reference/wave-control.md` now document the current control-plane contract and the updated `wave-control-web` frontend surface instead of the older narrower auth description.
18
+
19
+ ### Fixed And Hardened
20
+
21
+ - `scripts/wave-orchestrator/install.mjs` now seeds the current linked reference set, including `docs/reference/corridor.md`, `docs/reference/wave-control.md`, and `docs/reference/coordination-and-closure.md`, so fresh `wave init` workspaces do not miss the new release docs.
22
+ - Release-surface fixtures now advance together to `0.9.2`, including `releases/manifest.json`, `.wave/install-state.json`, and the tracked `.wave/upgrade-history/` report for `0.9.1 -> 0.9.2`, which keeps repo-owned validation aligned with the packaged version.
23
+ - The versioned recommendations guide rename now propagates through install coverage, package publishing docs, and release regression checks so future package cuts do not drift from the shipped file name.
24
+
25
+ ### Testing And Validation
26
+
27
+ - `pnpm exec vitest run --config vitest.config.ts test/wave-orchestrator/install.test.ts`
28
+ - `pnpm exec vitest run --config vitest.config.ts test/wave-orchestrator/release-surface.test.ts`
29
+ - `node scripts/wave.mjs doctor --json`
30
+ - `node scripts/wave.mjs launch --lane main --dry-run --no-dashboard`
31
+ - `pnpm test -- test/wave-orchestrator/release-surface.test.ts`
32
+
33
+ ## 0.9.1 - 2026-03-29
34
+
35
+ ### Added
36
+
37
+ - A dedicated sandbox setup guide at `docs/guides/sandboxed-environments.md` covering LEAPclaw/OpenClaw-style short-lived exec sandboxes, Nemoshell, and Docker or containerized operator setups.
38
+ - Starter-surface and install coverage for the renamed recommendations guide `docs/guides/recommendations-0.9.1.md`, plus seeded docs that now point fresh workspaces at the sandbox-safe submit or supervise path.
39
+ - A dedicated Corridor reference at `docs/reference/corridor.md` covering direct, brokered, and hybrid provider modes, owned-path matching, generated security artifacts, and closure-stage blocking behavior.
40
+
41
+ ### Changed
42
+
43
+ - Live agent execution now defaults to detached process runners instead of per-agent tmux execution sessions. Tmux remains an optional dashboard and operator projection surface only, which reduces session churn and lowers memory pressure during wider fan-outs.
44
+ - The sandbox-facing runtime path is now `wave submit`, `wave supervise`, `wave status`, `wave wait`, and `wave attach`, with read-side reconciliation and log-follow attach behavior designed for short-lived clients and long-running daemon ownership.
45
+ - README, migration guidance, current-state notes, runtime-config docs, coordination docs, Wave Control docs, the new Corridor reference, package publishing docs, roadmap notes, install fixtures, and the versioned recommendations guide now all point at the `0.9.1` surface and describe the current authenticated Wave Control plus security surface consistently.
46
+
47
+ ### Fixed And Hardened
48
+
49
+ - Supervisor recovery now relies on run-owned terminal artifacts and finalized progress instead of lane-global completion history, preventing false completion during reruns and improving read-side reconciliation after daemon loss.
50
+ - Multi-wave recovery and terminal attribution now preserve the correct remaining wave range and final active wave, even when launcher progress metadata is partial or missing.
51
+ - Ordinary runs, closure runs, and resident orchestrator runs now all preserve process-runtime metadata for timeout, cleanup, and degraded-run handling, and process-backed resident orchestrators are terminated correctly during final cleanup.
52
+ - Rate-limit retry detection is now attempt-local, closure-role overlap is rejected earlier, custom security-review role paths classify consistently, and explicit terminal-surface choices no longer depend on argv ordering.
53
+ - Agent and launcher execution paths now behave better in constrained sandboxes by avoiding tmux-backed agent execution, preserving configured Codex sandbox defaults, and demoting tmux loss from a liveness authority to projection-only telemetry.
54
+
55
+ ### Testing And Validation
56
+
57
+ - `pnpm test`
58
+ - `pnpm test -- test/wave-orchestrator/release-surface.test.ts test/wave-orchestrator/install.test.ts test/wave-orchestrator/supervisor-cli.test.ts`
59
+ - `node scripts/wave.mjs doctor --json`
60
+ - `node scripts/wave.mjs launch --lane main --dry-run --no-dashboard`
61
+
5
62
  ## 0.9.0 - 2026-03-28
6
63
 
7
64
  ### Added
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 chllming
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Wave Orchestration is my framework for "vibe-coding." It keeps the speed of agentic coding, but makes the runtime, coordination, and context model explicit enough to inspect, replay, and improve.
4
4
 
5
+ Wave is meant to be operated through an agent that uses the Wave runtime, not as a command-first workflow where a human manually drives every step from the shell.
6
+
5
7
  This package also ships with my personal Wave Control endpoint enabled by default. A repo using the packaged defaults will emit project, lane, wave, run, proof, and benchmark metadata to `https://wave-control.up.railway.app/api/v1` unless you actively opt out.
6
8
 
7
9
  The framework does three things:
@@ -53,7 +55,7 @@ The framework does three things:
53
55
  - `wave-state-reducer.mjs`
54
56
  Rebuilds deterministic wave state from canonical inputs for live queries and replay.
55
57
  - `session-supervisor.mjs`
56
- Owns launches, waits, tmux sessions, lock handling, resident orchestrator sessions, and observed `wave_run`, `attempt`, and `agent_run` lifecycle facts.
58
+ Owns detached agent launches, waits, dashboard tmux sessions, lock handling, resident orchestrator sessions, and observed `wave_run`, `attempt`, and `agent_run` lifecycle facts.
57
59
  - `projection-writer.mjs`
58
60
  Persists dashboards, traces, summaries, inboxes, board projections, assignment/dependency snapshots, ledgers, docs queues, and integration/security summaries.
59
61
 
@@ -105,26 +107,29 @@ Wave is built to mitigate those failures with a canonical authority set, generat
105
107
 
106
108
  Current release:
107
109
 
108
- - `@chllming/wave-orchestration@0.9.0`
109
- - Release tag: [`v0.9.0`](https://github.com/chllming/agent-wave-orchestrator/releases/tag/v0.9.0)
110
+ - `@chllming/wave-orchestration@0.9.2`
111
+ - Release tag: [`v0.9.2`](https://github.com/chllming/agent-wave-orchestrator/releases/tag/v0.9.2)
110
112
  - Public install path: npmjs
111
113
  - Authenticated fallback: GitHub Packages
112
114
 
113
- Highlights in `0.9.0`:
115
+ Highlights in `0.9.2`:
114
116
 
115
- - Monorepo repos can now declare `defaultProject` plus `projects.<projectId>` in `wave.config.json`, with project-owned lanes, docs roots, planner defaults, ad-hoc runs, dependency tickets, and launcher state.
116
- - Lane-scoped CLI surfaces now accept `--project`, including launch, autonomous, dashboard, control, coordination, dependencies, ad-hoc runs, proof, retry, feedback, drafting, and benchmarks.
117
- - Wave Control now defaults to `https://wave-control.up.railway.app/api/v1` with `reportMode: "metadata-only"`, and metadata delivery includes `projectId`, `lane`, `wave`, and related benchmark identity by default unless explicitly opted out.
118
- - Release docs, migration guidance, the new monorepo setup guide, the versioned recommendations guide, the manifest, and the tracked install-state fixtures now all point at the `0.9.0` surface.
117
+ - Live agent execution now uses detached process runners by default, which reduces tmux churn and memory pressure during wider orchestration bursts. Tmux is now optional and dashboard-only.
118
+ - The sandbox-safe runtime path is now `wave submit`, `wave supervise`, `wave status`, `wave wait`, and `wave attach`, which behaves better under short-lived exec clients such as LEAPclaw, OpenClaw, and Nemoshell.
119
+ - Supervisor recovery, launcher progress journaling, and exact-context reads are now hardier for multi-wave runs, reruns, and daemon/client loss in containerized or sandboxed environments.
120
+ - Owned Wave Control deployments now support Stack-authenticated browser access, Wave-managed approval states and provider grants, personal access tokens, dedicated service tokens, encrypted per-user credential leasing, and the separate `services/wave-control-web` operator frontend.
121
+ - Corridor is now documented as a first-class security input: it can run direct or through an owned Wave Control broker, materialize per-wave security context on implementation-owned paths, and block closure before integration when fetches fail or matched findings cross the configured threshold.
122
+ - Release docs, migration guidance, runtime-config and closure references, Wave Control docs, the new Corridor reference, the manifest, and the tracked install-state fixtures now all point at the `0.9.2` surface.
119
123
 
120
124
  Requirements:
121
125
 
122
126
  - Node.js 22+
123
127
  - `pnpm`
124
- - `tmux` on `PATH` for dashboarded runs
128
+ - optional: `tmux` on `PATH` for dashboarded runs
125
129
  - at least one executor on `PATH`: `codex`, `claude`, or `opencode`
126
130
  - optional: `CONTEXT7_API_KEY` for launcher-side prefetch
127
- - optional: `WAVE_CONTROL_AUTH_TOKEN` for remote Wave Control reporting
131
+ - optional: `WAVE_API_TOKEN` for owned Wave Control reporting, brokered provider access, and runtime credential leasing
132
+ - compatibility fallback: `WAVE_CONTROL_AUTH_TOKEN`
128
133
 
129
134
  Telemetry defaults:
130
135
 
@@ -133,17 +138,85 @@ Telemetry defaults:
133
138
  - default identity fields include `projectId`, `lane`, `wave`, `runKind`, and related benchmark ids
134
139
  - opt out explicitly with `waveControl.enabled: false`, `waveControl.reportMode: "disabled"`, or `wave launch --no-telemetry`
135
140
 
141
+ Owned Wave Control and security features:
142
+
143
+ - the packaged default endpoint is metadata-first and intentionally rejects provider-broker and credential-leasing routes
144
+ - owned deployments can add the authenticated `wave-control` app surface: Stack-backed browser sign-in, Wave-managed approval states, provider grants, PATs, service tokens, and encrypted per-user credential leasing
145
+ - `externalProviders.corridor` can run in `direct`, `broker`, or `hybrid` mode, writes `.tmp/<lane>-wave-launcher/security/wave-<n>-corridor.json`, and can fail closure on fetch errors or matched blocking findings when `requiredAtClosure` stays enabled
146
+ - see [docs/reference/wave-control.md](./docs/reference/wave-control.md), [docs/reference/corridor.md](./docs/reference/corridor.md), and [docs/reference/coordination-and-closure.md](./docs/reference/coordination-and-closure.md)
147
+
148
+ ## Recommended Setup
149
+
150
+ The easiest way to set up Wave in any repo is:
151
+
152
+ 1. install the package
153
+ 2. point a coding agent at the repo
154
+ 3. paste one setup prompt
155
+
156
+ Use direct CLI commands as a manual fallback, debugging surface, or validation aid. The intended interface is an agent using Wave, not a human memorizing the full command set.
157
+
136
158
  Install into another repo:
137
159
 
138
160
  ```bash
139
161
  pnpm add -D @chllming/wave-orchestration
140
- pnpm exec wave init
141
- pnpm exec wave doctor
142
- pnpm exec wave launch --lane main --dry-run --no-dashboard
143
- pnpm exec wave coord show --lane main --wave 0 --dry-run --json
144
162
  ```
145
163
 
146
- If the repo already has Wave config, plans, or waves you want to keep:
164
+ Then give your coding agent this copy-paste prompt:
165
+
166
+ ```text
167
+ Set up and operate Wave Orchestration in this repository.
168
+
169
+ Start by inspecting the repo before changing anything.
170
+
171
+ Your job:
172
+ - determine whether this should be a fresh setup, an adopt-existing setup, or a migration from an older Wave version
173
+ - understand the repo well enough to recommend a Wave shape instead of guessing
174
+ - decide whether this repo should stay single-project or use monorepo projects with `defaultProject` plus `projects.<projectId>`
175
+ - explain the default telemetry behavior before enabling anything silently:
176
+ - Wave sends project, lane, wave, run, proof, and benchmark metadata to `https://wave-control.up.railway.app/api/v1` by default unless the repo explicitly opts out
177
+ - if this repo should opt out, say exactly how and why
178
+ - decide the right proof and closure posture for this repo:
179
+ - what should count as proof
180
+ - whether `cont-EVAL`, security review, stronger closure roles, or stricter proof artifacts are needed
181
+ - whether non-proof follow-up should remain blocking or be marked soft, stale, or advisory
182
+ - configure Wave for this repo
183
+ - build detailed waves, not vague stubs
184
+ - validate the setup with the normal Wave checks
185
+ - summarize the resulting layout, assumptions, risks, and next recommended waves
186
+
187
+ Rules:
188
+ - inspect first, then change files
189
+ - prefer adopt-existing over destructive rewrites when Wave files or plans already exist
190
+ - ask only the missing high-impact product questions that cannot be inferred from the repo
191
+ - treat commands as implementation tools, not the user-facing interface
192
+
193
+ Required execution flow:
194
+ 1. inspect the repo and determine fresh setup vs adopt-existing vs migration
195
+ 2. install and initialize Wave appropriately
196
+ 3. choose single-project vs monorepo project structure
197
+ 4. configure telemetry intentionally and explain the default
198
+ 5. define proof expectations and closure roles
199
+ 6. draft or refine detailed waves
200
+ 7. run Wave validation
201
+ 8. report what you changed and what the human should review next
202
+
203
+ Validation to run:
204
+ - `pnpm exec wave doctor --json`
205
+ - `pnpm exec wave launch --lane main --dry-run --no-dashboard`
206
+ - `pnpm exec wave control status --lane main --wave 0 --json` if wave 0 exists
207
+
208
+ Useful docs:
209
+ - `README.md`
210
+ - `docs/plans/migration.md`
211
+ - `docs/guides/sandboxed-environments.md`
212
+ - `docs/guides/monorepo-projects.md`
213
+ - `docs/guides/planner.md`
214
+ - `docs/reference/runtime-config/README.md`
215
+ - `docs/reference/corridor.md`
216
+ - `docs/reference/wave-control.md`
217
+ ```
218
+
219
+ If the repo already has Wave config, plans, or waves you want to keep, the agent should generally choose the adopt-existing path:
147
220
 
148
221
  ```bash
149
222
  pnpm exec wave init --adopt-existing
@@ -170,7 +243,41 @@ If a non-resident agent should stay alive and react only to orchestrator-written
170
243
 
171
244
  When runtime launch commands detect a newer npmjs release, Wave prints a non-blocking update notice on stderr. The fast path is `pnpm exec wave self-update`, which updates the dependency, prints the changelog delta, and then records the workspace upgrade report.
172
245
 
173
- ## Common Commands
246
+ ## Sandboxed And Containerized Setups
247
+
248
+ If Wave is running inside LEAPclaw, OpenClaw, Nemoshell, Docker, or another environment where the client shell is short-lived, do not bind the whole run to one blocking `wave launch` or `wave autonomous` process.
249
+
250
+ Use the async supervisor path instead:
251
+
252
+ ```bash
253
+ # Long-lived daemon
254
+ pnpm exec wave supervise --project backend --lane main
255
+
256
+ # Short-lived client
257
+ runId=$(pnpm exec wave submit \
258
+ --project backend \
259
+ --lane main \
260
+ --start-wave 2 \
261
+ --end-wave 2 \
262
+ --no-dashboard \
263
+ --json | jq -r .runId)
264
+
265
+ pnpm exec wave status --run-id "$runId" --project backend --lane main --json
266
+ pnpm exec wave wait --run-id "$runId" --project backend --lane main --timeout-seconds 300 --json
267
+ ```
268
+
269
+ Practical defaults for constrained environments:
270
+
271
+ - set the Codex sandbox mode in `wave.config.json` instead of relying on per-command overrides
272
+ - keep `tmux` optional and use `--no-dashboard` when you do not need a live dashboard
273
+ - preserve `.tmp/` and `.wave/` across container restarts
274
+ - use `wave attach --agent <id>` for log-follow attach when there is no live interactive terminal session
275
+
276
+ For the full setup guidance, read [docs/guides/sandboxed-environments.md](./docs/guides/sandboxed-environments.md).
277
+
278
+ ## Manual Commands
279
+
280
+ These commands are still useful when you want to validate, debug, or inspect the runtime directly. They are not the recommended first-touch onboarding path.
174
281
 
175
282
  ```bash
176
283
  # Save project defaults and draft a new wave
@@ -178,7 +285,7 @@ pnpm exec wave project setup
178
285
  pnpm exec wave draft --wave 1 --template implementation
179
286
 
180
287
  # Run one wave with a real executor
181
- pnpm exec wave launch --lane main --start-wave 0 --end-wave 0 --executor codex --codex-sandbox danger-full-access
288
+ pnpm exec wave launch --lane main --start-wave 0 --end-wave 0 --executor codex
182
289
 
183
290
  # Disable Wave Control reporting for a single launcher run
184
291
  pnpm exec wave launch --lane main --no-telemetry
@@ -190,8 +297,11 @@ pnpm exec wave launch --project backend --lane main --dry-run --no-dashboard
190
297
  pnpm exec wave feedback list --lane main --pending
191
298
  pnpm exec wave dep show --lane main --wave 0 --json
192
299
 
193
- # Run autonomous mode after the wave set is stable
194
- pnpm exec wave autonomous --lane main --executor codex --codex-sandbox danger-full-access
300
+ # Submit a sandbox-safe run from a short-lived client
301
+ pnpm exec wave submit --project backend --lane main --start-wave 2 --end-wave 2 --no-dashboard --json
302
+
303
+ # Run autonomous mode only when the client shell can stay alive for the full run
304
+ pnpm exec wave autonomous --lane main --executor codex
195
305
 
196
306
  # Pull the latest published package and record the workspace upgrade
197
307
  pnpm exec wave self-update
@@ -244,6 +354,7 @@ codex mcp list
244
354
  - [docs/concepts/context7-vs-skills.md](./docs/concepts/context7-vs-skills.md): compiled context, external truth, and repo-owned operating knowledge
245
355
  - [docs/guides/planner.md](./docs/guides/planner.md): `wave project` and `wave draft` workflow
246
356
  - [docs/agents/wave-design-role.md](./docs/agents/wave-design-role.md): standing prompt for the optional pre-implementation design steward
357
+ - [docs/guides/sandboxed-environments.md](./docs/guides/sandboxed-environments.md): recommended setup for LEAPclaw, OpenClaw, Nemoshell, Docker, and other short-lived exec environments
247
358
  - [docs/guides/terminal-surfaces.md](./docs/guides/terminal-surfaces.md): tmux, VS Code terminal registry, and dry-run surfaces
248
359
  - [docs/guides/signal-wrappers.md](./docs/guides/signal-wrappers.md): versioned signal snapshots, wrapper scripts, and long-running-agent ack loops
249
360
  - [docs/reference/sample-waves.md](./docs/reference/sample-waves.md): showcase-first authored waves, including a high-fidelity repo-landed rollout example
@@ -255,7 +366,9 @@ codex mcp list
255
366
  - [docs/plans/architecture-hardening-migration.md](./docs/plans/architecture-hardening-migration.md): historical record of the completed architecture hardening stages
256
367
  - [docs/plans/context7-wave-orchestrator.md](./docs/plans/context7-wave-orchestrator.md): Context7 setup and bundle authoring
257
368
  - [docs/reference/runtime-config/README.md](./docs/reference/runtime-config/README.md): executor, runtime, and skill-projection configuration
258
- - [docs/reference/wave-control.md](./docs/reference/wave-control.md): local-first telemetry contract and Railway control-plane model
369
+ - [docs/reference/corridor.md](./docs/reference/corridor.md): direct, brokered, and hybrid Corridor security context plus closure semantics
370
+ - [docs/reference/wave-control.md](./docs/reference/wave-control.md): local-first telemetry contract, owned deployment model, auth surfaces, and credential/broker routes
371
+ - [docs/reference/package-publishing-flow.md](./docs/reference/package-publishing-flow.md): end-to-end package publishing flow, workflows, and lifecycle scripts
259
372
  - [docs/reference/proof-metrics.md](./docs/reference/proof-metrics.md): README failure cases mapped to concrete telemetry and benchmark evidence
260
373
  - [docs/reference/skills.md](./docs/reference/skills.md): skill bundle format, resolution order, and runtime projection
261
374
  - [docs/research/coordination-failure-review.md](./docs/research/coordination-failure-review.md): MAS failure modes from the research and how Wave responds
package/docs/README.md CHANGED
@@ -38,15 +38,23 @@ The useful path is journey-first:
38
38
  - Setting up multiple projects in one monorepo:
39
39
  Read [guides/monorepo-projects.md](./guides/monorepo-projects.md) for `defaultProject`, `projects.<projectId>`, project-scoped state paths, and telemetry defaults.
40
40
  - Adding an optional pre-implementation design steward:
41
- Read [guides/author-and-run-waves.md](./guides/author-and-run-waves.md), then the standing prompt in [agents/wave-design-role.md](./agents/wave-design-role.md). The shipped `0.9.0` surface includes `role-design` plus `tui-design`, with docs-first design stewards by default and explicit hybrid design stewards when a wave also gives that same agent code ownership.
41
+ Read [guides/author-and-run-waves.md](./guides/author-and-run-waves.md), then the standing prompt in [agents/wave-design-role.md](./agents/wave-design-role.md). The shipped `0.9.2` surface includes `role-design` plus `tui-design`, with docs-first design stewards by default and explicit hybrid design stewards when a wave also gives that same agent code ownership.
42
+ - Running in LEAPclaw, OpenClaw, Nemoshell, Docker, or another short-lived sandbox:
43
+ Read [guides/sandboxed-environments.md](./guides/sandboxed-environments.md) first for the submit or supervise pattern, persistent-state expectations, and dashboard guidance, then use [plans/sandbox-end-state-architecture.md](./plans/sandbox-end-state-architecture.md) for the deeper runtime design.
42
44
  - Want signal-driven automation or long-running watcher loops:
43
45
  Read [guides/signal-wrappers.md](./guides/signal-wrappers.md). It covers the seeded `wave-status.sh` and `wave-watch.sh` wrappers, the versioned signal snapshot files, and the ack-loop contract behind `signal-hygiene`.
44
46
  - Adding a security review pass:
45
- Read [plans/wave-orchestrator.md](./plans/wave-orchestrator.md) and the standing reviewer prompt in [agents/wave-security-role.md](./agents/wave-security-role.md).
47
+ Read [plans/wave-orchestrator.md](./plans/wave-orchestrator.md), the standing reviewer prompt in [agents/wave-security-role.md](./agents/wave-security-role.md), and [reference/corridor.md](./reference/corridor.md) if the lane also wants provider-backed security context.
48
+ - Running or self-hosting the control plane:
49
+ Read [reference/wave-control.md](./reference/wave-control.md) for the local-first telemetry contract plus the owned-deployment auth, broker, PAT, service-token, and credential-leasing model.
50
+ - Using Corridor-backed security context:
51
+ Read [reference/corridor.md](./reference/corridor.md) for the direct, broker, and hybrid modes, then [reference/coordination-and-closure.md](./reference/coordination-and-closure.md) for how Corridor interacts with human security review and closure ordering.
46
52
  - Upgrading an existing repo:
47
53
  Read [plans/migration.md](./plans/migration.md), then review the release notes in [../CHANGELOG.md](../CHANGELOG.md) before running `pnpm exec wave upgrade`.
48
- - Want the practical `0.9.0` operating stance:
49
- Read [guides/recommendations-0.9.0.md](./guides/recommendations-0.9.0.md) for the recommended default around relaxed blocker states, advisory turn budgets, and targeted recovery.
54
+ - Publishing the package:
55
+ Read [reference/package-publishing-flow.md](./reference/package-publishing-flow.md) for the end-to-end release path, the GitHub publish workflows, the lifecycle scripts, and the verification or repair flow.
56
+ - Want the practical `0.9.2` operating stance:
57
+ Read [guides/recommendations-0.9.2.md](./guides/recommendations-0.9.2.md) for the recommended default around relaxed blocker states, advisory turn budgets, and targeted recovery.
50
58
  - Want the concrete runtime module map:
51
59
  Read [plans/end-state-architecture.md](./plans/end-state-architecture.md) for the engine-by-engine architecture and artifact ownership model.
52
60
  - Want the CLI surface map:
@@ -16,6 +16,7 @@ Your job is to review the landed change set before integration closure, identify
16
16
 
17
17
  Operating rules:
18
18
  - Re-read the compiled shared summary, your inbox, the generated wave board projection, and the owned reports before major decisions.
19
+ - If a Corridor artifact path is present in your prompt, read it before final disposition and reconcile its matched findings with your report. Do not ignore a blocking Corridor result without explaining why it is not relevant to the implementation-owned paths for this wave.
19
20
  - Do a threat-model pass before finalizing conclusions. Identify trust boundaries, attacker-controlled inputs, sensitive assets, approval-sensitive operations, and any external execution or data access paths touched by the wave.
20
21
  - Prefer exact findings and exact requested fixes over vague warnings.
21
22
  - Route fixes to the owning agent when the required change is outside your report path.