claude-flow 3.32.29 → 3.32.32

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 (380) hide show
  1. package/node_modules/@claude-flow/codex/.agents/skills/memory-management/SKILL.md +45 -0
  2. package/node_modules/@claude-flow/codex/.agents/skills/security-audit/SKILL.md +46 -0
  3. package/node_modules/@claude-flow/codex/.agents/skills/sparc-methodology/SKILL.md +46 -0
  4. package/node_modules/@claude-flow/codex/.agents/skills/swarm-orchestration/SKILL.md +53 -0
  5. package/node_modules/@claude-flow/codex/README.md +1044 -0
  6. package/node_modules/@claude-flow/codex/dist/cli.d.ts +9 -0
  7. package/node_modules/@claude-flow/codex/dist/cli.d.ts.map +1 -0
  8. package/node_modules/@claude-flow/codex/dist/cli.js +686 -0
  9. package/node_modules/@claude-flow/codex/dist/cli.js.map +1 -0
  10. package/node_modules/@claude-flow/codex/dist/dual-mode/cli.d.ts +17 -0
  11. package/node_modules/@claude-flow/codex/dist/dual-mode/cli.d.ts.map +1 -0
  12. package/node_modules/@claude-flow/codex/dist/dual-mode/cli.js +278 -0
  13. package/node_modules/@claude-flow/codex/dist/dual-mode/cli.js.map +1 -0
  14. package/node_modules/@claude-flow/codex/dist/dual-mode/index.d.ts +8 -0
  15. package/node_modules/@claude-flow/codex/dist/dual-mode/index.d.ts.map +1 -0
  16. package/node_modules/@claude-flow/codex/dist/dual-mode/index.js +7 -0
  17. package/node_modules/@claude-flow/codex/dist/dual-mode/index.js.map +1 -0
  18. package/node_modules/@claude-flow/codex/dist/dual-mode/orchestrator.d.ts +143 -0
  19. package/node_modules/@claude-flow/codex/dist/dual-mode/orchestrator.d.ts.map +1 -0
  20. package/node_modules/@claude-flow/codex/dist/dual-mode/orchestrator.js +621 -0
  21. package/node_modules/@claude-flow/codex/dist/dual-mode/orchestrator.js.map +1 -0
  22. package/node_modules/@claude-flow/codex/dist/generators/agents-md.d.ts +12 -0
  23. package/node_modules/@claude-flow/codex/dist/generators/agents-md.d.ts.map +1 -0
  24. package/node_modules/@claude-flow/codex/dist/generators/agents-md.js +730 -0
  25. package/node_modules/@claude-flow/codex/dist/generators/agents-md.js.map +1 -0
  26. package/node_modules/@claude-flow/codex/dist/generators/config-toml.d.ts +74 -0
  27. package/node_modules/@claude-flow/codex/dist/generators/config-toml.d.ts.map +1 -0
  28. package/node_modules/@claude-flow/codex/dist/generators/config-toml.js +922 -0
  29. package/node_modules/@claude-flow/codex/dist/generators/config-toml.js.map +1 -0
  30. package/node_modules/@claude-flow/codex/dist/generators/index.d.ts +9 -0
  31. package/node_modules/@claude-flow/codex/dist/generators/index.d.ts.map +1 -0
  32. package/node_modules/@claude-flow/codex/dist/generators/index.js +9 -0
  33. package/node_modules/@claude-flow/codex/dist/generators/index.js.map +1 -0
  34. package/node_modules/@claude-flow/codex/dist/generators/skill-md.d.ts +20 -0
  35. package/node_modules/@claude-flow/codex/dist/generators/skill-md.d.ts.map +1 -0
  36. package/node_modules/@claude-flow/codex/dist/generators/skill-md.js +951 -0
  37. package/node_modules/@claude-flow/codex/dist/generators/skill-md.js.map +1 -0
  38. package/node_modules/@claude-flow/codex/dist/harness/build-evidence.d.ts +46 -0
  39. package/node_modules/@claude-flow/codex/dist/harness/build-evidence.d.ts.map +1 -0
  40. package/node_modules/@claude-flow/codex/dist/harness/build-evidence.js +126 -0
  41. package/node_modules/@claude-flow/codex/dist/harness/build-evidence.js.map +1 -0
  42. package/node_modules/@claude-flow/codex/dist/harness/contract.d.ts +153 -0
  43. package/node_modules/@claude-flow/codex/dist/harness/contract.d.ts.map +1 -0
  44. package/node_modules/@claude-flow/codex/dist/harness/contract.js +44 -0
  45. package/node_modules/@claude-flow/codex/dist/harness/contract.js.map +1 -0
  46. package/node_modules/@claude-flow/codex/dist/harness/in-memory-fenced-lease-reference.d.ts +33 -0
  47. package/node_modules/@claude-flow/codex/dist/harness/in-memory-fenced-lease-reference.d.ts.map +1 -0
  48. package/node_modules/@claude-flow/codex/dist/harness/in-memory-fenced-lease-reference.js +175 -0
  49. package/node_modules/@claude-flow/codex/dist/harness/in-memory-fenced-lease-reference.js.map +1 -0
  50. package/node_modules/@claude-flow/codex/dist/harness/in-memory-inbox-reference.d.ts +42 -0
  51. package/node_modules/@claude-flow/codex/dist/harness/in-memory-inbox-reference.d.ts.map +1 -0
  52. package/node_modules/@claude-flow/codex/dist/harness/in-memory-inbox-reference.js +140 -0
  53. package/node_modules/@claude-flow/codex/dist/harness/in-memory-inbox-reference.js.map +1 -0
  54. package/node_modules/@claude-flow/codex/dist/harness/in-memory-run-receipt-reference.d.ts +19 -0
  55. package/node_modules/@claude-flow/codex/dist/harness/in-memory-run-receipt-reference.d.ts.map +1 -0
  56. package/node_modules/@claude-flow/codex/dist/harness/in-memory-run-receipt-reference.js +79 -0
  57. package/node_modules/@claude-flow/codex/dist/harness/in-memory-run-receipt-reference.js.map +1 -0
  58. package/node_modules/@claude-flow/codex/dist/harness/index.d.ts +9 -0
  59. package/node_modules/@claude-flow/codex/dist/harness/index.d.ts.map +1 -0
  60. package/node_modules/@claude-flow/codex/dist/harness/index.js +9 -0
  61. package/node_modules/@claude-flow/codex/dist/harness/index.js.map +1 -0
  62. package/node_modules/@claude-flow/codex/dist/harness/portable-case-fold.d.ts +8 -0
  63. package/node_modules/@claude-flow/codex/dist/harness/portable-case-fold.d.ts.map +1 -0
  64. package/node_modules/@claude-flow/codex/dist/harness/portable-case-fold.js +10 -0
  65. package/node_modules/@claude-flow/codex/dist/harness/portable-case-fold.js.map +1 -0
  66. package/node_modules/@claude-flow/codex/dist/harness/repository-state.d.ts +68 -0
  67. package/node_modules/@claude-flow/codex/dist/harness/repository-state.d.ts.map +1 -0
  68. package/node_modules/@claude-flow/codex/dist/harness/repository-state.js +403 -0
  69. package/node_modules/@claude-flow/codex/dist/harness/repository-state.js.map +1 -0
  70. package/node_modules/@claude-flow/codex/dist/harness/unsigned-integer.d.ts +3 -0
  71. package/node_modules/@claude-flow/codex/dist/harness/unsigned-integer.d.ts.map +1 -0
  72. package/node_modules/@claude-flow/codex/dist/harness/unsigned-integer.js +14 -0
  73. package/node_modules/@claude-flow/codex/dist/harness/unsigned-integer.js.map +1 -0
  74. package/node_modules/@claude-flow/codex/dist/index.d.ts +53 -0
  75. package/node_modules/@claude-flow/codex/dist/index.d.ts.map +1 -0
  76. package/node_modules/@claude-flow/codex/dist/index.js +54 -0
  77. package/node_modules/@claude-flow/codex/dist/index.js.map +1 -0
  78. package/node_modules/@claude-flow/codex/dist/initializer.d.ts +98 -0
  79. package/node_modules/@claude-flow/codex/dist/initializer.d.ts.map +1 -0
  80. package/node_modules/@claude-flow/codex/dist/initializer.js +795 -0
  81. package/node_modules/@claude-flow/codex/dist/initializer.js.map +1 -0
  82. package/node_modules/@claude-flow/codex/dist/loop/cli.d.ts +3 -0
  83. package/node_modules/@claude-flow/codex/dist/loop/cli.d.ts.map +1 -0
  84. package/node_modules/@claude-flow/codex/dist/loop/cli.js +123 -0
  85. package/node_modules/@claude-flow/codex/dist/loop/cli.js.map +1 -0
  86. package/node_modules/@claude-flow/codex/dist/loop/index.d.ts +58 -0
  87. package/node_modules/@claude-flow/codex/dist/loop/index.d.ts.map +1 -0
  88. package/node_modules/@claude-flow/codex/dist/loop/index.js +230 -0
  89. package/node_modules/@claude-flow/codex/dist/loop/index.js.map +1 -0
  90. package/node_modules/@claude-flow/codex/dist/mcp-config.d.ts +28 -0
  91. package/node_modules/@claude-flow/codex/dist/mcp-config.d.ts.map +1 -0
  92. package/node_modules/@claude-flow/codex/dist/mcp-config.js +121 -0
  93. package/node_modules/@claude-flow/codex/dist/mcp-config.js.map +1 -0
  94. package/node_modules/@claude-flow/codex/dist/migrations/index.d.ts +114 -0
  95. package/node_modules/@claude-flow/codex/dist/migrations/index.d.ts.map +1 -0
  96. package/node_modules/@claude-flow/codex/dist/migrations/index.js +880 -0
  97. package/node_modules/@claude-flow/codex/dist/migrations/index.js.map +1 -0
  98. package/node_modules/@claude-flow/codex/dist/templates/index.d.ts +92 -0
  99. package/node_modules/@claude-flow/codex/dist/templates/index.d.ts.map +1 -0
  100. package/node_modules/@claude-flow/codex/dist/templates/index.js +284 -0
  101. package/node_modules/@claude-flow/codex/dist/templates/index.js.map +1 -0
  102. package/node_modules/@claude-flow/codex/dist/types.d.ts +240 -0
  103. package/node_modules/@claude-flow/codex/dist/types.d.ts.map +1 -0
  104. package/node_modules/@claude-flow/codex/dist/types.js +8 -0
  105. package/node_modules/@claude-flow/codex/dist/types.js.map +1 -0
  106. package/node_modules/@claude-flow/codex/dist/validators/index.d.ts +42 -0
  107. package/node_modules/@claude-flow/codex/dist/validators/index.d.ts.map +1 -0
  108. package/node_modules/@claude-flow/codex/dist/validators/index.js +929 -0
  109. package/node_modules/@claude-flow/codex/dist/validators/index.js.map +1 -0
  110. package/node_modules/@claude-flow/codex/dist/worktrees/coordinator.d.ts +37 -0
  111. package/node_modules/@claude-flow/codex/dist/worktrees/coordinator.d.ts.map +1 -0
  112. package/node_modules/@claude-flow/codex/dist/worktrees/coordinator.js +137 -0
  113. package/node_modules/@claude-flow/codex/dist/worktrees/coordinator.js.map +1 -0
  114. package/node_modules/@claude-flow/codex/dist/worktrees/index.d.ts +2 -0
  115. package/node_modules/@claude-flow/codex/dist/worktrees/index.d.ts.map +1 -0
  116. package/node_modules/@claude-flow/codex/dist/worktrees/index.js +2 -0
  117. package/node_modules/@claude-flow/codex/dist/worktrees/index.js.map +1 -0
  118. package/node_modules/@claude-flow/codex/package.json +122 -0
  119. package/node_modules/@claude-flow/plugin-agent-federation/README.md +49 -0
  120. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/agent-card.d.ts +130 -0
  121. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/agent-card.d.ts.map +1 -0
  122. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/agent-card.js +239 -0
  123. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/agent-card.js.map +1 -0
  124. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/consume.d.ts +34 -0
  125. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/consume.d.ts.map +1 -0
  126. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/consume.js +69 -0
  127. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/consume.js.map +1 -0
  128. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/well-known.d.ts +46 -0
  129. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/well-known.d.ts.map +1 -0
  130. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/well-known.js +84 -0
  131. package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/well-known.js.map +1 -0
  132. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/claim-checker.d.ts +27 -0
  133. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/claim-checker.d.ts.map +1 -0
  134. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/claim-checker.js +46 -0
  135. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/claim-checker.js.map +1 -0
  136. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-breaker-service.d.ts +192 -0
  137. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-breaker-service.d.ts.map +1 -0
  138. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-breaker-service.js +253 -0
  139. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-breaker-service.js.map +1 -0
  140. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-coordinator.d.ts +211 -0
  141. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-coordinator.d.ts.map +1 -0
  142. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-coordinator.js +501 -0
  143. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-coordinator.js.map +1 -0
  144. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/inbound-dispatcher.d.ts +114 -0
  145. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/inbound-dispatcher.d.ts.map +1 -0
  146. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/inbound-dispatcher.js +356 -0
  147. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/inbound-dispatcher.js.map +1 -0
  148. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/policy-engine.d.ts +41 -0
  149. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/policy-engine.d.ts.map +1 -0
  150. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/policy-engine.js +184 -0
  151. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/policy-engine.js.map +1 -0
  152. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/spend-reporter.d.ts +150 -0
  153. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/spend-reporter.d.ts.map +1 -0
  154. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/spend-reporter.js +128 -0
  155. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/spend-reporter.js.map +1 -0
  156. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/trust-evaluator.d.ts +74 -0
  157. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/trust-evaluator.d.ts.map +1 -0
  158. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/trust-evaluator.js +179 -0
  159. package/node_modules/@claude-flow/plugin-agent-federation/dist/application/trust-evaluator.js.map +1 -0
  160. package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.d.ts +13 -0
  161. package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.d.ts.map +1 -0
  162. package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +189 -0
  163. package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js.map +1 -0
  164. package/node_modules/@claude-flow/plugin-agent-federation/dist/cli-commands.d.ts +7 -0
  165. package/node_modules/@claude-flow/plugin-agent-federation/dist/cli-commands.d.ts.map +1 -0
  166. package/node_modules/@claude-flow/plugin-agent-federation/dist/cli-commands.js +317 -0
  167. package/node_modules/@claude-flow/plugin-agent-federation/dist/cli-commands.js.map +1 -0
  168. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-envelope.d.ts +45 -0
  169. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-envelope.d.ts.map +1 -0
  170. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-envelope.js +71 -0
  171. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-envelope.js.map +1 -0
  172. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-node.d.ts +104 -0
  173. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-node.d.ts.map +1 -0
  174. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-node.js +152 -0
  175. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-node.js.map +1 -0
  176. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-session.d.ts +55 -0
  177. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-session.d.ts.map +1 -0
  178. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-session.js +105 -0
  179. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-session.js.map +1 -0
  180. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/trust-level.d.ts +17 -0
  181. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/trust-level.d.ts.map +1 -0
  182. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/trust-level.js +35 -0
  183. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/trust-level.js.map +1 -0
  184. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/audit-service.d.ts +69 -0
  185. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/audit-service.d.ts.map +1 -0
  186. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/audit-service.js +149 -0
  187. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/audit-service.js.map +1 -0
  188. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/discovery-service.d.ts +68 -0
  189. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/discovery-service.d.ts.map +1 -0
  190. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/discovery-service.js +161 -0
  191. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/discovery-service.js.map +1 -0
  192. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/handshake-service.d.ts +58 -0
  193. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/handshake-service.d.ts.map +1 -0
  194. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/handshake-service.js +122 -0
  195. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/handshake-service.js.map +1 -0
  196. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/pii-pipeline-service.d.ts +65 -0
  197. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/pii-pipeline-service.d.ts.map +1 -0
  198. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/pii-pipeline-service.js +208 -0
  199. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/pii-pipeline-service.js.map +1 -0
  200. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.d.ts +51 -0
  201. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.d.ts.map +1 -0
  202. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.js +147 -0
  203. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.js.map +1 -0
  204. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-firewall-service.d.ts +71 -0
  205. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-firewall-service.d.ts.map +1 -0
  206. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-firewall-service.js +194 -0
  207. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-firewall-service.js.map +1 -0
  208. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-mesh-service.d.ts +156 -0
  209. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-mesh-service.d.ts.map +1 -0
  210. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-mesh-service.js +292 -0
  211. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-mesh-service.js.map +1 -0
  212. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-witness-service.d.ts +98 -0
  213. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-witness-service.d.ts.map +1 -0
  214. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-witness-service.js +122 -0
  215. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-witness-service.js.map +1 -0
  216. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-budget.d.ts +89 -0
  217. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-budget.d.ts.map +1 -0
  218. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-budget.js +165 -0
  219. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-budget.js.map +1 -0
  220. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-node-state.d.ts +92 -0
  221. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-node-state.d.ts.map +1 -0
  222. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-node-state.js +100 -0
  223. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-node-state.js.map +1 -0
  224. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/wg-config.d.ts +70 -0
  225. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/wg-config.d.ts.map +1 -0
  226. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/wg-config.js +104 -0
  227. package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/wg-config.js.map +1 -0
  228. package/node_modules/@claude-flow/plugin-agent-federation/dist/index.d.ts +23 -0
  229. package/node_modules/@claude-flow/plugin-agent-federation/dist/index.d.ts.map +1 -0
  230. package/node_modules/@claude-flow/plugin-agent-federation/dist/index.js +24 -0
  231. package/node_modules/@claude-flow/plugin-agent-federation/dist/index.js.map +1 -0
  232. package/node_modules/@claude-flow/plugin-agent-federation/dist/mcp-tools.d.ts +10 -0
  233. package/node_modules/@claude-flow/plugin-agent-federation/dist/mcp-tools.d.ts.map +1 -0
  234. package/node_modules/@claude-flow/plugin-agent-federation/dist/mcp-tools.js +439 -0
  235. package/node_modules/@claude-flow/plugin-agent-federation/dist/mcp-tools.js.map +1 -0
  236. package/node_modules/@claude-flow/plugin-agent-federation/dist/plugin.d.ts +19 -0
  237. package/node_modules/@claude-flow/plugin-agent-federation/dist/plugin.d.ts.map +1 -0
  238. package/node_modules/@claude-flow/plugin-agent-federation/dist/plugin.js +515 -0
  239. package/node_modules/@claude-flow/plugin-agent-federation/dist/plugin.js.map +1 -0
  240. package/node_modules/@claude-flow/plugin-agent-federation/dist/transport/midstream-aware-loader.d.ts +72 -0
  241. package/node_modules/@claude-flow/plugin-agent-federation/dist/transport/midstream-aware-loader.d.ts.map +1 -0
  242. package/node_modules/@claude-flow/plugin-agent-federation/dist/transport/midstream-aware-loader.js +269 -0
  243. package/node_modules/@claude-flow/plugin-agent-federation/dist/transport/midstream-aware-loader.js.map +1 -0
  244. package/node_modules/@claude-flow/plugin-agent-federation/dist/version.d.ts +3 -0
  245. package/node_modules/@claude-flow/plugin-agent-federation/dist/version.d.ts.map +1 -0
  246. package/node_modules/@claude-flow/plugin-agent-federation/dist/version.js +3 -0
  247. package/node_modules/@claude-flow/plugin-agent-federation/dist/version.js.map +1 -0
  248. package/node_modules/@claude-flow/plugin-agent-federation/package.json +64 -0
  249. package/node_modules/@claude-flow/security/README.md +292 -0
  250. package/node_modules/@claude-flow/security/dist/CVE-REMEDIATION.d.ts +97 -0
  251. package/node_modules/@claude-flow/security/dist/CVE-REMEDIATION.d.ts.map +1 -0
  252. package/node_modules/@claude-flow/security/dist/CVE-REMEDIATION.js +537 -0
  253. package/node_modules/@claude-flow/security/dist/CVE-REMEDIATION.js.map +1 -0
  254. package/node_modules/@claude-flow/security/dist/application/index.d.ts +7 -0
  255. package/node_modules/@claude-flow/security/dist/application/index.d.ts.map +1 -0
  256. package/node_modules/@claude-flow/security/dist/application/index.js +7 -0
  257. package/node_modules/@claude-flow/security/dist/application/index.js.map +1 -0
  258. package/node_modules/@claude-flow/security/dist/application/services/security-application-service.d.ts +71 -0
  259. package/node_modules/@claude-flow/security/dist/application/services/security-application-service.d.ts.map +1 -0
  260. package/node_modules/@claude-flow/security/dist/application/services/security-application-service.js +153 -0
  261. package/node_modules/@claude-flow/security/dist/application/services/security-application-service.js.map +1 -0
  262. package/node_modules/@claude-flow/security/dist/authorization/propagator.d.ts +148 -0
  263. package/node_modules/@claude-flow/security/dist/authorization/propagator.d.ts.map +1 -0
  264. package/node_modules/@claude-flow/security/dist/authorization/propagator.js +182 -0
  265. package/node_modules/@claude-flow/security/dist/authorization/propagator.js.map +1 -0
  266. package/node_modules/@claude-flow/security/dist/credential-generator.d.ts +176 -0
  267. package/node_modules/@claude-flow/security/dist/credential-generator.d.ts.map +1 -0
  268. package/node_modules/@claude-flow/security/dist/credential-generator.js +272 -0
  269. package/node_modules/@claude-flow/security/dist/credential-generator.js.map +1 -0
  270. package/node_modules/@claude-flow/security/dist/domain/entities/security-context.d.ts +68 -0
  271. package/node_modules/@claude-flow/security/dist/domain/entities/security-context.d.ts.map +1 -0
  272. package/node_modules/@claude-flow/security/dist/domain/entities/security-context.js +132 -0
  273. package/node_modules/@claude-flow/security/dist/domain/entities/security-context.js.map +1 -0
  274. package/node_modules/@claude-flow/security/dist/domain/index.d.ts +8 -0
  275. package/node_modules/@claude-flow/security/dist/domain/index.d.ts.map +1 -0
  276. package/node_modules/@claude-flow/security/dist/domain/index.js +8 -0
  277. package/node_modules/@claude-flow/security/dist/domain/index.js.map +1 -0
  278. package/node_modules/@claude-flow/security/dist/domain/services/security-domain-service.d.ts +71 -0
  279. package/node_modules/@claude-flow/security/dist/domain/services/security-domain-service.d.ts.map +1 -0
  280. package/node_modules/@claude-flow/security/dist/domain/services/security-domain-service.js +237 -0
  281. package/node_modules/@claude-flow/security/dist/domain/services/security-domain-service.js.map +1 -0
  282. package/node_modules/@claude-flow/security/dist/index.d.ts +129 -0
  283. package/node_modules/@claude-flow/security/dist/index.d.ts.map +1 -0
  284. package/node_modules/@claude-flow/security/dist/index.js +176 -0
  285. package/node_modules/@claude-flow/security/dist/index.js.map +1 -0
  286. package/node_modules/@claude-flow/security/dist/input-validator.d.ts +306 -0
  287. package/node_modules/@claude-flow/security/dist/input-validator.d.ts.map +1 -0
  288. package/node_modules/@claude-flow/security/dist/input-validator.js +393 -0
  289. package/node_modules/@claude-flow/security/dist/input-validator.js.map +1 -0
  290. package/node_modules/@claude-flow/security/dist/keychain-adapter.d.ts +48 -0
  291. package/node_modules/@claude-flow/security/dist/keychain-adapter.d.ts.map +1 -0
  292. package/node_modules/@claude-flow/security/dist/keychain-adapter.js +0 -0
  293. package/node_modules/@claude-flow/security/dist/keychain-adapter.js.map +1 -0
  294. package/node_modules/@claude-flow/security/dist/mcp-composition-inspector.d.ts +133 -0
  295. package/node_modules/@claude-flow/security/dist/mcp-composition-inspector.d.ts.map +1 -0
  296. package/node_modules/@claude-flow/security/dist/mcp-composition-inspector.js +254 -0
  297. package/node_modules/@claude-flow/security/dist/mcp-composition-inspector.js.map +1 -0
  298. package/node_modules/@claude-flow/security/dist/oauth/browser.d.ts +31 -0
  299. package/node_modules/@claude-flow/security/dist/oauth/browser.d.ts.map +1 -0
  300. package/node_modules/@claude-flow/security/dist/oauth/browser.js +55 -0
  301. package/node_modules/@claude-flow/security/dist/oauth/browser.js.map +1 -0
  302. package/node_modules/@claude-flow/security/dist/oauth/callback-server.d.ts +37 -0
  303. package/node_modules/@claude-flow/security/dist/oauth/callback-server.d.ts.map +1 -0
  304. package/node_modules/@claude-flow/security/dist/oauth/callback-server.js +86 -0
  305. package/node_modules/@claude-flow/security/dist/oauth/callback-server.js.map +1 -0
  306. package/node_modules/@claude-flow/security/dist/oauth/client.d.ts +57 -0
  307. package/node_modules/@claude-flow/security/dist/oauth/client.d.ts.map +1 -0
  308. package/node_modules/@claude-flow/security/dist/oauth/client.js +120 -0
  309. package/node_modules/@claude-flow/security/dist/oauth/client.js.map +1 -0
  310. package/node_modules/@claude-flow/security/dist/oauth/pkce.d.ts +25 -0
  311. package/node_modules/@claude-flow/security/dist/oauth/pkce.d.ts.map +1 -0
  312. package/node_modules/@claude-flow/security/dist/oauth/pkce.js +36 -0
  313. package/node_modules/@claude-flow/security/dist/oauth/pkce.js.map +1 -0
  314. package/node_modules/@claude-flow/security/dist/password-hasher.d.ts +128 -0
  315. package/node_modules/@claude-flow/security/dist/password-hasher.d.ts.map +1 -0
  316. package/node_modules/@claude-flow/security/dist/password-hasher.js +190 -0
  317. package/node_modules/@claude-flow/security/dist/password-hasher.js.map +1 -0
  318. package/node_modules/@claude-flow/security/dist/path-validator.d.ts +148 -0
  319. package/node_modules/@claude-flow/security/dist/path-validator.d.ts.map +1 -0
  320. package/node_modules/@claude-flow/security/dist/path-validator.js +421 -0
  321. package/node_modules/@claude-flow/security/dist/path-validator.js.map +1 -0
  322. package/node_modules/@claude-flow/security/dist/plugins/integrity-verifier.d.ts +125 -0
  323. package/node_modules/@claude-flow/security/dist/plugins/integrity-verifier.d.ts.map +1 -0
  324. package/node_modules/@claude-flow/security/dist/plugins/integrity-verifier.js +186 -0
  325. package/node_modules/@claude-flow/security/dist/plugins/integrity-verifier.js.map +1 -0
  326. package/node_modules/@claude-flow/security/dist/policy/canonical.d.ts +5 -0
  327. package/node_modules/@claude-flow/security/dist/policy/canonical.d.ts.map +1 -0
  328. package/node_modules/@claude-flow/security/dist/policy/canonical.js +30 -0
  329. package/node_modules/@claude-flow/security/dist/policy/canonical.js.map +1 -0
  330. package/node_modules/@claude-flow/security/dist/policy/engine.d.ts +34 -0
  331. package/node_modules/@claude-flow/security/dist/policy/engine.d.ts.map +1 -0
  332. package/node_modules/@claude-flow/security/dist/policy/engine.js +285 -0
  333. package/node_modules/@claude-flow/security/dist/policy/engine.js.map +1 -0
  334. package/node_modules/@claude-flow/security/dist/policy/envelope.d.ts +9 -0
  335. package/node_modules/@claude-flow/security/dist/policy/envelope.d.ts.map +1 -0
  336. package/node_modules/@claude-flow/security/dist/policy/envelope.js +90 -0
  337. package/node_modules/@claude-flow/security/dist/policy/envelope.js.map +1 -0
  338. package/node_modules/@claude-flow/security/dist/policy/evaluator.d.ts +4 -0
  339. package/node_modules/@claude-flow/security/dist/policy/evaluator.d.ts.map +1 -0
  340. package/node_modules/@claude-flow/security/dist/policy/evaluator.js +119 -0
  341. package/node_modules/@claude-flow/security/dist/policy/evaluator.js.map +1 -0
  342. package/node_modules/@claude-flow/security/dist/policy/index.d.ts +7 -0
  343. package/node_modules/@claude-flow/security/dist/policy/index.d.ts.map +1 -0
  344. package/node_modules/@claude-flow/security/dist/policy/index.js +7 -0
  345. package/node_modules/@claude-flow/security/dist/policy/index.js.map +1 -0
  346. package/node_modules/@claude-flow/security/dist/policy/product-plane.d.ts +238 -0
  347. package/node_modules/@claude-flow/security/dist/policy/product-plane.d.ts.map +1 -0
  348. package/node_modules/@claude-flow/security/dist/policy/product-plane.js +1022 -0
  349. package/node_modules/@claude-flow/security/dist/policy/product-plane.js.map +1 -0
  350. package/node_modules/@claude-flow/security/dist/policy/types.d.ts +169 -0
  351. package/node_modules/@claude-flow/security/dist/policy/types.d.ts.map +1 -0
  352. package/node_modules/@claude-flow/security/dist/policy/types.js +2 -0
  353. package/node_modules/@claude-flow/security/dist/policy/types.js.map +1 -0
  354. package/node_modules/@claude-flow/security/dist/safe-executor.d.ts +180 -0
  355. package/node_modules/@claude-flow/security/dist/safe-executor.d.ts.map +1 -0
  356. package/node_modules/@claude-flow/security/dist/safe-executor.js +390 -0
  357. package/node_modules/@claude-flow/security/dist/safe-executor.js.map +1 -0
  358. package/node_modules/@claude-flow/security/dist/token-generator.d.ts +224 -0
  359. package/node_modules/@claude-flow/security/dist/token-generator.d.ts.map +1 -0
  360. package/node_modules/@claude-flow/security/dist/token-generator.js +351 -0
  361. package/node_modules/@claude-flow/security/dist/token-generator.js.map +1 -0
  362. package/node_modules/@claude-flow/security/dist/tool-output-guardrail.d.ts +126 -0
  363. package/node_modules/@claude-flow/security/dist/tool-output-guardrail.d.ts.map +1 -0
  364. package/node_modules/@claude-flow/security/dist/tool-output-guardrail.js +257 -0
  365. package/node_modules/@claude-flow/security/dist/tool-output-guardrail.js.map +1 -0
  366. package/node_modules/@claude-flow/security/package.json +44 -0
  367. package/package.json +30 -8
  368. package/v3/@claude-flow/cli/catalog-manifest.json +2 -2
  369. package/v3/@claude-flow/cli/dist/src/autopilot-state.d.ts +10 -0
  370. package/v3/@claude-flow/cli/dist/src/autopilot-state.js +16 -0
  371. package/v3/@claude-flow/cli/dist/src/commands/autopilot.js +10 -4
  372. package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.js +53 -2
  373. package/v3/@claude-flow/cli/dist/src/mcp-tools/autopilot-tools.js +18 -3
  374. package/v3/@claude-flow/cli/dist/src/mcp-tools/capability-brain.js +22 -22
  375. package/v3/@claude-flow/cli/dist/src/mcp-tools/guidance-tools.js +1 -1
  376. package/v3/@claude-flow/cli/dist/src/services/harness-flywheel-runtime.d.ts +21 -1
  377. package/v3/@claude-flow/cli/dist/src/services/harness-flywheel-runtime.js +46 -24
  378. package/v3/@claude-flow/cli/package.json +24 -8
  379. package/.claude/.proven-config-version +0 -1
  380. package/.claude/proven-config.json +0 -42
