agentic-qe 1.0.0 → 1.0.2

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 (863) hide show
  1. package/.claude/agents/qe-api-contract-validator.md +51 -11
  2. package/.claude/agents/qe-chaos-engineer.md +95 -43
  3. package/.claude/agents/qe-coverage-analyzer.md +134 -57
  4. package/.claude/agents/qe-deployment-readiness.md +48 -11
  5. package/.claude/agents/qe-flaky-test-hunter.md +57 -11
  6. package/.claude/agents/qe-fleet-commander.md +106 -49
  7. package/.claude/agents/qe-performance-tester.md +98 -45
  8. package/.claude/agents/qe-production-intelligence.md +48 -11
  9. package/.claude/agents/qe-quality-gate.md +160 -28
  10. package/.claude/agents/qe-regression-risk-analyzer.md +53 -11
  11. package/.claude/agents/qe-requirements-validator.md +48 -11
  12. package/.claude/agents/qe-security-scanner.md +230 -47
  13. package/.claude/agents/qe-test-data-architect.md +49 -11
  14. package/.claude/agents/qe-test-executor.md +59 -55
  15. package/.claude/agents/qe-test-generator.md +222 -48
  16. package/.claude/agents/qe-visual-tester.md +66 -65
  17. package/.claude/aqe-fleet.json +3 -3
  18. package/CHANGELOG.md +376 -0
  19. package/README.md +47 -3
  20. package/dist/agents/ApiContractValidatorAgent.d.ts.map +1 -1
  21. package/dist/agents/ApiContractValidatorAgent.js +1 -1
  22. package/dist/agents/ApiContractValidatorAgent.js.map +1 -1
  23. package/dist/agents/BaseAgent.d.ts +22 -3
  24. package/dist/agents/BaseAgent.d.ts.map +1 -1
  25. package/dist/agents/BaseAgent.js +124 -6
  26. package/dist/agents/BaseAgent.js.map +1 -1
  27. package/dist/agents/CoverageAnalyzerAgent.d.ts +0 -1
  28. package/dist/agents/CoverageAnalyzerAgent.d.ts.map +1 -1
  29. package/dist/agents/CoverageAnalyzerAgent.js +12 -8
  30. package/dist/agents/CoverageAnalyzerAgent.js.map +1 -1
  31. package/dist/agents/QualityAnalyzerAgent.d.ts +0 -1
  32. package/dist/agents/QualityAnalyzerAgent.d.ts.map +1 -1
  33. package/dist/agents/QualityGateAgent.d.ts +0 -1
  34. package/dist/agents/QualityGateAgent.d.ts.map +1 -1
  35. package/dist/agents/RegressionRiskAnalyzerAgent.js +17 -7
  36. package/dist/agents/RegressionRiskAnalyzerAgent.js.map +1 -1
  37. package/dist/agents/SecurityScannerAgent.d.ts +1 -0
  38. package/dist/agents/SecurityScannerAgent.d.ts.map +1 -1
  39. package/dist/agents/SecurityScannerAgent.js +46 -41
  40. package/dist/agents/SecurityScannerAgent.js.map +1 -1
  41. package/dist/agents/TestExecutorAgent.d.ts +1 -1
  42. package/dist/agents/TestExecutorAgent.d.ts.map +1 -1
  43. package/dist/agents/TestExecutorAgent.js +74 -13
  44. package/dist/agents/TestExecutorAgent.js.map +1 -1
  45. package/dist/agents/index.js +2 -2
  46. package/dist/agents/index.js.map +1 -1
  47. package/dist/cli/commands/agent/assign.d.ts +76 -0
  48. package/dist/cli/commands/agent/assign.d.ts.map +1 -0
  49. package/dist/cli/commands/agent/assign.js +290 -0
  50. package/dist/cli/commands/agent/assign.js.map +1 -0
  51. package/dist/cli/commands/agent/attach.d.ts +86 -0
  52. package/dist/cli/commands/agent/attach.d.ts.map +1 -0
  53. package/dist/cli/commands/agent/attach.js +278 -0
  54. package/dist/cli/commands/agent/attach.js.map +1 -0
  55. package/dist/cli/commands/agent/benchmark.d.ts +45 -0
  56. package/dist/cli/commands/agent/benchmark.d.ts.map +1 -0
  57. package/dist/cli/commands/agent/benchmark.js +102 -0
  58. package/dist/cli/commands/agent/benchmark.js.map +1 -0
  59. package/dist/cli/commands/agent/clone.d.ts +20 -0
  60. package/dist/cli/commands/agent/clone.d.ts.map +1 -0
  61. package/dist/cli/commands/agent/clone.js +58 -0
  62. package/dist/cli/commands/agent/clone.js.map +1 -0
  63. package/dist/cli/commands/agent/detach.d.ts +76 -0
  64. package/dist/cli/commands/agent/detach.d.ts.map +1 -0
  65. package/dist/cli/commands/agent/detach.js +260 -0
  66. package/dist/cli/commands/agent/detach.js.map +1 -0
  67. package/dist/cli/commands/agent/index.d.ts +31 -0
  68. package/dist/cli/commands/agent/index.d.ts.map +1 -0
  69. package/dist/cli/commands/agent/index.js +54 -0
  70. package/dist/cli/commands/agent/index.js.map +1 -0
  71. package/dist/cli/commands/agent/inspect.d.ts +110 -0
  72. package/dist/cli/commands/agent/inspect.d.ts.map +1 -0
  73. package/dist/cli/commands/agent/inspect.js +282 -0
  74. package/dist/cli/commands/agent/inspect.js.map +1 -0
  75. package/dist/cli/commands/agent/migrate.d.ts +24 -0
  76. package/dist/cli/commands/agent/migrate.d.ts.map +1 -0
  77. package/dist/cli/commands/agent/migrate.js +80 -0
  78. package/dist/cli/commands/agent/migrate.js.map +1 -0
  79. package/dist/cli/commands/agent/restart.d.ts +71 -0
  80. package/dist/cli/commands/agent/restart.d.ts.map +1 -0
  81. package/dist/cli/commands/agent/restart.js +237 -0
  82. package/dist/cli/commands/agent/restart.js.map +1 -0
  83. package/dist/cli/commands/analyze.js +17 -7
  84. package/dist/cli/commands/analyze.js.map +1 -1
  85. package/dist/cli/commands/config/export.d.ts +15 -0
  86. package/dist/cli/commands/config/export.d.ts.map +1 -0
  87. package/dist/cli/commands/config/export.js +104 -0
  88. package/dist/cli/commands/config/export.js.map +1 -0
  89. package/dist/cli/commands/config/get.d.ts +23 -0
  90. package/dist/cli/commands/config/get.d.ts.map +1 -0
  91. package/dist/cli/commands/config/get.js +129 -0
  92. package/dist/cli/commands/config/get.js.map +1 -0
  93. package/dist/cli/commands/config/import.d.ts +17 -0
  94. package/dist/cli/commands/config/import.d.ts.map +1 -0
  95. package/dist/cli/commands/config/import.js +148 -0
  96. package/dist/cli/commands/config/import.js.map +1 -0
  97. package/dist/cli/commands/config/index.d.ts +18 -0
  98. package/dist/cli/commands/config/index.d.ts.map +1 -0
  99. package/dist/cli/commands/config/index.js +35 -0
  100. package/dist/cli/commands/config/index.js.map +1 -0
  101. package/dist/cli/commands/config/init.d.ts +21 -0
  102. package/dist/cli/commands/config/init.d.ts.map +1 -0
  103. package/dist/cli/commands/config/init.js +181 -0
  104. package/dist/cli/commands/config/init.js.map +1 -0
  105. package/dist/cli/commands/config/list.d.ts +5 -0
  106. package/dist/cli/commands/config/list.d.ts.map +1 -0
  107. package/dist/cli/commands/config/list.js +39 -0
  108. package/dist/cli/commands/config/list.js.map +1 -0
  109. package/dist/cli/commands/config/reset.d.ts +5 -0
  110. package/dist/cli/commands/config/reset.d.ts.map +1 -0
  111. package/dist/cli/commands/config/reset.js +44 -0
  112. package/dist/cli/commands/config/reset.js.map +1 -0
  113. package/dist/cli/commands/config/schema.d.ts +115 -0
  114. package/dist/cli/commands/config/schema.d.ts.map +1 -0
  115. package/dist/cli/commands/config/schema.js +98 -0
  116. package/dist/cli/commands/config/schema.js.map +1 -0
  117. package/dist/cli/commands/config/set.d.ts +19 -0
  118. package/dist/cli/commands/config/set.d.ts.map +1 -0
  119. package/dist/cli/commands/config/set.js +143 -0
  120. package/dist/cli/commands/config/set.js.map +1 -0
  121. package/dist/cli/commands/config/validate.d.ts +23 -0
  122. package/dist/cli/commands/config/validate.d.ts.map +1 -0
  123. package/dist/cli/commands/config/validate.js +165 -0
  124. package/dist/cli/commands/config/validate.js.map +1 -0
  125. package/dist/cli/commands/debug/agent.d.ts +40 -0
  126. package/dist/cli/commands/debug/agent.d.ts.map +1 -0
  127. package/dist/cli/commands/debug/agent.js +184 -0
  128. package/dist/cli/commands/debug/agent.js.map +1 -0
  129. package/dist/cli/commands/debug/diagnostics.d.ts +27 -0
  130. package/dist/cli/commands/debug/diagnostics.d.ts.map +1 -0
  131. package/dist/cli/commands/debug/diagnostics.js +386 -0
  132. package/dist/cli/commands/debug/diagnostics.js.map +1 -0
  133. package/dist/cli/commands/debug/health-check.d.ts +38 -0
  134. package/dist/cli/commands/debug/health-check.d.ts.map +1 -0
  135. package/dist/cli/commands/debug/health-check.js +326 -0
  136. package/dist/cli/commands/debug/health-check.js.map +1 -0
  137. package/dist/cli/commands/debug/index.d.ts +17 -0
  138. package/dist/cli/commands/debug/index.d.ts.map +1 -0
  139. package/dist/cli/commands/debug/index.js +20 -0
  140. package/dist/cli/commands/debug/index.js.map +1 -0
  141. package/dist/cli/commands/debug/profile.d.ts +84 -0
  142. package/dist/cli/commands/debug/profile.d.ts.map +1 -0
  143. package/dist/cli/commands/debug/profile.js +375 -0
  144. package/dist/cli/commands/debug/profile.js.map +1 -0
  145. package/dist/cli/commands/debug/trace.d.ts +40 -0
  146. package/dist/cli/commands/debug/trace.d.ts.map +1 -0
  147. package/dist/cli/commands/debug/trace.js +252 -0
  148. package/dist/cli/commands/debug/trace.js.map +1 -0
  149. package/dist/cli/commands/debug/troubleshoot.d.ts +38 -0
  150. package/dist/cli/commands/debug/troubleshoot.d.ts.map +1 -0
  151. package/dist/cli/commands/debug/troubleshoot.js +324 -0
  152. package/dist/cli/commands/debug/troubleshoot.js.map +1 -0
  153. package/dist/cli/commands/fleet/backup.d.ts +49 -0
  154. package/dist/cli/commands/fleet/backup.d.ts.map +1 -0
  155. package/dist/cli/commands/fleet/backup.js +88 -0
  156. package/dist/cli/commands/fleet/backup.js.map +1 -0
  157. package/dist/cli/commands/fleet/health.d.ts +24 -0
  158. package/dist/cli/commands/fleet/health.d.ts.map +1 -0
  159. package/dist/cli/commands/fleet/health.js +417 -0
  160. package/dist/cli/commands/fleet/health.js.map +1 -0
  161. package/dist/cli/commands/fleet/init.d.ts +11 -0
  162. package/dist/cli/commands/fleet/init.d.ts.map +1 -0
  163. package/dist/cli/commands/fleet/init.js +91 -0
  164. package/dist/cli/commands/fleet/init.js.map +1 -0
  165. package/dist/cli/commands/fleet/logs.d.ts +21 -0
  166. package/dist/cli/commands/fleet/logs.d.ts.map +1 -0
  167. package/dist/cli/commands/fleet/logs.js +266 -0
  168. package/dist/cli/commands/fleet/logs.js.map +1 -0
  169. package/dist/cli/commands/fleet/metrics.d.ts +27 -0
  170. package/dist/cli/commands/fleet/metrics.d.ts.map +1 -0
  171. package/dist/cli/commands/fleet/metrics.js +368 -0
  172. package/dist/cli/commands/fleet/metrics.js.map +1 -0
  173. package/dist/cli/commands/fleet/monitor.d.ts +18 -0
  174. package/dist/cli/commands/fleet/monitor.d.ts.map +1 -0
  175. package/dist/cli/commands/fleet/monitor.js +234 -0
  176. package/dist/cli/commands/fleet/monitor.js.map +1 -0
  177. package/dist/cli/commands/fleet/optimize.d.ts +42 -0
  178. package/dist/cli/commands/fleet/optimize.d.ts.map +1 -0
  179. package/dist/cli/commands/fleet/optimize.js +135 -0
  180. package/dist/cli/commands/fleet/optimize.js.map +1 -0
  181. package/dist/cli/commands/fleet/recover.d.ts +22 -0
  182. package/dist/cli/commands/fleet/recover.d.ts.map +1 -0
  183. package/dist/cli/commands/fleet/recover.js +99 -0
  184. package/dist/cli/commands/fleet/recover.js.map +1 -0
  185. package/dist/cli/commands/fleet/restart.d.ts +18 -0
  186. package/dist/cli/commands/fleet/restart.d.ts.map +1 -0
  187. package/dist/cli/commands/fleet/restart.js +290 -0
  188. package/dist/cli/commands/fleet/restart.js.map +1 -0
  189. package/dist/cli/commands/fleet/scale.d.ts +9 -0
  190. package/dist/cli/commands/fleet/scale.d.ts.map +1 -0
  191. package/dist/cli/commands/fleet/scale.js +77 -0
  192. package/dist/cli/commands/fleet/scale.js.map +1 -0
  193. package/dist/cli/commands/fleet/shutdown.d.ts +19 -0
  194. package/dist/cli/commands/fleet/shutdown.d.ts.map +1 -0
  195. package/dist/cli/commands/fleet/shutdown.js +307 -0
  196. package/dist/cli/commands/fleet/shutdown.js.map +1 -0
  197. package/dist/cli/commands/fleet/status.d.ts +10 -0
  198. package/dist/cli/commands/fleet/status.d.ts.map +1 -0
  199. package/dist/cli/commands/fleet/status.js +97 -0
  200. package/dist/cli/commands/fleet/status.js.map +1 -0
  201. package/dist/cli/commands/fleet/topology.d.ts +23 -0
  202. package/dist/cli/commands/fleet/topology.d.ts.map +1 -0
  203. package/dist/cli/commands/fleet/topology.js +375 -0
  204. package/dist/cli/commands/fleet/topology.js.map +1 -0
  205. package/dist/cli/commands/fleet.d.ts +0 -1
  206. package/dist/cli/commands/fleet.d.ts.map +1 -1
  207. package/dist/cli/commands/fleet.js +35 -58
  208. package/dist/cli/commands/fleet.js.map +1 -1
  209. package/dist/cli/commands/generate.js +17 -7
  210. package/dist/cli/commands/generate.js.map +1 -1
  211. package/dist/cli/commands/init.d.ts.map +1 -1
  212. package/dist/cli/commands/init.js +194 -64
  213. package/dist/cli/commands/init.js.map +1 -1
  214. package/dist/cli/commands/memory/compact.d.ts +19 -0
  215. package/dist/cli/commands/memory/compact.d.ts.map +1 -0
  216. package/dist/cli/commands/memory/compact.js +69 -0
  217. package/dist/cli/commands/memory/compact.js.map +1 -0
  218. package/dist/cli/commands/memory/index.d.ts +9 -0
  219. package/dist/cli/commands/memory/index.d.ts.map +1 -0
  220. package/dist/cli/commands/memory/index.js +24 -0
  221. package/dist/cli/commands/memory/index.js.map +1 -0
  222. package/dist/cli/commands/memory/stats.d.ts +30 -0
  223. package/dist/cli/commands/memory/stats.d.ts.map +1 -0
  224. package/dist/cli/commands/memory/stats.js +73 -0
  225. package/dist/cli/commands/memory/stats.js.map +1 -0
  226. package/dist/cli/commands/memory/vacuum.d.ts +24 -0
  227. package/dist/cli/commands/memory/vacuum.d.ts.map +1 -0
  228. package/dist/cli/commands/memory/vacuum.js +104 -0
  229. package/dist/cli/commands/memory/vacuum.js.map +1 -0
  230. package/dist/cli/commands/monitor/alerts.d.ts +45 -0
  231. package/dist/cli/commands/monitor/alerts.d.ts.map +1 -0
  232. package/dist/cli/commands/monitor/alerts.js +167 -0
  233. package/dist/cli/commands/monitor/alerts.js.map +1 -0
  234. package/dist/cli/commands/monitor/analyze.d.ts +49 -0
  235. package/dist/cli/commands/monitor/analyze.d.ts.map +1 -0
  236. package/dist/cli/commands/monitor/analyze.js +209 -0
  237. package/dist/cli/commands/monitor/analyze.js.map +1 -0
  238. package/dist/cli/commands/monitor/compare.d.ts +38 -0
  239. package/dist/cli/commands/monitor/compare.d.ts.map +1 -0
  240. package/dist/cli/commands/monitor/compare.js +177 -0
  241. package/dist/cli/commands/monitor/compare.js.map +1 -0
  242. package/dist/cli/commands/monitor/dashboard.d.ts +34 -0
  243. package/dist/cli/commands/monitor/dashboard.d.ts.map +1 -0
  244. package/dist/cli/commands/monitor/dashboard.js +157 -0
  245. package/dist/cli/commands/monitor/dashboard.js.map +1 -0
  246. package/dist/cli/commands/monitor/export.d.ts +36 -0
  247. package/dist/cli/commands/monitor/export.d.ts.map +1 -0
  248. package/dist/cli/commands/monitor/export.js +157 -0
  249. package/dist/cli/commands/monitor/export.js.map +1 -0
  250. package/dist/cli/commands/monitor/index.d.ts +11 -0
  251. package/dist/cli/commands/monitor/index.d.ts.map +1 -0
  252. package/dist/cli/commands/monitor/index.js +14 -0
  253. package/dist/cli/commands/monitor/index.js.map +1 -0
  254. package/dist/cli/commands/quality/baseline.d.ts +27 -0
  255. package/dist/cli/commands/quality/baseline.d.ts.map +1 -0
  256. package/dist/cli/commands/quality/baseline.js +124 -0
  257. package/dist/cli/commands/quality/baseline.js.map +1 -0
  258. package/dist/cli/commands/quality/compare.d.ts +36 -0
  259. package/dist/cli/commands/quality/compare.d.ts.map +1 -0
  260. package/dist/cli/commands/quality/compare.js +136 -0
  261. package/dist/cli/commands/quality/compare.js.map +1 -0
  262. package/dist/cli/commands/quality/decision.d.ts +81 -0
  263. package/dist/cli/commands/quality/decision.d.ts.map +1 -0
  264. package/dist/cli/commands/quality/decision.js +317 -0
  265. package/dist/cli/commands/quality/decision.js.map +1 -0
  266. package/dist/cli/commands/quality/gate.d.ts +47 -0
  267. package/dist/cli/commands/quality/gate.d.ts.map +1 -0
  268. package/dist/cli/commands/quality/gate.js +203 -0
  269. package/dist/cli/commands/quality/gate.js.map +1 -0
  270. package/dist/cli/commands/quality/index.d.ts +17 -0
  271. package/dist/cli/commands/quality/index.d.ts.map +1 -0
  272. package/dist/cli/commands/quality/index.js +41 -0
  273. package/dist/cli/commands/quality/index.js.map +1 -0
  274. package/dist/cli/commands/quality/policy.d.ts +57 -0
  275. package/dist/cli/commands/quality/policy.d.ts.map +1 -0
  276. package/dist/cli/commands/quality/policy.js +357 -0
  277. package/dist/cli/commands/quality/policy.js.map +1 -0
  278. package/dist/cli/commands/quality/risk.d.ts +41 -0
  279. package/dist/cli/commands/quality/risk.d.ts.map +1 -0
  280. package/dist/cli/commands/quality/risk.js +253 -0
  281. package/dist/cli/commands/quality/risk.js.map +1 -0
  282. package/dist/cli/commands/quality/trends.d.ts +40 -0
  283. package/dist/cli/commands/quality/trends.d.ts.map +1 -0
  284. package/dist/cli/commands/quality/trends.js +122 -0
  285. package/dist/cli/commands/quality/trends.js.map +1 -0
  286. package/dist/cli/commands/quality/validate.d.ts +44 -0
  287. package/dist/cli/commands/quality/validate.d.ts.map +1 -0
  288. package/dist/cli/commands/quality/validate.js +232 -0
  289. package/dist/cli/commands/quality/validate.js.map +1 -0
  290. package/dist/cli/commands/run.js +17 -7
  291. package/dist/cli/commands/run.js.map +1 -1
  292. package/dist/cli/commands/test/analyze-failures.d.ts +39 -0
  293. package/dist/cli/commands/test/analyze-failures.d.ts.map +1 -0
  294. package/dist/cli/commands/test/analyze-failures.js +113 -0
  295. package/dist/cli/commands/test/analyze-failures.js.map +1 -0
  296. package/dist/cli/commands/test/clean.d.ts +3 -0
  297. package/dist/cli/commands/test/clean.d.ts.map +1 -0
  298. package/dist/cli/commands/test/clean.js +131 -0
  299. package/dist/cli/commands/test/clean.js.map +1 -0
  300. package/dist/cli/commands/test/debug.d.ts +3 -0
  301. package/dist/cli/commands/test/debug.d.ts.map +1 -0
  302. package/dist/cli/commands/test/debug.js +167 -0
  303. package/dist/cli/commands/test/debug.js.map +1 -0
  304. package/dist/cli/commands/test/diff.d.ts +3 -0
  305. package/dist/cli/commands/test/diff.d.ts.map +1 -0
  306. package/dist/cli/commands/test/diff.js +228 -0
  307. package/dist/cli/commands/test/diff.js.map +1 -0
  308. package/dist/cli/commands/test/flakiness.d.ts +32 -0
  309. package/dist/cli/commands/test/flakiness.d.ts.map +1 -0
  310. package/dist/cli/commands/test/flakiness.js +121 -0
  311. package/dist/cli/commands/test/flakiness.js.map +1 -0
  312. package/dist/cli/commands/test/index.d.ts +17 -0
  313. package/dist/cli/commands/test/index.d.ts.map +1 -0
  314. package/dist/cli/commands/test/index.js +45 -0
  315. package/dist/cli/commands/test/index.js.map +1 -0
  316. package/dist/cli/commands/test/mutate.d.ts +29 -0
  317. package/dist/cli/commands/test/mutate.d.ts.map +1 -0
  318. package/dist/cli/commands/test/mutate.js +162 -0
  319. package/dist/cli/commands/test/mutate.js.map +1 -0
  320. package/dist/cli/commands/test/parallel.d.ts +3 -0
  321. package/dist/cli/commands/test/parallel.d.ts.map +1 -0
  322. package/dist/cli/commands/test/parallel.js +115 -0
  323. package/dist/cli/commands/test/parallel.js.map +1 -0
  324. package/dist/cli/commands/test/profile.d.ts +3 -0
  325. package/dist/cli/commands/test/profile.d.ts.map +1 -0
  326. package/dist/cli/commands/test/profile.js +188 -0
  327. package/dist/cli/commands/test/profile.js.map +1 -0
  328. package/dist/cli/commands/test/queue.d.ts +3 -0
  329. package/dist/cli/commands/test/queue.d.ts.map +1 -0
  330. package/dist/cli/commands/test/queue.js +139 -0
  331. package/dist/cli/commands/test/queue.js.map +1 -0
  332. package/dist/cli/commands/test/retry.d.ts +3 -0
  333. package/dist/cli/commands/test/retry.d.ts.map +1 -0
  334. package/dist/cli/commands/test/retry.js +103 -0
  335. package/dist/cli/commands/test/retry.js.map +1 -0
  336. package/dist/cli/commands/test/snapshot.d.ts +3 -0
  337. package/dist/cli/commands/test/snapshot.d.ts.map +1 -0
  338. package/dist/cli/commands/test/snapshot.js +176 -0
  339. package/dist/cli/commands/test/snapshot.js.map +1 -0
  340. package/dist/cli/commands/test/trace.d.ts +3 -0
  341. package/dist/cli/commands/test/trace.d.ts.map +1 -0
  342. package/dist/cli/commands/test/trace.js +169 -0
  343. package/dist/cli/commands/test/trace.js.map +1 -0
  344. package/dist/cli/commands/test/watch.d.ts +3 -0
  345. package/dist/cli/commands/test/watch.d.ts.map +1 -0
  346. package/dist/cli/commands/test/watch.js +129 -0
  347. package/dist/cli/commands/test/watch.js.map +1 -0
  348. package/dist/cli/commands/workflow/cancel.d.ts +55 -0
  349. package/dist/cli/commands/workflow/cancel.d.ts.map +1 -0
  350. package/dist/cli/commands/workflow/cancel.js +330 -0
  351. package/dist/cli/commands/workflow/cancel.js.map +1 -0
  352. package/dist/cli/commands/workflow/index.d.ts +11 -0
  353. package/dist/cli/commands/workflow/index.d.ts.map +1 -0
  354. package/dist/cli/commands/workflow/index.js +20 -0
  355. package/dist/cli/commands/workflow/index.js.map +1 -0
  356. package/dist/cli/commands/workflow/list.d.ts +43 -0
  357. package/dist/cli/commands/workflow/list.d.ts.map +1 -0
  358. package/dist/cli/commands/workflow/list.js +256 -0
  359. package/dist/cli/commands/workflow/list.js.map +1 -0
  360. package/dist/cli/commands/workflow/pause.d.ts +44 -0
  361. package/dist/cli/commands/workflow/pause.d.ts.map +1 -0
  362. package/dist/cli/commands/workflow/pause.js +221 -0
  363. package/dist/cli/commands/workflow/pause.js.map +1 -0
  364. package/dist/cli/index-working.js +17 -7
  365. package/dist/cli/index-working.js.map +1 -1
  366. package/dist/cli/index.js +321 -0
  367. package/dist/cli/index.js.map +1 -1
  368. package/dist/core/Agent.d.ts +0 -1
  369. package/dist/core/Agent.d.ts.map +1 -1
  370. package/dist/core/Agent.js +18 -8
  371. package/dist/core/Agent.js.map +1 -1
  372. package/dist/core/ArtifactWorkflow.d.ts +149 -0
  373. package/dist/core/ArtifactWorkflow.d.ts.map +1 -0
  374. package/dist/core/ArtifactWorkflow.js +357 -0
  375. package/dist/core/ArtifactWorkflow.js.map +1 -0
  376. package/dist/core/EventBus.d.ts +0 -1
  377. package/dist/core/EventBus.d.ts.map +1 -1
  378. package/dist/core/EventBus.js +18 -12
  379. package/dist/core/EventBus.js.map +1 -1
  380. package/dist/core/FleetManager.d.ts +0 -1
  381. package/dist/core/FleetManager.d.ts.map +1 -1
  382. package/dist/core/FleetManager.js +17 -7
  383. package/dist/core/FleetManager.js.map +1 -1
  384. package/dist/core/MemoryManager.d.ts +0 -1
  385. package/dist/core/MemoryManager.d.ts.map +1 -1
  386. package/dist/core/Task.d.ts +0 -1
  387. package/dist/core/Task.d.ts.map +1 -1
  388. package/dist/core/coordination/BlackboardCoordination.d.ts +43 -0
  389. package/dist/core/coordination/BlackboardCoordination.d.ts.map +1 -0
  390. package/dist/core/coordination/BlackboardCoordination.js +95 -0
  391. package/dist/core/coordination/BlackboardCoordination.js.map +1 -0
  392. package/dist/core/coordination/ConsensusGating.d.ts +52 -0
  393. package/dist/core/coordination/ConsensusGating.d.ts.map +1 -0
  394. package/dist/core/coordination/ConsensusGating.js +137 -0
  395. package/dist/core/coordination/ConsensusGating.js.map +1 -0
  396. package/dist/core/coordination/GOAPCoordination.d.ts +78 -0
  397. package/dist/core/coordination/GOAPCoordination.d.ts.map +1 -0
  398. package/dist/core/coordination/GOAPCoordination.js +178 -0
  399. package/dist/core/coordination/GOAPCoordination.js.map +1 -0
  400. package/dist/core/coordination/OODACoordination.d.ts +98 -0
  401. package/dist/core/coordination/OODACoordination.d.ts.map +1 -0
  402. package/dist/core/coordination/OODACoordination.js +207 -0
  403. package/dist/core/coordination/OODACoordination.js.map +1 -0
  404. package/dist/core/coordination/index.d.ts +19 -0
  405. package/dist/core/coordination/index.d.ts.map +1 -0
  406. package/dist/core/coordination/index.js +22 -0
  407. package/dist/core/coordination/index.js.map +1 -0
  408. package/dist/core/events/QEEventBus.d.ts +61 -0
  409. package/dist/core/events/QEEventBus.d.ts.map +1 -0
  410. package/dist/core/events/QEEventBus.js +109 -0
  411. package/dist/core/events/QEEventBus.js.map +1 -0
  412. package/dist/core/events/index.d.ts +7 -0
  413. package/dist/core/events/index.d.ts.map +1 -0
  414. package/dist/core/events/index.js +25 -0
  415. package/dist/core/events/index.js.map +1 -0
  416. package/dist/core/events/types.d.ts +72 -0
  417. package/dist/core/events/types.d.ts.map +1 -0
  418. package/dist/core/events/types.js +6 -0
  419. package/dist/core/events/types.js.map +1 -0
  420. package/dist/core/hooks/RollbackManager.d.ts +90 -0
  421. package/dist/core/hooks/RollbackManager.d.ts.map +1 -0
  422. package/dist/core/hooks/RollbackManager.js +224 -0
  423. package/dist/core/hooks/RollbackManager.js.map +1 -0
  424. package/dist/core/hooks/VerificationHookManager.d.ts +133 -0
  425. package/dist/core/hooks/VerificationHookManager.d.ts.map +1 -0
  426. package/dist/core/hooks/VerificationHookManager.js +293 -0
  427. package/dist/core/hooks/VerificationHookManager.js.map +1 -0
  428. package/dist/core/hooks/checkers/ConfigurationChecker.d.ts +31 -0
  429. package/dist/core/hooks/checkers/ConfigurationChecker.d.ts.map +1 -0
  430. package/dist/core/hooks/checkers/ConfigurationChecker.js +98 -0
  431. package/dist/core/hooks/checkers/ConfigurationChecker.js.map +1 -0
  432. package/dist/core/hooks/checkers/EnvironmentChecker.d.ts +23 -0
  433. package/dist/core/hooks/checkers/EnvironmentChecker.d.ts.map +1 -0
  434. package/dist/core/hooks/checkers/EnvironmentChecker.js +103 -0
  435. package/dist/core/hooks/checkers/EnvironmentChecker.js.map +1 -0
  436. package/dist/core/hooks/checkers/PermissionChecker.d.ts +26 -0
  437. package/dist/core/hooks/checkers/PermissionChecker.d.ts.map +1 -0
  438. package/dist/core/hooks/checkers/PermissionChecker.js +146 -0
  439. package/dist/core/hooks/checkers/PermissionChecker.js.map +1 -0
  440. package/dist/core/hooks/checkers/ResourceChecker.d.ts +24 -0
  441. package/dist/core/hooks/checkers/ResourceChecker.d.ts.map +1 -0
  442. package/dist/core/hooks/checkers/ResourceChecker.js +107 -0
  443. package/dist/core/hooks/checkers/ResourceChecker.js.map +1 -0
  444. package/dist/core/hooks/checkers/index.d.ts +12 -0
  445. package/dist/core/hooks/checkers/index.d.ts.map +1 -0
  446. package/dist/core/hooks/checkers/index.js +15 -0
  447. package/dist/core/hooks/checkers/index.js.map +1 -0
  448. package/dist/core/hooks/index.d.ts +16 -0
  449. package/dist/core/hooks/index.d.ts.map +1 -0
  450. package/dist/core/hooks/index.js +34 -0
  451. package/dist/core/hooks/index.js.map +1 -0
  452. package/dist/core/hooks/validators/CoverageValidator.d.ts +38 -0
  453. package/dist/core/hooks/validators/CoverageValidator.d.ts.map +1 -0
  454. package/dist/core/hooks/validators/CoverageValidator.js +68 -0
  455. package/dist/core/hooks/validators/CoverageValidator.js.map +1 -0
  456. package/dist/core/hooks/validators/OutputValidator.d.ts +19 -0
  457. package/dist/core/hooks/validators/OutputValidator.d.ts.map +1 -0
  458. package/dist/core/hooks/validators/OutputValidator.js +57 -0
  459. package/dist/core/hooks/validators/OutputValidator.js.map +1 -0
  460. package/dist/core/hooks/validators/PerformanceValidator.d.ts +39 -0
  461. package/dist/core/hooks/validators/PerformanceValidator.d.ts.map +1 -0
  462. package/dist/core/hooks/validators/PerformanceValidator.js +97 -0
  463. package/dist/core/hooks/validators/PerformanceValidator.js.map +1 -0
  464. package/dist/core/hooks/validators/QualityValidator.d.ts +32 -0
  465. package/dist/core/hooks/validators/QualityValidator.d.ts.map +1 -0
  466. package/dist/core/hooks/validators/QualityValidator.js +71 -0
  467. package/dist/core/hooks/validators/QualityValidator.js.map +1 -0
  468. package/dist/core/hooks/validators/index.d.ts +12 -0
  469. package/dist/core/hooks/validators/index.d.ts.map +1 -0
  470. package/dist/core/hooks/validators/index.js +15 -0
  471. package/dist/core/hooks/validators/index.js.map +1 -0
  472. package/dist/core/index.d.ts +2 -0
  473. package/dist/core/index.d.ts.map +1 -1
  474. package/dist/core/index.js +3 -1
  475. package/dist/core/index.js.map +1 -1
  476. package/dist/core/memory/AccessControl.d.ts +139 -0
  477. package/dist/core/memory/AccessControl.d.ts.map +1 -0
  478. package/dist/core/memory/AccessControl.js +269 -0
  479. package/dist/core/memory/AccessControl.js.map +1 -0
  480. package/dist/core/memory/CompressionManager.d.ts +85 -0
  481. package/dist/core/memory/CompressionManager.d.ts.map +1 -0
  482. package/dist/core/memory/CompressionManager.js +237 -0
  483. package/dist/core/memory/CompressionManager.js.map +1 -0
  484. package/dist/core/memory/EncryptionManager.d.ts +86 -0
  485. package/dist/core/memory/EncryptionManager.d.ts.map +1 -0
  486. package/dist/core/memory/EncryptionManager.js +223 -0
  487. package/dist/core/memory/EncryptionManager.js.map +1 -0
  488. package/dist/core/memory/EnhancedSwarmMemoryManager.d.ts +91 -0
  489. package/dist/core/memory/EnhancedSwarmMemoryManager.d.ts.map +1 -0
  490. package/dist/core/memory/EnhancedSwarmMemoryManager.js +226 -0
  491. package/dist/core/memory/EnhancedSwarmMemoryManager.js.map +1 -0
  492. package/dist/core/memory/SwarmMemoryManager.d.ts +295 -0
  493. package/dist/core/memory/SwarmMemoryManager.d.ts.map +1 -0
  494. package/dist/core/memory/SwarmMemoryManager.js +1417 -0
  495. package/dist/core/memory/SwarmMemoryManager.js.map +1 -0
  496. package/dist/core/memory/VersionHistory.d.ts +88 -0
  497. package/dist/core/memory/VersionHistory.d.ts.map +1 -0
  498. package/dist/core/memory/VersionHistory.js +249 -0
  499. package/dist/core/memory/VersionHistory.js.map +1 -0
  500. package/dist/core/memory/index.d.ts +11 -0
  501. package/dist/core/memory/index.d.ts.map +1 -0
  502. package/dist/core/memory/index.js +18 -0
  503. package/dist/core/memory/index.js.map +1 -0
  504. package/dist/coverage/coverage-collector.d.ts +63 -8
  505. package/dist/coverage/coverage-collector.d.ts.map +1 -1
  506. package/dist/coverage/coverage-collector.js +364 -14
  507. package/dist/coverage/coverage-collector.js.map +1 -1
  508. package/dist/coverage/coverage-reporter.d.ts +48 -11
  509. package/dist/coverage/coverage-reporter.d.ts.map +1 -1
  510. package/dist/coverage/coverage-reporter.js +434 -14
  511. package/dist/coverage/coverage-reporter.js.map +1 -1
  512. package/dist/mcp/handlers/advanced/api-breaking-changes.d.ts +7 -0
  513. package/dist/mcp/handlers/advanced/api-breaking-changes.d.ts.map +1 -0
  514. package/dist/mcp/handlers/advanced/api-breaking-changes.js +216 -0
  515. package/dist/mcp/handlers/advanced/api-breaking-changes.js.map +1 -0
  516. package/dist/mcp/handlers/advanced/index.d.ts +10 -0
  517. package/dist/mcp/handlers/advanced/index.d.ts.map +1 -0
  518. package/dist/mcp/handlers/advanced/index.js +19 -0
  519. package/dist/mcp/handlers/advanced/index.js.map +1 -0
  520. package/dist/mcp/handlers/advanced/mutation-test-execute.d.ts +7 -0
  521. package/dist/mcp/handlers/advanced/mutation-test-execute.d.ts.map +1 -0
  522. package/dist/mcp/handlers/advanced/mutation-test-execute.js +229 -0
  523. package/dist/mcp/handlers/advanced/mutation-test-execute.js.map +1 -0
  524. package/dist/mcp/handlers/advanced/production-incident-replay.d.ts +7 -0
  525. package/dist/mcp/handlers/advanced/production-incident-replay.d.ts.map +1 -0
  526. package/dist/mcp/handlers/advanced/production-incident-replay.js +227 -0
  527. package/dist/mcp/handlers/advanced/production-incident-replay.js.map +1 -0
  528. package/dist/mcp/handlers/advanced/production-rum-analyze.d.ts +7 -0
  529. package/dist/mcp/handlers/advanced/production-rum-analyze.d.ts.map +1 -0
  530. package/dist/mcp/handlers/advanced/production-rum-analyze.js +288 -0
  531. package/dist/mcp/handlers/advanced/production-rum-analyze.js.map +1 -0
  532. package/dist/mcp/handlers/advanced/requirements-generate-bdd.d.ts +7 -0
  533. package/dist/mcp/handlers/advanced/requirements-generate-bdd.d.ts.map +1 -0
  534. package/dist/mcp/handlers/advanced/requirements-generate-bdd.js +267 -0
  535. package/dist/mcp/handlers/advanced/requirements-generate-bdd.js.map +1 -0
  536. package/dist/mcp/handlers/advanced/requirements-validate.d.ts +7 -0
  537. package/dist/mcp/handlers/advanced/requirements-validate.d.ts.map +1 -0
  538. package/dist/mcp/handlers/advanced/requirements-validate.js +175 -0
  539. package/dist/mcp/handlers/advanced/requirements-validate.js.map +1 -0
  540. package/dist/mcp/handlers/analysis/coverage-analyze-sublinear-handler.d.ts +10 -0
  541. package/dist/mcp/handlers/analysis/coverage-analyze-sublinear-handler.d.ts.map +1 -0
  542. package/dist/mcp/handlers/analysis/coverage-analyze-sublinear-handler.js +31 -0
  543. package/dist/mcp/handlers/analysis/coverage-analyze-sublinear-handler.js.map +1 -0
  544. package/dist/mcp/handlers/analysis/coverage-gaps-detect-handler.d.ts +14 -0
  545. package/dist/mcp/handlers/analysis/coverage-gaps-detect-handler.d.ts.map +1 -0
  546. package/dist/mcp/handlers/analysis/coverage-gaps-detect-handler.js +55 -0
  547. package/dist/mcp/handlers/analysis/coverage-gaps-detect-handler.js.map +1 -0
  548. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.d.ts +35 -0
  549. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.d.ts.map +1 -0
  550. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.js +162 -0
  551. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.js.map +1 -0
  552. package/dist/mcp/handlers/analysis/coverageGapsDetect.d.ts +56 -0
  553. package/dist/mcp/handlers/analysis/coverageGapsDetect.d.ts.map +1 -0
  554. package/dist/mcp/handlers/analysis/coverageGapsDetect.js +203 -0
  555. package/dist/mcp/handlers/analysis/coverageGapsDetect.js.map +1 -0
  556. package/dist/mcp/handlers/analysis/index.d.ts +15 -0
  557. package/dist/mcp/handlers/analysis/index.d.ts.map +1 -0
  558. package/dist/mcp/handlers/analysis/index.js +18 -0
  559. package/dist/mcp/handlers/analysis/index.js.map +1 -0
  560. package/dist/mcp/handlers/analysis/performance-benchmark-run-handler.d.ts +15 -0
  561. package/dist/mcp/handlers/analysis/performance-benchmark-run-handler.d.ts.map +1 -0
  562. package/dist/mcp/handlers/analysis/performance-benchmark-run-handler.js +47 -0
  563. package/dist/mcp/handlers/analysis/performance-benchmark-run-handler.js.map +1 -0
  564. package/dist/mcp/handlers/analysis/performance-monitor-realtime-handler.d.ts +15 -0
  565. package/dist/mcp/handlers/analysis/performance-monitor-realtime-handler.d.ts.map +1 -0
  566. package/dist/mcp/handlers/analysis/performance-monitor-realtime-handler.js +55 -0
  567. package/dist/mcp/handlers/analysis/performance-monitor-realtime-handler.js.map +1 -0
  568. package/dist/mcp/handlers/analysis/performanceBenchmarkRun.d.ts +58 -0
  569. package/dist/mcp/handlers/analysis/performanceBenchmarkRun.d.ts.map +1 -0
  570. package/dist/mcp/handlers/analysis/performanceBenchmarkRun.js +187 -0
  571. package/dist/mcp/handlers/analysis/performanceBenchmarkRun.js.map +1 -0
  572. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.d.ts +58 -0
  573. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.d.ts.map +1 -0
  574. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.js +184 -0
  575. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.js.map +1 -0
  576. package/dist/mcp/handlers/analysis/security-scan-comprehensive-handler.d.ts +15 -0
  577. package/dist/mcp/handlers/analysis/security-scan-comprehensive-handler.d.ts.map +1 -0
  578. package/dist/mcp/handlers/analysis/security-scan-comprehensive-handler.js +70 -0
  579. package/dist/mcp/handlers/analysis/security-scan-comprehensive-handler.js.map +1 -0
  580. package/dist/mcp/handlers/analysis/securityScanComprehensive.d.ts +66 -0
  581. package/dist/mcp/handlers/analysis/securityScanComprehensive.d.ts.map +1 -0
  582. package/dist/mcp/handlers/analysis/securityScanComprehensive.js +299 -0
  583. package/dist/mcp/handlers/analysis/securityScanComprehensive.js.map +1 -0
  584. package/dist/mcp/handlers/chaos/chaos-inject-failure.d.ts +18 -0
  585. package/dist/mcp/handlers/chaos/chaos-inject-failure.d.ts.map +1 -0
  586. package/dist/mcp/handlers/chaos/chaos-inject-failure.js +277 -0
  587. package/dist/mcp/handlers/chaos/chaos-inject-failure.js.map +1 -0
  588. package/dist/mcp/handlers/chaos/chaos-inject-latency.d.ts +18 -0
  589. package/dist/mcp/handlers/chaos/chaos-inject-latency.d.ts.map +1 -0
  590. package/dist/mcp/handlers/chaos/chaos-inject-latency.js +214 -0
  591. package/dist/mcp/handlers/chaos/chaos-inject-latency.js.map +1 -0
  592. package/dist/mcp/handlers/chaos/chaos-resilience-test.d.ts +18 -0
  593. package/dist/mcp/handlers/chaos/chaos-resilience-test.d.ts.map +1 -0
  594. package/dist/mcp/handlers/chaos/chaos-resilience-test.js +429 -0
  595. package/dist/mcp/handlers/chaos/chaos-resilience-test.js.map +1 -0
  596. package/dist/mcp/handlers/chaos/index.d.ts +8 -0
  597. package/dist/mcp/handlers/chaos/index.d.ts.map +1 -0
  598. package/dist/mcp/handlers/chaos/index.js +19 -0
  599. package/dist/mcp/handlers/chaos/index.js.map +1 -0
  600. package/dist/mcp/handlers/coordination/event-emit.d.ts +47 -0
  601. package/dist/mcp/handlers/coordination/event-emit.d.ts.map +1 -0
  602. package/dist/mcp/handlers/coordination/event-emit.js +96 -0
  603. package/dist/mcp/handlers/coordination/event-emit.js.map +1 -0
  604. package/dist/mcp/handlers/coordination/event-subscribe.d.ts +49 -0
  605. package/dist/mcp/handlers/coordination/event-subscribe.d.ts.map +1 -0
  606. package/dist/mcp/handlers/coordination/event-subscribe.js +210 -0
  607. package/dist/mcp/handlers/coordination/event-subscribe.js.map +1 -0
  608. package/dist/mcp/handlers/coordination/index.d.ts +22 -0
  609. package/dist/mcp/handlers/coordination/index.d.ts.map +1 -0
  610. package/dist/mcp/handlers/coordination/index.js +25 -0
  611. package/dist/mcp/handlers/coordination/index.js.map +1 -0
  612. package/dist/mcp/handlers/coordination/task-status.d.ts +75 -0
  613. package/dist/mcp/handlers/coordination/task-status.d.ts.map +1 -0
  614. package/dist/mcp/handlers/coordination/task-status.js +134 -0
  615. package/dist/mcp/handlers/coordination/task-status.js.map +1 -0
  616. package/dist/mcp/handlers/coordination/workflow-checkpoint.d.ts +45 -0
  617. package/dist/mcp/handlers/coordination/workflow-checkpoint.d.ts.map +1 -0
  618. package/dist/mcp/handlers/coordination/workflow-checkpoint.js +114 -0
  619. package/dist/mcp/handlers/coordination/workflow-checkpoint.js.map +1 -0
  620. package/dist/mcp/handlers/coordination/workflow-create.d.ts +71 -0
  621. package/dist/mcp/handlers/coordination/workflow-create.d.ts.map +1 -0
  622. package/dist/mcp/handlers/coordination/workflow-create.js +163 -0
  623. package/dist/mcp/handlers/coordination/workflow-create.js.map +1 -0
  624. package/dist/mcp/handlers/coordination/workflow-execute.d.ts +61 -0
  625. package/dist/mcp/handlers/coordination/workflow-execute.d.ts.map +1 -0
  626. package/dist/mcp/handlers/coordination/workflow-execute.js +160 -0
  627. package/dist/mcp/handlers/coordination/workflow-execute.js.map +1 -0
  628. package/dist/mcp/handlers/coordination/workflow-resume.d.ts +49 -0
  629. package/dist/mcp/handlers/coordination/workflow-resume.d.ts.map +1 -0
  630. package/dist/mcp/handlers/coordination/workflow-resume.js +124 -0
  631. package/dist/mcp/handlers/coordination/workflow-resume.js.map +1 -0
  632. package/dist/mcp/handlers/integration/contract-validate.d.ts +10 -0
  633. package/dist/mcp/handlers/integration/contract-validate.d.ts.map +1 -0
  634. package/dist/mcp/handlers/integration/contract-validate.js +348 -0
  635. package/dist/mcp/handlers/integration/contract-validate.js.map +1 -0
  636. package/dist/mcp/handlers/integration/dependency-check.d.ts +10 -0
  637. package/dist/mcp/handlers/integration/dependency-check.d.ts.map +1 -0
  638. package/dist/mcp/handlers/integration/dependency-check.js +252 -0
  639. package/dist/mcp/handlers/integration/dependency-check.js.map +1 -0
  640. package/dist/mcp/handlers/integration/index.d.ts +9 -0
  641. package/dist/mcp/handlers/integration/index.d.ts.map +1 -0
  642. package/dist/mcp/handlers/integration/index.js +14 -0
  643. package/dist/mcp/handlers/integration/index.js.map +1 -0
  644. package/dist/mcp/handlers/integration/integration-test-orchestrate.d.ts +10 -0
  645. package/dist/mcp/handlers/integration/integration-test-orchestrate.d.ts.map +1 -0
  646. package/dist/mcp/handlers/integration/integration-test-orchestrate.js +241 -0
  647. package/dist/mcp/handlers/integration/integration-test-orchestrate.js.map +1 -0
  648. package/dist/mcp/handlers/memory/artifact-manifest.d.ts +57 -0
  649. package/dist/mcp/handlers/memory/artifact-manifest.d.ts.map +1 -0
  650. package/dist/mcp/handlers/memory/artifact-manifest.js +176 -0
  651. package/dist/mcp/handlers/memory/artifact-manifest.js.map +1 -0
  652. package/dist/mcp/handlers/memory/blackboard-post.d.ts +50 -0
  653. package/dist/mcp/handlers/memory/blackboard-post.d.ts.map +1 -0
  654. package/dist/mcp/handlers/memory/blackboard-post.js +88 -0
  655. package/dist/mcp/handlers/memory/blackboard-post.js.map +1 -0
  656. package/dist/mcp/handlers/memory/blackboard-read.d.ts +33 -0
  657. package/dist/mcp/handlers/memory/blackboard-read.d.ts.map +1 -0
  658. package/dist/mcp/handlers/memory/blackboard-read.js +81 -0
  659. package/dist/mcp/handlers/memory/blackboard-read.js.map +1 -0
  660. package/dist/mcp/handlers/memory/consensus-propose.d.ts +57 -0
  661. package/dist/mcp/handlers/memory/consensus-propose.d.ts.map +1 -0
  662. package/dist/mcp/handlers/memory/consensus-propose.js +99 -0
  663. package/dist/mcp/handlers/memory/consensus-propose.js.map +1 -0
  664. package/dist/mcp/handlers/memory/consensus-vote.d.ts +37 -0
  665. package/dist/mcp/handlers/memory/consensus-vote.d.ts.map +1 -0
  666. package/dist/mcp/handlers/memory/consensus-vote.js +131 -0
  667. package/dist/mcp/handlers/memory/consensus-vote.js.map +1 -0
  668. package/dist/mcp/handlers/memory/memory-backup.d.ts +49 -0
  669. package/dist/mcp/handlers/memory/memory-backup.d.ts.map +1 -0
  670. package/dist/mcp/handlers/memory/memory-backup.js +154 -0
  671. package/dist/mcp/handlers/memory/memory-backup.js.map +1 -0
  672. package/dist/mcp/handlers/memory/memory-query.d.ts +35 -0
  673. package/dist/mcp/handlers/memory/memory-query.d.ts.map +1 -0
  674. package/dist/mcp/handlers/memory/memory-query.js +96 -0
  675. package/dist/mcp/handlers/memory/memory-query.js.map +1 -0
  676. package/dist/mcp/handlers/memory/memory-retrieve.d.ts +32 -0
  677. package/dist/mcp/handlers/memory/memory-retrieve.d.ts.map +1 -0
  678. package/dist/mcp/handlers/memory/memory-retrieve.js +91 -0
  679. package/dist/mcp/handlers/memory/memory-retrieve.js.map +1 -0
  680. package/dist/mcp/handlers/memory/memory-share.d.ts +39 -0
  681. package/dist/mcp/handlers/memory/memory-share.d.ts.map +1 -0
  682. package/dist/mcp/handlers/memory/memory-share.js +96 -0
  683. package/dist/mcp/handlers/memory/memory-share.js.map +1 -0
  684. package/dist/mcp/handlers/memory/memory-store.d.ts +47 -0
  685. package/dist/mcp/handlers/memory/memory-store.d.ts.map +1 -0
  686. package/dist/mcp/handlers/memory/memory-store.js +107 -0
  687. package/dist/mcp/handlers/memory/memory-store.js.map +1 -0
  688. package/dist/mcp/handlers/prediction/deployment-readiness-check.d.ts +157 -0
  689. package/dist/mcp/handlers/prediction/deployment-readiness-check.d.ts.map +1 -0
  690. package/dist/mcp/handlers/prediction/deployment-readiness-check.js +483 -0
  691. package/dist/mcp/handlers/prediction/deployment-readiness-check.js.map +1 -0
  692. package/dist/mcp/handlers/prediction/flaky-test-detect.d.ts +178 -0
  693. package/dist/mcp/handlers/prediction/flaky-test-detect.d.ts.map +1 -0
  694. package/dist/mcp/handlers/prediction/flaky-test-detect.js +438 -0
  695. package/dist/mcp/handlers/prediction/flaky-test-detect.js.map +1 -0
  696. package/dist/mcp/handlers/prediction/index.d.ts +19 -0
  697. package/dist/mcp/handlers/prediction/index.d.ts.map +1 -0
  698. package/dist/mcp/handlers/prediction/index.js +22 -0
  699. package/dist/mcp/handlers/prediction/index.js.map +1 -0
  700. package/dist/mcp/handlers/prediction/predict-defects-ai.d.ts +133 -0
  701. package/dist/mcp/handlers/prediction/predict-defects-ai.d.ts.map +1 -0
  702. package/dist/mcp/handlers/prediction/predict-defects-ai.js +278 -0
  703. package/dist/mcp/handlers/prediction/predict-defects-ai.js.map +1 -0
  704. package/dist/mcp/handlers/prediction/regression-risk-analyze.d.ts +189 -0
  705. package/dist/mcp/handlers/prediction/regression-risk-analyze.d.ts.map +1 -0
  706. package/dist/mcp/handlers/prediction/regression-risk-analyze.js +419 -0
  707. package/dist/mcp/handlers/prediction/regression-risk-analyze.js.map +1 -0
  708. package/dist/mcp/handlers/prediction/visual-test-regression.d.ts +138 -0
  709. package/dist/mcp/handlers/prediction/visual-test-regression.d.ts.map +1 -0
  710. package/dist/mcp/handlers/prediction/visual-test-regression.js +274 -0
  711. package/dist/mcp/handlers/prediction/visual-test-regression.js.map +1 -0
  712. package/dist/mcp/handlers/quality/quality-decision-make.d.ts +104 -0
  713. package/dist/mcp/handlers/quality/quality-decision-make.d.ts.map +1 -0
  714. package/dist/mcp/handlers/quality/quality-decision-make.js +418 -0
  715. package/dist/mcp/handlers/quality/quality-decision-make.js.map +1 -0
  716. package/dist/mcp/handlers/quality/quality-gate-execute.d.ts +160 -0
  717. package/dist/mcp/handlers/quality/quality-gate-execute.d.ts.map +1 -0
  718. package/dist/mcp/handlers/quality/quality-gate-execute.js +424 -0
  719. package/dist/mcp/handlers/quality/quality-gate-execute.js.map +1 -0
  720. package/dist/mcp/handlers/quality/quality-policy-check.d.ts +163 -0
  721. package/dist/mcp/handlers/quality/quality-policy-check.d.ts.map +1 -0
  722. package/dist/mcp/handlers/quality/quality-policy-check.js +465 -0
  723. package/dist/mcp/handlers/quality/quality-policy-check.js.map +1 -0
  724. package/dist/mcp/handlers/quality/quality-risk-assess.d.ts +123 -0
  725. package/dist/mcp/handlers/quality/quality-risk-assess.d.ts.map +1 -0
  726. package/dist/mcp/handlers/quality/quality-risk-assess.js +532 -0
  727. package/dist/mcp/handlers/quality/quality-risk-assess.js.map +1 -0
  728. package/dist/mcp/handlers/quality/quality-validate-metrics.d.ts +117 -0
  729. package/dist/mcp/handlers/quality/quality-validate-metrics.d.ts.map +1 -0
  730. package/dist/mcp/handlers/quality/quality-validate-metrics.js +298 -0
  731. package/dist/mcp/handlers/quality/quality-validate-metrics.js.map +1 -0
  732. package/dist/mcp/handlers/test/index.d.ts +9 -0
  733. package/dist/mcp/handlers/test/index.d.ts.map +1 -0
  734. package/dist/mcp/handlers/test/index.js +25 -0
  735. package/dist/mcp/handlers/test/index.js.map +1 -0
  736. package/dist/mcp/handlers/test/test-coverage-detailed.d.ts +65 -0
  737. package/dist/mcp/handlers/test/test-coverage-detailed.d.ts.map +1 -0
  738. package/dist/mcp/handlers/test/test-coverage-detailed.js +305 -0
  739. package/dist/mcp/handlers/test/test-coverage-detailed.js.map +1 -0
  740. package/dist/mcp/handlers/test/test-execute-parallel.d.ts +39 -0
  741. package/dist/mcp/handlers/test/test-execute-parallel.d.ts.map +1 -0
  742. package/dist/mcp/handlers/test/test-execute-parallel.js +189 -0
  743. package/dist/mcp/handlers/test/test-execute-parallel.js.map +1 -0
  744. package/dist/mcp/handlers/test/test-generate-enhanced.d.ts +40 -0
  745. package/dist/mcp/handlers/test/test-generate-enhanced.d.ts.map +1 -0
  746. package/dist/mcp/handlers/test/test-generate-enhanced.js +240 -0
  747. package/dist/mcp/handlers/test/test-generate-enhanced.js.map +1 -0
  748. package/dist/mcp/handlers/test/test-optimize-sublinear.d.ts +40 -0
  749. package/dist/mcp/handlers/test/test-optimize-sublinear.d.ts.map +1 -0
  750. package/dist/mcp/handlers/test/test-optimize-sublinear.js +223 -0
  751. package/dist/mcp/handlers/test/test-optimize-sublinear.js.map +1 -0
  752. package/dist/mcp/handlers/test/test-report-comprehensive.d.ts +50 -0
  753. package/dist/mcp/handlers/test/test-report-comprehensive.d.ts.map +1 -0
  754. package/dist/mcp/handlers/test/test-report-comprehensive.js +239 -0
  755. package/dist/mcp/handlers/test/test-report-comprehensive.js.map +1 -0
  756. package/dist/mcp/handlers/test-execute.d.ts +0 -2
  757. package/dist/mcp/handlers/test-execute.d.ts.map +1 -1
  758. package/dist/mcp/handlers/test-execute.js +92 -45
  759. package/dist/mcp/handlers/test-execute.js.map +1 -1
  760. package/dist/mcp/server.d.ts +4 -0
  761. package/dist/mcp/server.d.ts.map +1 -1
  762. package/dist/mcp/server.js +92 -3
  763. package/dist/mcp/server.js.map +1 -1
  764. package/dist/mcp/services/AgentRegistry.js +3 -3
  765. package/dist/mcp/services/AgentRegistry.js.map +1 -1
  766. package/dist/mcp/services/HookExecutor.d.ts +44 -5
  767. package/dist/mcp/services/HookExecutor.d.ts.map +1 -1
  768. package/dist/mcp/services/HookExecutor.js +43 -7
  769. package/dist/mcp/services/HookExecutor.js.map +1 -1
  770. package/dist/mcp/tools.d.ts +43 -0
  771. package/dist/mcp/tools.d.ts.map +1 -1
  772. package/dist/mcp/tools.js +1256 -1
  773. package/dist/mcp/tools.js.map +1 -1
  774. package/dist/mcp/types/advanced.d.ts +193 -0
  775. package/dist/mcp/types/advanced.d.ts.map +1 -0
  776. package/dist/mcp/types/advanced.js +7 -0
  777. package/dist/mcp/types/advanced.js.map +1 -0
  778. package/dist/mcp/types/analysis.d.ts +46 -0
  779. package/dist/mcp/types/analysis.d.ts.map +1 -0
  780. package/dist/mcp/types/analysis.js +6 -0
  781. package/dist/mcp/types/analysis.js.map +1 -0
  782. package/dist/mcp/types/chaos.d.ts +343 -0
  783. package/dist/mcp/types/chaos.d.ts.map +1 -0
  784. package/dist/mcp/types/chaos.js +7 -0
  785. package/dist/mcp/types/chaos.js.map +1 -0
  786. package/dist/mcp/types/integration.d.ts +418 -0
  787. package/dist/mcp/types/integration.d.ts.map +1 -0
  788. package/dist/mcp/types/integration.js +7 -0
  789. package/dist/mcp/types/integration.js.map +1 -0
  790. package/dist/types/api-contract.types.js +1 -2
  791. package/dist/types/api-contract.types.js.map +1 -1
  792. package/dist/types/errors.d.ts.map +1 -1
  793. package/dist/types/errors.js +5 -5
  794. package/dist/types/errors.js.map +1 -1
  795. package/dist/types/hook.types.d.ts +147 -0
  796. package/dist/types/hook.types.d.ts.map +1 -0
  797. package/dist/types/hook.types.js +7 -0
  798. package/dist/types/hook.types.js.map +1 -0
  799. package/dist/types/index.d.ts +1 -0
  800. package/dist/types/index.d.ts.map +1 -1
  801. package/dist/types/index.js +16 -0
  802. package/dist/types/index.js.map +1 -1
  803. package/dist/utils/Config.d.ts +6 -2
  804. package/dist/utils/Config.d.ts.map +1 -1
  805. package/dist/utils/Config.js +41 -0
  806. package/dist/utils/Config.js.map +1 -1
  807. package/dist/utils/FakerDataGenerator.d.ts +203 -0
  808. package/dist/utils/FakerDataGenerator.d.ts.map +1 -0
  809. package/dist/utils/FakerDataGenerator.js +379 -0
  810. package/dist/utils/FakerDataGenerator.js.map +1 -0
  811. package/dist/utils/SecurityScanner.d.ts +72 -0
  812. package/dist/utils/SecurityScanner.d.ts.map +1 -0
  813. package/dist/utils/SecurityScanner.js +388 -0
  814. package/dist/utils/SecurityScanner.js.map +1 -0
  815. package/dist/utils/TestFrameworkExecutor.d.ts +146 -0
  816. package/dist/utils/TestFrameworkExecutor.d.ts.map +1 -0
  817. package/dist/utils/TestFrameworkExecutor.js +576 -0
  818. package/dist/utils/TestFrameworkExecutor.js.map +1 -0
  819. package/dist/utils/index.d.ts +2 -0
  820. package/dist/utils/index.d.ts.map +1 -1
  821. package/dist/utils/index.js +3 -1
  822. package/dist/utils/index.js.map +1 -1
  823. package/dist/utils/validation.d.ts +28 -0
  824. package/dist/utils/validation.d.ts.map +1 -0
  825. package/dist/utils/validation.js +56 -0
  826. package/dist/utils/validation.js.map +1 -0
  827. package/package.json +31 -17
  828. package/dist/core/coverage-analyzer.d.ts +0 -50
  829. package/dist/core/coverage-analyzer.d.ts.map +0 -1
  830. package/dist/core/coverage-analyzer.js +0 -146
  831. package/dist/core/coverage-analyzer.js.map +0 -1
  832. package/dist/core/quality-gate.d.ts +0 -81
  833. package/dist/core/quality-gate.d.ts.map +0 -1
  834. package/dist/core/quality-gate.js +0 -254
  835. package/dist/core/quality-gate.js.map +0 -1
  836. package/dist/optimization/sublinear-solver.d.ts +0 -72
  837. package/dist/optimization/sublinear-solver.d.ts.map +0 -1
  838. package/dist/optimization/sublinear-solver.js +0 -263
  839. package/dist/optimization/sublinear-solver.js.map +0 -1
  840. package/dist/scripts/verifyComplexity.d.ts +0 -8
  841. package/dist/scripts/verifyComplexity.d.ts.map +0 -1
  842. package/dist/scripts/verifyComplexity.js +0 -56
  843. package/dist/scripts/verifyComplexity.js.map +0 -1
  844. package/dist/utils/sublinear/coverageOptimizer.d.ts +0 -84
  845. package/dist/utils/sublinear/coverageOptimizer.d.ts.map +0 -1
  846. package/dist/utils/sublinear/coverageOptimizer.js +0 -415
  847. package/dist/utils/sublinear/coverageOptimizer.js.map +0 -1
  848. package/dist/utils/sublinear/index.d.ts +0 -50
  849. package/dist/utils/sublinear/index.d.ts.map +0 -1
  850. package/dist/utils/sublinear/index.js +0 -390
  851. package/dist/utils/sublinear/index.js.map +0 -1
  852. package/dist/utils/sublinear/matrixSolver.d.ts +0 -132
  853. package/dist/utils/sublinear/matrixSolver.d.ts.map +0 -1
  854. package/dist/utils/sublinear/matrixSolver.js +0 -642
  855. package/dist/utils/sublinear/matrixSolver.js.map +0 -1
  856. package/dist/utils/sublinear/temporalPredictor.d.ts +0 -195
  857. package/dist/utils/sublinear/temporalPredictor.d.ts.map +0 -1
  858. package/dist/utils/sublinear/temporalPredictor.js +0 -474
  859. package/dist/utils/sublinear/temporalPredictor.js.map +0 -1
  860. package/dist/utils/sublinear/testSelector.d.ts +0 -81
  861. package/dist/utils/sublinear/testSelector.d.ts.map +0 -1
  862. package/dist/utils/sublinear/testSelector.js +0 -303
  863. package/dist/utils/sublinear/testSelector.js.map +0 -1
