cool-workflow 0.1.95 → 0.1.96

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 (67) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/apps/architecture-review/app.json +1 -1
  4. package/apps/architecture-review/workflow.js +3 -3
  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/agent-config.js +2 -1
  11. package/dist/dispatch.js +12 -6
  12. package/dist/evidence-grounding.js +18 -13
  13. package/dist/execution-backend/probes.js +22 -6
  14. package/dist/execution-backend.js +37 -4
  15. package/dist/node-snapshot.js +3 -3
  16. package/dist/orchestrator/lifecycle-operations.js +13 -5
  17. package/dist/orchestrator.js +26 -1
  18. package/dist/reclamation.js +8 -2
  19. package/dist/run-registry/derive.js +4 -1
  20. package/dist/scheduler.js +14 -14
  21. package/dist/schema-validate.js +8 -2
  22. package/dist/state-explosion/helpers.js +4 -21
  23. package/dist/state-explosion/size.js +63 -0
  24. package/dist/state-explosion.js +18 -71
  25. package/dist/state.js +47 -9
  26. package/dist/trust-audit.js +27 -2
  27. package/dist/util/fingerprint.js +19 -0
  28. package/dist/util/fingerprint.test.js +27 -0
  29. package/dist/version.js +1 -1
  30. package/dist/workbench-host.js +11 -0
  31. package/dist/workbench.js +19 -17
  32. package/dist/worker-isolation.js +25 -1
  33. package/docs/agent-delegation-drive.7.md +64 -1
  34. package/docs/cli-mcp-parity.7.md +2 -0
  35. package/docs/contract-migration-tooling.7.md +2 -0
  36. package/docs/control-plane-scheduling.7.md +2 -0
  37. package/docs/durable-state-and-locking.7.md +2 -0
  38. package/docs/evidence-adoption-reasoning-chain.7.md +2 -0
  39. package/docs/execution-backends.7.md +2 -0
  40. package/docs/multi-agent-cli-mcp-surface.7.md +2 -0
  41. package/docs/multi-agent-eval-replay-harness.7.md +2 -0
  42. package/docs/multi-agent-operator-ux.7.md +2 -0
  43. package/docs/node-snapshot-diff-replay.7.md +2 -0
  44. package/docs/observability-cost-accounting.7.md +2 -0
  45. package/docs/project-index.md +7 -3
  46. package/docs/real-execution-backends.7.md +2 -0
  47. package/docs/release-and-migration.7.md +2 -0
  48. package/docs/release-tooling.7.md +18 -0
  49. package/docs/routines.md +30 -0
  50. package/docs/run-registry-control-plane.7.md +2 -0
  51. package/docs/run-retention-reclamation.7.md +2 -0
  52. package/docs/sandbox-profiles.7.md +15 -0
  53. package/docs/state-explosion-management.7.md +2 -0
  54. package/docs/team-collaboration.7.md +2 -0
  55. package/docs/web-desktop-workbench.7.md +2 -0
  56. package/manifest/plugin.manifest.json +1 -1
  57. package/package.json +5 -3
  58. package/scripts/agents/agent-adapter-core.js +22 -1
  59. package/scripts/agents/claude-p-agent.js +10 -2
  60. package/scripts/agents/codex-agent.js +22 -2
  61. package/scripts/agents/gemini-agent.js +10 -2
  62. package/scripts/agents/opencode-agent.js +10 -2
  63. package/scripts/canonical-apps.js +4 -4
  64. package/scripts/dogfood-release.js +1 -1
  65. package/scripts/golden-path.js +4 -4
  66. package/scripts/release-flow.js +10 -0
  67. package/scripts/release-gate.sh +1 -1
@@ -503,6 +503,16 @@ function cut(resultPath, capability) {
503
503
  if (bump.status !== 0) die("bump:version failed");
504
504
  // Regenerate the gated project index after the version bump (PR #87 gate).
505
505
  spawnSync("npm", ["run", "sync:project-index", "--", "--repo-only"], { cwd: pluginRoot, stdio: "inherit" });
506
+ // Belt-and-suspenders: the reviewer agent writes a narration transcript into
507
+ // .cw-release/ that may carry local paths (the operator's home dir). It is
508
+ // .gitignored, but `git add -A` would still stage it if it were ever tracked,
509
+ // and a tracked transcript leaks PII into the immutable tag commit (it tripped
510
+ // pii-redaction-smoke and red-failed release-gate for v0.1.96). Remove any
511
+ // transcript before staging so it can never ride into the tag.
512
+ const releaseDir = path.join(repoRoot, ".cw-release");
513
+ for (const f of fs.existsSync(releaseDir) ? fs.readdirSync(releaseDir) : []) {
514
+ if (/^transcript.*\.md$/.test(f)) fs.rmSync(path.join(releaseDir, f), { force: true });
515
+ }
506
516
  git(["add", "-A"]);
507
517
  const commit = git(["commit", "-m", `chore(release): record APPROVED reviewer verdict for v${cutVersion}`]);
508
518
  if (commit.code !== 0) die("verdict commit failed", commit.err);
@@ -30,7 +30,7 @@ say "[1/6] build"
30
30
  npm run --prefix plugins/cool-workflow build >/dev/null 2>&1 || fail "build failed"
31
31
 
32
32
  say "[2/6] tests"
33
- CW_TEST_CONCURRENCY=1 npm test --prefix plugins/cool-workflow >/dev/null 2>&1 || fail "tests failed"
33
+ CW_TEST_CONCURRENCY=1 npm run test:gate --prefix plugins/cool-workflow >/dev/null 2>&1 || fail "tests failed"
34
34
 
35
35
  if [[ -n "$PREV_TAG" ]]; then
36
36
  RANGE="$PREV_TAG..HEAD"