@chllming/wave-orchestration 0.5.3 → 0.6.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.
- package/CHANGELOG.md +53 -3
- package/README.md +81 -506
- package/docs/README.md +53 -0
- package/docs/agents/wave-cont-eval-role.md +36 -0
- package/docs/agents/{wave-evaluator-role.md → wave-cont-qa-role.md} +14 -11
- package/docs/agents/wave-documentation-role.md +1 -1
- package/docs/agents/wave-infra-role.md +1 -1
- package/docs/agents/wave-integration-role.md +3 -3
- package/docs/agents/wave-launcher-role.md +4 -3
- package/docs/agents/wave-security-role.md +40 -0
- package/docs/concepts/context7-vs-skills.md +94 -0
- package/docs/concepts/operating-modes.md +91 -0
- package/docs/concepts/runtime-agnostic-orchestration.md +95 -0
- package/docs/concepts/what-is-a-wave.md +183 -0
- package/docs/evals/README.md +166 -0
- package/docs/evals/benchmark-catalog.json +663 -0
- package/docs/guides/author-and-run-waves.md +135 -0
- package/docs/guides/planner.md +118 -0
- package/docs/guides/terminal-surfaces.md +82 -0
- package/docs/image.png +0 -0
- package/docs/plans/component-cutover-matrix.json +1 -1
- package/docs/plans/component-cutover-matrix.md +1 -1
- package/docs/plans/context7-wave-orchestrator.md +2 -0
- package/docs/plans/current-state.md +29 -1
- package/docs/plans/examples/wave-example-live-proof.md +435 -0
- package/docs/plans/master-plan.md +3 -3
- package/docs/plans/migration.md +46 -3
- package/docs/plans/wave-orchestrator.md +71 -8
- package/docs/plans/waves/wave-0.md +4 -4
- package/docs/reference/live-proof-waves.md +177 -0
- package/docs/reference/migration-0.2-to-0.5.md +26 -19
- package/docs/reference/npmjs-trusted-publishing.md +6 -5
- package/docs/reference/runtime-config/README.md +29 -0
- package/docs/reference/sample-waves.md +87 -0
- package/docs/reference/skills.md +224 -0
- package/docs/research/agent-context-sources.md +130 -11
- package/docs/research/coordination-failure-review.md +266 -0
- package/docs/roadmap.md +164 -564
- package/package.json +3 -2
- package/releases/manifest.json +37 -2
- package/scripts/research/agent-context-archive.mjs +83 -1
- package/scripts/research/manifests/agent-context-expanded-2026-03-22.mjs +811 -0
- package/scripts/wave-orchestrator/adhoc.mjs +1331 -0
- package/scripts/wave-orchestrator/agent-state.mjs +358 -6
- package/scripts/wave-orchestrator/artifact-schemas.mjs +173 -0
- package/scripts/wave-orchestrator/clarification-triage.mjs +10 -3
- package/scripts/wave-orchestrator/config.mjs +65 -12
- package/scripts/wave-orchestrator/context7.mjs +11 -0
- package/scripts/wave-orchestrator/coord-cli.mjs +51 -19
- package/scripts/wave-orchestrator/coordination-store.mjs +26 -4
- package/scripts/wave-orchestrator/coordination.mjs +99 -9
- package/scripts/wave-orchestrator/dashboard-state.mjs +20 -8
- package/scripts/wave-orchestrator/dep-cli.mjs +5 -2
- package/scripts/wave-orchestrator/docs-queue.mjs +8 -2
- package/scripts/wave-orchestrator/evals.mjs +451 -0
- package/scripts/wave-orchestrator/executors.mjs +24 -11
- package/scripts/wave-orchestrator/feedback.mjs +15 -1
- package/scripts/wave-orchestrator/install.mjs +69 -7
- package/scripts/wave-orchestrator/launcher-closure.mjs +281 -0
- package/scripts/wave-orchestrator/launcher-runtime.mjs +334 -0
- package/scripts/wave-orchestrator/launcher.mjs +778 -577
- package/scripts/wave-orchestrator/ledger.mjs +123 -20
- package/scripts/wave-orchestrator/local-executor.mjs +99 -12
- package/scripts/wave-orchestrator/planner.mjs +1463 -0
- package/scripts/wave-orchestrator/project-profile.mjs +190 -0
- package/scripts/wave-orchestrator/replay.mjs +6 -3
- package/scripts/wave-orchestrator/role-helpers.mjs +84 -0
- package/scripts/wave-orchestrator/shared.mjs +77 -11
- package/scripts/wave-orchestrator/skills.mjs +979 -0
- package/scripts/wave-orchestrator/terminals.mjs +16 -0
- package/scripts/wave-orchestrator/traces.mjs +73 -27
- package/scripts/wave-orchestrator/wave-files.mjs +1224 -163
- package/scripts/wave.mjs +20 -0
- package/skills/README.md +202 -0
- package/skills/provider-aws/SKILL.md +117 -0
- package/skills/provider-aws/adapters/claude.md +1 -0
- package/skills/provider-aws/adapters/codex.md +1 -0
- package/skills/provider-aws/references/service-verification.md +39 -0
- package/skills/provider-aws/skill.json +54 -0
- package/skills/provider-custom-deploy/SKILL.md +64 -0
- package/skills/provider-custom-deploy/skill.json +50 -0
- package/skills/provider-docker-compose/SKILL.md +96 -0
- package/skills/provider-docker-compose/adapters/local.md +1 -0
- package/skills/provider-docker-compose/skill.json +53 -0
- package/skills/provider-github-release/SKILL.md +121 -0
- package/skills/provider-github-release/adapters/claude.md +1 -0
- package/skills/provider-github-release/adapters/codex.md +1 -0
- package/skills/provider-github-release/skill.json +55 -0
- package/skills/provider-kubernetes/SKILL.md +143 -0
- package/skills/provider-kubernetes/adapters/claude.md +1 -0
- package/skills/provider-kubernetes/adapters/codex.md +1 -0
- package/skills/provider-kubernetes/references/kubectl-patterns.md +58 -0
- package/skills/provider-kubernetes/skill.json +52 -0
- package/skills/provider-railway/SKILL.md +123 -0
- package/skills/provider-railway/adapters/claude.md +1 -0
- package/skills/provider-railway/adapters/codex.md +1 -0
- package/skills/provider-railway/adapters/local.md +1 -0
- package/skills/provider-railway/adapters/opencode.md +1 -0
- package/skills/provider-railway/references/verification-commands.md +39 -0
- package/skills/provider-railway/skill.json +71 -0
- package/skills/provider-ssh-manual/SKILL.md +97 -0
- package/skills/provider-ssh-manual/skill.json +54 -0
- package/skills/repo-coding-rules/SKILL.md +91 -0
- package/skills/repo-coding-rules/skill.json +34 -0
- package/skills/role-cont-eval/SKILL.md +90 -0
- package/skills/role-cont-eval/adapters/codex.md +1 -0
- package/skills/role-cont-eval/skill.json +36 -0
- package/skills/role-cont-qa/SKILL.md +93 -0
- package/skills/role-cont-qa/adapters/claude.md +1 -0
- package/skills/role-cont-qa/skill.json +36 -0
- package/skills/role-deploy/SKILL.md +96 -0
- package/skills/role-deploy/skill.json +36 -0
- package/skills/role-documentation/SKILL.md +72 -0
- package/skills/role-documentation/skill.json +36 -0
- package/skills/role-implementation/SKILL.md +68 -0
- package/skills/role-implementation/skill.json +36 -0
- package/skills/role-infra/SKILL.md +80 -0
- package/skills/role-infra/skill.json +36 -0
- package/skills/role-integration/SKILL.md +84 -0
- package/skills/role-integration/skill.json +36 -0
- package/skills/role-research/SKILL.md +64 -0
- package/skills/role-research/skill.json +36 -0
- package/skills/role-security/SKILL.md +60 -0
- package/skills/role-security/skill.json +36 -0
- package/skills/runtime-claude/SKILL.md +65 -0
- package/skills/runtime-claude/skill.json +36 -0
- package/skills/runtime-codex/SKILL.md +57 -0
- package/skills/runtime-codex/skill.json +36 -0
- package/skills/runtime-local/SKILL.md +44 -0
- package/skills/runtime-local/skill.json +36 -0
- package/skills/runtime-opencode/SKILL.md +57 -0
- package/skills/runtime-opencode/skill.json +36 -0
- package/skills/wave-core/SKILL.md +114 -0
- package/skills/wave-core/references/marker-syntax.md +62 -0
- package/skills/wave-core/skill.json +35 -0
- package/wave.config.json +61 -5
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
# Wave 14 - Example Full Modern Release Surface
|
|
2
|
+
|
|
3
|
+
This is a showcase-first sample wave.
|
|
4
|
+
|
|
5
|
+
Use it as the single reference example for the current `0.6.0` Wave surface.
|
|
6
|
+
|
|
7
|
+
It intentionally combines more sections than a normal production wave so one file can demonstrate:
|
|
8
|
+
|
|
9
|
+
- standard closure roles (`A0`, `E0`, `A8`, `A9`)
|
|
10
|
+
- `## Eval targets` with delegated and pinned benchmark selection
|
|
11
|
+
- richer `### Executor` blocks, budgets, and sticky retry
|
|
12
|
+
- `### Skills`
|
|
13
|
+
- `### Capabilities`
|
|
14
|
+
- `### Deliverables`
|
|
15
|
+
- `### Exit contract`
|
|
16
|
+
- proof-first live validation with `### Proof artifacts`
|
|
17
|
+
- `## Deploy environments`
|
|
18
|
+
- infra and deploy-verifier specialists
|
|
19
|
+
|
|
20
|
+
This example is intentionally denser than a launch-minimal wave. Its job is to teach the full authored surface in one place.
|
|
21
|
+
|
|
22
|
+
**Commit message**: `Docs: add full modern sample wave`
|
|
23
|
+
|
|
24
|
+
## Component promotions
|
|
25
|
+
|
|
26
|
+
- learning-memory-action-plane: pilot-live
|
|
27
|
+
- executor-abstraction-and-prompt-transport: baseline-proved
|
|
28
|
+
|
|
29
|
+
## Deploy environments
|
|
30
|
+
|
|
31
|
+
- prod: kubernetes default (primary production cluster)
|
|
32
|
+
- staging: custom-deploy (manual preflight and recovery flow)
|
|
33
|
+
|
|
34
|
+
## Eval targets
|
|
35
|
+
|
|
36
|
+
- id: live-proof-fidelity | selection: delegated | benchmark-family: blackboard-fidelity | objective: Preserve machine-visible live proof through summaries, inboxes, and integration closure | threshold: Critical live-proof facts remain visible through final closure
|
|
37
|
+
- id: contradiction-recovery | selection: pinned | benchmarks: claim-conflict-detection,evidence-based-repair | objective: Surface and repair conflicting live claims before PASS | threshold: Material contradictions become explicit repair work before final closure
|
|
38
|
+
- id: silo-escape | selection: delegated | benchmark-family: silo-escape | objective: Reconstruct the correct global state from distributed live and repo evidence | threshold: Integration closure reflects the full cross-agent state instead of partial local views
|
|
39
|
+
|
|
40
|
+
## Context7 defaults
|
|
41
|
+
|
|
42
|
+
- bundle: node-typescript
|
|
43
|
+
- query: "Orchestration state machines, retry policy, summary fidelity, and durable validation for coding agents"
|
|
44
|
+
|
|
45
|
+
## Agent A0: cont-QA
|
|
46
|
+
|
|
47
|
+
### Role prompts
|
|
48
|
+
|
|
49
|
+
- docs/agents/wave-cont-qa-role.md
|
|
50
|
+
|
|
51
|
+
### Executor
|
|
52
|
+
|
|
53
|
+
- id: claude
|
|
54
|
+
- model: claude-sonnet-4-6
|
|
55
|
+
- claude.allowed_tools: Read,Glob
|
|
56
|
+
|
|
57
|
+
### Context7
|
|
58
|
+
|
|
59
|
+
- bundle: none
|
|
60
|
+
|
|
61
|
+
### Prompt
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
Primary goal:
|
|
65
|
+
- Treat live proof as a real closure input, not as a narrative claim.
|
|
66
|
+
|
|
67
|
+
Required context before coding:
|
|
68
|
+
- Read docs/reference/repository-guidance.md.
|
|
69
|
+
- Read docs/research/agent-context-sources.md.
|
|
70
|
+
- Read docs/reference/live-proof-waves.md.
|
|
71
|
+
- Read docs/plans/master-plan.md, docs/plans/current-state.md, and docs/plans/migration.md.
|
|
72
|
+
|
|
73
|
+
Specific expectations:
|
|
74
|
+
- do not PASS unless the declared proof artifacts exist locally
|
|
75
|
+
- do not infer host truth from stale repo-local snapshots
|
|
76
|
+
- rely on the declared proof bundle, integration summary, and doc closure state
|
|
77
|
+
|
|
78
|
+
File ownership (only touch these paths):
|
|
79
|
+
- docs/plans/waves/reviews/wave-14-cont-qa.md
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Agent E0: cont-EVAL
|
|
83
|
+
|
|
84
|
+
### Role prompts
|
|
85
|
+
|
|
86
|
+
- docs/agents/wave-cont-eval-role.md
|
|
87
|
+
|
|
88
|
+
### Executor
|
|
89
|
+
|
|
90
|
+
- id: claude
|
|
91
|
+
- model: claude-sonnet-4-6
|
|
92
|
+
- claude.allowed_tools: Read,Glob
|
|
93
|
+
- claude.output_format: json
|
|
94
|
+
|
|
95
|
+
### Context7
|
|
96
|
+
|
|
97
|
+
- bundle: none
|
|
98
|
+
|
|
99
|
+
### Skills
|
|
100
|
+
|
|
101
|
+
- role-cont-eval
|
|
102
|
+
|
|
103
|
+
### Prompt
|
|
104
|
+
|
|
105
|
+
```text
|
|
106
|
+
Primary goal:
|
|
107
|
+
- Evaluate whether the wave actually preserves, integrates, and repairs distributed live-proof evidence before closure.
|
|
108
|
+
|
|
109
|
+
Required context before coding:
|
|
110
|
+
- Read docs/reference/repository-guidance.md.
|
|
111
|
+
- Read docs/research/agent-context-sources.md.
|
|
112
|
+
- Read docs/evals/README.md.
|
|
113
|
+
- Read docs/reference/live-proof-waves.md.
|
|
114
|
+
- Read docs/plans/master-plan.md, docs/plans/current-state.md, and docs/plans/migration.md.
|
|
115
|
+
|
|
116
|
+
Specific expectations:
|
|
117
|
+
- for delegated targets, choose the smallest benchmark set that genuinely exercises the failure mode
|
|
118
|
+
- for pinned targets, run the exact benchmark ids named in the wave contract
|
|
119
|
+
- record the exact selected target ids and benchmark ids in the append-only report
|
|
120
|
+
|
|
121
|
+
File ownership (only touch these paths):
|
|
122
|
+
- docs/plans/waves/reviews/wave-14-cont-eval.md
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Agent A8: Integration Steward
|
|
126
|
+
|
|
127
|
+
### Role prompts
|
|
128
|
+
|
|
129
|
+
- docs/agents/wave-integration-role.md
|
|
130
|
+
|
|
131
|
+
### Executor
|
|
132
|
+
|
|
133
|
+
- id: claude
|
|
134
|
+
- model: claude-sonnet-4-6
|
|
135
|
+
|
|
136
|
+
### Context7
|
|
137
|
+
|
|
138
|
+
- bundle: none
|
|
139
|
+
|
|
140
|
+
### Capabilities
|
|
141
|
+
|
|
142
|
+
- integration
|
|
143
|
+
- live-proof-reconciliation
|
|
144
|
+
- contradiction-recovery
|
|
145
|
+
- blackboard-fidelity
|
|
146
|
+
|
|
147
|
+
### Prompt
|
|
148
|
+
|
|
149
|
+
```text
|
|
150
|
+
Primary goal:
|
|
151
|
+
- Reconcile repo changes, proof artifacts, infra state, and deploy-verifier evidence into one closure-ready decision.
|
|
152
|
+
|
|
153
|
+
Required context before coding:
|
|
154
|
+
- Read docs/reference/repository-guidance.md.
|
|
155
|
+
- Read docs/research/agent-context-sources.md.
|
|
156
|
+
- Read docs/reference/live-proof-waves.md.
|
|
157
|
+
- Read docs/plans/master-plan.md and docs/plans/current-state.md.
|
|
158
|
+
|
|
159
|
+
Specific expectations:
|
|
160
|
+
- treat missing proof artifacts as blocking
|
|
161
|
+
- prefer explicit follow-up requests over vague warnings
|
|
162
|
+
- call out stale or contradictory live-proof claims
|
|
163
|
+
- use the `cont-EVAL` report and exact benchmark ids as evidence, not as a suggestion
|
|
164
|
+
|
|
165
|
+
File ownership (only touch these paths):
|
|
166
|
+
- .tmp/main-wave-launcher/integration/wave-14.md
|
|
167
|
+
- .tmp/main-wave-launcher/integration/wave-14.json
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
## Agent A9: Documentation Steward
|
|
171
|
+
|
|
172
|
+
### Role prompts
|
|
173
|
+
|
|
174
|
+
- docs/agents/wave-documentation-role.md
|
|
175
|
+
|
|
176
|
+
### Executor
|
|
177
|
+
|
|
178
|
+
- profile: docs-pass
|
|
179
|
+
|
|
180
|
+
### Context7
|
|
181
|
+
|
|
182
|
+
- bundle: none
|
|
183
|
+
|
|
184
|
+
### Prompt
|
|
185
|
+
|
|
186
|
+
```text
|
|
187
|
+
Primary goal:
|
|
188
|
+
- Keep shared-plan docs and release-facing notes aligned with the proof-first live workflow.
|
|
189
|
+
|
|
190
|
+
Required context before coding:
|
|
191
|
+
- Read docs/reference/repository-guidance.md.
|
|
192
|
+
- Read docs/research/agent-context-sources.md.
|
|
193
|
+
- Read docs/reference/live-proof-waves.md.
|
|
194
|
+
- Read docs/plans/master-plan.md, docs/plans/current-state.md, and docs/plans/migration.md.
|
|
195
|
+
|
|
196
|
+
File ownership (only touch these paths):
|
|
197
|
+
- docs/plans/current-state.md
|
|
198
|
+
- docs/plans/master-plan.md
|
|
199
|
+
- docs/plans/migration.md
|
|
200
|
+
- docs/evals/README.md
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
## Agent A1: Runtime And Summary Hardening
|
|
204
|
+
|
|
205
|
+
### Executor
|
|
206
|
+
|
|
207
|
+
- profile: implement-fast
|
|
208
|
+
- model: gpt-5-codex
|
|
209
|
+
- codex.config: model_reasoning_effort=high
|
|
210
|
+
- codex.search: true
|
|
211
|
+
- codex.json: true
|
|
212
|
+
- codex.add_dirs: docs,scripts,test
|
|
213
|
+
- fallbacks: claude, opencode
|
|
214
|
+
- budget.minutes: 45
|
|
215
|
+
|
|
216
|
+
### Context7
|
|
217
|
+
|
|
218
|
+
- bundle: node-typescript
|
|
219
|
+
- query: "Retry orchestration, summary integrity, validation rules, and Vitest coverage for agent systems"
|
|
220
|
+
|
|
221
|
+
### Skills
|
|
222
|
+
|
|
223
|
+
- role-implementation
|
|
224
|
+
- runtime-codex
|
|
225
|
+
- repo-coding-rules
|
|
226
|
+
|
|
227
|
+
### Components
|
|
228
|
+
|
|
229
|
+
- executor-abstraction-and-prompt-transport
|
|
230
|
+
|
|
231
|
+
### Capabilities
|
|
232
|
+
|
|
233
|
+
- status-reconciliation
|
|
234
|
+
- benchmark-integration
|
|
235
|
+
- summary-fidelity
|
|
236
|
+
|
|
237
|
+
### Exit contract
|
|
238
|
+
|
|
239
|
+
- completion: integrated
|
|
240
|
+
- durability: durable
|
|
241
|
+
- proof: integration
|
|
242
|
+
- doc-impact: owned
|
|
243
|
+
|
|
244
|
+
### Deliverables
|
|
245
|
+
|
|
246
|
+
- scripts/wave-orchestrator/launcher.mjs
|
|
247
|
+
- scripts/wave-orchestrator/coordination-store.mjs
|
|
248
|
+
- test/wave-orchestrator/launcher.test.ts
|
|
249
|
+
- test/wave-orchestrator/coordination-store.test.ts
|
|
250
|
+
|
|
251
|
+
### Prompt
|
|
252
|
+
|
|
253
|
+
```text
|
|
254
|
+
Primary goal:
|
|
255
|
+
- Tighten the runtime's handling of retries, summaries, and benchmark-facing evidence so proof-centric closure stays machine-visible.
|
|
256
|
+
|
|
257
|
+
Required context before coding:
|
|
258
|
+
- Read docs/reference/repository-guidance.md.
|
|
259
|
+
- Read docs/research/agent-context-sources.md.
|
|
260
|
+
- Read docs/evals/README.md.
|
|
261
|
+
- Read docs/reference/live-proof-waves.md.
|
|
262
|
+
- Read docs/plans/current-state.md and docs/plans/wave-orchestrator.md.
|
|
263
|
+
|
|
264
|
+
Specific expectations:
|
|
265
|
+
- preserve prompt-hash-based reuse safety
|
|
266
|
+
- keep distributed evidence visible through the shared summary and inbox layers
|
|
267
|
+
- add or update regression coverage for any retry or summary behavior you change
|
|
268
|
+
|
|
269
|
+
File ownership (only touch these paths):
|
|
270
|
+
- scripts/wave-orchestrator/launcher.mjs
|
|
271
|
+
- scripts/wave-orchestrator/coordination-store.mjs
|
|
272
|
+
- test/wave-orchestrator/launcher.test.ts
|
|
273
|
+
- test/wave-orchestrator/coordination-store.test.ts
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
## Agent A6: Learning Plane Live Validation
|
|
277
|
+
|
|
278
|
+
### Executor
|
|
279
|
+
|
|
280
|
+
- id: codex
|
|
281
|
+
- retry-policy: sticky
|
|
282
|
+
- budget.minutes: 30
|
|
283
|
+
- codex.search: true
|
|
284
|
+
- codex.json: true
|
|
285
|
+
|
|
286
|
+
### Context7
|
|
287
|
+
|
|
288
|
+
- bundle: none
|
|
289
|
+
|
|
290
|
+
### Skills
|
|
291
|
+
|
|
292
|
+
- role-infra
|
|
293
|
+
- provider-kubernetes
|
|
294
|
+
- provider-custom-deploy
|
|
295
|
+
|
|
296
|
+
### Components
|
|
297
|
+
|
|
298
|
+
- learning-memory-action-plane
|
|
299
|
+
|
|
300
|
+
### Capabilities
|
|
301
|
+
|
|
302
|
+
- live-proof
|
|
303
|
+
- restart-safety
|
|
304
|
+
- deploy-validation
|
|
305
|
+
|
|
306
|
+
### Exit contract
|
|
307
|
+
|
|
308
|
+
- completion: live
|
|
309
|
+
- durability: durable
|
|
310
|
+
- proof: live
|
|
311
|
+
- doc-impact: owned
|
|
312
|
+
|
|
313
|
+
### Deliverables
|
|
314
|
+
|
|
315
|
+
- docs/plans/waves/reviews/wave-14-live-proof.md
|
|
316
|
+
|
|
317
|
+
### Proof artifacts
|
|
318
|
+
|
|
319
|
+
- path: .tmp/wave-14-learning-proof/learning-dry-run-status.json | kind: live-status | required-for: pilot-live
|
|
320
|
+
- path: .tmp/wave-14-learning-proof/learning-plane-before-restart.json | kind: live-status | required-for: pilot-live
|
|
321
|
+
- path: .tmp/wave-14-learning-proof/learning-plane-after-restart.json | kind: restart-check | required-for: pilot-live
|
|
322
|
+
- path: .tmp/wave-14-learning-proof/learning-vector-manifest.json | kind: manifest | required-for: pilot-live
|
|
323
|
+
|
|
324
|
+
### Prompt
|
|
325
|
+
|
|
326
|
+
```text
|
|
327
|
+
Primary goal:
|
|
328
|
+
- Capture restart-safe learning-plane proof as a local machine-visible bundle and write the review note that closure roles will trust.
|
|
329
|
+
|
|
330
|
+
Required context before coding:
|
|
331
|
+
- Read docs/reference/repository-guidance.md.
|
|
332
|
+
- Read docs/research/agent-context-sources.md.
|
|
333
|
+
- Read docs/reference/live-proof-waves.md.
|
|
334
|
+
- Read docs/plans/current-state.md and docs/plans/wave-orchestrator.md.
|
|
335
|
+
|
|
336
|
+
Operator command sequence:
|
|
337
|
+
- leapctl learning status --json > .tmp/wave-14-learning-proof/learning-plane-before-restart.json
|
|
338
|
+
- leapctl learning dry-run --json > .tmp/wave-14-learning-proof/learning-dry-run-status.json
|
|
339
|
+
- leapctl learning restart --env prod
|
|
340
|
+
- leapctl learning status --json > .tmp/wave-14-learning-proof/learning-plane-after-restart.json
|
|
341
|
+
- leapctl learning manifest --json > .tmp/wave-14-learning-proof/learning-vector-manifest.json
|
|
342
|
+
|
|
343
|
+
Specific expectations:
|
|
344
|
+
- closure only counts when the declared proof artifacts exist locally
|
|
345
|
+
- if live host state and cached state disagree, prefer current control-plane truth and log the discrepancy explicitly
|
|
346
|
+
- if proof arrives after a failed attempt, expect a targeted rerun on the same executor instead of generic fallback
|
|
347
|
+
- post exact artifact paths and machine-visible evidence through coordination instead of assuming closure agents will rediscover host state
|
|
348
|
+
|
|
349
|
+
File ownership (only touch these paths):
|
|
350
|
+
- .tmp/wave-14-learning-proof/
|
|
351
|
+
- docs/plans/waves/reviews/wave-14-live-proof.md
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
## Agent A7: Infra Proof Steward
|
|
355
|
+
|
|
356
|
+
### Role prompts
|
|
357
|
+
|
|
358
|
+
- docs/agents/wave-infra-role.md
|
|
359
|
+
|
|
360
|
+
### Executor
|
|
361
|
+
|
|
362
|
+
- id: opencode
|
|
363
|
+
- opencode.format: json
|
|
364
|
+
- opencode.steps: 12
|
|
365
|
+
|
|
366
|
+
### Context7
|
|
367
|
+
|
|
368
|
+
- bundle: none
|
|
369
|
+
|
|
370
|
+
### Skills
|
|
371
|
+
|
|
372
|
+
- role-infra
|
|
373
|
+
- provider-kubernetes
|
|
374
|
+
|
|
375
|
+
### Prompt
|
|
376
|
+
|
|
377
|
+
```text
|
|
378
|
+
Primary goal:
|
|
379
|
+
- Verify infra and workload identity assumptions around the live proof owner's commands.
|
|
380
|
+
|
|
381
|
+
Required context before coding:
|
|
382
|
+
- Read docs/reference/repository-guidance.md.
|
|
383
|
+
- Read docs/research/agent-context-sources.md.
|
|
384
|
+
- Read docs/reference/live-proof-waves.md.
|
|
385
|
+
|
|
386
|
+
Specific expectations:
|
|
387
|
+
- emit infra markers instead of vague prose
|
|
388
|
+
- call out drift or setup-required states explicitly
|
|
389
|
+
- open targeted follow-up work if the live proof owner depends on unresolved infra setup
|
|
390
|
+
|
|
391
|
+
File ownership (only touch these paths):
|
|
392
|
+
- .tmp/main-wave-launcher/logs/wave-14-a7.log
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
## Agent D1: Deploy Verifier
|
|
396
|
+
|
|
397
|
+
### Role prompts
|
|
398
|
+
|
|
399
|
+
- docs/agents/wave-deploy-verifier-role.md
|
|
400
|
+
|
|
401
|
+
### Executor
|
|
402
|
+
|
|
403
|
+
- id: opencode
|
|
404
|
+
- opencode.format: json
|
|
405
|
+
- opencode.steps: 10
|
|
406
|
+
|
|
407
|
+
### Context7
|
|
408
|
+
|
|
409
|
+
- bundle: none
|
|
410
|
+
|
|
411
|
+
### Skills
|
|
412
|
+
|
|
413
|
+
- role-deploy
|
|
414
|
+
- provider-kubernetes
|
|
415
|
+
- provider-custom-deploy
|
|
416
|
+
|
|
417
|
+
### Prompt
|
|
418
|
+
|
|
419
|
+
```text
|
|
420
|
+
Primary goal:
|
|
421
|
+
- Verify that the rollout associated with the live proof owner is healthy enough to preserve the `pilot-live` claim.
|
|
422
|
+
|
|
423
|
+
Required context before coding:
|
|
424
|
+
- Read docs/reference/repository-guidance.md.
|
|
425
|
+
- Read docs/research/agent-context-sources.md.
|
|
426
|
+
- Read docs/reference/live-proof-waves.md.
|
|
427
|
+
|
|
428
|
+
Specific expectations:
|
|
429
|
+
- use explicit deploy status markers for healthy, failed, or rolled-over states
|
|
430
|
+
- do not sign off on implied host health
|
|
431
|
+
- if rollout evidence is incomplete, leave an explicit deploy-risk trail for integration and cont-QA
|
|
432
|
+
|
|
433
|
+
File ownership (only touch these paths):
|
|
434
|
+
- .tmp/main-wave-launcher/logs/wave-14-d1.log
|
|
435
|
+
```
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
## Near-Term Work
|
|
11
11
|
|
|
12
|
-
- Keep the starter wave, role prompts, and component cutover matrix aligned with the shipped launcher behavior.
|
|
12
|
+
- Keep the starter wave, role prompts, starter skills, and component cutover matrix aligned with the shipped launcher and planner behavior.
|
|
13
13
|
- Expand `wave doctor` and migration guidance around cross-repo adoption, executor availability, and future breaking config changes.
|
|
14
|
-
-
|
|
14
|
+
- Build on the shipped planner foundation with richer starter templates and eventually ad-hoc or forward-replan flows.
|
|
15
15
|
- Extend replay and trace tooling from internal helpers and file-backed artifacts into easier operator workflows, larger historical fixtures, and a public replay surface if it proves stable.
|
|
16
|
-
- Add the remaining roadmap items that are not yet shipped, especially
|
|
16
|
+
- Add the remaining roadmap items that are not yet shipped, especially stronger operating-mode enforcement and better operator workflows around cross-lane dependency tickets.
|
package/docs/plans/migration.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
1. Install the package from npmjs with `pnpm add -D @chllming/wave-orchestration`.
|
|
6
6
|
2. For a fresh repo, run `pnpm exec wave init`.
|
|
7
7
|
3. For a repo that already has Wave config, docs, or waves you want to preserve, run `pnpm exec wave init --adopt-existing`.
|
|
8
|
-
4. Edit `wave.config.json` for the repo's docs, roles, validation rules, executor defaults, and component-cutover matrix paths.
|
|
9
|
-
5. Replace the starter plan docs, sample waves, and component cutover matrix with repository-specific ones.
|
|
8
|
+
4. Edit `wave.config.json` for the repo's docs, roles, validation rules, executor defaults, skill attachment policy, and component-cutover matrix paths.
|
|
9
|
+
5. Replace the starter plan docs, sample waves, starter `skills/` bundles, and component cutover matrix with repository-specific ones.
|
|
10
10
|
6. Configure Context7 bundles for the external libraries that repo actually uses.
|
|
11
11
|
7. Run `pnpm exec wave doctor` and `pnpm exec wave launch --lane main --dry-run --no-dashboard` until validation passes.
|
|
12
12
|
8. Inspect seeded coordination and inbox artifacts with `pnpm exec wave coord show --lane main --wave 0 --dry-run --json` and `pnpm exec wave coord inbox --lane main --wave 0 --agent A1 --dry-run`.
|
|
@@ -18,5 +18,48 @@ GitHub Packages remains available as an authenticated fallback path, and maintai
|
|
|
18
18
|
|
|
19
19
|
- Package upgrades change the runtime behavior in `node_modules`; they do not copy a new starter scaffold into the repo.
|
|
20
20
|
- `wave upgrade` writes `.wave/install-state.json` and `.wave/upgrade-history/*` only.
|
|
21
|
-
- Existing `wave.config.json`, role prompts, plan docs, Context7 bundles, and wave files are never overwritten by the upgrade flow.
|
|
21
|
+
- Existing `wave.config.json`, role prompts, plan docs, `skills/` bundles, Context7 bundles, and wave files are never overwritten by the upgrade flow.
|
|
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.
|
|
22
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
|
+
|
|
25
|
+
## Upgrading From 0.5.4 To 0.6.0
|
|
26
|
+
|
|
27
|
+
Read `CHANGELOG.md` first, then treat the rest of this page as the manual repo-owned migration checklist for the `0.6.0` 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.
|
|
28
|
+
|
|
29
|
+
### Required Repo Changes
|
|
30
|
+
|
|
31
|
+
1. Rename legacy `evaluator` config and prompt terminology to `cont-QA`.
|
|
32
|
+
2. Keep `A0` as the final closure owner that emits both the final verdict and `[wave-gate]`.
|
|
33
|
+
3. Add `E0` only when the wave needs benchmark-driven tuning or service-output evaluation.
|
|
34
|
+
4. Add wave-level `## Eval targets` whenever `cont-EVAL` is present.
|
|
35
|
+
5. Update any starter docs or examples that still describe the pre-`0.6.0` evaluator model.
|
|
36
|
+
|
|
37
|
+
In practice that means checking:
|
|
38
|
+
|
|
39
|
+
- `wave.config.json`
|
|
40
|
+
Remove or rename `roles.evaluator*`, `skills.byRole.evaluator`, and `runtimePolicy.defaultExecutorByRole.evaluator`.
|
|
41
|
+
- `docs/agents/*.md`
|
|
42
|
+
Rename or replace any legacy evaluator prompt files so the repo clearly distinguishes `cont-QA`, `cont-EVAL`, and optional security review.
|
|
43
|
+
- `docs/plans/waves/*.md`
|
|
44
|
+
Update wave agent headings, role prompts, and closure expectations to use `A0` for `cont-QA`, optional `E0` for eval tuning, and optional security review before integration.
|
|
45
|
+
- `docs/reference/` and other operator docs
|
|
46
|
+
Refresh any examples or internal runbooks that still describe one overloaded evaluator role.
|
|
47
|
+
|
|
48
|
+
### Closure And Marker Changes
|
|
49
|
+
|
|
50
|
+
Live `0.6.0` closure is stricter than `0.5.4`.
|
|
51
|
+
|
|
52
|
+
- `cont-EVAL` must leave a report plus a final `[wave-eval]` marker whose `target_ids` exactly matches the wave contract and whose `benchmark_ids` stays within the benchmark catalog.
|
|
53
|
+
- Security review, when present, must leave a report plus a final `[wave-security]` marker.
|
|
54
|
+
- `cont-QA` must leave both the final `Verdict:` line and the final `[wave-gate]` marker.
|
|
55
|
+
- Older evaluator-era or verdict-only artifacts remain replay-readable, but they do not satisfy live completion anymore.
|
|
56
|
+
|
|
57
|
+
### Recommended Upgrade Validation
|
|
58
|
+
|
|
59
|
+
After updating repo-owned files:
|
|
60
|
+
|
|
61
|
+
1. Run `pnpm exec wave doctor`.
|
|
62
|
+
2. Run `pnpm exec wave launch --lane main --dry-run --no-dashboard`.
|
|
63
|
+
3. Use `pnpm exec wave coord show --lane main --wave 0 --dry-run --json` as a read-only inspection path for the coordination state.
|
|
64
|
+
4. Use `pnpm exec wave coord inbox --lane main --wave 0 --agent A1 --dry-run` when you want the launcher to materialize shared-summary and inbox artifacts for review.
|
|
65
|
+
5. If the repo adopts `cont-EVAL`, verify that every live eval wave declares `## Eval targets` and that the benchmark ids exist in `docs/evals/benchmark-catalog.json`.
|