@@ -13,15 +13,8 @@ capabilities:
13
13
  - mutation-testing
14
14
  - performance-testing
15
15
  - api-testing
16
- hooks:
17
- pre_task:
18
- - "npx claude-flow@alpha hooks pre-task --description 'Starting test generation'"
19
- - "npx claude-flow@alpha memory retrieve --key 'aqe/test-requirements'"
20
- post_task:
21
- - "npx claude-flow@alpha hooks post-task --task-id '${TASK_ID}'"
22
- - "npx claude-flow@alpha memory store --key 'aqe/test-generation/results' --value '${TEST_RESULTS}'"
23
- post_edit:
24
- - "npx claude-flow@alpha hooks post-edit --file '${FILE_PATH}' --memory-key 'aqe/test-files/${FILE_NAME}'"
16
+ coordination:
17
+ protocol: aqe-hooks
25
18
  metadata:
26
19
  version: "2.0.0"
27
20
  frameworks: ["jest", "mocha", "cypress", "playwright", "vitest"]
@@ -76,18 +69,178 @@ Generate tests using AI-powered templates and patterns:
76
69
  - State transition testing
77
70
  - Error condition testing
78
71
 
79
- ## Integration Points
72
+ ## Coordination Protocol
80
73
 
81
- ### Memory Coordination
82
- ```bash
83
- # Store test generation context
84
- npx claude-flow@alpha memory store --key "aqe/test-context/${MODULE}" --value "${CONTEXT}"
74
+ This agent uses **AQE hooks (Agentic QE native hooks)** for coordination (zero external dependencies, 100-500x faster).
75
+
76
+ **Automatic Lifecycle Hooks:**
77
+ ```typescript
78
+ // Called automatically by BaseAgent
79
+ protected async onPreTask(data: { assignment: TaskAssignment }): Promise<void> {
80
+ // Load test requirements from memory
81
+ const requirements = await this.memoryStore.retrieve('aqe/test-requirements', {
82
+ partition: 'coordination'
83
+ });
84
+
85
+ // Retrieve code analysis data
86
+ const codeAnalysis = await this.memoryStore.retrieve(`aqe/code-analysis/${data.assignment.task.metadata.module}`, {
87
+ partition: 'analysis'
88
+ });
89
+
90
+ // Verify environment for test generation
91
+ const verification = await this.hookManager.executePreTaskVerification({
92
+ task: 'test-generation',
93
+ context: {
94
+ requiredVars: ['NODE_ENV', 'TEST_FRAMEWORK'],
95
+ minMemoryMB: 512,
96
+ requiredModules: ['jest', '@types/jest', 'fast-check']
97
+ }
98
+ });
99
+
100
+ // Emit test generation starting event
101
+ this.eventBus.emit('test-generator:starting', {
102
+ agentId: this.agentId,
103
+ module: data.assignment.task.metadata.module,
104
+ framework: requirements?.framework || 'jest'
105
+ });
106
+
107
+ this.logger.info('Test generation starting', {
108
+ requirements,
109
+ verification: verification.passed
110
+ });
111
+ }
112
+
113
+ protected async onPostTask(data: { assignment: TaskAssignment; result: any }): Promise<void> {
114
+ // Store test generation results in swarm memory
115
+ await this.memoryStore.store('aqe/test-generation/results', data.result, {
116
+ partition: 'agent_results',
117
+ ttl: 86400 // 24 hours
118
+ });
119
+
120
+ // Store generated test files
121
+ for (const testFile of data.result.generatedFiles) {
122
+ await this.memoryStore.store(`aqe/test-files/${testFile.name}`, testFile.content, {
123
+ partition: 'test_artifacts',
124
+ ttl: 604800 // 7 days
125
+ });
126
+ }
127
+
128
+ // Store coverage analysis
129
+ await this.memoryStore.store('aqe/coverage-analysis', {
130
+ timestamp: Date.now(),
131
+ coverage: data.result.coverage,
132
+ testsGenerated: data.result.testsGenerated,
133
+ framework: data.result.framework
134
+ }, {
135
+ partition: 'metrics',
136
+ ttl: 604800 // 7 days
137
+ });
138
+
139
+ // Emit completion event with test generation stats
140
+ this.eventBus.emit('test-generator:completed', {
141
+ agentId: this.agentId,
142
+ testsGenerated: data.result.testsGenerated,
143
+ coverage: data.result.coverage,
144
+ framework: data.result.framework
145
+ });
146
+
147
+ // Validate test generation results
148
+ const validation = await this.hookManager.executePostTaskValidation({
149
+ task: 'test-generation',
150
+ result: {
151
+ output: data.result,
152
+ coverage: data.result.coverage,
153
+ metrics: {
154
+ testsGenerated: data.result.testsGenerated,
155
+ executionTime: data.result.executionTime
156
+ }
157
+ }
158
+ });
159
+
160
+ this.logger.info('Test generation completed', {
161
+ testsGenerated: data.result.testsGenerated,
162
+ coverage: data.result.coverage,
163
+ validated: validation.passed
164
+ });
165
+ }
166
+
167
+ protected async onTaskError(data: { assignment: TaskAssignment; error: Error }): Promise<void> {
168
+ // Store error for fleet analysis
169
+ await this.memoryStore.store(`aqe/errors/${data.assignment.task.id}`, {
170
+ error: data.error.message,
171
+ timestamp: Date.now(),
172
+ agent: this.agentId,
173
+ taskType: 'test-generation',
174
+ module: data.assignment.task.metadata.module
175
+ }, {
176
+ partition: 'errors',
177
+ ttl: 604800 // 7 days
178
+ });
85
179
 
86
- # Retrieve coverage requirements
87
- npx claude-flow@alpha memory retrieve --key "aqe/coverage-requirements"
180
+ // Emit error event for fleet coordination
181
+ this.eventBus.emit('test-generator:error', {
182
+ agentId: this.agentId,
183
+ error: data.error.message,
184
+ taskId: data.assignment.task.id
185
+ });
88
186
 
89
- # Share test results with QE fleet
90
- npx claude-flow@alpha memory store --key "aqe/test-results/${SUITE}" --value "${RESULTS}"
187
+ this.logger.error('Test generation failed', {
188
+ error: data.error.message,
189
+ stack: data.error.stack
190
+ });
191
+ }
192
+ ```
193
+
194
+ **Advanced Verification (Optional):**
195
+ ```typescript
196
+ // Use VerificationHookManager for comprehensive validation
197
+ const hookManager = new VerificationHookManager(this.memoryStore);
198
+
199
+ // Pre-task verification with environment checks
200
+ const verification = await hookManager.executePreTaskVerification({
201
+ task: 'test-generation',
202
+ context: {
203
+ requiredVars: ['NODE_ENV', 'TEST_FRAMEWORK'],
204
+ minMemoryMB: 512,
205
+ requiredModules: ['jest', '@types/jest', 'fast-check', '@testing-library/react']
206
+ }
207
+ });
208
+
209
+ // Post-task validation with result verification
210
+ const validation = await hookManager.executePostTaskValidation({
211
+ task: 'test-generation',
212
+ result: {
213
+ output: generatedTests,
214
+ coverage: 0.95,
215
+ metrics: {
216
+ testsGenerated: 50,
217
+ propertyTests: 10,
218
+ boundaryTests: 15,
219
+ integrationTests: 25
220
+ }
221
+ }
222
+ });
223
+
224
+ // Pre-edit verification before writing test files
225
+ const editCheck = await hookManager.executePreEditVerification({
226
+ filePath: 'tests/generated/user.test.ts',
227
+ operation: 'write',
228
+ content: testFileContent
229
+ });
230
+
231
+ // Post-edit update after test file creation
232
+ const editUpdate = await hookManager.executePostEditUpdate({
233
+ filePath: 'tests/generated/user.test.ts',
234
+ operation: 'write',
235
+ success: true
236
+ });
237
+
238
+ // Session finalization with test suite export
239
+ const finalization = await hookManager.executeSessionEndFinalization({
240
+ sessionId: 'test-generation-v2.0.0',
241
+ exportMetrics: true,
242
+ exportArtifacts: true
243
+ });
91
244
  ```
92
245
 
93
246
  ### Agent Collaboration
@@ -118,26 +271,16 @@ npx claude-flow@alpha memory store --key "aqe/test-results/${SUITE}" --value "${
118
271
  ## Coordination Protocol
119
272
 
120
273
  ### Swarm Integration
121
- ```bash
122
- # Initialize test generation workflow
123
- npx claude-flow@alpha task orchestrate \
124
- --task "Generate comprehensive test suite for ${MODULE}" \
125
- --agents "qe-test-generator,qe-analyzer,qe-validator" \
126
- --strategy "parallel"
127
-
128
- # Coordinate with neural training
129
- npx claude-flow@alpha neural train \
130
- --pattern-type "optimization" \
131
- --training-data "test-generation-patterns"
132
- ```
133
274
 
134
- ### Agent Spawning Protocol
135
- ```bash
136
- # Spawn test generator with specific capabilities
137
- npx claude-flow@alpha agent spawn \
138
- --type "test-generator" \
139
- --capabilities "property-testing,boundary-analysis,sublinear-optimization"
140
- ```
275
+ **Native TypeScript coordination (replaces bash commands):**
276
+
277
+ All swarm integration is handled automatically via AQE hooks (Agentic QE native hooks) shown above. The agent coordinates through:
278
+
279
+ - **Memory Store**: Shared context via `this.memoryStore.store()` and `this.memoryStore.retrieve()`
280
+ - **Event Bus**: Real-time coordination via `this.eventBus.emit()` and event handlers
281
+ - **Hook Manager**: Advanced verification via `VerificationHookManager`
282
+
283
+ No external bash commands needed - all coordination is built into the agent's lifecycle hooks.
141
284
 
142
285
  ## Framework Integration
143
286
 
@@ -272,20 +415,51 @@ describe('API Contract Tests', () => {
272
415
  ## Neural Pattern Integration
273
416
 
274
417
  ### Learning from Test Results
275
- ```bash
276
- # Train neural patterns from test execution data
277
- npx claude-flow@alpha neural patterns \
278
- --action "learn" \
279
- --operation "test-generation" \
280
- --outcome "${TEST_RESULTS}"
418
+
419
+ **Native TypeScript neural integration:**
420
+
421
+ ```typescript
422
+ // Store neural patterns from test results
423
+ await this.memoryStore.store('aqe/neural/patterns/test-generation', {
424
+ operation: 'test-generation',
425
+ outcome: testResults,
426
+ patterns: identifiedPatterns,
427
+ confidence: 0.95,
428
+ timestamp: Date.now()
429
+ }, {
430
+ partition: 'neural',
431
+ ttl: 2592000 // 30 days
432
+ });
433
+
434
+ // Emit neural learning event
435
+ this.eventBus.emit('neural:pattern-learned', {
436
+ agentId: this.agentId,
437
+ operation: 'test-generation',
438
+ confidence: 0.95
439
+ });
281
440
  ```