@@ -125,8 +125,8 @@ export const CAPABILITY_DOMAINS = [
125
125
  {
126
126
  id: 'guidance',
127
127
  name: 'Capability Guidance',
128
- description: 'Live capability inventory, task routing, workflow guidance, and system discovery.',
129
128
  prefixes: ['guidance_'],
129
+ description: 'Live capability inventory, task routing, workflow guidance, and system discovery.',
130
130
  taskSignals: ['guidance', 'discover', 'capability', 'what can ruflo do'],
131
131
  commands: ['guidance compile', 'guidance retrieve', 'guidance gates', 'guidance optimize'],
132
132
  skills: [],
@@ -140,8 +140,8 @@ export const CAPABILITY_DOMAINS = [
140
140
  {
141
141
  id: 'identity-auth',
142
142
  name: 'Cognitum Identity & OAuth',
143
- description: 'Profile-aware PKCE/OOB authentication, credential status, consent-bound scopes, refresh, and local logout.',
144
143
  prefixes: ['auth_', 'oauth_'],
144
+ description: 'Profile-aware PKCE/OOB authentication, credential status, consent-bound scopes, refresh, and local logout.',
145
145
  taskSignals: ['auth', 'oauth', 'login', 'logout', 'credential', 'profile', 'scope', 'consent'],
146
146
  commands: ['auth login', 'auth login --no-browser', 'auth status', 'auth status --check', 'auth logout'],
147
147
  skills: ['security-audit'],
@@ -163,8 +163,8 @@ export const CAPABILITY_DOMAINS = [
163
163
  {
164
164
  id: 'policy-authorization',
165
165
  name: 'Policy Authorization',
166
- description: 'Policy-decision evaluation and status for exact subject/action/resource requests.',
167
166
  prefixes: ['policy_'],
167
+ description: 'Policy-decision evaluation and status for exact subject/action/resource requests.',
168
168
  taskSignals: ['policy', 'authorization', 'permission', 'capability', 'access control'],
169
169
  commands: ['policy evaluate', 'policy status', 'guidance gates'],
170
170
  skills: ['claims', 'security-audit', 'v3-security-overhaul'],
@@ -181,8 +181,8 @@ export const CAPABILITY_DOMAINS = [
181
181
  {
182
182
  id: 'work-claims',
183
183
  name: 'Exclusive Work Claims',
184
- description: 'Repository/task ownership claims, handoffs, contention, stealing, and rebalance.',
185
184
  prefixes: ['claims_'],
185
+ description: 'Repository/task ownership claims, handoffs, contention, stealing, and rebalance.',
186
186
  taskSignals: ['work claim', 'claim task', 'handoff', 'ownership', 'concurrent work', 'rebalance'],
187
187
  commands: ['claims claim', 'claims handoff', 'claims status'],
188
188
  skills: ['claims'],
@@ -198,8 +198,8 @@ export const CAPABILITY_DOMAINS = [
198
198
  {
199
199
  id: 'content-safety',
200
200
  name: 'AIDefence Content Safety',
201
- description: 'Prompt/content safety, PII detection, learning, and security evidence.',
202
201
  prefixes: ['aidefence_', 'security_'],
202
+ description: 'Prompt/content safety, PII detection, learning, and security evidence.',
203
203
  taskSignals: ['security', 'content safety', 'pii', 'prompt injection', 'threat', 'audit'],
204
204
  commands: ['security scan'],
205
205
  skills: ['security-audit', 'v3-security-overhaul'],
@@ -215,8 +215,8 @@ export const CAPABILITY_DOMAINS = [
215
215
  {
216
216
  id: 'metaharness-flywheel',
217
217
  name: 'MetaHarness, Darwin & Flywheel',
218
- description: 'Candidate scoring, static analysis, threat modeling, genome exploration, and controlled improvement loops.',
219
218
  prefixes: ['metaharness_', 'autopilot_'],
219
+ description: 'Candidate scoring, static analysis, threat modeling, genome exploration, and controlled improvement loops.',
220
220
  taskSignals: ['metaharness', 'darwin', 'flywheel', 'genome', 'optimize', 'autopilot'],
221
221
  commands: ['metaharness score', 'metaharness genome', 'autopilot run'],
222
222
  skills: ['metaharness-brain', 'performance-analysis'],
@@ -233,8 +233,8 @@ export const CAPABILITY_DOMAINS = [
233
233
  {
234
234
  id: 'memory-knowledge',
235
235
  name: 'Memory, AgentDB & Embeddings',
236
- description: 'Persistent memory, semantic/vector retrieval, namespaces, embeddings, and AgentDB controllers.',
237
236
  prefixes: ['memory_', 'agentdb_', 'embeddings_'],
237
+ description: 'Persistent memory, semantic/vector retrieval, namespaces, embeddings, and AgentDB controllers.',
238
238
  taskSignals: ['memory', 'agentdb', 'vector', 'embedding', 'semantic', 'recall'],
239
239
  commands: ['memory search', 'memory store', 'memory retrieve'],
240
240
  skills: ['memory-management', 'agentdb-advanced', 'agentdb-vector-search'],
@@ -250,8 +250,8 @@ export const CAPABILITY_DOMAINS = [
250
250
  {
251
251
  id: 'memory-branching',
252
252
  name: 'Copy-on-Write & Speculative Memory',
253
- description: 'Low-cost memory branching, checkpoint, rollback, comparison, and validated promotion.',
254
253
  prefixes: ['agenticow_'],
254
+ description: 'Low-cost memory branching, checkpoint, rollback, comparison, and validated promotion.',
255
255
  taskSignals: ['branch memory', 'checkpoint', 'rollback', 'speculative'],
256
256
  commands: [],
257
257
  skills: ['agentdb-learning'],
@@ -267,8 +267,8 @@ export const CAPABILITY_DOMAINS = [
267
267
  {
268
268
  id: 'agents-runtimes',
269
269
  name: 'Agent Lifecycle & Runtimes',
270
- description: 'Local agents, managed cloud agents, WASM sandboxes, and inference runtimes.',
271
270
  prefixes: ['agent_', 'managed_agent_', 'wasm_agent_', 'wasm_gallery_', 'ruvllm_'],
271
+ description: 'Local agents, managed cloud agents, WASM sandboxes, and inference runtimes.',
272
272
  taskSignals: ['agent', 'worker', 'wasm', 'sandbox', 'inference', 'managed agent'],
273
273
  commands: ['agent spawn', 'agent status', 'agent stop'],
274
274
  skills: ['agent-coder', 'agent-tester', 'agent-reviewer'],
@@ -284,8 +284,8 @@ export const CAPABILITY_DOMAINS = [
284
284
  {
285
285
  id: 'swarm-coordination',
286
286
  name: 'Swarm & Coordination',
287
- description: 'Topology-aware multi-agent coordination, task ownership, and collective scheduling.',
288
287
  prefixes: ['swarm_', 'coordination_', 'daa_'],
288
+ description: 'Topology-aware multi-agent coordination, task ownership, and collective scheduling.',
289
289
  taskSignals: ['swarm', 'concurrent', 'parallel', 'coordinate', 'multi-agent'],
290
290
  commands: ['swarm init', 'swarm status', 'swarm coordinate'],
291
291
  skills: ['swarm-orchestration', 'swarm-advanced'],
@@ -299,8 +299,8 @@ export const CAPABILITY_DOMAINS = [
299
299
  {
300
300
  id: 'consensus-federation',
301
301
  name: 'Hive Mind & Consensus',
302
- description: 'Hive, quorum, voting, gossip, and distributed agreement primitives.',
303
302
  prefixes: ['hive_', 'hive-mind_', 'consensus_', 'quorum_'],
303
+ description: 'Hive, quorum, voting, gossip, and distributed agreement primitives.',
304
304
  taskSignals: ['hive', 'consensus', 'quorum', 'byzantine', 'federation'],
305
305
  commands: ['hive-mind init', 'hive-mind status'],
306
306
  skills: ['hive-mind', 'hive-mind-advanced'],
@@ -314,8 +314,8 @@ export const CAPABILITY_DOMAINS = [
314
314
  {
315
315
  id: 'tasks-workflows-sessions',
316
316
  name: 'Tasks, Workflows, Sessions & Progress',
317
- description: 'Task orchestration, reusable workflows, session state, progress, and handoff.',
318
317
  prefixes: ['task_', 'workflow_', 'session_', 'progress_'],
318
+ description: 'Task orchestration, reusable workflows, session state, progress, and handoff.',
319
319
  taskSignals: ['task', 'workflow', 'session', 'handoff', 'progress'],
320
320
  commands: ['task create', 'task status', 'workflow run'],
321
321
  skills: ['workflow-automation'],
@@ -329,8 +329,8 @@ export const CAPABILITY_DOMAINS = [
329
329
  {
330
330
  id: 'hooks-learning-routing',
331
331
  name: 'Hooks, Coverage & Learning Routing',
332
- description: 'Lifecycle hooks, coverage-aware routing, background workers, and validated pattern capture.',
333
332
  prefixes: ['hooks_', 'coverage_'],
333
+ description: 'Lifecycle hooks, coverage-aware routing, background workers, and validated pattern capture.',
334
334
  taskSignals: ['hook', 'coverage', 'route', 'worker', 'learning'],
335
335
  commands: ['hooks pre-task', 'hooks post-task', 'hooks route', 'hooks coverage-gaps'],
336
336
  skills: ['hooks-automation'],
@@ -345,8 +345,8 @@ export const CAPABILITY_DOMAINS = [
345
345
  {
346
346
  id: 'analysis-quality',
347
347
  name: 'Analysis & Quality',
348
- description: 'Code/project analysis, quality assessment, and change inspection.',
349
348
  prefixes: ['analyze_', 'analysis_'],
349
+ description: 'Code/project analysis, quality assessment, and change inspection.',
350
350
  taskSignals: ['analyze', 'review', 'quality', 'dependency'],
351
351
  commands: ['analyze code', 'analyze project'],
352
352
  skills: ['verification-quality'],
@@ -360,8 +360,8 @@ export const CAPABILITY_DOMAINS = [
360
360
  {
361
361
  id: 'test-generation',
362
362
  name: 'TDD Test Generation',
363
- description: 'TDD repair and test-generation capability exported by Ruflo but intentionally reported as unregistered until the MCP registry enables it.',
364
363
  prefixes: ['testgen_'],
364
+ description: 'TDD repair and test-generation capability exported by Ruflo but intentionally reported as unregistered until the MCP registry enables it.',
365
365
  exactTools: ['testgen_tdd_repair'],
366
366
  taskSignals: ['generate tests', 'tdd repair', 'test generation'],
367
367
  commands: [],
@@ -379,8 +379,8 @@ export const CAPABILITY_DOMAINS = [
379
379
  {
380
380
  id: 'performance-neural',
381
381
  name: 'Performance & Neural Optimization',
382
- description: 'Profiling, benchmarks, learned routing, pattern training, and optimization.',
383
382
  prefixes: ['performance_', 'neural_'],
383
+ description: 'Profiling, benchmarks, learned routing, pattern training, and optimization.',
384
384
  taskSignals: ['performance', 'benchmark', 'profile', 'latency', 'neural', 'train'],
385
385
  commands: ['performance benchmark', 'performance profile', 'neural train'],
386
386
  skills: ['performance-analysis', 'neural-training'],
@@ -396,8 +396,8 @@ export const CAPABILITY_DOMAINS = [
396
396
  {
397
397
  id: 'browser-web',
398
398
  name: 'Browser & Web Actions',
399
- description: 'Browser sessions, page actions, intent routing, and guarded HTTP probes.',
400
399
  prefixes: ['browser_', 'http_fetch'],
400
+ description: 'Browser sessions, page actions, intent routing, and guarded HTTP probes.',
401
401
  taskSignals: ['browser', 'web page', 'navigate', 'click', 'http', 'fetch'],
402
402
  commands: ['browser open', 'browser act'],
403
403
  skills: [],
@@ -413,8 +413,8 @@ export const CAPABILITY_DOMAINS = [
413
413
  {
414
414
  id: 'github-delivery',
415
415
  name: 'GitHub & Delivery',
416
- description: 'Issues, pull requests, workflows, releases, repository automation, and handoff.',
417
416
  prefixes: ['github_', 'pr_', 'release_'],
417
+ description: 'Issues, pull requests, workflows, releases, repository automation, and handoff.',
418
418
  taskSignals: ['github', 'issue', 'pull request', 'merge', 'release', 'publish'],
419
419
  commands: ['github pr', 'github release'],
420
420
  skills: ['github-automation', 'github-release-management'],
@@ -429,9 +429,9 @@ export const CAPABILITY_DOMAINS = [
429
429
  {
430
430
  id: 'business-collaboration',
431
431
  name: 'AgentBBS & Business Pods',
432
- description: 'Federated business rooms, domain-affinity routing, and business-pod validation.',
433
432
  // Metadata classification only; execution remains behind the existing loadAgentbbs guard.
434
433
  prefixes: ['agentbbs_', 'business_pod_', 'federation_bbs_'],
434
+ description: 'Federated business rooms, domain-affinity routing, and business-pod validation.',
435
435
  taskSignals: ['business pod', 'bbs', 'room', 'domain affinity'],
436
436
  commands: [],
437
437
  skills: [],
@@ -447,8 +447,8 @@ export const CAPABILITY_DOMAINS = [
447
447
  {
448
448
  id: 'configuration-transfer',
449
449
  name: 'Configuration & Transfer',
450
- description: 'Configuration state plus portable import, export, backup, and migration.',
451
450
  prefixes: ['config_', 'transfer_'],
451
+ description: 'Configuration state plus portable import, export, backup, and migration.',
452
452
  taskSignals: ['config', 'setup', 'import', 'export', 'backup', 'migrate'],
453
453
  commands: ['config show', 'memory export'],
454
454
  skills: [],
@@ -463,8 +463,8 @@ export const CAPABILITY_DOMAINS = [
463
463
  {
464
464
  id: 'system-terminal',
465
465
  name: 'System & Terminal Compatibility',
466
- description: 'System diagnostics and legacy-compatible terminal execution surfaces.',
467
466
  prefixes: ['system_', 'terminal_', 'mcp_'],
467
+ description: 'System diagnostics and legacy-compatible terminal execution surfaces.',
468
468
  taskSignals: ['terminal', 'shell', 'doctor', 'system status'],
469
469
  commands: ['doctor', 'status'],
470
470
  skills: [],
@@ -479,8 +479,8 @@ export const CAPABILITY_DOMAINS = [
479
479
  {
480
480
  id: 'runtime-services',
481
481
  name: 'Other Registered Runtime Services',
482
- description: 'Live MCP tools not yet assigned to a specialized domain; included so coverage is never silently incomplete.',
483
482
  prefixes: [],
483
+ description: 'Live MCP tools not yet assigned to a specialized domain; included so coverage is never silently incomplete.',
484
484
  taskSignals: [],
485
485
  commands: [],
486
486
  skills: [],
@@ -814,7 +814,7 @@ const guidanceQuickRef = {
814
814
  };
815
815
  const guidanceBrain = {
816
816
  name: 'guidance_brain',
817
- description: 'Query Ruflo’s live capability brain. Covers every registered MCP tool, separates registration from configuration/reachability/health/authorization, recommends capabilities for a task, and returns the validated implementation loop.',
817
+ description: 'Use when choosing how to execute a task with Ruflo. Queries the live capability brain, covers every registered MCP tool, separates registration from configuration/reachability/health/authorization, recommends capabilities, and returns the validated implementation loop.',
818
818
  inputSchema: {
819
819
  type: 'object',
820
820
  properties: {
@@ -1,6 +1,26 @@
1
1
  import { type FlywheelResult } from './harness-flywheel.js';
2
2
  import { type GenerationResult } from './harness-flywheel-generations.js';
3
- import { type DarwinInvoker, type ProposerMode } from './flywheel-proposer.js';
3
+ import { type DarwinInvoker, type ProposerMode, type SafetyEnvelope } from './flywheel-proposer.js';
4
+ /**
5
+ * The ADR-322 retrieval safety envelope.
6
+ *
7
+ * It MUST describe the policy surface the proposer actually emits —
8
+ * `RetrievalConfig`. The v1 envelope allowed `topK`/`rerank`, which are
9
+ * `neural_patterns` search-call arguments not representable in
10
+ * `RetrievalConfig`, while omitting the three weight axes that
11
+ * `retrievalPolicyNeighbors` does mutate. Because `validateCandidate` checks
12
+ * EVERY key of a candidate policy (candidates are full snapshots, not deltas),
13
+ * that drift made every locally-proposed candidate inadmissible and the local
14
+ * evaluation path unreachable — no receipt, therefore no promotion, ever.
15
+ *
16
+ * Every axis carries a finite bound: an allowed key WITHOUT bounds is an
17
+ * unbounded key, because `validateCandidate` applies bounds only when present.
18
+ * A Darwin proposer could otherwise submit arbitrary weights on the three axes.
19
+ *
20
+ * Exported so tests can bind the REAL envelope to the REAL proposer; the drift
21
+ * survived review precisely because no test wired those two together.
22
+ */
23
+ export declare function retrievalSafetyEnvelope(ref?: string): SafetyEnvelope;
4
24
  /**
5
25
  * Run one live flywheel tick against `projectRoot`. Opt-in + $0 default: with
6
26
  * RUFLO_HARNESS_LOOP unset it is a no-op. Best-effort; never throws.
@@ -24,6 +24,51 @@ const ANCHOR = [
24
24
  ['Q-learning encoder keyword block', ['q-state encoder', 'route q-state', 'keyword block', '#2239', 'q-encoder']],
25
25
  ['security hardening crypto random IDs', ['cwe-347', 'crypto.randomuuid', 'security fix', 'random id', 'crypto random']],
26
26
  ].map(([q, labels], i) => ({ id: `q${String(i).padStart(2, '0')}`, input: { id: `q${String(i).padStart(2, '0')}`, q: q }, expected: labels }));
27
+ /**
28
+ * The ADR-322 retrieval safety envelope.
29
+ *
30
+ * It MUST describe the policy surface the proposer actually emits —
31
+ * `RetrievalConfig`. The v1 envelope allowed `topK`/`rerank`, which are
32
+ * `neural_patterns` search-call arguments not representable in
33
+ * `RetrievalConfig`, while omitting the three weight axes that
34
+ * `retrievalPolicyNeighbors` does mutate. Because `validateCandidate` checks
35
+ * EVERY key of a candidate policy (candidates are full snapshots, not deltas),
36
+ * that drift made every locally-proposed candidate inadmissible and the local
37
+ * evaluation path unreachable — no receipt, therefore no promotion, ever.
38
+ *
39
+ * Every axis carries a finite bound: an allowed key WITHOUT bounds is an
40
+ * unbounded key, because `validateCandidate` applies bounds only when present.
41
+ * A Darwin proposer could otherwise submit arbitrary weights on the three axes.
42
+ *
43
+ * Exported so tests can bind the REAL envelope to the REAL proposer; the drift
44
+ * survived review precisely because no test wired those two together.
45
+ */
46
+ export function retrievalSafetyEnvelope(ref) {
47
+ const allowedPolicyKeys = ['alpha', 'subjectWeight', 'mmrLambda', 'bodyWeight', 'typePenaltyFactor'];
48
+ const numericBounds = {
49
+ alpha: { min: 0.1, max: 0.9 },
50
+ subjectWeight: { min: 0.1, max: 10 },
51
+ mmrLambda: { min: 0.3, max: 0.9 },
52
+ bodyWeight: { min: 0.1, max: 10 },
53
+ typePenaltyFactor: { min: 0.1, max: 10 },
54
+ };
55
+ return {
56
+ ref: ref ?? sha256Ref(JSON.stringify({
57
+ schema: 'ruflo.retrieval-safety-envelope/v2',
58
+ allowedPolicyKeys,
59
+ numericBounds,
60
+ })),
61
+ allowedPolicyKeys,
62
+ numericBounds,
63
+ // Retrieval evaluations are local and report zero provider spend today;
64
+ // finite ceilings make any future resource evidence fail closed.
65
+ maxP95LatencyMicros: 5_000_000,
66
+ maxCostMicrosPerTask: 10_000,
67
+ maxTokensPerTask: 100_000,
68
+ maxFailureRate: 0.01,
69
+ maxEvaluationCostMicros: 1_000_000,
70
+ };
71
+ }
27
72
  /**
28
73
  * Run one live flywheel tick against `projectRoot`. Opt-in + $0 default: with
29
74
  * RUFLO_HARNESS_LOOP unset it is a no-op. Best-effort; never throws.
@@ -53,30 +98,7 @@ export async function runFlywheelWorker(projectRoot, opts = {}) {
53
98
  ...DEFAULT_CONFIG,
54
99
  ...(applier.activeChampion(projectRoot)?.params ?? {}),
55
100
  };
56
- const safetyEnvelope = {
57
- ref: opts.safetyEnvelopeRef ?? sha256Ref(JSON.stringify({
58
- schema: 'ruflo.retrieval-safety-envelope/v1',
59
- allowedPolicyKeys: ['alpha', 'topK', 'rerank', 'mmrLambda'],
60
- numericBounds: {
61
- alpha: { min: 0.1, max: 0.9 },
62
- topK: { min: 5, max: 20 },
63
- mmrLambda: { min: 0.3, max: 0.9 },
64
- },
65
- })),
66
- allowedPolicyKeys: ['alpha', 'topK', 'rerank', 'mmrLambda'],
67
- numericBounds: {
68
- alpha: { min: 0.1, max: 0.9 },
69
- topK: { min: 5, max: 20 },
70
- mmrLambda: { min: 0.3, max: 0.9 },
71
- },
72
- // Retrieval evaluations are local and report zero provider spend today;
73
- // finite ceilings make any future resource evidence fail closed.
74
- maxP95LatencyMicros: 5_000_000,
75
- maxCostMicrosPerTask: 10_000,
76
- maxTokensPerTask: 100_000,
77
- maxFailureRate: 0.01,
78
- maxEvaluationCostMicros: 1_000_000,
79
- };
101
+ const safetyEnvelope = retrievalSafetyEnvelope(opts.safetyEnvelopeRef);
80
102
  // CLI flag opts.proposer takes precedence over RUFLO_FLYWHEEL_PROPOSER.
81
103
  const proposerMode = opts.proposer
82
104
  ?? (process.env.RUFLO_FLYWHEEL_PROPOSER ?? 'auto');
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.32.29",
3
+ "version": "3.32.32",
4
4
  "type": "module",
5
5
  "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",
@@ -40,11 +40,7 @@
40
40
  "self-learning",
41
41
  "enterprise"
42
42
  ],
43
- "author": {
44
- "name": "RuvNet",
45
- "email": "ruv@ruv.io",
46
- "url": "https://ruv.io"
47
- },
43
+ "author": "RuvNet <ruv@ruv.io> (https://ruv.io)",
48
44
  "license": "MIT",
49
45
  "exports": {
50
46
  ".": {
@@ -102,18 +98,30 @@
102
98
  },
103
99
  "dependencies": {
104
100
  "@claude-flow/cli-core": "3.7.0-alpha.5",
101
+ "@claude-flow/codex": "3.0.3",
105
102
  "@claude-flow/mcp": "3.0.0-alpha.8",
106
103
  "@claude-flow/neural": "3.0.0-alpha.9",
104
+ "@claude-flow/plugin-agent-federation": "1.0.0-alpha.18",
105
+ "@claude-flow/security": "3.0.0-alpha.14",
107
106
  "@claude-flow/shared": "3.0.0-alpha.7",
107
+ "@iarna/toml": "^2.2.5",
108
108
  "@noble/ed25519": "2.3.0",
109
109
  "@ruvector/rabitq-wasm": "0.1.0",
110
+ "bcryptjs": "^3.0.3",
111
+ "chalk": "^5.3.0",
112
+ "commander": "^12.0.0",
113
+ "fs-extra": "^11.2.0",
114
+ "inquirer": "^9.2.0",
110
115
  "semver": "7.7.3",
111
116
  "sql.js": "^1.13.0",
112
- "yaml": "^2.8.0"
117
+ "toml": "^3.0.0",
118
+ "ws": "^8.21.0",
119
+ "yaml": "^2.8.0",
120
+ "zod": "^3.22.0"
113
121
  },
114
122
  "optionalDependencies": {
123
+ "@napi-rs/keyring": "1.3.0",
115
124
  "@claude-flow/memory": "^3.0.0-alpha.21",
116
- "@claude-flow/security": "^3.0.0-alpha.14",
117
125
  "agentdb": "^3.0.0-alpha.17",
118
126
  "agentic-flow": "^3.0.0-alpha.1",
119
127
  "better-sqlite3": "^12.9.0",
@@ -154,5 +162,13 @@
154
162
  "@opentelemetry/sdk-node": ">=0.220.0",
155
163
  "agentdb": "$agentdb",
156
164
  "better-sqlite3": "^12.9.0"
165
+ },
166
+ "bundleDependencies": [
167
+ "@claude-flow/codex",
168
+ "@claude-flow/plugin-agent-federation",
169
+ "@claude-flow/security"
170
+ ],
171
+ "directories": {
172
+ "doc": "docs"
157
173
  }
158
174
  }
@@ -1 +0,0 @@
1
- sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319
@@ -1,42 +0,0 @@
1
- {
2
- "adoptedAt": 1785298809901,
3
- "championId": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
4
- "manifest": {
5
- "schema": "ruflo.proven-config/v1",
6
- "policy": {
7
- "ref": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
8
- "value": {
9
- "alpha": 0.3,
10
- "subjectWeight": 1,
11
- "mmrLambda": 0.5,
12
- "bodyWeight": 1.5,
13
- "typePenaltyFactor": 0.5
14
- }
15
- },
16
- "layer": "framework/node-cli",
17
- "compatibility": {
18
- "ruflo": ">=3.24.0"
19
- },
20
- "benchmark": {
21
- "corpus": "ADR-081-labelled-v1",
22
- "corpusHash": "sha256:2f700b5c363e20a3bd88ce2bc9b87bbbbaa61732c6177894c6ec37890f888982"
23
- },
24
- "receipt": {
25
- "heldOutDelta": 0.07381404928570845,
26
- "redblue": "PASS",
27
- "drift": 0,
28
- "canary": {
29
- "rollbackRate": 0,
30
- "latencyP95": 244.612458000076,
31
- "costPerTask": 0
32
- },
33
- "receiptCoverage": 1
34
- },
35
- "platform": [
36
- "linux",
37
- "macOS",
38
- "windows"
39
- ]
40
- },
41
- "previous": ""
42
- }