cool-workflow 0.1.79 → 0.1.80

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 (73) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/README.md +9 -1
  4. package/apps/architecture-review/app.json +1 -1
  5. package/apps/architecture-review-fast/app.json +64 -0
  6. package/apps/architecture-review-fast/workflow.js +153 -0
  7. package/apps/end-to-end-golden-path/app.json +1 -1
  8. package/apps/pr-review-fix-ci/app.json +1 -1
  9. package/apps/release-cut/app.json +1 -1
  10. package/apps/research-synthesis/app.json +1 -1
  11. package/dist/capability-core.js +38 -0
  12. package/dist/capability-registry.js +11 -8
  13. package/dist/cli.js +10 -1
  14. package/dist/drive.js +74 -1
  15. package/dist/evidence-reasoning.js +2 -2
  16. package/dist/execution-backend.js +6 -1
  17. package/dist/mcp-server.js +48 -13
  18. package/dist/orchestrator/lifecycle-operations.js +2 -1
  19. package/dist/orchestrator.js +1 -1
  20. package/dist/run-export.js +370 -25
  21. package/dist/run-registry.js +11 -4
  22. package/dist/state-explosion.js +100 -21
  23. package/dist/version.js +1 -1
  24. package/docs/agent-delegation-drive.7.md +58 -0
  25. package/docs/canonical-workflow-apps.7.md +37 -0
  26. package/docs/cli-mcp-parity.7.md +12 -0
  27. package/docs/contract-migration-tooling.7.md +4 -0
  28. package/docs/control-plane-scheduling.7.md +4 -0
  29. package/docs/durable-state-and-locking.7.md +4 -0
  30. package/docs/evidence-adoption-reasoning-chain.7.md +4 -0
  31. package/docs/execution-backends.7.md +4 -0
  32. package/docs/index.md +1 -0
  33. package/docs/launch/demo.tape +28 -0
  34. package/docs/launch/launch-kit.md +59 -3
  35. package/docs/launch/pre-launch-checklist.md +53 -0
  36. package/docs/multi-agent-cli-mcp-surface.7.md +4 -0
  37. package/docs/multi-agent-eval-replay-harness.7.md +4 -0
  38. package/docs/multi-agent-operator-ux.7.md +4 -0
  39. package/docs/node-snapshot-diff-replay.7.md +4 -0
  40. package/docs/observability-cost-accounting.7.md +4 -0
  41. package/docs/project-index.md +13 -5
  42. package/docs/real-execution-backends.7.md +4 -0
  43. package/docs/release-and-migration.7.md +4 -0
  44. package/docs/release-tooling.7.md +4 -0
  45. package/docs/routines.md +23 -0
  46. package/docs/run-registry-control-plane.7.md +42 -1
  47. package/docs/run-retention-reclamation.7.md +4 -0
  48. package/docs/source-context-profiles.7.md +119 -0
  49. package/docs/state-explosion-management.7.md +11 -0
  50. package/docs/team-collaboration.7.md +4 -0
  51. package/docs/unix-principles.md +49 -1
  52. package/docs/web-desktop-workbench.7.md +4 -0
  53. package/manifest/plugin.manifest.json +1 -1
  54. package/manifest/source-context-profiles.json +142 -0
  55. package/package.json +2 -1
  56. package/scripts/agents/claude-p-agent.js +129 -43
  57. package/scripts/architecture-review-fast.js +362 -0
  58. package/scripts/bump-version.js +1 -0
  59. package/scripts/canonical-apps.js +21 -4
  60. package/scripts/coverage-gate.js +211 -0
  61. package/scripts/dogfood-release.js +1 -1
  62. package/scripts/golden-path.js +4 -4
  63. package/scripts/source-context.js +291 -0
  64. package/scripts/version-sync-check.js +1 -0
  65. package/skills/ci-triage/SKILL.md +50 -0
  66. package/skills/ci-triage/agents/openai.yaml +4 -0
  67. package/skills/cool-workflow/SKILL.md +4 -1
  68. package/skills/deploy-check/SKILL.md +55 -0
  69. package/skills/deploy-check/agents/openai.yaml +4 -0
  70. package/skills/design-qa/SKILL.md +49 -0
  71. package/skills/design-qa/agents/openai.yaml +4 -0
  72. package/skills/pr-review/SKILL.md +45 -0
  73. package/skills/pr-review/agents/openai.yaml +4 -0
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: design-qa
3
+ description: >-
4
+ Evaluate Cool Workflow architecture, product design, operator UX,
5
+ context-pack, workflow-app, MCP/CLI, or release-process proposals. Use when
6
+ Codex must decide whether a design respects FreeBSD/POLA,
7
+ mechanism-not-policy, stable JSON surfaces, evidence, and verifier boundaries
8
+ before implementation.
9
+ ---
10
+
11
+ # Design QA
12
+
13
+ ## Overview
14
+
15
+ Design QA checks whether a proposed capability belongs in the kernel,
16
+ userland, a manifest, a wrapper, a routine, or an eval before implementation.
17
+
18
+ ## Workflow
19
+
20
+ 1. State the user capability in one sentence.
21
+ 2. Identify the contract surface: CLI, MCP, `.cw/` state, file layout, docs,
22
+ package contents, or external wrapper.
23
+ 3. Separate mechanism from policy. Move policy into data, apps, wrappers, env,
24
+ or docs.
25
+ 4. Check POLA: existing outputs, flags, exit codes, and file layouts stay
26
+ byte-identical unless a new opt-in surface is used.
27
+ 5. Define verifier evidence: tests, manifests, screenshots for UI, replay, or
28
+ logs.
29
+ 6. Decide whether the work needs a new eval case or skill update.
30
+
31
+ ## Checks
32
+
33
+ - Does it preserve stdout-as-data?
34
+ - Does it fail closed instead of guessing?
35
+ - Does it avoid vendor-specific parsing in `src/`?
36
+ - Does it keep generated files verifiable?
37
+ - Does it have a man page or docs contract?
38
+ - Can maker and verifier run in separate worktrees?
39
+
40
+ ## Output Rules
41
+
42
+ Return:
43
+
44
+ 1. Verdict: acceptable, revise, or reject.
45
+ 2. Required contract shape.
46
+ 3. Verification plan.
47
+ 4. Risks and non-goals.
48
+
49
+ Do not turn design QA into implementation unless the user asks to proceed.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Design QA"
3
+ short_description: "Check architecture and UX design quality."
4
+ default_prompt: "Use $design-qa to evaluate this design."
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: pr-review
3
+ description: >-
4
+ Review Cool Workflow pull requests or branch diffs. Use when Codex must
5
+ inspect code changes for bugs, regressions, FreeBSD/POLA violations, missing
6
+ tests, generated artifact drift, release-contract risk, or CI implications,
7
+ and return findings first with file/line citations.
8
+ ---
9
+
10
+ # PR Review
11
+
12
+ ## Overview
13
+
14
+ Review for correctness and release risk before style. Findings lead; summaries
15
+ are secondary. Treat missing tests and POLA drift as real risks.
16
+
17
+ ## Workflow
18
+
19
+ 1. Read the diff and identify touched contracts: CLI, MCP, `.cw/` state, docs,
20
+ dist, manifests, tests, release flow, or public package files.
21
+ 2. Inspect the surrounding code for behavioral expectations.
22
+ 3. Check whether tests exercise the changed behavior and fail closed.
23
+ 4. Look for stdout chatter, silent fallback, hidden policy in core, untracked
24
+ generated drift, and accidental public-output changes.
25
+ 5. Report findings first, ordered by severity, with file and line references.
26
+ 6. Include open questions only when they block confidence.
27
+
28
+ ## Review Rules
29
+
30
+ - Do not request cosmetic rewrites unless they hide a bug.
31
+ - Do not approve undocumented shipped behavior.
32
+ - Do not accept type-only additions without runtime behavior.
33
+ - Do not accept `dist/` edits without matching `src/` changes.
34
+ - For UI work, require screenshots or browser verification.
35
+
36
+ ## Output Shape
37
+
38
+ Use this order:
39
+
40
+ 1. Findings
41
+ 2. Open questions
42
+ 3. Test gaps
43
+ 4. Short summary
44
+
45
+ If there are no findings, say so clearly and name residual risk.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "PR Review"
3
+ short_description: "Review pull requests with cited findings."
4
+ default_prompt: "Use $pr-review to review this pull request."