282
441
 
283
442
  ### Predictive Test Generation
284
- ```bash
285
- # Use neural patterns to predict optimal test strategies
286
- npx claude-flow@alpha neural predict \
287
- --model-id "test-generation-model" \
288
- --input "${CODE_ANALYSIS}"
443
+
444
+ **Native TypeScript prediction:**
445
+
446
+ ```typescript
447
+ // Retrieve neural patterns for prediction
448
+ const patterns = await this.memoryStore.retrieve('aqe/neural/patterns/test-generation', {
449
+ partition: 'neural'
450
+ });
451
+
452
+ // Use patterns for intelligent test strategy selection
453
+ const predictedStrategy = this.predictOptimalStrategy(codeAnalysis, patterns);
454
+
455
+ // Store prediction outcome
456
+ await this.memoryStore.store('aqe/neural/predictions', {
457
+ input: codeAnalysis,
458
+ strategy: predictedStrategy,
459
+ timestamp: Date.now()
460
+ }, {
461
+ partition: 'neural'
462
+ });
289
463
  ```
290
464
 
291
465
  ## Commands
@@ -13,17 +13,8 @@ capabilities:
13
13
  - pixel-diff-analysis
14
14
  - responsive-testing
15
15
  - color-contrast-validation
16
- hooks:
17
- pre_task:
18
- - "npx claude-flow@alpha hooks pre-task --description 'Visual Tester: Initializing visual testing workflow'"
19
- - "npx claude-flow@alpha memory retrieve --key 'aqe/visual/baselines'"
20
- - "npx claude-flow@alpha memory retrieve --key 'aqe/visual/test-config'"
21
- post_task:
22
- - "npx claude-flow@alpha hooks post-task --task-id '${TASK_ID}'"
23
- - "npx claude-flow@alpha memory store --key 'aqe/visual/test-results' --value '${VISUAL_TEST_RESULTS}'"
24
- - "npx claude-flow@alpha memory store --key 'aqe/visual/regressions' --value '${REGRESSIONS_DETECTED}'"
25
- post_edit:
26
- - "npx claude-flow@alpha hooks post-edit --file '${FILE_PATH}' --memory-key 'aqe/visual/baselines/${FILE_NAME}'"
16
+ coordination:
17
+ protocol: aqe-hooks
27
18
  metadata:
28
19
  version: "2.0.0"
29
20
  frameworks: ["playwright", "cypress", "puppeteer", "selenium"]
@@ -167,47 +158,80 @@ const accessibilityResults = await validateAccessibility({
167
158
  });
168
159
  ```
