cool-workflow 0.1.83 → 0.1.85

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 (60) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/README.md +6 -0
  4. package/apps/architecture-review/app.json +1 -1
  5. package/apps/architecture-review-fast/app.json +1 -1
  6. package/apps/end-to-end-golden-path/app.json +1 -1
  7. package/apps/pr-review-fix-ci/app.json +1 -1
  8. package/apps/release-cut/app.json +1 -1
  9. package/apps/research-synthesis/app.json +1 -1
  10. package/dist/capability-core.js +89 -2
  11. package/dist/capability-registry.js +269 -2
  12. package/dist/cli/command-surface.js +1362 -0
  13. package/dist/cli.js +2 -1318
  14. package/dist/mcp-server.js +5 -1452
  15. package/dist/mcp-surface.js +1467 -0
  16. package/dist/run-export.js +139 -1
  17. package/dist/telemetry-demo.js +119 -0
  18. package/dist/types/report-bundle.js +6 -0
  19. package/dist/types.js +1 -0
  20. package/dist/version.js +1 -1
  21. package/dist/worker-accept/acceptance.js +114 -0
  22. package/dist/worker-accept/blackboard-fanout.js +80 -0
  23. package/dist/worker-accept/blackboard-linkage.js +19 -0
  24. package/dist/worker-accept/context.js +2 -0
  25. package/dist/worker-accept/telemetry-ledger.js +116 -0
  26. package/dist/worker-accept/validation.js +77 -0
  27. package/dist/worker-accept/verifier-completion.js +73 -0
  28. package/dist/worker-isolation.js +19 -444
  29. package/docs/agent-delegation-drive.7.md +6 -0
  30. package/docs/cli-mcp-parity.7.md +13 -3
  31. package/docs/contract-migration-tooling.7.md +6 -0
  32. package/docs/control-plane-scheduling.7.md +6 -0
  33. package/docs/durable-state-and-locking.7.md +6 -0
  34. package/docs/evidence-adoption-reasoning-chain.7.md +6 -0
  35. package/docs/execution-backends.7.md +6 -0
  36. package/docs/index.md +1 -0
  37. package/docs/multi-agent-cli-mcp-surface.7.md +6 -0
  38. package/docs/multi-agent-eval-replay-harness.7.md +6 -0
  39. package/docs/multi-agent-operator-ux.7.md +6 -0
  40. package/docs/node-snapshot-diff-replay.7.md +6 -0
  41. package/docs/observability-cost-accounting.7.md +6 -0
  42. package/docs/project-index.md +17 -6
  43. package/docs/real-execution-backends.7.md +6 -0
  44. package/docs/release-and-migration.7.md +6 -0
  45. package/docs/release-tooling.7.md +16 -1
  46. package/docs/report-verifiable-bundle.7.md +123 -0
  47. package/docs/run-registry-control-plane.7.md +6 -0
  48. package/docs/run-retention-reclamation.7.md +6 -0
  49. package/docs/state-explosion-management.7.md +6 -0
  50. package/docs/team-collaboration.7.md +6 -0
  51. package/docs/web-desktop-workbench.7.md +6 -0
  52. package/manifest/plugin.manifest.json +1 -1
  53. package/package.json +1 -1
  54. package/scripts/bump-version.js +9 -1
  55. package/scripts/canonical-apps.js +4 -4
  56. package/scripts/dogfood-release.js +1 -1
  57. package/scripts/golden-path.js +4 -4
  58. package/scripts/parity-check.js +27 -57
  59. package/scripts/release-flow.js +7 -6
  60. package/scripts/sync-project-index.js +1 -1
@@ -124,6 +124,7 @@ function reviewerPromptBody() {
124
124
 
125
125
  function buildReviewerInput(resultPath) {
126
126
  const action = MODE_CUT ? `tag v${cutVersion || "<next>"}` : "check (no tag)";
127
+ const resultDisplay = path.relative(repoRoot, resultPath);
127
128
  return [
128
129
  reviewerPromptBody(),
129
130
  "",
@@ -133,11 +134,11 @@ function buildReviewerInput(resultPath) {
133
134
  `- Previous tag: ${PREV_TAG || "(none)"}`,
134
135
  `- Diff range: ${PREV_TAG ? `${PREV_TAG}..HEAD` : "(no previous tag)"}`,
135
136
  `- Proposed action: ${action}`,
136
- `- Repo root (run git here): ${repoRoot}`,
137
+ "- Repo root (run git here): .",
137
138
  "",
138
139
  "## Required output — write ONLY this file, nothing else",
139
140
  `Write your verdict to this exact path:`,
140
- ` ${resultPath}`,
141
+ ` ${resultDisplay}`,
141
142
  "First line MUST be exactly one of:",
142
143
  ` APPROVED ${HEAD}`,
143
144
  " <one concrete sentence: the user-visible capability this ships>",
@@ -174,10 +175,10 @@ function delegateReview(resultPath, inputPath) {
174
175
  }
175
176
 
176
177
  const subMap = {
177
- input: inputPath,
178
- manifest: inputPath,
179
- result: resultPath,
180
- workerDir: repoRoot,
178
+ input: path.relative(repoRoot, inputPath),
179
+ manifest: path.relative(repoRoot, inputPath),
180
+ result: path.relative(repoRoot, resultPath),
181
+ workerDir: ".",
181
182
  model: cfg.model || "",
182
183
  prompt: fs.readFileSync(inputPath, "utf8")
183
184
  };
@@ -311,7 +311,7 @@ function ensureLine(file, line, afterHeading) {
311
311
  }
312
312
 
313
313
  function detectObsidianVault() {
314
- const candidate = path.join(process.env.HOME || "", "Documents", "Nick");
314
+ const candidate = process.env.CW_OBSIDIAN_VAULT || path.join(process.env.HOME || "", "Documents", "Cool Workflow");
315
315
  return fs.existsSync(path.join(candidate, ".obsidian")) ? candidate : "";
316
316
  }
317
317