cool-workflow 0.2.2 → 0.2.4
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/apps/architecture-review/app.json +1 -1
- package/apps/architecture-review-fast/app.json +1 -1
- package/apps/end-to-end-golden-path/app.json +1 -1
- package/apps/pr-review-fix-ci/app.json +1 -1
- package/apps/release-cut/app.json +1 -1
- package/apps/research-synthesis/app.json +1 -1
- package/dist/cli/dispatch.js +13 -6
- package/dist/cli/entry.js +41 -1
- package/dist/cli/io.js +12 -22
- package/dist/cli/parseargv.js +1 -0
- package/dist/core/capability-data.js +3 -2
- package/dist/core/format/completion.js +68 -0
- package/dist/core/format/help.js +31 -6
- package/dist/core/format/safe-json.js +73 -0
- package/dist/core/format/state-explosion-text.js +1 -1
- package/dist/core/multi-agent/candidate-scoring.js +5 -1
- package/dist/core/multi-agent/collaboration.js +3 -3
- package/dist/core/multi-agent/coordinator.js +5 -5
- package/dist/core/multi-agent/runtime.js +4 -4
- package/dist/core/multi-agent/topology.js +3 -3
- package/dist/core/pipeline/dispatch.js +18 -4
- package/dist/core/pipeline/drive-decide.js +2 -1
- package/dist/core/state/migrations.js +16 -1
- package/dist/core/state/state-explosion/digest.js +13 -13
- package/dist/core/state/state-explosion/graph.js +17 -11
- package/dist/core/state/state-explosion/report.js +6 -6
- package/dist/core/util/cli-args.js +33 -0
- package/dist/core/util/numeric-flag.js +40 -0
- package/dist/core/version.js +1 -1
- package/dist/mcp/server.js +99 -11
- package/dist/shell/audit-cli.js +57 -25
- package/dist/shell/coordinator-io.js +73 -13
- package/dist/shell/dispatch.js +1 -1
- package/dist/shell/doctor.js +80 -1
- package/dist/shell/drive.js +251 -49
- package/dist/shell/eval-text.js +2 -2
- package/dist/shell/evidence-reasoning.js +4 -4
- package/dist/shell/execution-backend/agent.js +30 -2
- package/dist/shell/execution-backend/container.js +4 -1
- package/dist/shell/execution-backend/local.js +19 -11
- package/dist/shell/feedback-cli.js +6 -6
- package/dist/shell/fs-atomic.js +218 -29
- package/dist/shell/man-cli.js +6 -0
- package/dist/shell/metrics-cli.js +2 -1
- package/dist/shell/multi-agent-cli.js +367 -323
- package/dist/shell/multi-agent-host.js +9 -9
- package/dist/shell/multi-agent-operator-ux.js +80 -38
- package/dist/shell/node-store.js +10 -4
- package/dist/shell/observability.js +1 -1
- package/dist/shell/operator-ux-text.js +22 -22
- package/dist/shell/operator-ux.js +15 -14
- package/dist/shell/orchestrator.js +49 -38
- package/dist/shell/pipeline-cli.js +107 -42
- package/dist/shell/reclamation-io.js +88 -10
- package/dist/shell/registry-cli.js +23 -17
- package/dist/shell/remote-source.js +13 -8
- package/dist/shell/report-cli.js +45 -0
- package/dist/shell/report.js +2 -1
- package/dist/shell/run-registry-io.js +78 -19
- package/dist/shell/run-store.js +74 -2
- package/dist/shell/scheduling-io.js +12 -13
- package/dist/shell/state-cli.js +2 -7
- package/dist/shell/state-explosion-cli.js +17 -9
- package/dist/shell/topology-io.js +36 -5
- package/dist/shell/trust-audit.js +224 -22
- package/dist/shell/trust-policy-io.js +1 -1
- package/dist/shell/worker-cli.js +35 -31
- package/dist/shell/workflow-app-loader.js +67 -1
- package/dist/wiring/capability-table/basics.js +33 -8
- package/dist/wiring/capability-table/exec-backend.js +28 -19
- package/dist/wiring/capability-table/multi-agent.js +187 -180
- package/dist/wiring/capability-table/parity.js +1 -0
- package/dist/wiring/capability-table/pipeline.js +64 -52
- package/dist/wiring/capability-table/registry-core.js +30 -11
- package/dist/wiring/capability-table/reporting.js +147 -106
- package/dist/wiring/capability-table/scheduling-registry.js +201 -167
- package/dist/wiring/capability-table/state.js +59 -51
- package/dist/wiring/capability-table/trust-ledger.js +52 -28
- package/dist/wiring/capability-table/workflow-apps.js +85 -70
- package/docs/agent-delegation-drive.7.md +4 -0
- package/docs/candidate-scoring.7.md +1 -1
- package/docs/canonical-workflow-apps.7.md +7 -7
- package/docs/cli-mcp-parity.7.md +26 -16
- package/docs/contract-migration-tooling.7.md +4 -0
- package/docs/control-plane-scheduling.7.md +4 -0
- package/docs/coordinator-blackboard.7.md +17 -17
- package/docs/dogfood-one-real-repo.7.md +11 -11
- package/docs/durable-state-and-locking.7.md +4 -0
- package/docs/end-to-end-golden-path.7.md +14 -14
- package/docs/evidence-adoption-reasoning-chain.7.md +4 -0
- package/docs/execution-backends.7.md +4 -0
- package/docs/getting-started.md +37 -37
- package/docs/multi-agent-cli-mcp-surface.7.md +21 -17
- package/docs/multi-agent-eval-replay-harness.7.md +17 -13
- package/docs/multi-agent-operator-ux.7.md +23 -19
- package/docs/multi-agent-runtime-core.7.md +22 -22
- package/docs/multi-agent-topologies.7.md +6 -6
- package/docs/multi-agent-trust-policy-audit.7.md +11 -11
- package/docs/node-snapshot-diff-replay.7.md +4 -0
- package/docs/observability-cost-accounting.7.md +4 -0
- package/docs/operator-ux.7.md +34 -34
- package/docs/pipeline-runner.7.md +4 -4
- package/docs/project-index.md +31 -4
- package/docs/real-execution-backends.7.md +4 -0
- package/docs/release-and-migration.7.md +5 -1
- package/docs/release-tooling.7.md +22 -0
- package/docs/routines.md +4 -4
- package/docs/run-registry-control-plane.7.md +23 -19
- package/docs/run-retention-reclamation.7.md +24 -3
- package/docs/scheduled-tasks.md +14 -14
- package/docs/security-trust-hardening.7.md +15 -15
- package/docs/state-explosion-management.7.md +14 -10
- package/docs/team-collaboration.7.md +4 -0
- package/docs/trust-audit-anchor.7.md +4 -0
- package/docs/unix-principles.md +3 -1
- package/docs/verifier-gated-commit.7.md +1 -1
- package/docs/web-desktop-workbench.7.md +4 -0
- package/docs/workflow-app-framework.7.md +13 -13
- package/manifest/plugin.manifest.json +1 -1
- package/package.json +3 -2
- package/scripts/agents/claude-p-agent.js +2 -2
- package/scripts/block-unapproved-tag.sh +42 -6
- package/scripts/bump-version.js +27 -10
- package/scripts/canonical-apps.js +4 -4
- package/scripts/children/batch-delegate-child.js +52 -2
- package/scripts/dogfood-release.js +1 -1
- package/scripts/fake-date-for-reproduction.js +44 -0
- package/scripts/golden-path.js +4 -4
- package/scripts/purity-baseline.json +0 -27
- package/scripts/release-flow.js +194 -13
- package/scripts/release-oneclick.js +407 -0
- package/scripts/verdict-keygen.js +83 -0
- package/scripts/verify-bump-reproduction.sh +148 -0
- package/scripts/verify-verdict-signature.js +61 -0
- package/scripts/version-sync-check.js +39 -22
- package/skills/cool-workflow/SKILL.md +9 -9
- package/skills/cool-workflow/references/commands.md +89 -88
- package/ui/workbench/app.css +37 -1
- package/ui/workbench/app.js +124 -6
|
@@ -54,22 +54,22 @@ commit/checkpoint provenance.
|
|
|
54
54
|
Use the standard operator commands:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
cw status <run-id>
|
|
58
|
+
cw graph <run-id>
|
|
59
|
+
cw report <run-id> --show
|
|
60
|
+
cw worker summary <run-id>
|
|
61
|
+
cw candidate summary <run-id>
|
|
62
|
+
cw feedback summary <run-id>
|
|
63
|
+
cw commit summary <run-id>
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
Inspect trust records:
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
cw audit summary <run-id>
|
|
70
|
+
cw audit provenance <run-id>
|
|
71
|
+
cw audit provenance <run-id> --candidate dogfood-release-0.1.18
|
|
72
|
+
cw audit provenance <run-id> --commit <commit-id>
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
The report tells why the candidate is trusted by showing sandbox profiles,
|
|
@@ -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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
package/docs/getting-started.md
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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:
|
|
@@ -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
|
-
|
|
34
|
-
|
|
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
|
-
|
|
41
|
-
|
|
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
|
-
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
|
@@ -329,3 +329,7 @@ The host-facing surface tracks the CLI golden-path fixes (`cw -q` routing + repo
|
|
|
329
329
|
0.2.1
|
|
330
330
|
|
|
331
331
|
0.2.2
|
|
332
|
+
|
|
333
|
+
0.2.3
|
|
334
|
+
|
|
335
|
+
0.2.4
|
|
@@ -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
|
-
|
|
37
|
-
|
|
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
|
-
|
|
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
|
-
|
|
49
|
+
cw eval compare \
|
|
50
50
|
.cw/evals/<suite-id>/snapshot.json \
|
|
51
51
|
.cw/evals/<suite-id>/replay-run.json
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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,
|
|
@@ -355,3 +355,7 @@ _No behavioral change in v0.1.89 (CLI-surface golden-path + help-output fixes on
|
|
|
355
355
|
0.2.1
|
|
356
356
|
|
|
357
357
|
0.2.2
|
|
358
|
+
|
|
359
|
+
0.2.3
|
|
360
|
+
|
|
361
|
+
0.2.4
|
|
@@ -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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
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
|
|
@@ -367,3 +367,7 @@ _No behavioral change in v0.1.89 (CLI-surface golden-path + help-output fixes on
|
|
|
367
367
|
0.2.1
|
|
368
368
|
|
|
369
369
|
0.2.2
|
|
370
|
+
|
|
371
|
+
0.2.3
|
|
372
|
+
|
|
373
|
+
0.2.4
|
|
@@ -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
|
-
|
|
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
|
-
|
|
93
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
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
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
125
|
-
|
|
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
|