169
160
 
170
- ## Integration Points
171
-
172
- ### Memory Coordination
173
- ```bash
174
- # Store baseline screenshots
175
- npx claude-flow@alpha memory store --key "aqe/visual/baselines/${VERSION}" --value "${BASELINE_DATA}"
161
+ ## Coordination Protocol
176
162
 
177
- # Store visual test results
178
- npx claude-flow@alpha memory store --key "aqe/visual/test-results/${TEST_RUN_ID}" --value "${TEST_RESULTS}"
163
+ This agent uses **AQE hooks (Agentic QE native hooks)** for coordination (zero external dependencies, 100-500x faster).
164
+
165
+ **Automatic Lifecycle Hooks:**
166
+ ```typescript
167
+ protected async onPreTask(data: { assignment: TaskAssignment }): Promise<void> {
168
+ // Retrieve baselines
169
+ const baselines = await this.memoryStore.retrieve(`aqe/visual/baselines/${this.version}`, {
170
+ partition: 'visual_baselines'
171
+ });
172
+
173
+ // Retrieve test configuration
174
+ const testConfig = await this.memoryStore.retrieve('aqe/visual/test-config', {
175
+ partition: 'configuration'
176
+ });
177
+
178
+ this.eventBus.emit('visual-tester:starting', {
179
+ agentId: this.agentId,
180
+ pagesCount: testConfig.pages.length
181
+ });
182
+ }
179
183
 
