@claude-flow/cli 3.7.0-alpha.8 → 3.7.0-alpha.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 (291) hide show
  1. package/.claude/agents/github/release-manager.md +2 -2
  2. package/.claude/agents/github/release-swarm.md +1 -1
  3. package/.claude/agents/github/repo-architect.md +2 -2
  4. package/.claude/agents/github/swarm-pr.md +1 -1
  5. package/.claude/agents/github/workflow-automation.md +2 -2
  6. package/.claude/commands/github/code-review-swarm.md +1 -1
  7. package/.claude/commands/github/issue-tracker.md +3 -3
  8. package/.claude/commands/github/release-manager.md +5 -3
  9. package/.claude/commands/github/release-swarm.md +1 -1
  10. package/.claude/commands/github/repo-architect.md +2 -2
  11. package/.claude/commands/github/swarm-issue.md +4 -1
  12. package/.claude/commands/github/swarm-pr.md +6 -3
  13. package/.claude/commands/github/sync-coordinator.md +3 -1
  14. package/.claude/commands/github/workflow-automation.md +2 -2
  15. package/.claude/helpers/github-safe.js +95 -60
  16. package/.claude/helpers/github-setup.sh +26 -9
  17. package/.claude/helpers/hook-handler.cjs +12 -4
  18. package/.claude/helpers/statusline.cjs +31 -2
  19. package/.claude/helpers/statusline.js +35 -4
  20. package/.claude/settings.json +1 -1
  21. package/.claude/skills/dual-mode/README.md +71 -0
  22. package/.claude/skills/dual-mode/dual-collect.md +103 -0
  23. package/.claude/skills/dual-mode/dual-coordinate.md +85 -0
  24. package/.claude/skills/dual-mode/dual-spawn.md +81 -0
  25. package/.claude/skills/flow-nexus-neural/SKILL.md +0 -11
  26. package/.claude/skills/flow-nexus-platform/SKILL.md +2 -5
  27. package/.claude/skills/flow-nexus-swarm/SKILL.md +0 -6
  28. package/.claude/skills/github-code-review/SKILL.md +2 -17
  29. package/.claude/skills/github-multi-repo/SKILL.md +4 -16
  30. package/.claude/skills/github-project-management/SKILL.md +18 -33
  31. package/.claude/skills/github-release-management/SKILL.md +4 -21
  32. package/.claude/skills/github-workflow-automation/SKILL.md +8 -26
  33. package/.claude/skills/reasoningbank-intelligence/SKILL.md +2 -2
  34. package/.claude/skills/sparc-methodology/SKILL.md +2 -11
  35. package/.claude/skills/stream-chain/SKILL.md +0 -3
  36. package/.claude/skills/swarm-advanced/SKILL.md +2 -5
  37. package/.claude/skills/swarm-orchestration/SKILL.md +1 -1
  38. package/.claude/skills/verification-quality/SKILL.md +120 -78
  39. package/README.md +57 -38
  40. package/bin/cli.js +15 -2
  41. package/bin/mcp-server.js +1 -1
  42. package/dist/src/__probe.d.ts +2 -0
  43. package/dist/src/__probe.d.ts.map +1 -0
  44. package/dist/src/__probe.js +5 -0
  45. package/dist/src/__probe.js.map +1 -0
  46. package/dist/src/commands/agent-wasm.js +2 -2
  47. package/dist/src/commands/agent-wasm.js.map +1 -1
  48. package/dist/src/commands/benchmark-cosign.d.ts +29 -0
  49. package/dist/src/commands/benchmark-cosign.d.ts.map +1 -0
  50. package/dist/src/commands/benchmark-cosign.js +222 -0
  51. package/dist/src/commands/benchmark-cosign.js.map +1 -0
  52. package/dist/src/commands/benchmark-verify.d.ts +21 -0
  53. package/dist/src/commands/benchmark-verify.d.ts.map +1 -0
  54. package/dist/src/commands/benchmark-verify.js +202 -0
  55. package/dist/src/commands/benchmark-verify.js.map +1 -0
  56. package/dist/src/commands/daemon.d.ts +20 -0
  57. package/dist/src/commands/daemon.d.ts.map +1 -1
  58. package/dist/src/commands/daemon.js +366 -7
  59. package/dist/src/commands/daemon.js.map +1 -1
  60. package/dist/src/commands/doctor.d.ts.map +1 -1
  61. package/dist/src/commands/doctor.js +224 -46
  62. package/dist/src/commands/doctor.js.map +1 -1
  63. package/dist/src/commands/embeddings.d.ts.map +1 -1
  64. package/dist/src/commands/embeddings.js +18 -9
  65. package/dist/src/commands/embeddings.js.map +1 -1
  66. package/dist/src/commands/hive-mind.d.ts.map +1 -1
  67. package/dist/src/commands/hive-mind.js +25 -7
  68. package/dist/src/commands/hive-mind.js.map +1 -1
  69. package/dist/src/commands/hooks.d.ts.map +1 -1
  70. package/dist/src/commands/hooks.js +56 -29
  71. package/dist/src/commands/hooks.js.map +1 -1
  72. package/dist/src/commands/init.d.ts.map +1 -1
  73. package/dist/src/commands/init.js +21 -1
  74. package/dist/src/commands/init.js.map +1 -1
  75. package/dist/src/commands/memory.d.ts.map +1 -1
  76. package/dist/src/commands/memory.js +128 -3
  77. package/dist/src/commands/memory.js.map +1 -1
  78. package/dist/src/commands/start.js +1 -1
  79. package/dist/src/commands/start.js.map +1 -1
  80. package/dist/src/commands/swarm.js +1 -1
  81. package/dist/src/commands/swarm.js.map +1 -1
  82. package/dist/src/commands/task.d.ts.map +1 -1
  83. package/dist/src/commands/task.js +8 -4
  84. package/dist/src/commands/task.js.map +1 -1
  85. package/dist/src/config-adapter.js +1 -1
  86. package/dist/src/config-adapter.js.map +1 -1
  87. package/dist/src/index.d.ts +5 -1
  88. package/dist/src/index.d.ts.map +1 -1
  89. package/dist/src/index.js +61 -18
  90. package/dist/src/index.js.map +1 -1
  91. package/dist/src/init/claudemd-generator.d.ts.map +1 -1
  92. package/dist/src/init/claudemd-generator.js +1 -0
  93. package/dist/src/init/claudemd-generator.js.map +1 -1
  94. package/dist/src/init/executor.d.ts.map +1 -1
  95. package/dist/src/init/executor.js +133 -0
  96. package/dist/src/init/executor.js.map +1 -1
  97. package/dist/src/init/helpers-generator.d.ts +1 -0
  98. package/dist/src/init/helpers-generator.d.ts.map +1 -1
  99. package/dist/src/init/helpers-generator.js +19 -2
  100. package/dist/src/init/helpers-generator.js.map +1 -1
  101. package/dist/src/init/mcp-generator.js +4 -4
  102. package/dist/src/init/mcp-generator.js.map +1 -1
  103. package/dist/src/init/settings-generator.d.ts.map +1 -1
  104. package/dist/src/init/settings-generator.js +84 -19
  105. package/dist/src/init/settings-generator.js.map +1 -1
  106. package/dist/src/init/statusline-generator.d.ts.map +1 -1
  107. package/dist/src/init/statusline-generator.js +75 -31
  108. package/dist/src/init/statusline-generator.js.map +1 -1
  109. package/dist/src/init/types.d.ts +30 -0
  110. package/dist/src/init/types.d.ts.map +1 -1
  111. package/dist/src/init/types.js +18 -5
  112. package/dist/src/init/types.js.map +1 -1
  113. package/dist/src/mcp-client.d.ts.map +1 -1
  114. package/dist/src/mcp-client.js +12 -0
  115. package/dist/src/mcp-client.js.map +1 -1
  116. package/dist/src/mcp-server.d.ts.map +1 -1
  117. package/dist/src/mcp-server.js +38 -5
  118. package/dist/src/mcp-server.js.map +1 -1
  119. package/dist/src/mcp-tools/agent-execute-core.d.ts +3 -2
  120. package/dist/src/mcp-tools/agent-execute-core.d.ts.map +1 -1
  121. package/dist/src/mcp-tools/agent-execute-core.js +157 -83
  122. package/dist/src/mcp-tools/agent-execute-core.js.map +1 -1
  123. package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
  124. package/dist/src/mcp-tools/agent-tools.js +119 -11
  125. package/dist/src/mcp-tools/agent-tools.js.map +1 -1
  126. package/dist/src/mcp-tools/agentdb-tools.d.ts.map +1 -1
  127. package/dist/src/mcp-tools/agentdb-tools.js +101 -24
  128. package/dist/src/mcp-tools/agentdb-tools.js.map +1 -1
  129. package/dist/src/mcp-tools/analyze-tools.js +6 -6
  130. package/dist/src/mcp-tools/analyze-tools.js.map +1 -1
  131. package/dist/src/mcp-tools/autopilot-tools.js +10 -10
  132. package/dist/src/mcp-tools/autopilot-tools.js.map +1 -1
  133. package/dist/src/mcp-tools/browser-session-tools.d.ts.map +1 -1
  134. package/dist/src/mcp-tools/browser-session-tools.js +18 -7
  135. package/dist/src/mcp-tools/browser-session-tools.js.map +1 -1
  136. package/dist/src/mcp-tools/browser-tools.js +23 -23
  137. package/dist/src/mcp-tools/browser-tools.js.map +1 -1
  138. package/dist/src/mcp-tools/claims-tools.js +12 -12
  139. package/dist/src/mcp-tools/claims-tools.js.map +1 -1
  140. package/dist/src/mcp-tools/config-tools.js +6 -6
  141. package/dist/src/mcp-tools/config-tools.js.map +1 -1
  142. package/dist/src/mcp-tools/coordination-tools.js +7 -7
  143. package/dist/src/mcp-tools/coordination-tools.js.map +1 -1
  144. package/dist/src/mcp-tools/daa-tools.js +8 -8
  145. package/dist/src/mcp-tools/daa-tools.js.map +1 -1
  146. package/dist/src/mcp-tools/embeddings-tools.js +10 -10
  147. package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
  148. package/dist/src/mcp-tools/github-tools.js +5 -5
  149. package/dist/src/mcp-tools/github-tools.js.map +1 -1
  150. package/dist/src/mcp-tools/guidance-tools.js +21 -21
  151. package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
  152. package/dist/src/mcp-tools/hive-consensus-runtime.d.ts +149 -0
  153. package/dist/src/mcp-tools/hive-consensus-runtime.d.ts.map +1 -0
  154. package/dist/src/mcp-tools/hive-consensus-runtime.js +296 -0
  155. package/dist/src/mcp-tools/hive-consensus-runtime.js.map +1 -0
  156. package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
  157. package/dist/src/mcp-tools/hive-mind-tools.js +53 -9
  158. package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
  159. package/dist/src/mcp-tools/hooks-tools.d.ts +2 -0
  160. package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
  161. package/dist/src/mcp-tools/hooks-tools.js +179 -46
  162. package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
  163. package/dist/src/mcp-tools/managed-agent-tools.d.ts +22 -0
  164. package/dist/src/mcp-tools/managed-agent-tools.d.ts.map +1 -0
  165. package/dist/src/mcp-tools/managed-agent-tools.js +357 -0
  166. package/dist/src/mcp-tools/managed-agent-tools.js.map +1 -0
  167. package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -1
  168. package/dist/src/mcp-tools/memory-tools.js +499 -68
  169. package/dist/src/mcp-tools/memory-tools.js.map +1 -1
  170. package/dist/src/mcp-tools/neural-tools.js +6 -6
  171. package/dist/src/mcp-tools/neural-tools.js.map +1 -1
  172. package/dist/src/mcp-tools/performance-tools.js +6 -6
  173. package/dist/src/mcp-tools/performance-tools.js.map +1 -1
  174. package/dist/src/mcp-tools/progress-tools.js +4 -4
  175. package/dist/src/mcp-tools/progress-tools.js.map +1 -1
  176. package/dist/src/mcp-tools/ruvllm-tools.d.ts.map +1 -1
  177. package/dist/src/mcp-tools/ruvllm-tools.js +27 -11
  178. package/dist/src/mcp-tools/ruvllm-tools.js.map +1 -1
  179. package/dist/src/mcp-tools/security-tools.d.ts.map +1 -1
  180. package/dist/src/mcp-tools/security-tools.js +34 -9
  181. package/dist/src/mcp-tools/security-tools.js.map +1 -1
  182. package/dist/src/mcp-tools/session-tools.d.ts.map +1 -1
  183. package/dist/src/mcp-tools/session-tools.js +130 -6
  184. package/dist/src/mcp-tools/session-tools.js.map +1 -1
  185. package/dist/src/mcp-tools/swarm-tools.d.ts +28 -0
  186. package/dist/src/mcp-tools/swarm-tools.d.ts.map +1 -1
  187. package/dist/src/mcp-tools/swarm-tools.js +80 -9
  188. package/dist/src/mcp-tools/swarm-tools.js.map +1 -1
  189. package/dist/src/mcp-tools/system-tools.d.ts.map +1 -1
  190. package/dist/src/mcp-tools/system-tools.js +91 -18
  191. package/dist/src/mcp-tools/system-tools.js.map +1 -1
  192. package/dist/src/mcp-tools/task-tools.d.ts.map +1 -1
  193. package/dist/src/mcp-tools/task-tools.js +55 -7
  194. package/dist/src/mcp-tools/task-tools.js.map +1 -1
  195. package/dist/src/mcp-tools/terminal-tools.js +5 -5
  196. package/dist/src/mcp-tools/terminal-tools.js.map +1 -1
  197. package/dist/src/mcp-tools/transfer-tools.js +11 -11
  198. package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
  199. package/dist/src/mcp-tools/wasm-agent-tools.js +11 -11
  200. package/dist/src/mcp-tools/wasm-agent-tools.js.map +1 -1
  201. package/dist/src/mcp-tools/workflow-tools.d.ts.map +1 -1
  202. package/dist/src/mcp-tools/workflow-tools.js +118 -10
  203. package/dist/src/mcp-tools/workflow-tools.js.map +1 -1
  204. package/dist/src/memory/ann-router-registry.d.ts +61 -0
  205. package/dist/src/memory/ann-router-registry.d.ts.map +1 -0
  206. package/dist/src/memory/ann-router-registry.js +72 -0
  207. package/dist/src/memory/ann-router-registry.js.map +1 -0
  208. package/dist/src/memory/diskann-registry.d.ts +56 -0
  209. package/dist/src/memory/diskann-registry.d.ts.map +1 -0
  210. package/dist/src/memory/diskann-registry.js +88 -0
  211. package/dist/src/memory/diskann-registry.js.map +1 -0
  212. package/dist/src/memory/memory-bridge.d.ts +4 -0
  213. package/dist/src/memory/memory-bridge.d.ts.map +1 -1
  214. package/dist/src/memory/memory-bridge.js +49 -8
  215. package/dist/src/memory/memory-bridge.js.map +1 -1
  216. package/dist/src/memory/memory-initializer.d.ts +12 -0
  217. package/dist/src/memory/memory-initializer.d.ts.map +1 -1
  218. package/dist/src/memory/memory-initializer.js +98 -19
  219. package/dist/src/memory/memory-initializer.js.map +1 -1
  220. package/dist/src/memory/sona-optimizer.d.ts.map +1 -1
  221. package/dist/src/memory/sona-optimizer.js +3 -0
  222. package/dist/src/memory/sona-optimizer.js.map +1 -1
  223. package/dist/src/parser.d.ts +9 -0
  224. package/dist/src/parser.d.ts.map +1 -1
  225. package/dist/src/parser.js +11 -0
  226. package/dist/src/parser.js.map +1 -1
  227. package/dist/src/plugins/store/discovery.d.ts +15 -4
  228. package/dist/src/plugins/store/discovery.d.ts.map +1 -1
  229. package/dist/src/plugins/store/discovery.js +40 -18
  230. package/dist/src/plugins/store/discovery.js.map +1 -1
  231. package/dist/src/ruvector/agent-wasm.d.ts.map +1 -1
  232. package/dist/src/ruvector/agent-wasm.js +4 -1
  233. package/dist/src/ruvector/agent-wasm.js.map +1 -1
  234. package/dist/src/ruvector/coverage-tools.js +6 -6
  235. package/dist/src/ruvector/coverage-tools.js.map +1 -1
  236. package/dist/src/services/headless-worker-executor.d.ts +6 -0
  237. package/dist/src/services/headless-worker-executor.d.ts.map +1 -1
  238. package/dist/src/services/headless-worker-executor.js +63 -6
  239. package/dist/src/services/headless-worker-executor.js.map +1 -1
  240. package/dist/src/services/worker-daemon.d.ts +80 -2
  241. package/dist/src/services/worker-daemon.d.ts.map +1 -1
  242. package/dist/src/services/worker-daemon.js +372 -11
  243. package/dist/src/services/worker-daemon.js.map +1 -1
  244. package/dist/tsconfig.tsbuildinfo +1 -1
  245. package/package.json +12 -8
  246. package/.claude/agents/core/coder.md +0 -453
  247. package/.claude/agents/core/researcher.md +0 -369
  248. package/.claude/agents/core/reviewer.md +0 -520
  249. package/.claude/agents/core/tester.md +0 -512
  250. package/.claude/agents/goal/goal-planner.md +0 -73
  251. package/.claude/agents/v3/adr-architect.md +0 -184
  252. package/.claude/agents/v3/memory-specialist.md +0 -995
  253. package/.claude/agents/v3/security-auditor.md +0 -771
  254. package/.claude/agents/v3/sparc-orchestrator.md +0 -182
  255. package/.claude/commands/flow-nexus/app-store.md +0 -124
  256. package/.claude/commands/flow-nexus/challenges.md +0 -120
  257. package/.claude/commands/flow-nexus/login-registration.md +0 -65
  258. package/.claude/commands/flow-nexus/neural-network.md +0 -134
  259. package/.claude/commands/flow-nexus/payments.md +0 -116
  260. package/.claude/commands/flow-nexus/sandbox.md +0 -83
  261. package/.claude/commands/flow-nexus/swarm.md +0 -87
  262. package/.claude/commands/flow-nexus/user-tools.md +0 -152
  263. package/.claude/commands/flow-nexus/workflow.md +0 -115
  264. package/.claude/skills/agentic-jujutsu/SKILL.md +0 -645
  265. package/.claude/skills/aidefence-scan.md +0 -151
  266. package/.claude/skills/aidefence.yaml +0 -297
  267. package/.claude/skills/hive-mind-advanced/SKILL.md +0 -712
  268. package/.claude/skills/performance-analysis/SKILL.md +0 -563
  269. package/.claude/skills/secure-review.md +0 -181
  270. package/.claude/skills/worker-benchmarks/skill.md +0 -135
  271. package/.claude/skills/worker-integration/skill.md +0 -154
  272. package/dist/src/ruvector/flash-attention.d.ts +0 -195
  273. package/dist/src/ruvector/flash-attention.d.ts.map +0 -1
  274. package/dist/src/ruvector/flash-attention.js +0 -643
  275. package/dist/src/ruvector/flash-attention.js.map +0 -1
  276. package/dist/src/ruvector/moe-router.d.ts +0 -206
  277. package/dist/src/ruvector/moe-router.d.ts.map +0 -1
  278. package/dist/src/ruvector/moe-router.js +0 -626
  279. package/dist/src/ruvector/moe-router.js.map +0 -1
  280. package/dist/src/services/event-stream.d.ts +0 -25
  281. package/dist/src/services/event-stream.d.ts.map +0 -1
  282. package/dist/src/services/event-stream.js +0 -27
  283. package/dist/src/services/event-stream.js.map +0 -1
  284. package/dist/src/services/loop-worker-runner.d.ts +0 -16
  285. package/dist/src/services/loop-worker-runner.d.ts.map +0 -1
  286. package/dist/src/services/loop-worker-runner.js +0 -34
  287. package/dist/src/services/loop-worker-runner.js.map +0 -1
  288. package/dist/src/services/runtime-capabilities.d.ts +0 -22
  289. package/dist/src/services/runtime-capabilities.d.ts.map +0 -1
  290. package/dist/src/services/runtime-capabilities.js +0 -45
  291. package/dist/src/services/runtime-capabilities.js.map +0 -1
