cool-workflow 0.2.1 → 0.2.3

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 (156) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/apps/architecture-review/app.json +1 -1
  4. package/apps/architecture-review-fast/app.json +1 -1
  5. package/apps/end-to-end-golden-path/app.json +1 -1
  6. package/apps/pr-review-fix-ci/app.json +1 -1
  7. package/apps/release-cut/app.json +1 -1
  8. package/apps/research-synthesis/app.json +1 -1
  9. package/dist/cli/dispatch.js +29 -91
  10. package/dist/cli/entry.js +41 -1
  11. package/dist/cli/io.js +6 -2
  12. package/dist/cli/parseargv.js +6 -2
  13. package/dist/core/capability-data.js +271 -0
  14. package/dist/core/capability-table.js +16 -3504
  15. package/dist/core/format/completion.js +68 -0
  16. package/dist/core/format/help.js +50 -8
  17. package/dist/core/format/safe-json.js +73 -0
  18. package/dist/core/format/state-explosion-text.js +1 -1
  19. package/dist/core/multi-agent/candidate-scoring.js +5 -1
  20. package/dist/core/multi-agent/collaboration.js +6 -5
  21. package/dist/core/multi-agent/coordinator.js +9 -8
  22. package/dist/core/multi-agent/runtime.js +4 -4
  23. package/dist/core/multi-agent/topology.js +3 -3
  24. package/dist/core/pipeline/commit-gate.js +2 -1
  25. package/dist/core/pipeline/dispatch.js +18 -4
  26. package/dist/core/pipeline/drive-decide.js +2 -1
  27. package/dist/core/state/migrations.js +16 -1
  28. package/dist/core/state/state-explosion/digest.js +16 -15
  29. package/dist/core/state/state-explosion/graph.js +26 -19
  30. package/dist/core/state/state-explosion/helpers.js +2 -1
  31. package/dist/core/state/state-explosion/report.js +6 -6
  32. package/dist/core/trust/ledger.js +2 -1
  33. package/dist/core/types/execution-backend.js +18 -0
  34. package/dist/core/types/observability.js +7 -0
  35. package/dist/core/util/collate.js +23 -0
  36. package/dist/core/util/numeric-flag.js +40 -0
  37. package/dist/core/version.js +1 -1
  38. package/dist/mcp/server.js +99 -11
  39. package/dist/shell/audit-cli.js +99 -23
  40. package/dist/shell/commit-summary.js +2 -1
  41. package/dist/shell/coordinator-io.js +73 -13
  42. package/dist/shell/dispatch.js +1 -1
  43. package/dist/shell/doctor.js +80 -1
  44. package/dist/shell/drive.js +269 -59
  45. package/dist/shell/eval-text.js +2 -2
  46. package/dist/shell/evidence-reasoning.js +8 -7
  47. package/dist/shell/execution-backend/agent.js +20 -1
  48. package/dist/shell/execution-backend/container.js +4 -1
  49. package/dist/shell/execution-backend/local.js +4 -1
  50. package/dist/shell/execution-backend/registry.js +2 -1
  51. package/dist/shell/execution-backend/types.js +0 -9
  52. package/dist/shell/feedback-cli.js +6 -6
  53. package/dist/shell/fs-atomic.js +232 -30
  54. package/dist/shell/man-cli.js +6 -0
  55. package/dist/shell/metrics-cli.js +2 -1
  56. package/dist/shell/multi-agent-cli.js +367 -323
  57. package/dist/shell/multi-agent-host.js +9 -9
  58. package/dist/shell/multi-agent-operator-ux.js +82 -39
  59. package/dist/shell/node-store.js +10 -4
  60. package/dist/shell/observability.js +13 -12
  61. package/dist/shell/onramp.js +17 -1
  62. package/dist/shell/operator-ux-text.js +24 -23
  63. package/dist/shell/operator-ux.js +22 -20
  64. package/dist/shell/orchestrator.js +49 -38
  65. package/dist/shell/pipeline-cli.js +168 -111
  66. package/dist/shell/reclamation-io.js +16 -5
  67. package/dist/shell/registry-cli.js +19 -17
  68. package/dist/shell/remote-source.js +13 -8
  69. package/dist/shell/report-cli.js +45 -0
  70. package/dist/shell/report.js +4 -2
  71. package/dist/shell/run-registry-io.js +77 -19
  72. package/dist/shell/run-store.js +91 -2
  73. package/dist/shell/scheduling-io.js +12 -13
  74. package/dist/shell/state-cli.js +2 -7
  75. package/dist/shell/state-explosion-cli.js +19 -10
  76. package/dist/shell/topology-io.js +38 -6
  77. package/dist/shell/trust-audit.js +264 -23
  78. package/dist/shell/trust-policy-io.js +1 -1
  79. package/dist/shell/worker-cli.js +41 -29
  80. package/dist/shell/worker-isolation.js +34 -9
  81. package/dist/shell/workflow-app-loader.js +3 -2
  82. package/dist/wiring/capability-table/basics.js +91 -0
  83. package/dist/wiring/capability-table/exec-backend.js +171 -0
  84. package/dist/wiring/capability-table/index.js +42 -0
  85. package/dist/wiring/capability-table/multi-agent.js +630 -0
  86. package/dist/wiring/capability-table/parity.js +467 -0
  87. package/dist/wiring/capability-table/pipeline.js +292 -0
  88. package/dist/wiring/capability-table/registry-core.js +208 -0
  89. package/dist/wiring/capability-table/reporting.js +435 -0
  90. package/dist/wiring/capability-table/scheduling-registry.js +592 -0
  91. package/dist/wiring/capability-table/state.js +181 -0
  92. package/dist/wiring/capability-table/trust-ledger.js +158 -0
  93. package/dist/wiring/capability-table/workflow-apps.js +381 -0
  94. package/docs/agent-delegation-drive.7.md +4 -0
  95. package/docs/candidate-scoring.7.md +1 -1
  96. package/docs/canonical-workflow-apps.7.md +7 -7
  97. package/docs/cli-mcp-parity.7.md +13 -3
  98. package/docs/contract-migration-tooling.7.md +4 -0
  99. package/docs/control-plane-scheduling.7.md +4 -0
  100. package/docs/coordinator-blackboard.7.md +17 -17
  101. package/docs/dogfood-one-real-repo.7.md +11 -11
  102. package/docs/durable-state-and-locking.7.md +24 -0
  103. package/docs/end-to-end-golden-path.7.md +14 -14
  104. package/docs/evidence-adoption-reasoning-chain.7.md +4 -0
  105. package/docs/execution-backends.7.md +4 -0
  106. package/docs/getting-started.md +37 -37
  107. package/docs/index.md +1 -0
  108. package/docs/multi-agent-cli-mcp-surface.7.md +21 -17
  109. package/docs/multi-agent-eval-replay-harness.7.md +17 -13
  110. package/docs/multi-agent-operator-ux.7.md +23 -19
  111. package/docs/multi-agent-runtime-core.7.md +22 -22
  112. package/docs/multi-agent-topologies.7.md +6 -6
  113. package/docs/multi-agent-trust-policy-audit.7.md +11 -11
  114. package/docs/node-snapshot-diff-replay.7.md +4 -0
  115. package/docs/observability-cost-accounting.7.md +4 -0
  116. package/docs/operator-ux.7.md +34 -34
  117. package/docs/pipeline-runner.7.md +4 -4
  118. package/docs/project-index.md +48 -5
  119. package/docs/real-execution-backends.7.md +4 -0
  120. package/docs/release-and-migration.7.md +5 -1
  121. package/docs/release-tooling.7.md +4 -0
  122. package/docs/routines.md +4 -4
  123. package/docs/run-registry-control-plane.7.md +23 -19
  124. package/docs/run-retention-reclamation.7.md +4 -0
  125. package/docs/scheduled-tasks.md +14 -14
  126. package/docs/security-trust-hardening.7.md +43 -13
  127. package/docs/state-explosion-management.7.md +14 -10
  128. package/docs/team-collaboration.7.md +4 -0
  129. package/docs/trust-audit-anchor.7.md +71 -0
  130. package/docs/unix-principles.md +3 -1
  131. package/docs/verifier-gated-commit.7.md +1 -1
  132. package/docs/web-desktop-workbench.7.md +4 -0
  133. package/docs/workflow-app-framework.7.md +13 -13
  134. package/manifest/plugin.manifest.json +1 -1
  135. package/package.json +4 -2
  136. package/scripts/agents/claude-p-agent.js +2 -2
  137. package/scripts/block-unapproved-tag.sh +23 -2
  138. package/scripts/bump-version.js +24 -2
  139. package/scripts/canonical-apps.js +4 -4
  140. package/scripts/children/batch-delegate-child.js +52 -2
  141. package/scripts/dogfood-release.js +1 -1
  142. package/scripts/fake-date-for-reproduction.js +44 -0
  143. package/scripts/golden-path.js +4 -4
  144. package/scripts/purity-baseline.json +71 -0
  145. package/scripts/purity-gate.js +239 -0
  146. package/scripts/release-check.js +8 -1
  147. package/scripts/release-flow.js +57 -1
  148. package/scripts/verdict-keygen.js +83 -0
  149. package/scripts/verify-bump-reproduction.sh +148 -0
  150. package/scripts/verify-verdict-signature.js +61 -0
  151. package/scripts/version-sync-check.js +33 -12
  152. package/skills/cool-workflow/SKILL.md +9 -9
  153. package/skills/cool-workflow/references/commands.md +89 -88
  154. package/ui/workbench/app.css +37 -1
  155. package/ui/workbench/app.js +124 -6
  156. package/workflows/README.md +19 -0