180
- # Store detected regressions
181
- npx claude-flow@alpha memory store --key "aqe/visual/regressions/${BUILD_ID}" --value "${REGRESSIONS}"
184
+ protected async onPostTask(data: { assignment: TaskAssignment; result: any }): Promise<void> {
185
+ // Store visual test results
186
+ await this.memoryStore.store(`aqe/visual/test-results/${data.result.testRunId}`, data.result, {
187
+ partition: 'visual_results',
188
+ ttl: 86400
189
+ });
190
+
191
+ // Store detected regressions
192
+ if (data.result.regressions.length > 0) {
193
+ await this.memoryStore.store(`aqe/visual/regressions/${data.result.buildId}`, data.result.regressions, {
194
+ partition: 'regressions'
195
+ });
196
+ }
182
197
 
183
- # Store accessibility reports
184
- npx claude-flow@alpha memory store --key "aqe/visual/accessibility/${PAGE}" --value "${A11Y_REPORT}"
198
+ // Store accessibility reports
199
+ await this.memoryStore.store(`aqe/visual/accessibility/${data.result.page}`, data.result.a11yReport, {
200
+ partition: 'accessibility'
201
+ });
185
202
 
186
- # Store cross-browser results
187
- npx claude-flow@alpha memory store --key "aqe/visual/cross-browser/${BROWSER}" --value "${BROWSER_RESULTS}"
203
+ this.eventBus.emit('visual-tester:completed', {
204
+ agentId: this.agentId,
205
+ pagesTested: data.result.pagesTested,
206
+ regressionsFound: data.result.regressions.length
207
+ });
208
+ }
188
209
  ```
189
210
 
190
- ### EventBus Integration
191
- ```javascript
211
+ **Event Bus Integration:**
212
+ ```typescript
192
213
  // Subscribe to visual testing events
193
- eventBus.subscribe('visual:regression-detected', (event) => {
194
- qualityGate.blockDeployment(event.severity);
195
- });
196
-
197
- eventBus.subscribe('visual:baseline-updated', (event) => {
198
- notificationAgent.notifyTeam('New visual baseline created');
214
+ this.registerEventHandler({
215
+ eventType: 'visual:regression-detected',
216
+ handler: async (event) => {
217
+ await this.qualityGate.blockDeployment(event.severity);
218
+ }
199
219
  });
200
220
 
201
- eventBus.subscribe('visual:accessibility-violation', (event) => {
202
- complianceAgent.logViolation(event.violation);
221
+ this.registerEventHandler({
222
+ eventType: 'visual:baseline-updated',
223
+ handler: async (event) => {
224
+ await this.notificationAgent.notifyTeam('New visual baseline created');
225
+ }
203
226
  });
227
+ ```
204
228
 
