cool-workflow 0.1.81 → 0.1.83
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 +2 -2
- package/.codex-plugin/plugin.json +4 -4
- package/README.md +125 -121
- 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/candidate-scoring.js +20 -26
- package/dist/capability-core.js +80 -93
- package/dist/capability-registry.js +30 -3
- package/dist/cli.js +12 -1
- package/dist/commit.js +217 -204
- package/dist/coordinator/util.js +6 -9
- package/dist/dispatch.js +11 -3
- package/dist/doctor.js +153 -0
- package/dist/evidence-reasoning.js +4 -1
- package/dist/execution-backend/agent.js +11 -48
- package/dist/execution-backend.js +11 -31
- package/dist/gates.js +48 -0
- package/dist/mcp-server.js +11 -0
- package/dist/multi-agent/helpers.js +6 -10
- package/dist/multi-agent/ids.js +20 -0
- package/dist/multi-agent-eval.js +27 -1
- package/dist/multi-agent-host.js +53 -21
- package/dist/multi-agent-operator-ux.js +2 -1
- package/dist/multi-agent-trust.js +5 -5
- package/dist/node-projection.js +59 -0
- package/dist/node-snapshot.js +8 -18
- package/dist/orchestrator/lifecycle-operations.js +22 -1
- package/dist/orchestrator.js +29 -2
- package/dist/reclamation/hash.js +72 -0
- package/dist/reclamation.js +31 -112
- package/dist/run-registry/queue.js +6 -7
- package/dist/run-registry.js +35 -24
- package/dist/scheduler.js +112 -57
- package/dist/topology.js +25 -4
- package/dist/trust-audit.js +70 -38
- package/dist/validation.js +328 -0
- package/dist/version.js +1 -1
- package/dist/worker-isolation.js +163 -58
- package/docs/agent-delegation-drive.7.md +90 -85
- package/docs/agent-framework.md +33 -32
- package/docs/candidate-scoring.7.md +26 -24
- package/docs/canonical-workflow-apps.7.md +40 -40
- package/docs/capability-topology-registry.7.md +24 -24
- package/docs/cli-mcp-parity.7.md +227 -154
- package/docs/contract-migration-tooling.7.md +49 -41
- package/docs/control-plane-scheduling.7.md +45 -40
- package/docs/coordinator-blackboard.7.md +30 -30
- package/docs/dogfood-one-real-repo.7.md +44 -44
- package/docs/durable-state-and-locking.7.md +35 -30
- package/docs/end-to-end-golden-path.7.md +29 -29
- package/docs/error-feedback.7.md +27 -27
- package/docs/evidence-adoption-reasoning-chain.7.md +63 -58
- package/docs/execution-backends.7.md +84 -79
- package/docs/getting-started.md +35 -18
- package/docs/index.md +3 -3
- package/docs/mcp-app-surface.7.md +64 -64
- package/docs/multi-agent-cli-mcp-surface.7.md +83 -77
- package/docs/multi-agent-eval-replay-harness.7.md +59 -54
- package/docs/multi-agent-operator-ux.7.md +70 -65
- package/docs/multi-agent-runtime-core.7.md +39 -39
- package/docs/multi-agent-topologies.7.md +24 -24
- package/docs/multi-agent-trust-policy-audit.7.md +38 -38
- package/docs/node-snapshot-diff-replay.7.md +26 -21
- package/docs/observability-cost-accounting.7.md +50 -45
- package/docs/operator-ux.7.md +30 -30
- package/docs/pipeline-runner.7.md +31 -31
- package/docs/project-index.md +15 -6
- package/docs/real-execution-backends.7.md +47 -42
- package/docs/release-and-migration.7.md +43 -38
- package/docs/release-tooling.7.md +74 -39
- package/docs/routines.md +16 -16
- package/docs/run-registry-control-plane.7.md +120 -115
- package/docs/run-retention-reclamation.7.md +46 -41
- package/docs/sandbox-profiles.7.md +32 -32
- package/docs/scheduled-tasks.md +14 -14
- package/docs/security-trust-hardening.7.md +29 -29
- package/docs/source-context-profiles.7.md +28 -28
- package/docs/state-explosion-management.7.md +64 -59
- package/docs/state-node.7.md +8 -8
- package/docs/team-collaboration.7.md +63 -58
- package/docs/trust-model.md +126 -126
- package/docs/unix-principles.md +80 -80
- package/docs/vendor-manifest-loadability.7.md +20 -20
- package/docs/verifier-gated-commit.7.md +16 -16
- package/docs/web-desktop-workbench.7.md +70 -65
- package/docs/worker-isolation.7.md +34 -37
- package/docs/workflow-app-framework.7.md +38 -38
- package/manifest/plugin.manifest.json +4 -4
- package/manifest/source-context-profiles.json +1 -1
- package/package.json +3 -2
- package/scripts/canonical-apps.js +4 -4
- package/scripts/children/batch-delegate-child.js +58 -0
- package/scripts/children/http-delegate-child.js +39 -0
- package/scripts/dogfood-release.js +1 -1
- package/scripts/gen-parity-doc.js +106 -0
- package/scripts/golden-path.js +4 -4
- package/scripts/release-flow.js +181 -5
- package/dist/verifier-registry.js +0 -46
package/docs/getting-started.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Getting Started
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Start from a new clone:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
cd plugins/cool-workflow
|
|
@@ -9,7 +9,24 @@ npm run build
|
|
|
9
9
|
node scripts/cw.js app list
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## Check your setup first (`cw doctor`)
|
|
13
|
+
|
|
14
|
+
Like `brew doctor`, this names any setup problem and the fix for it before you
|
|
15
|
+
start a run:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node scripts/cw.js doctor # human-readable
|
|
19
|
+
node scripts/cw.js doctor --json # stable payload for scripts
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
It checks the Node version (v18+), whether an agent backend is set up (and its
|
|
23
|
+
binary is on `$PATH`), whether `git` is there (for commit provenance), and
|
|
24
|
+
whether the home registry and the working-dir `.cw` state are writable. It is
|
|
25
|
+
read-only — it makes nothing on disk. It exits non-zero only on a blocking
|
|
26
|
+
problem; a missing agent is a warning (you are still able to run `demo` and
|
|
27
|
+
`--preview`).
|
|
28
|
+
|
|
29
|
+
Make a run with a canonical workflow app:
|
|
13
30
|
|
|
14
31
|
```bash
|
|
15
32
|
node scripts/cw.js plan release-cut \
|
|
@@ -20,7 +37,7 @@ node scripts/cw.js plan release-cut \
|
|
|
20
37
|
--dryRun true
|
|
21
38
|
```
|
|
22
39
|
|
|
23
|
-
Use the
|
|
40
|
+
Use the run id you get back:
|
|
24
41
|
|
|
25
42
|
```bash
|
|
26
43
|
node scripts/cw.js status <run-id>
|
|
@@ -56,7 +73,7 @@ node scripts/cw.js eval report .cw/evals/<suite-id>/replay-run.json
|
|
|
56
73
|
node scripts/cw.js report <run-id> --show
|
|
57
74
|
```
|
|
58
75
|
|
|
59
|
-
Run the deterministic regression commands:
|
|
76
|
+
Run the deterministic regression commands. They give the same result every time:
|
|
60
77
|
|
|
61
78
|
```bash
|
|
62
79
|
npm run check
|
|
@@ -67,33 +84,33 @@ npm run eval:replay
|
|
|
67
84
|
npm run fixture-compat
|
|
68
85
|
```
|
|
69
86
|
|
|
70
|
-
Before
|
|
87
|
+
Before you cut a release, run the full dry-run gate:
|
|
71
88
|
|
|
72
89
|
```bash
|
|
73
90
|
npm run release:check
|
|
74
91
|
npm run dogfood:release
|
|
75
92
|
```
|
|
76
93
|
|
|
77
|
-
The release check
|
|
94
|
+
The release check does not damage anything. It builds, type-checks, runs tests,
|
|
78
95
|
validates canonical apps and golden path behavior, checks old fixture
|
|
79
|
-
compatibility, verifies docs, runs the dogfood smoke proof, and checks
|
|
80
|
-
|
|
96
|
+
compatibility, verifies docs, runs the dogfood smoke proof, and checks that the
|
|
97
|
+
version numbers are in agreement. It does not tag, push, publish, or rewrite fixture files.
|
|
81
98
|
|
|
82
|
-
`npm run dogfood:release` is the
|
|
99
|
+
`npm run dogfood:release` is the release proof on the real repository. It uses the
|
|
83
100
|
canonical `release-cut` app against this repository in dry-run mode, records CW
|
|
84
|
-
worker outputs from real command logs, scores and
|
|
85
|
-
|
|
101
|
+
worker outputs from real command logs, scores and picks a release candidate,
|
|
102
|
+
makes a verifier-gated CW state commit, and writes
|
|
86
103
|
`.cw/runs/<run-id>/dogfood-summary.json`.
|
|
87
104
|
|
|
88
|
-
Trust audit records
|
|
89
|
-
sandbox profile used by each worker, allowed and denied decisions,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
message
|
|
105
|
+
Trust audit records are kept under `.cw/runs/<run-id>/audit/`. CW records the
|
|
106
|
+
sandbox profile used by each worker, allowed and denied decisions, where the
|
|
107
|
+
evidence came from, and why picked candidates or verifier-gated commits were
|
|
108
|
+
taken. Multi-agent trust records add role policy, blackboard write audit,
|
|
109
|
+
where each message came from, judge reasons, and policy violations. Look at them with
|
|
93
110
|
`audit summary`, `audit worker`, `audit provenance`, `audit multi-agent`,
|
|
94
111
|
`audit policy`, `audit blackboard`, and `audit judge`.
|
|
95
112
|
|
|
96
|
-
Eval/replay artifacts
|
|
113
|
+
Eval/replay artifacts are kept under `.cw/evals/<suite-id>/`. They let a release
|
|
97
114
|
gate prove replay completion, graph/dependency parity, evidence adoption,
|
|
98
|
-
trust/policy/audit parity, judge
|
|
115
|
+
trust/policy/audit parity, judge reasons, candidate scoring, selection, and
|
|
99
116
|
verifier-gated commit readiness without running live agents.
|
package/docs/index.md
CHANGED
|
@@ -7,7 +7,7 @@ Read these in order when you are new to CW:
|
|
|
7
7
|
3. [Workflow App framework](workflow-app-framework.7.md) - userland app manifests, entrypoints, compatibility, and validation.
|
|
8
8
|
4. [Sandbox Profiles](sandbox-profiles.7.md) - named worker policy contracts for read/write/execute/network/env handling.
|
|
9
9
|
5. [Security / Trust Hardening](security-trust-hardening.7.md) - audit records, provenance, sandbox attestations, and acceptance rationale.
|
|
10
|
-
- [Trust Model & Limitations](trust-model.md) - what the ed25519 + hash-chain tamper-evidence proves and
|
|
10
|
+
- [Trust Model & Limitations](trust-model.md) - what the ed25519 + hash-chain tamper-evidence proves and what it does **not** (the single-keyholder ceiling). Read this before you trust a green verdict.
|
|
11
11
|
6. [Multi-Agent Runtime Core](multi-agent-runtime-core.7.md) - first-class MultiAgentRun, roles, groups, memberships, fanout, fanin, and lifecycle state.
|
|
12
12
|
7. [Coordinator / Blackboard](coordinator-blackboard.7.md) - shared topics, messages, context frames, artifact refs, snapshots, decisions, conflicts, and fanin evidence.
|
|
13
13
|
8. [Multi-Agent Topologies](multi-agent-topologies.7.md) - official map-reduce, debate, and judge-panel recipes built on multi-agent and blackboard records.
|
|
@@ -39,5 +39,5 @@ Read these in order when you are new to CW:
|
|
|
39
39
|
34. [Source Context Profiles](source-context-profiles.7.md) - opt-in JSONL source exports for AI context slimming, with profile policy in manifest data and manifest records proving every included or omitted tracked file.
|
|
40
40
|
|
|
41
41
|
CW is the base system. Workflow apps are userland. Release and migration rules
|
|
42
|
-
must
|
|
43
|
-
|
|
42
|
+
must keep that line clear: stable contracts, clear compatibility checks, and
|
|
43
|
+
state you can look at.
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# MCP App Surface
|
|
2
2
|
|
|
3
|
-
Cool Workflow v0.1.13
|
|
4
|
-
hosts. The CLI
|
|
5
|
-
|
|
3
|
+
Cool Workflow v0.1.13 makes the MCP bridge complete as a runtime surface for agent
|
|
4
|
+
hosts. The CLI is still the chief interface, and MCP gives the same
|
|
5
|
+
working contracts as clear JSON tools.
|
|
6
6
|
|
|
7
|
-
The bridge
|
|
7
|
+
The bridge keeps to CW's base-system rules:
|
|
8
8
|
|
|
9
|
-
- old tool names
|
|
10
|
-
- read-only inspection tools do not
|
|
11
|
-
- state-changing tools write
|
|
12
|
-
- inputs use
|
|
9
|
+
- old tool names still work
|
|
10
|
+
- read-only inspection tools do not change state
|
|
11
|
+
- state-changing tools write run files that last
|
|
12
|
+
- inputs use fixed names such as `runId`, `appId`, `workerId`,
|
|
13
13
|
`candidateId`, `selectionId`, `profileId`, `cwd`, `reason`, `evidence`, and
|
|
14
14
|
`criteria`
|
|
15
|
-
- errors fail closed through JSON-RPC errors and
|
|
16
|
-
runtime already
|
|
15
|
+
- errors fail closed through JSON-RPC errors and lasting ErrorFeedback where the
|
|
16
|
+
runtime already keeps feedback
|
|
17
17
|
|
|
18
18
|
## App Run Flow
|
|
19
19
|
|
|
20
|
-
Use `cw_app_list`, `cw_app_show`, and `cw_app_validate` to
|
|
21
|
-
contracts. `cw_app_package` writes a package artifact. `cw_app_run`
|
|
22
|
-
run from a Workflow App framework app id and
|
|
20
|
+
Use `cw_app_list`, `cw_app_show`, and `cw_app_validate` to look at app
|
|
21
|
+
contracts. `cw_app_package` writes a package artifact. `cw_app_run` makes a
|
|
22
|
+
run from a Workflow App framework app id and ordered inputs:
|
|
23
23
|
|
|
24
24
|
```json
|
|
25
25
|
{
|
|
@@ -32,16 +32,16 @@ run from a Workflow App framework app id and structured inputs:
|
|
|
32
32
|
}
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
The result
|
|
36
|
-
`reportPath`,
|
|
37
|
-
the
|
|
35
|
+
The result has `runId`, workflow/app id and version, `statePath`,
|
|
36
|
+
`reportPath`, waiting task count, short operator status, next actions, and
|
|
37
|
+
the worked-out sandbox profile when one was asked for.
|
|
38
38
|
|
|
39
|
-
`cw_plan`
|
|
40
|
-
|
|
39
|
+
`cw_plan` is still the lower-level planning tool and gives back the full run object
|
|
40
|
+
so old uses keep working.
|
|
41
41
|
|
|
42
42
|
## Worker Inspection
|
|
43
43
|
|
|
44
|
-
Worker isolation is
|
|
44
|
+
Worker isolation is fully supported over MCP:
|
|
45
45
|
|
|
46
46
|
- `cw_worker_list`
|
|
47
47
|
- `cw_worker_show`
|
|
@@ -51,19 +51,19 @@ Worker isolation is first-class over MCP:
|
|
|
51
51
|
- `cw_worker_fail`
|
|
52
52
|
- `cw_worker_summary`
|
|
53
53
|
|
|
54
|
-
Worker records
|
|
54
|
+
Worker records show the worker id, task id, status, worker directory,
|
|
55
55
|
`input.md`, `result.md`, artifacts/logs directories, sandbox profile id,
|
|
56
|
-
sandbox policy, feedback ids, multi-agent metadata when
|
|
56
|
+
sandbox policy, feedback ids, multi-agent metadata when there is some, and
|
|
57
57
|
result/verifier node ids.
|
|
58
58
|
|
|
59
|
-
An agent host should
|
|
60
|
-
the manifest `resultPath`, then call `cw_worker_output`. CW
|
|
61
|
-
worker boundary,
|
|
62
|
-
nodes,
|
|
59
|
+
An agent host should look at `cw_worker_manifest`, write worker-local output to
|
|
60
|
+
the manifest `resultPath`, then call `cw_worker_output`. CW checks the
|
|
61
|
+
worker boundary, reads the `cw:result` block, makes result and verifier
|
|
62
|
+
nodes, brings the task up to date, writes reports, and checkpoints state.
|
|
63
63
|
|
|
64
64
|
## Candidate Scoring
|
|
65
65
|
|
|
66
|
-
Candidate operations
|
|
66
|
+
Candidate operations are the same as the CLI:
|
|
67
67
|
|
|
68
68
|
- `cw_candidate_register`
|
|
69
69
|
- `cw_candidate_list`
|
|
@@ -74,7 +74,7 @@ Candidate operations mirror the CLI:
|
|
|
74
74
|
- `cw_candidate_reject`
|
|
75
75
|
- `cw_candidate_summary`
|
|
76
76
|
|
|
77
|
-
`cw_candidate_score`
|
|
77
|
+
`cw_candidate_score` takes ordered `criteria` and evidence locators:
|
|
78
78
|
|
|
79
79
|
```json
|
|
80
80
|
{
|
|
@@ -88,30 +88,30 @@ Candidate operations mirror the CLI:
|
|
|
88
88
|
}
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
`cw_candidate_rank` and `cw_candidate_select`
|
|
91
|
+
`cw_candidate_rank` and `cw_candidate_select` keep the same
|
|
92
92
|
evidence/verifier-gate policy as the CLI with `requireEvidence`,
|
|
93
|
-
`requireVerifierGate`, `minNormalized`, and `allowUnverified`.
|
|
94
|
-
or verifier gates fail closed and
|
|
93
|
+
`requireVerifierGate`, `minNormalized`, and `allowUnverified`. When evidence
|
|
94
|
+
or verifier gates are not there, they fail closed and give ordered feedback through the
|
|
95
95
|
candidate scoring layer.
|
|
96
96
|
|
|
97
97
|
## Sandbox Profiles
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
The sandbox tools that are already there stay:
|
|
100
100
|
|
|
101
101
|
- `cw_sandbox_list`
|
|
102
102
|
- `cw_sandbox_show`
|
|
103
103
|
- `cw_sandbox_validate`
|
|
104
104
|
|
|
105
105
|
v0.1.13 adds `cw_sandbox_choose` and `cw_sandbox_resolve` as read-only helpers
|
|
106
|
-
that
|
|
107
|
-
`profileId` without
|
|
108
|
-
field spellings
|
|
106
|
+
that check and work out `sandbox`, `sandboxProfile`, `sandboxProfileId`, or
|
|
107
|
+
`profileId` without sending out work. `cw_dispatch` takes all three sandbox
|
|
108
|
+
field spellings so it works with different hosts.
|
|
109
109
|
|
|
110
110
|
## Multi-Agent Runtime
|
|
111
111
|
|
|
112
|
-
v0.1.17 adds MCP parity for
|
|
112
|
+
v0.1.17 adds MCP parity for fully supported multi-agent state.
|
|
113
113
|
|
|
114
|
-
v0.1.20 adds
|
|
114
|
+
v0.1.20 adds host-facing tools that are now the right ones to use for the full multi-agent loop:
|
|
115
115
|
|
|
116
116
|
- `cw_multi_agent_run`
|
|
117
117
|
- `cw_multi_agent_status`
|
|
@@ -121,9 +121,9 @@ v0.1.20 adds preferred host-facing tools for the full multi-agent loop:
|
|
|
121
121
|
- `cw_multi_agent_select`
|
|
122
122
|
|
|
123
123
|
Use these when an agent host wants to drive `run -> status -> step ->
|
|
124
|
-
blackboard -> score -> select` without
|
|
125
|
-
candidate, and audit ids. The lower-level tools below
|
|
126
|
-
primitives.
|
|
124
|
+
blackboard -> score -> select` without joining up topology, blackboard,
|
|
125
|
+
candidate, and audit ids by hand. The lower-level tools below are still
|
|
126
|
+
deeper primitives.
|
|
127
127
|
|
|
128
128
|
v0.1.22 adds audit parity for multi-agent trust:
|
|
129
129
|
|
|
@@ -133,9 +133,9 @@ v0.1.22 adds audit parity for multi-agent trust:
|
|
|
133
133
|
- `cw_audit_blackboard`
|
|
134
134
|
- `cw_audit_judge`
|
|
135
135
|
|
|
136
|
-
These tools
|
|
137
|
-
message provenance, judge
|
|
138
|
-
|
|
136
|
+
These tools show role policies, permission decisions, blackboard write audit,
|
|
137
|
+
message provenance, judge reasons, panel decisions, and policy breaks in
|
|
138
|
+
fixed JSON.
|
|
139
139
|
|
|
140
140
|
v0.1.24 adds eval/replay parity for multi-agent regression gates:
|
|
141
141
|
|
|
@@ -146,9 +146,9 @@ v0.1.24 adds eval/replay parity for multi-agent regression gates:
|
|
|
146
146
|
- `cw_eval_gate`
|
|
147
147
|
- `cw_eval_report`
|
|
148
148
|
|
|
149
|
-
These tools
|
|
150
|
-
baseline/replay records, score metrics, fail closed on regressions, and
|
|
151
|
-
artifact paths in
|
|
149
|
+
These tools make replay snapshots, run separate replays, put side by side normalized
|
|
150
|
+
baseline/replay records, score metrics, fail closed on regressions, and give back
|
|
151
|
+
artifact paths in fixed JSON.
|
|
152
152
|
|
|
153
153
|
v0.1.25 adds State Explosion Management parity for large multi-agent runs:
|
|
154
154
|
|
|
@@ -158,13 +158,13 @@ v0.1.25 adds State Explosion Management parity for large multi-agent runs:
|
|
|
158
158
|
- `cw_multi_agent_summarize`
|
|
159
159
|
- `cw_multi_agent_graph_compact`
|
|
160
160
|
|
|
161
|
-
These tools refresh
|
|
162
|
-
state-explosion report,
|
|
163
|
-
focused graph views with
|
|
164
|
-
refs and expansion hints and never
|
|
161
|
+
These tools refresh lasting, versioned summary records, read the stale-aware
|
|
162
|
+
state-explosion report, give back the blackboard digest, and give back compact or
|
|
163
|
+
focused graph views with made-up summary nodes. Every response keeps source
|
|
164
|
+
refs and expansion hints and never takes away raw blackboard, graph, audit, or
|
|
165
165
|
evidence records.
|
|
166
166
|
|
|
167
|
-
Read and
|
|
167
|
+
Read and look at:
|
|
168
168
|
|
|
169
169
|
- `cw_multi_agent_summary`
|
|
170
170
|
- `cw_multi_agent_graph`
|
|
@@ -185,13 +185,13 @@ Safe writes:
|
|
|
185
185
|
- `cw_multi_agent_fanout_create`
|
|
186
186
|
- `cw_multi_agent_fanin_collect`
|
|
187
187
|
|
|
188
|
-
These tools
|
|
189
|
-
memberships, fanout/fanin, and lifecycle state; the host still
|
|
190
|
-
and
|
|
188
|
+
These tools are the same as the CLI state model. CW keeps and checks roles, groups,
|
|
189
|
+
memberships, fanout/fanin, and lifecycle state; the host still runs agents
|
|
190
|
+
and puts in force OS/process/network/environment controls.
|
|
191
191
|
|
|
192
192
|
## Verifier-Gated Commit
|
|
193
193
|
|
|
194
|
-
`cw_commit`
|
|
194
|
+
`cw_commit` takes verifier-gate fields:
|
|
195
195
|
|
|
196
196
|
```json
|
|
197
197
|
{
|
|
@@ -201,17 +201,17 @@ and enforces OS/process/network/environment controls.
|
|
|
201
201
|
}
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
It also
|
|
205
|
-
`allowUnverifiedCheckpoint`, and `reason`. The MCP response
|
|
204
|
+
It also takes `verifier`, `verifierNode`, `candidate`, `selection`,
|
|
205
|
+
`allowUnverifiedCheckpoint`, and `reason`. The MCP response has `runId`,
|
|
206
206
|
`commitId`, `verifierGated`, `checkpoint`, verifier/candidate/selection ids,
|
|
207
|
-
`evidenceCount`, `snapshotPath`, next actions, and the
|
|
207
|
+
`evidenceCount`, `snapshotPath`, next actions, and the commit record under it.
|
|
208
208
|
|
|
209
209
|
Use `cw_commit_summary` for a read-only view of verifier-gated commits and
|
|
210
|
-
|
|
210
|
+
named checkpoints.
|
|
211
211
|
|
|
212
212
|
## Operator Views
|
|
213
213
|
|
|
214
|
-
MCP
|
|
214
|
+
MCP gives ordered JSON forms equal to Operator UX:
|
|
215
215
|
|
|
216
216
|
- `cw_operator_status`
|
|
217
217
|
- `cw_operator_graph`
|
|
@@ -222,14 +222,14 @@ MCP exposes structured JSON equivalents of Operator UX:
|
|
|
222
222
|
- `cw_commit_summary`
|
|
223
223
|
- `cw_multi_agent_summary`
|
|
224
224
|
|
|
225
|
-
These tools
|
|
225
|
+
These tools give back JSON summaries in place of console text. `cw_operator_report`
|
|
226
226
|
refreshes the Markdown report the same way the CLI renderer does; the rest are
|
|
227
227
|
read-only inspection tools.
|
|
228
228
|
|
|
229
229
|
## CLI/MCP Parity
|
|
230
230
|
|
|
231
|
-
The CLI
|
|
232
|
-
tool surface for agent hosts. New runtime
|
|
233
|
-
surfaces, keep old names as aliases or wrappers, and use
|
|
234
|
-
contracts
|
|
231
|
+
The CLI is still the easiest way for people to drive a run. MCP is the steady
|
|
232
|
+
tool surface for agent hosts. New runtime powers should come up in both
|
|
233
|
+
surfaces, keep old names as aliases or wrappers, and use clear JSON
|
|
234
|
+
contracts in place of host-specific policy hidden in the bridge.
|
|
235
235
|
0.1.51
|