@@ -36,26 +36,26 @@ needs evidence, with the `readonly` sandbox profile.
36
36
  The runner runs the same public commands that an operator would use:
37
37
 
38
38
  ```bash
39
- node scripts/cw.js app validate end-to-end-golden-path
40
- node scripts/cw.js plan end-to-end-golden-path --repo <tmp> --question "..."
41
- node scripts/cw.js dispatch <run-id> --limit 1 --sandbox readonly
42
- node scripts/cw.js worker manifest <run-id> <worker-id>
43
- node scripts/cw.js worker output <run-id> <worker-id> <result.md>
44
- node scripts/cw.js candidate register <run-id> --worker <worker-id> --id golden-candidate
45
- node scripts/cw.js candidate score <run-id> golden-candidate \
39
+ cw app validate end-to-end-golden-path
40
+ cw plan end-to-end-golden-path --repo <tmp> --question "..."
41
+ cw dispatch <run-id> --limit 1 --sandbox readonly
42
+ cw worker manifest <run-id> <worker-id>
43
+ cw worker output <run-id> <worker-id> <result.md>
44
+ cw candidate register <run-id> --worker <worker-id> --id golden-candidate
45
+ cw candidate score <run-id> golden-candidate \
46
46
  --criterion correctness=4 \
47
47
  --criterion evidence=4 \
48
48
  --criterion fit=2 \
49
49
  --maxTotal 10 \
50
50
  --evidence <file:line>
51
- node scripts/cw.js candidate rank <run-id>
52
- node scripts/cw.js candidate select <run-id> golden-candidate --reason "golden path verified"
53
- node scripts/cw.js commit <run-id> --selection <selection-id> \
51
+ cw candidate rank <run-id>
52
+ cw candidate select <run-id> golden-candidate --reason "golden path verified"
53
+ cw commit <run-id> --selection <selection-id> \
54
54
  --reason "golden path verifier-gated commit"
55
- node scripts/cw.js report <run-id>
56
- node scripts/cw.js status <run-id>
57
- node scripts/cw.js graph <run-id>
58
- node scripts/cw.js report <run-id> --show
55
+ cw report <run-id>
56
+ cw status <run-id>
57
+ cw graph <run-id>
58
+ cw report <run-id> --show
59
59
  ```