@@ -1,16 +1,7 @@
1
1
  ---
2
2
  name: sparc-methodology
3
- description: SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration
4
- version: 2.7.0
5
- category: development
6
- tags:
7
- - sparc
8
- - tdd
9
- - architecture
10
- - orchestration
11
- - methodology
12
- - multi-agent
13
- author: Claude Flow
3
+ description: |
4
+ SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration
14
5
  ---
15
6
 
16
7
  # SPARC Methodology - Comprehensive Development Framework
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: stream-chain
3
3
  description: Stream-JSON chaining for multi-agent pipelines, data transformation, and sequential workflows
4
- version: 1.0.0
5
- category: workflow
6
- tags: [streaming, pipeline, chaining, multi-agent, workflow]
7
4
  ---
8
5
 
9
6
  # Stream-Chain Skill
@@ -1,10 +1,7 @@
1
1
  ---
2
2
  name: swarm-advanced
3
- description: Advanced swarm orchestration patterns for research, development, testing, and complex distributed workflows
4
- version: 2.0.0
5
- category: orchestration
6
- tags: [swarm, distributed, parallel, research, testing, development, coordination]
7
- author: Claude Flow Team
3
+ description: |
4
+ Advanced swarm orchestration patterns for research, development, testing, and complex distributed workflows
8
5
  ---
