cool-workflow 0.1.84 → 0.1.86
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/README.md +47 -331
- package/apps/architecture-review/app.json +1 -1
- package/apps/architecture-review-fast/app.json +1 -1
- package/apps/architecture-review-fast/workflow.js +2 -0
- 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/capability-core.js +220 -5
- package/dist/capability-registry.js +90 -51
- package/dist/cli/command-surface.js +47 -2
- package/dist/doctor.js +37 -1
- package/dist/mcp/tool-call.js +428 -0
- package/dist/mcp/tool-definitions.js +1027 -0
- package/dist/mcp-surface.js +5 -1416
- package/dist/onramp.js +421 -0
- package/dist/orchestrator.js +20 -15
- package/dist/run-export.js +139 -1
- package/dist/telemetry-demo.js +119 -0
- package/dist/types/report-bundle.js +6 -0
- package/dist/types.js +1 -0
- package/dist/version.js +1 -1
- package/dist/workbench-host.js +1 -8
- package/docs/agent-delegation-drive.7.md +23 -2
- package/docs/cli-mcp-parity.7.md +38 -7
- package/docs/contract-migration-tooling.7.md +4 -0
- package/docs/control-plane-scheduling.7.md +4 -0
- package/docs/dogfood-one-real-repo.7.md +9 -1
- package/docs/durable-state-and-locking.7.md +4 -0
- package/docs/evidence-adoption-reasoning-chain.7.md +4 -0
- package/docs/execution-backends.7.md +4 -0
- package/docs/getting-started.md +40 -2
- package/docs/index.md +51 -37
- package/docs/multi-agent-cli-mcp-surface.7.md +4 -0
- package/docs/multi-agent-eval-replay-harness.7.md +4 -0
- package/docs/multi-agent-operator-ux.7.md +4 -0
- package/docs/node-snapshot-diff-replay.7.md +4 -0
- package/docs/observability-cost-accounting.7.md +4 -0
- package/docs/project-index.md +23 -7
- package/docs/real-execution-backends.7.md +4 -0
- package/docs/release-and-migration.7.md +5 -1
- package/docs/release-history.md +342 -0
- package/docs/release-tooling.7.md +18 -0
- package/docs/report-verifiable-bundle.7.md +123 -0
- package/docs/run-registry-control-plane.7.md +4 -0
- package/docs/run-retention-reclamation.7.md +4 -0
- package/docs/state-explosion-management.7.md +4 -0
- package/docs/team-collaboration.7.md +4 -0
- package/docs/web-desktop-workbench.7.md +4 -0
- package/manifest/plugin.manifest.json +1 -1
- package/manifest/source-context-profiles.json +1 -1
- package/package.json +2 -1
- package/scripts/architecture-review-fast.js +44 -2
- package/scripts/canonical-apps.js +4 -4
- package/scripts/dogfood-release.js +55 -133
- package/scripts/golden-path.js +4 -4
- package/scripts/onramp-check.js +47 -0
- package/scripts/parity-check.js +740 -2
- package/scripts/release-check.js +2 -0
- package/scripts/source-context.js +31 -5
- package/scripts/version-sync-check.js +4 -2
package/docs/index.md
CHANGED
|
@@ -1,42 +1,56 @@
|
|
|
1
1
|
# Cool Workflow Docs
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
3
|
+
Start with the first run. Use the developer loop when you change code. Read the
|
|
4
|
+
advanced pages only when you need those parts.
|
|
5
|
+
|
|
6
|
+
## First Run
|
|
7
|
+
|
|
8
|
+
1. [Getting Started](getting-started.md) - clone, install, run `doctor --onramp`, run one workflow, inspect it, and run the right check.
|
|
9
|
+
2. [End-to-End Golden Path](end-to-end-golden-path.7.md) - deterministic proof of app, worker, verifier, candidate, commit, and report flow.
|
|
10
|
+
3. [Verifiable Report Bundle](report-verifiable-bundle.7.md) - make a portable report bundle and verify it offline.
|
|
11
|
+
4. [Trust Model & Limitations](trust-model.md) - what the ed25519 and hash-chain proof does and does not prove.
|
|
12
|
+
|
|
13
|
+
## Developer Loop
|
|
14
|
+
|
|
15
|
+
1. [Project Index](project-index.md) - code-derived map of source modules, workflow apps, docs, tests, and sync targets.
|
|
16
|
+
2. [Workflow App framework](workflow-app-framework.7.md) - userland app manifests, entrypoints, compatibility, and validation.
|
|
17
|
+
3. [Sandbox Profiles](sandbox-profiles.7.md) - named worker policy contracts for read/write/execute/network/env handling.
|
|
18
|
+
4. [CLI <-> MCP Parity](cli-mcp-parity.7.md) - the capability registry and fail-closed gate proving the CLI and MCP surfaces render one data source.
|
|
19
|
+
5. [Release And Migration](release-and-migration.7.md) - release and migration discipline for durable run state.
|
|
20
|
+
6. [Release Tooling](release-tooling.7.md) - version bump, feature scaffold, forward-reference docs, and release gates.
|
|
21
|
+
7. [Cool Workflow Release History](release-history.md) - long capability notes moved out of the README.
|
|
22
|
+
|
|
23
|
+
## Advanced And Multi-Agent
|
|
24
|
+
|
|
25
|
+
1. [Agent Delegation Drive](agent-delegation-drive.7.md) - the `agent` backend delegates workers to an external process and drives plan -> report.
|
|
26
|
+
2. [Run Registry / Control Plane](run-registry-control-plane.7.md) - search, resume, archive, queue, history, and rerun across repos.
|
|
27
|
+
3. [Execution Backends](execution-backends.7.md) - node/bun/shell/container/remote/ci drivers, sandbox attestation, and fail-closed delegation.
|
|
28
|
+
4. [Multi-Agent Runtime Core](multi-agent-runtime-core.7.md) - MultiAgentRun, roles, groups, memberships, fanout, fanin, and lifecycle state.
|
|
29
|
+
5. [Coordinator / Blackboard](coordinator-blackboard.7.md) - topics, messages, context, artifacts, snapshots, decisions, conflicts, and fanin evidence.
|
|
30
|
+
6. [Multi-Agent Topologies](multi-agent-topologies.7.md) - map-reduce, debate, and judge-panel recipes.
|
|
31
|
+
7. [Multi-Agent CLI + MCP Surface](multi-agent-cli-mcp-surface.7.md) - host loop for run, status, step, blackboard, score, and select.
|
|
32
|
+
8. [Multi-Agent Operator UX](multi-agent-operator-ux.7.md) - graph, dependencies, failures, and evidence adoption.
|
|
33
|
+
9. [Multi-Agent Trust / Policy / Audit](multi-agent-trust-policy-audit.7.md) - role authority, message provenance, blackboard audit, judge rationale, and policy violations.
|
|
34
|
+
10. [Multi-Agent Eval & Replay Harness](multi-agent-eval-replay-harness.7.md) - snapshots, replay, comparison, scoring, gates, reports, and MCP parity.
|
|
35
|
+
|
|
36
|
+
## Reference
|
|
37
|
+
|
|
38
|
+
- [Operator UX](operator-ux.7.md) - `status`, `graph`, reports, worker, candidate, feedback, commit, topology, blackboard, coordinator, and trust summaries.
|
|
39
|
+
- [MCP App Surface](mcp-app-surface.7.md) - JSON tool parity for agent hosts.
|
|
40
|
+
- [Dogfood One Real Repo](dogfood-one-real-repo.7.md) - dry-run release proof against this repository.
|
|
41
|
+
- [Web / Desktop Workbench](web-desktop-workbench.7.md) - read-only localhost console over existing run state.
|
|
42
|
+
- [Observability + Cost Accounting](observability-cost-accounting.7.md) - derived durations, rates, token usage, and cost.
|
|
43
|
+
- [Team Collaboration](team-collaboration.7.md) - append-only approvals, comments, handoffs, and review gates.
|
|
44
|
+
- [Real Execution Backend Integrations](real-execution-backends.7.md) - real container/remote/ci execution under the sandbox contract.
|
|
45
|
+
- [Node Snapshot / Diff / Replay](node-snapshot-diff-replay.7.md) - per-node snapshots, structural diff, and deterministic replay.
|
|
46
|
+
- [Contract Migration Tooling](contract-migration-tooling.7.md) - declared migration registry and compatibility proofs.
|
|
47
|
+
- [Control-Plane Scheduling](control-plane-scheduling.7.md) - priority, leases, retry/backoff, and scheduling policy.
|
|
48
|
+
- [Run Retention & Provable Reclamation](run-retention-reclamation.7.md) - tiered, hash-chained disk reclamation.
|
|
49
|
+
- [Durable State & Locking](durable-state-and-locking.7.md) - atomic writes, fsync durability, and portable file locks.
|
|
50
|
+
- [Source Context Profiles](source-context-profiles.7.md) - opt-in JSONL source exports for context slimming.
|
|
51
|
+
- [Security / Trust Hardening](security-trust-hardening.7.md) - audit records, provenance, sandbox attestations, and acceptance rationale.
|
|
52
|
+
- [State Explosion Management](state-explosion-management.7.md) - summaries, compact graph views, blackboard digests, and stale-aware compaction.
|
|
53
|
+
- [Evidence Adoption Reasoning Chain](evidence-adoption-reasoning-chain.7.md) - why evidence was adopted or rejected.
|
|
40
54
|
|
|
41
55
|
CW is the base system. Workflow apps are userland. Release and migration rules
|
|
42
56
|
must keep that line clear: stable contracts, clear compatibility checks, and
|
package/docs/project-index.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Cool Workflow Project Index
|
|
2
2
|
|
|
3
|
-
Generated from the current repository code on 2026-06-
|
|
3
|
+
Generated from the current repository code on 2026-06-19 by `npm run sync:project-index`.
|
|
4
4
|
|
|
5
5
|
## Snapshot
|
|
6
6
|
|
|
7
7
|
- Package: `cool-workflow`
|
|
8
|
-
- Version: `0.1.
|
|
9
|
-
- Source modules: `
|
|
8
|
+
- Version: `0.1.86`
|
|
9
|
+
- Source modules: `63`
|
|
10
10
|
- Workflow apps: `7`
|
|
11
|
-
- Docs: `
|
|
12
|
-
- Smoke tests: `
|
|
11
|
+
- Docs: `51`
|
|
12
|
+
- Smoke tests: `110`
|
|
13
13
|
- Repository: https://github.com/coo1white/cool-workflow
|
|
14
14
|
|
|
15
15
|
## Architecture
|
|
@@ -99,6 +99,7 @@ multi-agent host -> topology -> blackboard/coordinator
|
|
|
99
99
|
- [node-projection.ts](../src/node-projection.ts)
|
|
100
100
|
- [node-snapshot.ts](../src/node-snapshot.ts)
|
|
101
101
|
- [observability.ts](../src/observability.ts)
|
|
102
|
+
- [onramp.ts](../src/onramp.ts)
|
|
102
103
|
- [reclamation.ts](../src/reclamation.ts)
|
|
103
104
|
- [result-normalize.ts](../src/result-normalize.ts)
|
|
104
105
|
- [run-export.ts](../src/run-export.ts)
|
|
@@ -160,7 +161,9 @@ multi-agent host -> topology -> blackboard/coordinator
|
|
|
160
161
|
- [Cool Workflow Project Index](project-index.md)
|
|
161
162
|
- [Real Execution Backend Integrations](real-execution-backends.7.md)
|
|
162
163
|
- [Release And Migration Discipline](release-and-migration.7.md)
|
|
164
|
+
- [Cool Workflow Release History](release-history.md)
|
|
163
165
|
- [Release Tooling](release-tooling.7.md)
|
|
166
|
+
- [Verifiable Report Bundle](report-verifiable-bundle.7.md)
|
|
164
167
|
- [Routines](routines.md)
|
|
165
168
|
- [Run Registry / Control Plane](run-registry-control-plane.7.md)
|
|
166
169
|
- [Run Retention & Provable Reclamation](run-retention-reclamation.7.md)
|
|
@@ -189,6 +192,7 @@ Smoke tests mirror the public contracts. The high-signal suites are:
|
|
|
189
192
|
- [artifact-integrity-smoke.js](../test/artifact-integrity-smoke.js)
|
|
190
193
|
- [audit-verify-smoke.js](../test/audit-verify-smoke.js)
|
|
191
194
|
- [backend-registry-smoke.js](../test/backend-registry-smoke.js)
|
|
195
|
+
- [blackboard-state-explosion-management-smoke.js](../test/blackboard-state-explosion-management-smoke.js)
|
|
192
196
|
- [block-unapproved-tag-smoke.js](../test/block-unapproved-tag-smoke.js)
|
|
193
197
|
- [bump-version-idempotent-smoke.js](../test/bump-version-idempotent-smoke.js)
|
|
194
198
|
- [candidate-scoring-smoke.js](../test/candidate-scoring-smoke.js)
|
|
@@ -202,8 +206,10 @@ Smoke tests mirror the public contracts. The high-signal suites are:
|
|
|
202
206
|
- [contract-migration-tooling-smoke.js](../test/contract-migration-tooling-smoke.js)
|
|
203
207
|
- [control-plane-scheduling-smoke.js](../test/control-plane-scheduling-smoke.js)
|
|
204
208
|
- [coordinator-blackboard-smoke.js](../test/coordinator-blackboard-smoke.js)
|
|
209
|
+
- [demo-bundle-smoke.js](../test/demo-bundle-smoke.js)
|
|
205
210
|
- [det-ids-b-smoke.js](../test/det-ids-b-smoke.js)
|
|
206
211
|
- [doctor-smoke.js](../test/doctor-smoke.js)
|
|
212
|
+
- [dogfood-architecture-review-smoke.js](../test/dogfood-architecture-review-smoke.js)
|
|
207
213
|
- [dogfood-release-smoke.js](../test/dogfood-release-smoke.js)
|
|
208
214
|
- [durable-atomic-write-smoke.js](../test/durable-atomic-write-smoke.js)
|
|
209
215
|
- [end-to-end-demo-smoke.js](../test/end-to-end-demo-smoke.js)
|
|
@@ -223,12 +229,15 @@ Smoke tests mirror the public contracts. The high-signal suites are:
|
|
|
223
229
|
- [multi-agent-eval-replay-smoke.js](../test/multi-agent-eval-replay-smoke.js)
|
|
224
230
|
- [multi-agent-operator-ux-smoke.js](../test/multi-agent-operator-ux-smoke.js)
|
|
225
231
|
- [multi-agent-runtime-core-smoke.js](../test/multi-agent-runtime-core-smoke.js)
|
|
226
|
-
- [multi-agent-topologies-smoke.js](../test/multi-agent-topologies-smoke.js)
|
|
232
|
+
- [multi-agent-topologies-debate-smoke.js](../test/multi-agent-topologies-debate-smoke.js)
|
|
233
|
+
- [multi-agent-topologies-judge-panel-smoke.js](../test/multi-agent-topologies-judge-panel-smoke.js)
|
|
234
|
+
- [multi-agent-topologies-map-reduce-smoke.js](../test/multi-agent-topologies-map-reduce-smoke.js)
|
|
227
235
|
- [multi-agent-trust-policy-audit-smoke.js](../test/multi-agent-trust-policy-audit-smoke.js)
|
|
228
236
|
- [no-false-green-smoke.js](../test/no-false-green-smoke.js)
|
|
229
237
|
- [node-snapshot-diff-replay-smoke.js](../test/node-snapshot-diff-replay-smoke.js)
|
|
230
238
|
- [observability-cost-accounting-smoke.js](../test/observability-cost-accounting-smoke.js)
|
|
231
239
|
- [one-way-boundary-smoke.js](../test/one-way-boundary-smoke.js)
|
|
240
|
+
- [onramp-check-smoke.js](../test/onramp-check-smoke.js)
|
|
232
241
|
- [operator-ux-smoke.js](../test/operator-ux-smoke.js)
|
|
233
242
|
- [parallel-onramp-smoke.js](../test/parallel-onramp-smoke.js)
|
|
234
243
|
- [parity-doc-sync-smoke.js](../test/parity-doc-sync-smoke.js)
|
|
@@ -236,15 +245,21 @@ Smoke tests mirror the public contracts. The high-signal suites are:
|
|
|
236
245
|
- [pipeline-auto-advance-smoke.js](../test/pipeline-auto-advance-smoke.js)
|
|
237
246
|
- [pipeline-runner-smoke.js](../test/pipeline-runner-smoke.js)
|
|
238
247
|
- [project-index-sync-smoke.js](../test/project-index-sync-smoke.js)
|
|
248
|
+
- [quickstart-bundle-smoke.js](../test/quickstart-bundle-smoke.js)
|
|
249
|
+
- [quickstart-check-smoke.js](../test/quickstart-check-smoke.js)
|
|
250
|
+
- [quickstart-readme-path-smoke.js](../test/quickstart-readme-path-smoke.js)
|
|
239
251
|
- [quickstart-smoke.js](../test/quickstart-smoke.js)
|
|
240
252
|
- [real-execution-backends-smoke.js](../test/real-execution-backends-smoke.js)
|
|
241
253
|
- [registry-corrupt-fail-closed-smoke.js](../test/registry-corrupt-fail-closed-smoke.js)
|
|
242
254
|
- [release-flow-smoke.js](../test/release-flow-smoke.js)
|
|
243
255
|
- [release-gate-smoke.js](../test/release-gate-smoke.js)
|
|
244
256
|
- [release-tooling-smoke.js](../test/release-tooling-smoke.js)
|
|
257
|
+
- [report-bundle-smoke.js](../test/report-bundle-smoke.js)
|
|
258
|
+
- [report-verify-bundle-smoke.js](../test/report-verify-bundle-smoke.js)
|
|
245
259
|
- [result-normalize-smoke.js](../test/result-normalize-smoke.js)
|
|
246
260
|
- [robustness-failclosed-smoke.js](../test/robustness-failclosed-smoke.js)
|
|
247
261
|
- [robustness-hardening-smoke.js](../test/robustness-hardening-smoke.js)
|
|
262
|
+
- [run-all-json-summary-smoke.js](../test/run-all-json-summary-smoke.js)
|
|
248
263
|
- [run-export-import-smoke.js](../test/run-export-import-smoke.js)
|
|
249
264
|
- [run-export-restore-rerun-smoke.js](../test/run-export-restore-rerun-smoke.js)
|
|
250
265
|
- [run-export-restore-resume-smoke.js](../test/run-export-restore-resume-smoke.js)
|
|
@@ -260,9 +275,10 @@ Smoke tests mirror the public contracts. The high-signal suites are:
|
|
|
260
275
|
- [schema-validation-smoke.js](../test/schema-validation-smoke.js)
|
|
261
276
|
- [security-trust-hardening-smoke.js](../test/security-trust-hardening-smoke.js)
|
|
262
277
|
- [self-audit-hardening-smoke.js](../test/self-audit-hardening-smoke.js)
|
|
278
|
+
- [source-context-batch-smoke.js](../test/source-context-batch-smoke.js)
|
|
263
279
|
- [source-context-profile-smoke.js](../test/source-context-profile-smoke.js)
|
|
264
|
-
- [state-explosion-management-smoke.js](../test/state-explosion-management-smoke.js)
|
|
265
280
|
- [state-node-smoke.js](../test/state-node-smoke.js)
|
|
281
|
+
- [surface-explicit-cwd-smoke.js](../test/surface-explicit-cwd-smoke.js)
|
|
266
282
|
- [tamper-evidence-demo-smoke.js](../test/tamper-evidence-demo-smoke.js)
|
|
267
283
|
- [team-collaboration-smoke.js](../test/team-collaboration-smoke.js)
|
|
268
284
|
- [telemetry-attest-wrap-smoke.js](../test/telemetry-attest-wrap-smoke.js)
|
|
@@ -68,7 +68,7 @@ changed.
|
|
|
68
68
|
- `npm test`
|
|
69
69
|
- `node test/multi-agent-runtime-core-smoke.js`
|
|
70
70
|
- `node test/coordinator-blackboard-smoke.js`
|
|
71
|
-
-
|
|
71
|
+
- multi-agent topologies smoke coverage
|
|
72
72
|
- `node test/multi-agent-eval-replay-harness-smoke.js`
|
|
73
73
|
- `npm run eval:replay`
|
|
74
74
|
- dogfood release smoke coverage
|
|
@@ -297,3 +297,7 @@ Loaders fail closed on corrupt state; store writes are made safe under more than
|
|
|
297
297
|
## Privacy Release (v0.1.84)
|
|
298
298
|
|
|
299
299
|
No other change to this page in v0.1.84.
|
|
300
|
+
|
|
301
|
+
0.1.85
|
|
302
|
+
|
|
303
|
+
0.1.86
|