60
60
 
61
61
  After dispatch, the script reads the worker manifest it made, and writes a
@@ -321,3 +321,7 @@ _No behavioral change in v0.1.89 (CLI-surface golden-path + help-output fixes on
321
321
  0.2.0
322
322
 
323
323
  0.2.1
324
+
325
+ 0.2.2
326
+
327
+ 0.2.3
@@ -351,3 +351,7 @@ _No behavioral change in v0.1.89 (CLI-surface golden-path + help-output fixes on
351
351
  0.2.0
352
352
 
353
353
  0.2.1
354
+
355
+ 0.2.2
356
+
357
+ 0.2.3
@@ -6,7 +6,7 @@ Start from a new clone:
6
6
  cd plugins/cool-workflow
7
7
  npm install
8
8
  npm run build
9
- node scripts/cw.js app list
9
+ cw app list
10
10
  ```
11
11
 
12
12
  ## Check your setup first (`cw doctor`)
@@ -15,10 +15,10 @@ Like `brew doctor`, this names any setup problem and the fix for it before you
15
15
  start a run:
16
16
 
17
17
  ```bash
18
- node scripts/cw.js doctor # human-readable
19
- node scripts/cw.js doctor --json # stable payload for scripts
20
- node scripts/cw.js doctor --onramp # short path for users and code work
21
- node scripts/cw.js doctor --onramp --changed-from origin/main
18
+ cw doctor # human-readable
19
+ cw doctor --json # stable payload for scripts
20
+ cw doctor --onramp # short path for users and code work
21
+ cw doctor --onramp --changed-from origin/main
22
22
  ```
23
23
 
24
24
  It checks the Node version (v18+), whether an agent backend is set up (and its
@@ -47,7 +47,7 @@ tests and guard checks for your current change.
47
47
  Make a run with a canonical workflow app:
48
48
 
49
49
  ```bash
50
- node scripts/cw.js plan release-cut \
50
+ cw plan release-cut \
51
51
  --repo "$PWD" \
52
52
  --version 0.1.25 \
53
53
  --previousVersion 0.1.24 \
@@ -58,37 +58,37 @@ node scripts/cw.js plan release-cut \
58
58
  Use the run id you get back:
59
59
 
60
60
  ```bash
61
- node scripts/cw.js status <run-id>
62
- node scripts/cw.js graph <run-id>
63
- node scripts/cw.js dispatch <run-id> --limit 1 --sandbox readonly
64
- node scripts/cw.js worker summary <run-id>
65
- node scripts/cw.js topology list
66
- node scripts/cw.js topology apply <run-id> map-reduce --task <task-id>
67
- node scripts/cw.js topology summary <run-id>
68
- node scripts/cw.js multi-agent run <run-id> --topology judge-panel --task <task-id>
69
- node scripts/cw.js multi-agent status <run-id>
70
- node scripts/cw.js multi-agent graph <run-id>
71
- node scripts/cw.js multi-agent dependencies <run-id>
72
- node scripts/cw.js multi-agent failures <run-id>
73
- node scripts/cw.js multi-agent evidence <run-id>
74
- node scripts/cw.js multi-agent step <run-id> --sandbox readonly
75
- node scripts/cw.js multi-agent blackboard <run-id> summary
76
- node scripts/cw.js multi-agent score <run-id> <candidate-id> --criterion correctness=1 --evidence <ref>
77
- node scripts/cw.js multi-agent select <run-id> <candidate-id> --reason "verified winner"
78
- node scripts/cw.js multi-agent summary <run-id>
79
- node scripts/cw.js blackboard summary <run-id>
80
- node scripts/cw.js audit summary <run-id>
81
- node scripts/cw.js audit multi-agent <run-id>
82
- node scripts/cw.js audit policy <run-id>
83
- node scripts/cw.js audit blackboard <run-id>
84
- node scripts/cw.js audit judge <run-id>
85
- node scripts/cw.js eval snapshot <run-id> --id <suite-id>
86
- node scripts/cw.js eval replay .cw/evals/<suite-id>/snapshot.json
87
- node scripts/cw.js eval compare .cw/evals/<suite-id>/snapshot.json .cw/evals/<suite-id>/replay-run.json
88
- node scripts/cw.js eval score .cw/evals/<suite-id>/replay-run.json
89
- node scripts/cw.js eval gate .cw/evals/<suite-id>
90
- node scripts/cw.js eval report .cw/evals/<suite-id>/replay-run.json
91
- node scripts/cw.js report <run-id> --show
61
+ cw status <run-id>
62
+ cw graph <run-id>
63
+ cw dispatch <run-id> --limit 1 --sandbox readonly
64
+ cw worker summary <run-id>
65
+ cw topology list
66
+ cw topology apply <run-id> map-reduce --task <task-id>
67
+ cw topology summary <run-id>
68
+ cw multi-agent run <run-id> --topology judge-panel --task <task-id>
69
+ cw multi-agent status <run-id>
70
+ cw multi-agent graph <run-id>
71
+ cw multi-agent dependencies <run-id>
72
+ cw multi-agent failures <run-id>
73
+ cw multi-agent evidence <run-id>
74
+ cw multi-agent step <run-id> --sandbox readonly
75
+ cw multi-agent blackboard <run-id> summary
76
+ cw multi-agent score <run-id> <candidate-id> --criterion correctness=1 --evidence <ref>
77
+ cw multi-agent select <run-id> <candidate-id> --reason "verified winner"
78
+ cw multi-agent summary <run-id>
79
+ cw blackboard summary <run-id>
80
+ cw audit summary <run-id>
81
+ cw audit multi-agent <run-id>
82
+ cw audit policy <run-id>
83
+ cw audit blackboard <run-id>
84
+ cw audit judge <run-id>
85
+ cw eval snapshot <run-id> --id <suite-id>
86
+ cw eval replay .cw/evals/<suite-id>/snapshot.json
87
+ cw eval compare .cw/evals/<suite-id>/snapshot.json .cw/evals/<suite-id>/replay-run.json
88
+ cw eval score .cw/evals/<suite-id>/replay-run.json
89
+ cw eval gate .cw/evals/<suite-id>
90
+ cw eval report .cw/evals/<suite-id>/replay-run.json
91
+ cw report <run-id> --show
92
92
  ```
93
93
 
94
94
  Run the smallest check that fits the change:
package/docs/index.md CHANGED
@@ -49,6 +49,7 @@ advanced pages only when you need those parts.
49
49
  - [Durable State & Locking](durable-state-and-locking.7.md) - atomic writes, fsync durability, and portable file locks.
50
50
  - [Source Context Profiles](source-context-profiles.7.md) - opt-in JSONL source exports for context slimming.
51
51
  - [Security / Trust Hardening](security-trust-hardening.7.md) - audit records, provenance, sandbox attestations, and acceptance rationale.
52
+ - [Trust Audit Anchor](trust-audit-anchor.7.md) - head anchor that makes a cut-off audit-log tail visible.
52
53
  - [State Explosion Management](state-explosion-management.7.md) - summaries, compact graph views, blackboard digests, and stale-aware compaction.
53
54
  - [Evidence Adoption Reasoning Chain](evidence-adoption-reasoning-chain.7.md) - why evidence was adopted or rejected.
54
55
 
@@ -30,21 +30,21 @@ drive a run.
30
30
  Make or join a topology-backed run without starting up workers:
31
31
 
32
32
  ```bash
33
- node scripts/cw.js multi-agent run <run-id> --topology judge-panel --task <task-id>
34
- node scripts/cw.js multi-agent run --app architecture-review --repo /path/to/repo --question "Review this" --topology map-reduce
33
+ cw multi-agent run <run-id> --topology judge-panel --task <task-id>
34
+ cw multi-agent run --app architecture-review --repo /path/to/repo --question "Review this" --topology map-reduce
35
35
  ```
36
36
 
37
37
  Read the joined host status:
38
38
 
39
39
  ```bash
40
- node scripts/cw.js multi-agent status <run-id>
41
- node scripts/cw.js multi-agent status <run-id> --json
40
+ cw multi-agent status <run-id>
41
+ cw multi-agent status <run-id> --json
42
42
  ```
43
43
 
44
44
  Do one deterministic step at a time:
45
45
 
46
46
  ```bash
47
- node scripts/cw.js multi-agent step <run-id> --sandbox readonly
47
+ cw multi-agent step <run-id> --sandbox readonly
48
48
  ```
49
49
 
50
50
  `step` may make a dispatch manifest, get fanin, snapshot the blackboard,
@@ -55,19 +55,19 @@ command. It never starts up agents on its own.
55
55
  Work with the active blackboard when it is clear which one it is:
56
56
 
57
57
  ```bash
58
- node scripts/cw.js multi-agent blackboard <run-id> summary
59
- node scripts/cw.js multi-agent blackboard <run-id> topics
60
- node scripts/cw.js multi-agent blackboard <run-id> post --topic <topic-id> --body "finding" --evidence <ref>
61
- node scripts/cw.js multi-agent blackboard <run-id> add-artifact --topic <topic-id> --kind worker-result --path result.md
62
- node scripts/cw.js multi-agent blackboard <run-id> snapshot
58
+ cw multi-agent blackboard <run-id> summary
59
+ cw multi-agent blackboard <run-id> topics
60
+ cw multi-agent blackboard <run-id> post --topic <topic-id> --body "finding" --evidence <ref>
61
+ cw multi-agent blackboard <run-id> add-artifact --topic <topic-id> --kind worker-result --path result.md
62
+ cw multi-agent blackboard <run-id> snapshot
63
63
  ```
64
64
 
65
65
  Score and select in a clear way:
66
66
 
67
67
  ```bash
68
- node scripts/cw.js multi-agent score <run-id> <candidate-id> --criterion correctness=1 --criterion evidence=1 --evidence <ref>
69
- node scripts/cw.js multi-agent select <run-id> <candidate-id> --score <score-id> --reason "verifier-backed candidate"
70
- node scripts/cw.js commit <run-id> --selection <selection-id> --reason "verified winner"
68
+ cw multi-agent score <run-id> <candidate-id> --criterion correctness=1 --criterion evidence=1 --evidence <ref>
69
+ cw multi-agent select <run-id> <candidate-id> --score <score-id> --reason "verifier-backed candidate"
70
+ cw commit <run-id> --selection <selection-id> --reason "verified winner"
71
71
  ```
72
72
 
73
73
  ## Operator Inspection
@@ -75,10 +75,10 @@ node scripts/cw.js commit <run-id> --selection <selection-id> --reason "verified
75
75
  v0.1.21 adds to the host loop these pointed operator commands:
76
76
 
77
77
  ```bash
78
- node scripts/cw.js multi-agent graph <run-id>
79
- node scripts/cw.js multi-agent dependencies <run-id>
80
- node scripts/cw.js multi-agent failures <run-id>
81
- node scripts/cw.js multi-agent evidence <run-id>
78
+ cw multi-agent graph <run-id>
79
+ cw multi-agent dependencies <run-id>
80
+ cw multi-agent failures <run-id>
81
+ cw multi-agent evidence <run-id>
82
82
  ```
83
83
 
84
84
  The human output is short and ready to use: agent graph, dependencies, failed
@@ -327,3 +327,7 @@ The host-facing surface tracks the CLI golden-path fixes (`cw -q` routing + repo
327
327
  0.2.0
328
328
 
329
329
  0.2.1
330
+
331
+ 0.2.2
332
+
333
+ 0.2.3
@@ -33,26 +33,26 @@ The harness is file-first by design:
33
33
  Create a snapshot from a multi-agent run:
34
34
 
35
35
  ```bash
36
- node scripts/cw.js eval snapshot <run-id> --id <suite-id>
37
- node scripts/cw.js eval snapshot <run-id> --id <suite-id> --json
36
+ cw eval snapshot <run-id> --id <suite-id>
37
+ cw eval snapshot <run-id> --id <suite-id> --json
38
38
  ```
39
39
 
40
40
  Replay without live agents:
41
41
 
42
42
  ```bash
43
- node scripts/cw.js eval replay .cw/evals/<suite-id>/snapshot.json
43
+ cw eval replay .cw/evals/<suite-id>/snapshot.json
44
44
  ```
45
45
 
46
46
  Compare, score, gate, and report:
47
47
 
48
48
  ```bash
49
- node scripts/cw.js eval compare \
49
+ cw eval compare \
50
50
  .cw/evals/<suite-id>/snapshot.json \
51
51
  .cw/evals/<suite-id>/replay-run.json
52
52
 
53
- node scripts/cw.js eval score .cw/evals/<suite-id>/replay-run.json
54
- node scripts/cw.js eval gate .cw/evals/<suite-id>
55
- node scripts/cw.js eval report .cw/evals/<suite-id>/replay-run.json
53
+ cw eval score .cw/evals/<suite-id>/replay-run.json
54
+ cw eval gate .cw/evals/<suite-id>
55
+ cw eval report .cw/evals/<suite-id>/replay-run.json
56
56
  ```
57
57
 
58
58
  `npm run eval:replay` runs the deterministic smoke suite. It is part of
@@ -172,12 +172,12 @@ Use this harness after a topology-backed run gets a score, a selection, and a
172
172
  verifier-gated commit:
173
173
 
174
174
  ```bash
175
- node scripts/cw.js eval snapshot <run-id> --id release-replay
176
- node scripts/cw.js eval replay .cw/evals/release-replay/snapshot.json
177
- node scripts/cw.js eval compare .cw/evals/release-replay/snapshot.json .cw/evals/release-replay/replay-run.json
178
- node scripts/cw.js eval score .cw/evals/release-replay/replay-run.json
179
- node scripts/cw.js eval gate .cw/evals/release-replay
180
- node scripts/cw.js eval report .cw/evals/release-replay/replay-run.json
175
+ cw eval snapshot <run-id> --id release-replay
176
+ cw eval replay .cw/evals/release-replay/snapshot.json
177
+ cw eval compare .cw/evals/release-replay/snapshot.json .cw/evals/release-replay/replay-run.json
178
+ cw eval score .cw/evals/release-replay/replay-run.json
179
+ cw eval gate .cw/evals/release-replay
180
+ cw eval report .cw/evals/release-replay/replay-run.json
181
181
  ```
182
182
 
183
183
  The gate proves the replay finished, graph/dependencies stayed stable,
@@ -353,3 +353,7 @@ _No behavioral change in v0.1.89 (CLI-surface golden-path + help-output fixes on
353
353
  0.2.0
354
354
 
355
355
  0.2.1
356
+
357
+ 0.2.2
358
+
359
+ 0.2.3
@@ -50,28 +50,28 @@ The model is derived from:
50
50
  Use the normal status and report commands for the wide view:
51
51
 
52
52
  ```bash
53
- node scripts/cw.js status <run-id>
54
- node scripts/cw.js graph <run-id>
55
- node scripts/cw.js report <run-id> --show
53
+ cw status <run-id>
54
+ cw graph <run-id>
55
+ cw report <run-id> --show
56
56
  ```
57
57
 
58
58
  Use the focused multi-agent views when the operator needs the process table.
59
59
 
60
60
  ```bash
61
- node scripts/cw.js multi-agent status <run-id>
62
- node scripts/cw.js multi-agent graph <run-id>
63
- node scripts/cw.js multi-agent dependencies <run-id>
64
- node scripts/cw.js multi-agent failures <run-id>
65
- node scripts/cw.js multi-agent evidence <run-id>
61
+ cw multi-agent status <run-id>
62
+ cw multi-agent graph <run-id>
63
+ cw multi-agent dependencies <run-id>
64
+ cw multi-agent failures <run-id>
65
+ cw multi-agent evidence <run-id>
66
66
  ```
67
67
 
68
68
  Every focused command can give deterministic JSON:
69
69
 
70
70
  ```bash
71
- node scripts/cw.js multi-agent status <run-id> --json
72
- node scripts/cw.js multi-agent dependencies <run-id> --json
73
- node scripts/cw.js multi-agent failures <run-id> --format json
74
- node scripts/cw.js multi-agent evidence <run-id> --json
71
+ cw multi-agent status <run-id> --json
72
+ cw multi-agent dependencies <run-id> --json
73
+ cw multi-agent failures <run-id> --format json
74
+ cw multi-agent evidence <run-id> --json
75
75
  ```
76
76
 
77
77
  The compact human output uses six stable panels:
@@ -175,13 +175,13 @@ derived operator model under `summaries.multiAgentOperator`.
175
175
  ## Example Trace
176
176
 
177
177
  ```bash
178
- node scripts/cw.js multi-agent graph "$RUN"
179
- node scripts/cw.js multi-agent dependencies "$RUN" --json
180
- node scripts/cw.js multi-agent failures "$RUN"
181
- node scripts/cw.js multi-agent evidence "$RUN"
182
- node scripts/cw.js audit provenance "$RUN" --candidate "$CANDIDATE"
183
- node scripts/cw.js commit "$RUN" --selection "$SELECTION" --reason "verified winner"
184
- node scripts/cw.js report "$RUN" --show
178
+ cw multi-agent graph "$RUN"
179
+ cw multi-agent dependencies "$RUN" --json
180
+ cw multi-agent failures "$RUN"
181
+ cw multi-agent evidence "$RUN"
182
+ cw audit provenance "$RUN" --candidate "$CANDIDATE"
183
+ cw commit "$RUN" --selection "$SELECTION" --reason "verified winner"
184
+ cw report "$RUN" --show
185
185
  ```
186
186
 
187
187
  The operator can start at an agent membership, follow `depends-on` to its task
@@ -365,3 +365,7 @@ _No behavioral change in v0.1.89 (CLI-surface golden-path + help-output fixes on
365
365
  0.2.0
366
366
 
367
367
  0.2.1
368
+
369
+ 0.2.2
370
+
371
+ 0.2.3
@@ -83,29 +83,29 @@ Fanin does not quietly take missing evidence for required roles.
83
83
  Present dispatch and worker flows are still valid:
84
84
 
85
85
  ```bash
86
- node scripts/cw.js dispatch <run-id> --limit 1 --sandbox readonly
86
+ cw dispatch <run-id> --limit 1 --sandbox readonly
87
87
  ```
88
88
 
89
89
  To tie dispatch to clear multi-agent state:
90
90
 
91
91
  ```bash
92
- node scripts/cw.js multi-agent run <run-id> --id ma-release --objective "release verification"
93
- node scripts/cw.js multi-agent role <run-id> verifier \
92
+ cw multi-agent run <run-id> --id ma-release --objective "release verification"
93
+ cw multi-agent role <run-id> verifier \
94
94
  --multi-agent-run ma-release \
95
95
  --responsibility "verify release evidence" \
96
96
  --required-evidence "release-check log"
97
- node scripts/cw.js multi-agent group <run-id> release-group \
97
+ cw multi-agent group <run-id> release-group \
98
98
  --multi-agent-run ma-release \
99
99
  --phase "Verify" \
100
100
  --task verify:package
101
- node scripts/cw.js multi-agent fanout <run-id> release-fanout \
101
+ cw multi-agent fanout <run-id> release-fanout \
102
102
  --group release-group \
103
103
  --reason "split release verification" \
104
104
  --role verifier \
105
105
  --task verify:package \
106
106
  --limit 1 \
107
107
  --sandbox-choice verifier=readonly
108
- node scripts/cw.js dispatch <run-id> \
108
+ cw dispatch <run-id> \
109
109
  --limit 1 \
110
110
  --sandbox readonly \
111
111
  --multi-agent-run ma-release \
@@ -136,7 +136,7 @@ multi-agent trust audit events.
136
136
  Gather fanin after worker output:
137
137
 
138
138
  ```bash
139
- node scripts/cw.js multi-agent fanin <run-id> release-fanin \
139
+ cw multi-agent fanin <run-id> release-fanin \
140
140
  --group release-group \
141
141
  --fanout release-fanout \
142
142
  --required-role verifier
@@ -151,26 +151,26 @@ missing evidence is a state error, not a quiet success.
151
151
  Use the everyday operator commands:
152
152
 
153
153
  ```bash
154
- node scripts/cw.js status <run-id>
155
- node scripts/cw.js graph <run-id>
156
- node scripts/cw.js report <run-id> --show
157
- node scripts/cw.js audit summary <run-id>
158
- node scripts/cw.js audit provenance <run-id>
154
+ cw status <run-id>
155
+ cw graph <run-id>
156
+ cw report <run-id> --show
157
+ cw audit summary <run-id>
158
+ cw audit provenance <run-id>
159
159
  ```
160
160
 
161
161
  Use the more pointed multi-agent commands:
162
162
 
163
163
  ```bash
164
- node scripts/cw.js multi-agent summary <run-id>
165
- node scripts/cw.js multi-agent summary <run-id> --json
166
- node scripts/cw.js multi-agent graph <run-id>
167
- node scripts/cw.js multi-agent graph <run-id> --json
168
- node scripts/cw.js multi-agent show <run-id> <multi-agent-run-id>
169
- node scripts/cw.js multi-agent role <run-id> <role-id>
170
- node scripts/cw.js multi-agent group <run-id> <group-id>
171
- node scripts/cw.js multi-agent membership <run-id> <membership-id>
172
- node scripts/cw.js multi-agent fanout <run-id> <fanout-id>
173
- node scripts/cw.js multi-agent fanin <run-id> <fanin-id>
164
+ cw multi-agent summary <run-id>
165
+ cw multi-agent summary <run-id> --json
166
+ cw multi-agent graph <run-id>
167
+ cw multi-agent graph <run-id> --json
168
+ cw multi-agent show <run-id> <multi-agent-run-id>
169
+ cw multi-agent role <run-id> <role-id>
170
+ cw multi-agent group <run-id> <group-id>
171
+ cw multi-agent membership <run-id> <membership-id>
172
+ cw multi-agent fanout <run-id> <fanout-id>
173
+ cw multi-agent fanin <run-id> <fanin-id>
174
174
  ```
175
175
 
176
176
  The status and report Multi-Agent panel shows group status, role coverage,
@@ -44,12 +44,12 @@ candidates, selections, commits, and trust audit events.
44
44
  ## CLI
45
45
 
46
46
  ```bash
47
- node scripts/cw.js topology list
48
- node scripts/cw.js topology show map-reduce
49
- node scripts/cw.js topology validate map-reduce
50
- node scripts/cw.js topology apply <run-id> map-reduce --task map:server-api --mapper-count 2
51
- node scripts/cw.js topology summary <run-id>
52
- node scripts/cw.js topology graph <run-id>
47
+ cw topology list
48
+ cw topology show map-reduce
49
+ cw topology validate map-reduce
50
+ cw topology apply <run-id> map-reduce --task map:server-api --mapper-count 2
51
+ cw topology summary <run-id>
52
+ cw topology graph <run-id>
53
53
  ```
54
54
 
55
55
  Apply commands are JSON-first. `summary` and `graph` also give human output
@@ -86,20 +86,20 @@ verifier-gated commit readiness where those gates lean on judge evidence.
86
86
  The commands that are already there still work the same way:
87
87
 
88
88
  ```bash
89
- node scripts/cw.js audit summary <run-id>
90
- node scripts/cw.js audit provenance <run-id>
91
- node scripts/cw.js multi-agent status <run-id>
92
- node scripts/cw.js multi-agent evidence <run-id>
89
+ cw audit summary <run-id>
90
+ cw audit provenance <run-id>
91
+ cw multi-agent status <run-id>
92
+ cw multi-agent evidence <run-id>
93
93
  ```
94
94
 
95
95
  Focused views:
96
96
 
97
97
  ```bash
98
- node scripts/cw.js audit multi-agent <run-id>
99
- node scripts/cw.js audit policy <run-id>
100
- node scripts/cw.js audit role <run-id> <role-id>
101
- node scripts/cw.js audit blackboard <run-id>
102
- node scripts/cw.js audit judge <run-id>
98
+ cw audit multi-agent <run-id>
99
+ cw audit policy <run-id>
100
+ cw audit role <run-id> <role-id>
101
+ cw audit blackboard <run-id>
102
+ cw audit judge <run-id>
103
103
  ```
104
104
 
105
105
  Use `--json` or `--format json` for deterministic machine output.
@@ -121,8 +121,8 @@ Human output has stable panels:
121
121
  so it cannot gate a script. `audit verify` is the gate:
122
122
 
123
123
  ```bash
124
- node scripts/cw.js audit verify <run-id> # exit 1 if the chain is forged
125
- node scripts/cw.js audit verify <run-id> --json
124
+ cw audit verify <run-id> # exit 1 if the chain is forged
125
+ cw audit verify <run-id> --json
126
126
  ```
127
127
 
128
128
  It proves the run's trust-audit hash chain again offline: it works out every event
@@ -186,3 +186,7 @@ _No behavioral change in v0.1.89 (CLI-surface golden-path + help-output fixes on
186
186
  0.2.0
187
187
 
188
188
  0.2.1
189
+
190
+ 0.2.2
191
+
192
+ 0.2.3
@@ -246,3 +246,7 @@ _No behavioral change in v0.1.89 (CLI-surface golden-path + help-output fixes on
246
246
  0.2.0
247
247
 
248
248
  0.2.1
249
+
250
+ 0.2.2
251
+
252
+ 0.2.3