9
6
 
10
7
  # Advanced Swarm Orchestration
@@ -11,7 +11,7 @@ Orchestrates multi-agent swarms using agentic-flow's advanced coordination syste
11
11
 
12
12
  ## Prerequisites
13
13
 
14
- - agentic-flow v3.0.0-alpha.1+
14
+ - agentic-flow v1.5.11+
15
15
  - Node.js 18+
16
16
  - Understanding of distributed systems (helpful)
17
17
 
@@ -1,9 +1,7 @@
1
1
  ---
2
2
  name: "Verification & Quality Assurance"
3
- description: "Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability."
4
- version: "2.0.0"
5
- category: "quality-assurance"
6
- tags: ["verification", "truth-scoring", "quality", "rollback", "metrics", "ci-cd"]
3
+ description: |
4
+ Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.
7
5
  ---
8
6
 
9
7
  # Verification & Quality Assurance Skill
@@ -19,26 +17,70 @@ This skill provides a comprehensive verification and quality assurance system th
19
17
  - **CI/CD Integration**: Export capabilities for continuous integration pipelines
20
18
  - **Real-time Monitoring**: Live dashboards and watch modes for ongoing verification
21
19
 
20
+ > **Shipped vs. aspirational.** The *concrete, in-CI* verification stack — the 6 regression-guard jobs + the witness manifest + the tool-discoverability audit — is real and runs on every push. The truth-scoring / auto-rollback / WebSocket-dashboard surface described later in this doc is partly shipped (`ruflo verify` runs the witness checks) and partly design — treat the "CI Guards" section below as the authoritative current state.
21
+
22
+ ## CI Guards — what's actually shipped (current state)
23
+
24
+ Ruflo's regression protection is three layers, all gated before publish. Authoritative reference: [`verification/README.md`](../../../verification/README.md).
25
+
26
+ | Layer | What | CI job(s) in `.github/workflows/v3-ci.yml` | ADR |
27
+ |---|---|---|---|
28
+ | **1 — install/behavioral smoke** | Exercise user-visible failure modes against a real build | `smoke-install-no-bsqlite` (npm install on platforms w/o prebuilds), `plugin-hooks-smoke` (#1859/#1862 — hook flag parsing), `mcp-protocol-smoke` (#1874 — HTTP MCP wire format), `memory-import-smoke` (#1883/#1884 — WSL path + key sanitization), `mcp-roundtrip-smoke` (#1889 paired-tool round-trip + #1863 cli-no-crash + ADR-095 G2 consensus-transport) | ADR-102 |
29
+ | **1 — discoverability gate** | Every MCP tool description must answer "use this over native when?" | `tool-descriptions-audit` — `scripts/audit-tool-descriptions.mjs`, baseline at `verification/mcp-tool-baseline.json` (monotone-decreasing: noGuidance / tooShort / duplicates) | ADR-112 |
30
+ | **2 — cryptographic witness** | Every documented fix's load-bearing marker must still be present in dist; Ed25519-signed, per-OS bundles | `witness-verify` (ubuntu/macos/windows) — `plugins/ruflo-core/scripts/witness/verify.mjs` against `verification/<os>/manifest.md.json` | ADR-103 |
31
+ | **3 — temporal history** | When was a regression introduced | `verification/<os>/history.jsonl` + `history.mjs` (`summary` / `regressions` / `timeline`) | ADR-103 |
32
+
33
+ ### Run the guards locally
34
+
35
+ ```bash
36
+ # Tool-description discoverability audit (ADR-112)
37
+ node scripts/audit-tool-descriptions.mjs # fails if any baseline count rises
38
+ node scripts/audit-tool-descriptions.mjs --update-baseline # lock the new floor after a fix lands
39
+
40
+ # Behavioral smokes (each builds what it needs; safe to run individually)
41
+ node plugins/ruflo-core/scripts/test-hooks.mjs "node $PWD/v3/@claude-flow/cli/bin/cli.js"
42
+ node plugins/ruflo-core/scripts/test-mcp-protocol.mjs
43
+ node plugins/ruflo-core/scripts/test-memory-import.mjs
44
+ node plugins/ruflo-core/scripts/test-mcp-roundtrips.mjs # #1889 paired-tool round-trip
45
+ node plugins/ruflo-core/scripts/test-cli-no-crash.mjs # #1863 unhandled-exception class
46
+ node plugins/ruflo-core/scripts/test-consensus-transport.mjs # ADR-095 G2 consensus transport
47
+
48
+ # Witness manifest — regenerate + verify
49
+ node scripts/regen-witness.mjs
50
+ node plugins/ruflo-core/scripts/witness/verify.mjs --manifest verification/macos/manifest.md.json
51
+
52
+ # Temporal history
53
+ node plugins/ruflo-core/scripts/witness/history.mjs --history verification/macos/history.jsonl summary
54
+ node plugins/ruflo-core/scripts/witness/history.mjs --history verification/macos/history.jsonl regressions
55
+ ```
56
+
57
+ ### Adding a new guard
58
+
59
+ 1. **Behavioral smoke** → write `plugins/ruflo-core/scripts/test-<name>.mjs`. Pattern: static dist-scan first (fast, always completes), behavioral probe second with an internal timeout + a process-level watchdog so CI never hangs. Add a step to the relevant job in `v3-ci.yml`.
60
+ 2. **Static gate with a baseline** → write `scripts/audit-<name>.mjs` that scans, counts violations, and fails if the count exceeds a monotone-decreasing baseline in `verification/<name>-baseline.json`. Support `--update-baseline`. Add a CI job; wire it into `witness-verify` `needs[]` if it should gate `publish`.
61
+ 3. **Documented-fix marker** → append `{ id, desc, file, marker }` to `verification/witness-fixes.json`, run `node scripts/regen-witness.mjs`. The marker must be a substring the fix specifically creates (not a generic pattern like `'function'`).
62
+
22
63
  ## Prerequisites
23
64
 
24
- - Claude Flow installed (`npx claude-flow@alpha`)
65
+ - Ruflo installed (`npx ruflo@alpha`)
25
66
  - Git repository (for rollback features)
26
67
  - Node.js 18+ (for dashboard features)
68
+ - `@noble/ed25519` (for the witness verifier — a single runtime dep, `npm i @noble/ed25519`)
27
69
 
28
70
  ## Quick Start
29
71
 
30
72
  ```bash
31
73
  # View current truth scores
32
- npx claude-flow@alpha truth
74
+ npx ruflo@alpha truth
33
75
 
34
76
  # Run verification check
35
- npx claude-flow@alpha verify check
77
+ npx ruflo@alpha verify check
36
78
 
37
79
  # Verify specific file with custom threshold
38
- npx claude-flow@alpha verify check --file src/app.js --threshold 0.98
80
+ npx ruflo@alpha verify check --file src/app.js --threshold 0.98
39
81
 
40
82
  # Rollback last failed verification
41
- npx claude-flow@alpha verify rollback --last-good
83
+ npx ruflo@alpha verify rollback --last-good
42
84
  ```
43
85
 
44
86
  ---
@@ -54,40 +96,40 @@ Display comprehensive quality and reliability metrics for your codebase and agen
54
96
  **Basic Usage:**
55
97
  ```bash
56
98
  # View current truth scores (default: table format)
57
- npx claude-flow@alpha truth
99
+ npx ruflo@alpha truth
58
100
 
59
101
  # View scores for specific time period
60
- npx claude-flow@alpha truth --period 7d
102
+ npx ruflo@alpha truth --period 7d
61
103
 
62
104
  # View scores for specific agent
63
- npx claude-flow@alpha truth --agent coder --period 24h
105
+ npx ruflo@alpha truth --agent coder --period 24h
64
106
 
65
107
  # Find files/tasks below threshold
66
- npx claude-flow@alpha truth --threshold 0.8
108
+ npx ruflo@alpha truth --threshold 0.8
67
109
  ```
68
110
 
69
111
  **Output Formats:**
70
112
  ```bash
71
113
  # Table format (default)
72
- npx claude-flow@alpha truth --format table
114
+ npx ruflo@alpha truth --format table
73
115
 
74
116
  # JSON for programmatic access
75
- npx claude-flow@alpha truth --format json
117
+ npx ruflo@alpha truth --format json
76
118
 
77
119
  # CSV for spreadsheet analysis
78
- npx claude-flow@alpha truth --format csv
120
+ npx ruflo@alpha truth --format csv
79
121
 
80
122
  # HTML report with visualizations
81
- npx claude-flow@alpha truth --format html --export report.html
123
+ npx ruflo@alpha truth --format html --export report.html
82
124
  ```
83
125
 
84
126
  **Real-time Monitoring:**
85
127
  ```bash
86
128
  # Watch mode with live updates
87
- npx claude-flow@alpha truth --watch
129
+ npx ruflo@alpha truth --watch
88
130
 
89
131
  # Export metrics automatically
90
- npx claude-flow@alpha truth --export .claude-flow/metrics/truth-$(date +%Y%m%d).json
132
+ npx ruflo@alpha truth --export .claude-flow/metrics/truth-$(date +%Y%m%d).json
91
133
  ```
92
134
 
93
135
  #### Truth Score Dashboard
@@ -143,40 +185,40 @@ Execute comprehensive verification checks on code, tasks, or agent outputs.
143
185
  **File Verification:**
144
186
  ```bash
145
187
  # Verify single file
146
- npx claude-flow@alpha verify check --file src/app.js
188
+ npx ruflo@alpha verify check --file src/app.js
147
189
 
148
190
  # Verify directory recursively
149
- npx claude-flow@alpha verify check --directory src/
191
+ npx ruflo@alpha verify check --directory src/
150
192
 
151
193
  # Verify with auto-fix enabled
152
- npx claude-flow@alpha verify check --file src/utils.js --auto-fix
194
+ npx ruflo@alpha verify check --file src/utils.js --auto-fix
153
195
 
154
196
  # Verify current working directory
155
- npx claude-flow@alpha verify check
197
+ npx ruflo@alpha verify check
156
198
  ```
157
199
 
158
200
  **Task Verification:**
159
201
  ```bash
160
202
  # Verify specific task output
161
- npx claude-flow@alpha verify check --task task-123
203
+ npx ruflo@alpha verify check --task task-123
162
204
 
163
205
  # Verify with custom threshold
164
- npx claude-flow@alpha verify check --task task-456 --threshold 0.99
206
+ npx ruflo@alpha verify check --task task-456 --threshold 0.99
165
207
 
166
208
  # Verbose output for debugging
167
- npx claude-flow@alpha verify check --task task-789 --verbose
209
+ npx ruflo@alpha verify check --task task-789 --verbose
168
210
  ```
169
211
 
170
212
  **Batch Verification:**
171
213
  ```bash
172
214
  # Verify multiple files in parallel
173
- npx claude-flow@alpha verify batch --files "*.js" --parallel
215
+ npx ruflo@alpha verify batch --files "*.js" --parallel
174
216
 
175
217
  # Verify with pattern matching
176
- npx claude-flow@alpha verify batch --pattern "src/**/*.ts"
218
+ npx ruflo@alpha verify batch --pattern "src/**/*.ts"
177
219
 
178
220
  # Integration test suite
179
- npx claude-flow@alpha verify integration --test-suite full
221
+ npx ruflo@alpha verify integration --test-suite full
180
222
  ```
181
223
 
182
224
  #### Verification Criteria
@@ -217,7 +259,7 @@ The verification system evaluates:
217
259
 
218
260
  ```bash
219
261
  # Get structured JSON output
220
- npx claude-flow@alpha verify check --json > verification.json
262
+ npx ruflo@alpha verify check --json > verification.json
221
263
 
222
264
  # Example JSON structure:
223
265
  {
@@ -249,25 +291,25 @@ Automatically revert changes that fail verification checks.
249
291
  **Basic Rollback:**
250
292
  ```bash
251
293
  # Rollback to last known good state
252
- npx claude-flow@alpha verify rollback --last-good
294
+ npx ruflo@alpha verify rollback --last-good
253
295
 
254
296
  # Rollback to specific commit
255
- npx claude-flow@alpha verify rollback --to-commit abc123
297
+ npx ruflo@alpha verify rollback --to-commit abc123
256
298
 
257
299
  # Interactive rollback with preview
258
- npx claude-flow@alpha verify rollback --interactive
300
+ npx ruflo@alpha verify rollback --interactive
259
301
  ```
260
302
 
261
303
  **Smart Rollback:**
262
304
  ```bash
263
305
  # Rollback only failed files (preserve good changes)
264
- npx claude-flow@alpha verify rollback --selective
306
+ npx ruflo@alpha verify rollback --selective
265
307
 
266
308
  # Rollback with automatic backup
267
- npx claude-flow@alpha verify rollback --backup-first
309
+ npx ruflo@alpha verify rollback --backup-first
268
310
 
269
311
  # Dry-run mode (preview without executing)
270
- npx claude-flow@alpha verify rollback --dry-run
312
+ npx ruflo@alpha verify rollback --dry-run
271
313
  ```
272
314
 
273
315
  **Rollback Performance:**
@@ -284,31 +326,31 @@ Create detailed verification reports with metrics and visualizations.
284
326
  **Report Formats:**
285
327
  ```bash
286
328
  # JSON report
287
- npx claude-flow@alpha verify report --format json
329
+ npx ruflo@alpha verify report --format json
288
330
 
289
331
  # HTML report with charts
290
- npx claude-flow@alpha verify report --export metrics.html --format html
332
+ npx ruflo@alpha verify report --export metrics.html --format html
291
333
 
292
334
  # CSV for data analysis
293
- npx claude-flow@alpha verify report --format csv --export metrics.csv
335
+ npx ruflo@alpha verify report --format csv --export metrics.csv
294
336
 
295
337
  # Markdown summary
296
- npx claude-flow@alpha verify report --format markdown
338
+ npx ruflo@alpha verify report --format markdown
297
339
  ```
298
340
 
299
341
  **Time-based Reports:**
300
342
  ```bash
301
343
  # Last 24 hours
302
- npx claude-flow@alpha verify report --period 24h
344
+ npx ruflo@alpha verify report --period 24h
303
345
 
304
346
  # Last 7 days
305
- npx claude-flow@alpha verify report --period 7d
347
+ npx ruflo@alpha verify report --period 7d
306
348
 
307
349
  # Last 30 days with trends
308
- npx claude-flow@alpha verify report --period 30d --include-trends
350
+ npx ruflo@alpha verify report --period 30d --include-trends
309
351
 
310
352
  # Custom date range
311
- npx claude-flow@alpha verify report --from 2025-01-01 --to 2025-01-31
353
+ npx ruflo@alpha verify report --from 2025-01-01 --to 2025-01-31
312
354
  ```
313
355
 
314
356
  **Report Content:**
@@ -328,16 +370,16 @@ Run interactive web-based verification dashboard with real-time updates.
328
370
 
329
371
  ```bash
330
372
  # Launch dashboard on default port (3000)
331
- npx claude-flow@alpha verify dashboard
373
+ npx ruflo@alpha verify dashboard
332
374
 
333
375
  # Custom port
334
- npx claude-flow@alpha verify dashboard --port 8080
376
+ npx ruflo@alpha verify dashboard --port 8080
335
377
 
336
378
  # Export dashboard data
337
- npx claude-flow@alpha verify dashboard --export
379
+ npx ruflo@alpha verify dashboard --export
338
380
 
339
381
  # Dashboard with auto-refresh
340
- npx claude-flow@alpha verify dashboard --refresh 5s
382
+ npx ruflo@alpha verify dashboard --refresh 5s
341
383
  ```
342
384
 
343
385
  **Dashboard Features:**
@@ -392,13 +434,13 @@ Set verification preferences in `.claude-flow/config.json`:
392
434
  **Adjust verification strictness:**
393
435
  ```bash
394
436
  # Strict mode (99% accuracy required)
395
- npx claude-flow@alpha verify check --threshold 0.99
437
+ npx ruflo@alpha verify check --threshold 0.99
396
438
 
397
439
  # Lenient mode (90% acceptable)
398
- npx claude-flow@alpha verify check --threshold 0.90
440
+ npx ruflo@alpha verify check --threshold 0.90
399
441
 
400
442
  # Set default threshold
401
- npx claude-flow@alpha config set verification.threshold 0.98
443
+ npx ruflo@alpha config set verification.threshold 0.98
402
444
  ```
403
445
 
404
446
  **Per-environment thresholds:**
@@ -428,14 +470,14 @@ jobs:
428
470
  verify:
429
471
  runs-on: ubuntu-latest
430
472
  steps:
431
- - uses: actions/checkout@v3
473
+ - uses: actions/checkout@v4
432
474
 
433
475
  - name: Install Dependencies
434
476
  run: npm install
435
477
 
436
478
  - name: Run Verification
437
479
  run: |
438
- npx claude-flow@alpha verify check --json > verification.json
480
+ npx ruflo@alpha verify check --json > verification.json
439
481
 
440
482
  - name: Check Truth Score
441
483
  run: |
@@ -457,7 +499,7 @@ jobs:
457
499
  verify:
458
500
  stage: test
459
501
  script:
460
- - npx claude-flow@alpha verify check --threshold 0.95 --json > verification.json
502
+ - npx ruflo@alpha verify check --threshold 0.95 --json > verification.json
461
503
  - |
462
504
  score=$(jq '.overallScore' verification.json)
463
505
  if [ $(echo "$score < 0.95" | bc) -eq 1 ]; then
@@ -477,13 +519,13 @@ Run verification automatically during swarm operations:
477
519
 
478
520
  ```bash
479
521
  # Swarm with verification enabled
480
- npx claude-flow@alpha swarm --verify --threshold 0.98
522
+ npx ruflo@alpha swarm --verify --threshold 0.98
481
523
 
482
524
  # Hive Mind with auto-rollback
483
- npx claude-flow@alpha hive-mind --verify --rollback-on-fail
525
+ npx ruflo@alpha hive-mind --verify --rollback-on-fail
484
526
 
485
527
  # Training pipeline with verification
486
- npx claude-flow@alpha train --verify --threshold 0.99
528
+ npx ruflo@alpha train --verify --threshold 0.99
487
529
  ```
488
530
 
489
531
  #### Pair Programming Integration
@@ -492,10 +534,10 @@ Enable real-time verification during collaborative development:
492
534
 
493
535
  ```bash
494
536
  # Pair with verification
495
- npx claude-flow@alpha pair --verify --real-time
537
+ npx ruflo@alpha pair --verify --real-time
496
538
 
497
539
  # Pair with custom threshold
498
- npx claude-flow@alpha pair --verify --threshold 0.97 --auto-fix
540
+ npx ruflo@alpha pair --verify --threshold 0.97 --auto-fix
499
541
  ```
500
542
 
501
543
  ### Advanced Workflows
@@ -506,13 +548,13 @@ Monitor codebase continuously during development:
506
548
 
507
549
  ```bash
508
550
  # Watch directory for changes
509
- npx claude-flow@alpha verify watch --directory src/
551
+ npx ruflo@alpha verify watch --directory src/
510
552
 
511
553
  # Watch with auto-fix
512
- npx claude-flow@alpha verify watch --directory src/ --auto-fix
554
+ npx ruflo@alpha verify watch --directory src/ --auto-fix
513
555
 
514
556
  # Watch with notifications
515
- npx claude-flow@alpha verify watch --notify --threshold 0.95
557
+ npx ruflo@alpha verify watch --notify --threshold 0.95
516
558
  ```
517
559
 
518
560
  #### Monitoring Integration
@@ -521,18 +563,18 @@ Send metrics to external monitoring systems:
521
563
 
522
564
  ```bash
523
565
  # Export to Prometheus
524
- npx claude-flow@alpha truth --format json | \
566
+ npx ruflo@alpha truth --format json | \
525
567
  curl -X POST https://pushgateway.example.com/metrics/job/claude-flow \
526
568
  -d @-
527
569
 
528
570
  # Send to DataDog
529
- npx claude-flow@alpha verify report --format json | \
571
+ npx ruflo@alpha verify report --format json | \
530
572
  curl -X POST "https://api.datadoghq.com/api/v1/series?api_key=${DD_API_KEY}" \
531
573
  -H "Content-Type: application/json" \
532
574
  -d @-
533
575
 
534
576
  # Custom webhook
535
- npx claude-flow@alpha truth --format json | \
577
+ npx ruflo@alpha truth --format json | \
536
578
  curl -X POST https://metrics.example.com/api/truth \
537
579
  -H "Content-Type: application/json" \
538
580
  -d @-
@@ -544,16 +586,16 @@ Automatically verify before commits:
544
586
 
545
587
  ```bash
546
588
  # Install pre-commit hook
547
- npx claude-flow@alpha verify install-hook --pre-commit
589
+ npx ruflo@alpha verify install-hook --pre-commit
548
590
 
549
591
  # .git/hooks/pre-commit example:
550
592
  #!/bin/bash
551
- npx claude-flow@alpha verify check --threshold 0.95 --json > /tmp/verify.json
593
+ npx ruflo@alpha verify check --threshold 0.95 --json > /tmp/verify.json
552
594
 
553
595
  score=$(jq '.overallScore' /tmp/verify.json)
554
596
  if (( $(echo "$score < 0.95" | bc -l) )); then
555
597
  echo "❌ Verification failed with score: $score"
556
- echo "Run 'npx claude-flow@alpha verify check --verbose' for details"
598
+ echo "Run 'npx ruflo@alpha verify check --verbose' for details"
557
599
  exit 1
558
600
  fi
559
601
 
@@ -585,13 +627,13 @@ echo "✅ Verification passed with score: $score"
585
627
  **Low Truth Scores:**
586
628
  ```bash
587
629
  # Get detailed breakdown
588
- npx claude-flow@alpha truth --verbose --threshold 0.0
630
+ npx ruflo@alpha truth --verbose --threshold 0.0
589
631
 
590
632
  # Check specific criteria
591
- npx claude-flow@alpha verify check --verbose
633
+ npx ruflo@alpha verify check --verbose
592
634
 
593
635
  # View agent-specific issues
594
- npx claude-flow@alpha truth --agent <agent-name> --format json
636
+ npx ruflo@alpha truth --agent <agent-name> --format json
595
637
  ```
596
638
 
597
639
  **Rollback Failures:**
@@ -600,7 +642,7 @@ npx claude-flow@alpha truth --agent <agent-name> --format json
600
642
  git status
601
643
 
602
644
  # View rollback history
603
- npx claude-flow@alpha verify rollback --history
645
+ npx ruflo@alpha verify rollback --history
604
646
 
605
647
  # Manual rollback
606
648
  git reset --hard HEAD~1
@@ -609,10 +651,10 @@ git reset --hard HEAD~1
609
651
  **Verification Timeouts:**
610
652
  ```bash
611
653
  # Increase timeout
612
- npx claude-flow@alpha verify check --timeout 60s
654
+ npx ruflo@alpha verify check --timeout 60s
613
655
 
614
656
  # Verify in batches
615
- npx claude-flow@alpha verify batch --batch-size 10
657
+ npx ruflo@alpha verify batch --batch-size 10
616
658
  ```
617
659
 
618
660
  ### Exit Codes
@@ -625,10 +667,10 @@ Verification commands return standard exit codes:
625
667
 
626
668
  ### Related Commands
627
669
 
628
- - `npx claude-flow@alpha pair` - Collaborative development with verification
629
- - `npx claude-flow@alpha train` - Training with verification feedback
630
- - `npx claude-flow@alpha swarm` - Multi-agent coordination with quality checks
631
- - `npx claude-flow@alpha report` - Generate comprehensive project reports
670
+ - `npx ruflo@alpha pair` - Collaborative development with verification
671
+ - `npx ruflo@alpha train` - Training with verification feedback
672
+ - `npx ruflo@alpha swarm` - Multi-agent coordination with quality checks
673
+ - `npx ruflo@alpha report` - Generate comprehensive project reports
632
674
 
633
675
  ### Best Practices
634
676