205
- // Broadcast visual testing events
206
- eventBus.publish('visual:test-complete', {
207
- test_run_id: 'vt-123',
208
- pages_tested: 15,
209
- regressions_found: 2,
210
- accessibility_score: 94
229
+ **Advanced Verification:**
230
+ ```typescript
231
+ const hookManager = new VerificationHookManager(this.memoryStore);
232
+ const verification = await hookManager.executePreTaskVerification({
233
+ task: 'visual-regression-test',
234
+ context: { requiredVars: ['BASELINE_VERSION'], minMemoryMB: 2048 }
211
235
  });
212
236
  ```
213
237
 
@@ -244,31 +268,8 @@ eventBus.publish('visual:test-complete', {
244
268
  ## Coordination Protocol
245
269
 
246
270
  ### Swarm Integration
247
- ```bash
248
- # Initialize visual testing workflow
249
- npx claude-flow@alpha task orchestrate \
250
- --task "Execute visual regression tests across all pages" \
251
- --agents "qe-visual-tester,qe-test-executor" \
252
- --strategy "parallel-cross-browser"
253
-
254
- # Spawn visual testing agents
255
- npx claude-flow@alpha agent spawn \
256
- --type "visual-tester" \
257
- --capabilities "screenshot-comparison,accessibility-validation"
258
- ```
259
271
 
260
- ### Neural Pattern Training
261
- ```bash
262
- # Train AI visual diff patterns
263
- npx claude-flow@alpha neural train \
264
- --pattern-type "visual-regression" \
265
- --training-data "historical-regressions"
266
-
267
- # Predict visual regression risk
268
- npx claude-flow@alpha neural predict \
269
- --model-id "visual-risk-model" \
270
- --input "${CODE_CHANGES}"
271
- ```
272
+ All swarm coordination is handled via **AQE hooks (Agentic QE native hooks)** and the EventBus. Use Claude Code's Task tool to spawn agents and orchestrate workflows - the native hooks handle all coordination automatically without external MCP commands.
272
273
 
273
274
  ## Visual Comparison Algorithms
274
275
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "fleetId": "aqe-fleet-1759299421013",
2
+ "fleetId": "aqe-fleet-1759773240987",
3
3
  "version": "2.0.0",
4
4
  "topology": "hierarchical",
5
5
  "maxAgents": 6,
@@ -21,7 +21,7 @@
21
21
  "qe-api-contract-validator",
22
22
  "qe-flaky-test-hunter"
23
23
  ],
24
- "created": "2025-10-01T06:17:01.013Z",
24
+ "created": "2025-10-06T17:54:00.987Z",
25
25
  "status": "active",
26
26
  "configuration": {
27
27
  "coordination": {
@@ -42,6 +42,6 @@
42
42
  "metadata": {
43
43
  "packageVersion": "2.0.0",
44
44
  "claudeFlowVersion": "alpha",
45
- "initDate": "2025-10-01T06:17:01.013Z"
45
+ "initDate": "2025-10-06T17:54:00.987Z"
46
46
  }
47
47
  }