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/scripts/release-check.js
CHANGED
|
@@ -15,6 +15,7 @@ const checks = [
|
|
|
15
15
|
"README.md",
|
|
16
16
|
"docs/index.md",
|
|
17
17
|
"docs/getting-started.md",
|
|
18
|
+
"docs/release-history.md",
|
|
18
19
|
"docs/release-and-migration.7.md",
|
|
19
20
|
"docs/multi-agent-cli-mcp-surface.7.md",
|
|
20
21
|
"docs/multi-agent-operator-ux.7.md",
|
|
@@ -57,6 +58,7 @@ const checks = [
|
|
|
57
58
|
// from that fresh build — strictly stronger than a bare `npm run build`.
|
|
58
59
|
{ name: "dist freshness", command: ["npm", "run", "dist:check"] },
|
|
59
60
|
{ name: "type check", command: ["npm", "run", "check"] },
|
|
61
|
+
{ name: "onramp contract", command: ["npm", "run", "onramp:check"] },
|
|
60
62
|
{ name: "run-state schema consistency", command: ["node", "scripts/validate-run-state-schema.js"] },
|
|
61
63
|
// Parallel suite (test:ci = run-all.js --concurrency auto). Each smoke runs in
|
|
62
64
|
// a private cwd + state roots (CW_HOME/HOME/TMPDIR), so concurrency is race-free.
|
|
@@ -59,6 +59,7 @@ function main() {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
const files = gitLines(["ls-tree", "-r", "--name-only", ref]).filter((file) => !changedPaths || changedPaths.has(file));
|
|
62
|
+
const blobs = gitBlobs(ref, files);
|
|
62
63
|
let exportedLines = 0;
|
|
63
64
|
const buffered = cachePath ? [] : null;
|
|
64
65
|
const emit = (value) => {
|
|
@@ -68,7 +69,8 @@ function main() {
|
|
|
68
69
|
|
|
69
70
|
for (const file of files) {
|
|
70
71
|
const classification = classify(file, profile);
|
|
71
|
-
const blob =
|
|
72
|
+
const blob = blobs.get(file);
|
|
73
|
+
if (!blob) die(`cannot read ${file} at ${ref}`);
|
|
72
74
|
const binary = isBinary(blob);
|
|
73
75
|
const record = {
|
|
74
76
|
schemaVersion: profiles.schemaVersion,
|
|
@@ -161,10 +163,34 @@ function git(argv) {
|
|
|
161
163
|
return result.stdout;
|
|
162
164
|
}
|
|
163
165
|
|
|
164
|
-
function
|
|
165
|
-
const
|
|
166
|
-
if (
|
|
167
|
-
|
|
166
|
+
function gitBlobs(ref, files) {
|
|
167
|
+
const blobs = new Map();
|
|
168
|
+
if (files.length === 0) return blobs;
|
|
169
|
+
const input = files.map((file) => `${ref}:${file}\n`).join("");
|
|
170
|
+
const result = spawnSync("git", ["cat-file", "--batch"], {
|
|
171
|
+
cwd: repoRoot,
|
|
172
|
+
input: Buffer.from(input, "utf8"),
|
|
173
|
+
maxBuffer: 1024 * 1024 * 256
|
|
174
|
+
});
|
|
175
|
+
if (result.status !== 0) die((result.stderr || result.stdout || `git cat-file --batch failed`).toString().trim());
|
|
176
|
+
|
|
177
|
+
let offset = 0;
|
|
178
|
+
for (const file of files) {
|
|
179
|
+
const headerEnd = result.stdout.indexOf(10, offset);
|
|
180
|
+
if (headerEnd < 0) die(`cannot read ${file} at ${ref}: truncated batch header`);
|
|
181
|
+
const header = result.stdout.slice(offset, headerEnd).toString("utf8");
|
|
182
|
+
offset = headerEnd + 1;
|
|
183
|
+
const parts = header.split(" ");
|
|
184
|
+
if (parts.length !== 3 || parts[1] !== "blob") die(`cannot read ${file} at ${ref}: ${header}`);
|
|
185
|
+
const size = Number(parts[2]);
|
|
186
|
+
if (!Number.isSafeInteger(size) || size < 0) die(`cannot read ${file} at ${ref}: invalid blob size`);
|
|
187
|
+
const end = offset + size;
|
|
188
|
+
if (end > result.stdout.length) die(`cannot read ${file} at ${ref}: truncated blob`);
|
|
189
|
+
blobs.set(file, result.stdout.slice(offset, end));
|
|
190
|
+
offset = end;
|
|
191
|
+
if (result.stdout[offset] === 10) offset++;
|
|
192
|
+
}
|
|
193
|
+
return blobs;
|
|
168
194
|
}
|
|
169
195
|
|
|
170
196
|
function classify(file, profile) {
|
|
@@ -78,10 +78,12 @@ function main() {
|
|
|
78
78
|
checkIncludes("plugins/cool-workflow/scripts/dogfood-release.js", VERSION, checks);
|
|
79
79
|
checkIncludes("plugins/cool-workflow/test/dogfood-release-smoke.js", VERSION, checks);
|
|
80
80
|
checkIncludes("plugins/cool-workflow/test/coordinator-blackboard-smoke.js", "coordinator-blackboard-smoke", checks);
|
|
81
|
-
checkIncludes("plugins/cool-workflow/test/multi-agent-topologies-smoke.js", "multi-agent-topologies-smoke", checks);
|
|
81
|
+
checkIncludes("plugins/cool-workflow/test/multi-agent-topologies-map-reduce-smoke.js", "multi-agent-topologies-map-reduce-smoke", checks);
|
|
82
|
+
checkIncludes("plugins/cool-workflow/test/multi-agent-topologies-debate-smoke.js", "multi-agent-topologies-debate-smoke", checks);
|
|
83
|
+
checkIncludes("plugins/cool-workflow/test/multi-agent-topologies-judge-panel-smoke.js", "multi-agent-topologies-judge-panel-smoke", checks);
|
|
82
84
|
checkIncludes("plugins/cool-workflow/test/multi-agent-cli-mcp-surface-smoke.js", "multi-agent-cli-mcp-surface-smoke", checks);
|
|
83
85
|
checkIncludes("plugins/cool-workflow/test/multi-agent-eval-replay-harness-smoke.js", "multi-agent-eval-replay-smoke", checks);
|
|
84
|
-
checkIncludes("plugins/cool-workflow/test/state-explosion-management-smoke.js", "state-explosion-management-smoke", checks);
|
|
86
|
+
checkIncludes("plugins/cool-workflow/test/blackboard-state-explosion-management-smoke.js", "blackboard-state-explosion-management-smoke", checks);
|
|
85
87
|
checkIncludes("plugins/cool-workflow/test/evidence-adoption-reasoning-smoke.js", "evidence-adoption-reasoning-smoke", checks);
|
|
86
88
|
checkIncludes("plugins/cool-workflow/test/mcp-app-surface-smoke.js", VERSION, checks);
|
|
87
89
|
checkIncludes("plugins/cool-workflow/test/canonical-workflow-apps-smoke.js", VERSION, checks);
|