agentic-qe 1.4.4 → 1.5.0

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 (390) hide show
  1. package/.claude/agents/qe-api-contract-validator.md +133 -27
  2. package/.claude/agents/qe-api-contract-validator.md.backup +1148 -0
  3. package/.claude/agents/qe-api-contract-validator.md.backup-20251107-134747 +1148 -0
  4. package/.claude/agents/qe-api-contract-validator.md.backup-phase2-20251107-140039 +1123 -0
  5. package/.claude/agents/qe-chaos-engineer.md +142 -23
  6. package/.claude/agents/qe-chaos-engineer.md.backup +808 -0
  7. package/.claude/agents/qe-chaos-engineer.md.backup-20251107-134747 +808 -0
  8. package/.claude/agents/qe-chaos-engineer.md.backup-phase2-20251107-140039 +787 -0
  9. package/.claude/agents/qe-code-complexity.md +111 -23
  10. package/.claude/agents/qe-code-complexity.md.backup +291 -0
  11. package/.claude/agents/qe-code-complexity.md.backup-20251107-134747 +291 -0
  12. package/.claude/agents/qe-code-complexity.md.backup-phase2-20251107-140039 +286 -0
  13. package/.claude/agents/qe-coverage-analyzer.md +306 -30
  14. package/.claude/agents/qe-coverage-analyzer.md.backup +467 -0
  15. package/.claude/agents/qe-coverage-analyzer.md.backup-20251107-134747 +467 -0
  16. package/.claude/agents/qe-coverage-analyzer.md.backup-phase2-20251107-140039 +438 -0
  17. package/.claude/agents/qe-deployment-readiness.md +84 -28
  18. package/.claude/agents/qe-deployment-readiness.md.backup +1166 -0
  19. package/.claude/agents/qe-deployment-readiness.md.backup-20251107-134747 +1166 -0
  20. package/.claude/agents/qe-deployment-readiness.md.backup-phase2-20251107-140039 +1140 -0
  21. package/.claude/agents/qe-flaky-test-hunter.md +277 -35
  22. package/.claude/agents/qe-flaky-test-hunter.md.backup +1195 -0
  23. package/.claude/agents/qe-flaky-test-hunter.md.backup-20251107-134747 +1195 -0
  24. package/.claude/agents/qe-flaky-test-hunter.md.backup-phase2-20251107-140039 +1162 -0
  25. package/.claude/agents/qe-fleet-commander.md +126 -23
  26. package/.claude/agents/qe-fleet-commander.md.backup +718 -0
  27. package/.claude/agents/qe-fleet-commander.md.backup-20251107-134747 +718 -0
  28. package/.claude/agents/qe-fleet-commander.md.backup-phase2-20251107-140039 +697 -0
  29. package/.claude/agents/qe-performance-tester.md +314 -57
  30. package/.claude/agents/qe-performance-tester.md.backup +428 -0
  31. package/.claude/agents/qe-performance-tester.md.backup-20251107-134747 +428 -0
  32. package/.claude/agents/qe-performance-tester.md.backup-phase2-20251107-140039 +372 -0
  33. package/.claude/agents/qe-production-intelligence.md +126 -27
  34. package/.claude/agents/qe-production-intelligence.md.backup +1219 -0
  35. package/.claude/agents/qe-production-intelligence.md.backup-20251107-134747 +1219 -0
  36. package/.claude/agents/qe-production-intelligence.md.backup-phase2-20251107-140039 +1194 -0
  37. package/.claude/agents/qe-quality-analyzer.md +127 -32
  38. package/.claude/agents/qe-quality-analyzer.md.backup +425 -0
  39. package/.claude/agents/qe-quality-analyzer.md.backup-20251107-134747 +425 -0
  40. package/.claude/agents/qe-quality-analyzer.md.backup-phase2-20251107-140039 +394 -0
  41. package/.claude/agents/qe-quality-gate.md +148 -33
  42. package/.claude/agents/qe-quality-gate.md.backup +446 -0
  43. package/.claude/agents/qe-quality-gate.md.backup-20251107-134747 +446 -0
  44. package/.claude/agents/qe-quality-gate.md.backup-phase2-20251107-140039 +415 -0
  45. package/.claude/agents/qe-regression-risk-analyzer.md +78 -27
  46. package/.claude/agents/qe-regression-risk-analyzer.md.backup +1009 -0
  47. package/.claude/agents/qe-regression-risk-analyzer.md.backup-20251107-134747 +1009 -0
  48. package/.claude/agents/qe-regression-risk-analyzer.md.backup-phase2-20251107-140039 +984 -0
  49. package/.claude/agents/qe-requirements-validator.md +131 -27
  50. package/.claude/agents/qe-requirements-validator.md.backup +748 -0
  51. package/.claude/agents/qe-requirements-validator.md.backup-20251107-134747 +748 -0
  52. package/.claude/agents/qe-requirements-validator.md.backup-phase2-20251107-140039 +723 -0
  53. package/.claude/agents/qe-security-scanner.md +137 -62
  54. package/.claude/agents/qe-security-scanner.md.backup +634 -0
  55. package/.claude/agents/qe-security-scanner.md.backup-20251107-134747 +634 -0
  56. package/.claude/agents/qe-security-scanner.md.backup-phase2-20251107-140039 +573 -0
  57. package/.claude/agents/qe-test-data-architect.md +129 -26
  58. package/.claude/agents/qe-test-data-architect.md.backup +1064 -0
  59. package/.claude/agents/qe-test-data-architect.md.backup-20251107-134747 +1064 -0
  60. package/.claude/agents/qe-test-data-architect.md.backup-phase2-20251107-140039 +1040 -0
  61. package/.claude/agents/qe-test-executor.md +165 -21
  62. package/.claude/agents/qe-test-executor.md.backup +389 -0
  63. package/.claude/agents/qe-test-executor.md.backup-20251107-134747 +389 -0
  64. package/.claude/agents/qe-test-executor.md.backup-phase2-20251107-140039 +369 -0
  65. package/.claude/agents/qe-test-generator.md +379 -34
  66. package/.claude/agents/qe-test-generator.md.backup +997 -0
  67. package/.claude/agents/qe-test-generator.md.backup-20251107-134747 +997 -0
  68. package/.claude/agents/qe-visual-tester.md +236 -23
  69. package/.claude/agents/qe-visual-tester.md.backup +777 -0
  70. package/.claude/agents/qe-visual-tester.md.backup-20251107-134747 +777 -0
  71. package/.claude/agents/qe-visual-tester.md.backup-phase2-20251107-140039 +756 -0
  72. package/.claude/agents/subagents/qe-code-reviewer.md +59 -0
  73. package/.claude/agents/subagents/qe-data-generator.md +60 -0
  74. package/.claude/agents/subagents/qe-integration-tester.md +77 -0
  75. package/.claude/agents/subagents/qe-performance-validator.md +55 -0
  76. package/.claude/agents/subagents/qe-security-auditor.md +51 -0
  77. package/.claude/agents/subagents/qe-test-implementer.md +371 -0
  78. package/.claude/agents/subagents/qe-test-refactorer.md +510 -0
  79. package/.claude/agents/subagents/qe-test-writer.md +603 -0
  80. package/.claude/skills/accessibility-testing/SKILL.md +764 -777
  81. package/.claude/skills/agentic-quality-engineering/SKILL.md +0 -6
  82. package/.claude/skills/api-testing-patterns/SKILL.md +0 -12
  83. package/.claude/skills/bug-reporting-excellence/SKILL.md +0 -6
  84. package/.claude/skills/chaos-engineering-resilience/SKILL.md +0 -6
  85. package/.claude/skills/code-review-quality/SKILL.md +0 -6
  86. package/.claude/skills/compatibility-testing/SKILL.md +0 -6
  87. package/.claude/skills/compliance-testing/SKILL.md +0 -6
  88. package/.claude/skills/consultancy-practices/SKILL.md +0 -6
  89. package/.claude/skills/context-driven-testing/SKILL.md +0 -6
  90. package/.claude/skills/contract-testing/SKILL.md +0 -6
  91. package/.claude/skills/database-testing/SKILL.md +0 -6
  92. package/.claude/skills/exploratory-testing-advanced/SKILL.md +0 -6
  93. package/.claude/skills/holistic-testing-pact/SKILL.md +0 -6
  94. package/.claude/skills/localization-testing/SKILL.md +0 -6
  95. package/.claude/skills/mobile-testing/SKILL.md +535 -548
  96. package/.claude/skills/mutation-testing/SKILL.md +0 -6
  97. package/.claude/skills/performance-testing/SKILL.md +0 -6
  98. package/.claude/skills/quality-metrics/SKILL.md +0 -12
  99. package/.claude/skills/refactoring-patterns/SKILL.md +0 -6
  100. package/.claude/skills/regression-testing/SKILL.md +1033 -1045
  101. package/.claude/skills/risk-based-testing/SKILL.md +0 -12
  102. package/.claude/skills/security-testing/SKILL.md +0 -6
  103. package/.claude/skills/shift-left-testing/SKILL.md +529 -535
  104. package/.claude/skills/shift-right-testing/SKILL.md +585 -591
  105. package/.claude/skills/tdd-london-chicago/SKILL.md +0 -6
  106. package/.claude/skills/technical-writing/SKILL.md +0 -6
  107. package/.claude/skills/test-automation-strategy/SKILL.md +0 -6
  108. package/.claude/skills/test-data-management/SKILL.md +1054 -1067
  109. package/.claude/skills/test-design-techniques/SKILL.md +0 -6
  110. package/.claude/skills/test-environment-management/SKILL.md +0 -6
  111. package/.claude/skills/test-reporting-analytics/SKILL.md +0 -6
  112. package/.claude/skills/visual-testing-advanced/SKILL.md +0 -6
  113. package/.claude/skills/xp-practices/SKILL.md +0 -6
  114. package/CHANGELOG.md +397 -5
  115. package/README.md +24 -19
  116. package/dist/cli/commands/init.d.ts +4 -0
  117. package/dist/cli/commands/init.d.ts.map +1 -1
  118. package/dist/cli/commands/init.js +97 -44
  119. package/dist/cli/commands/init.js.map +1 -1
  120. package/dist/mcp/handlers/coordination/index.d.ts +14 -14
  121. package/dist/mcp/handlers/coordination/index.d.ts.map +1 -1
  122. package/dist/mcp/handlers/coordination/index.js +14 -14
  123. package/dist/mcp/handlers/coordination/index.js.map +1 -1
  124. package/dist/mcp/handlers/phase2/Phase2Tools.d.ts.map +1 -1
  125. package/dist/mcp/handlers/phase2/Phase2Tools.js +39 -10
  126. package/dist/mcp/handlers/phase2/Phase2Tools.js.map +1 -1
  127. package/dist/mcp/handlers/phase3/Phase3DomainTools.d.ts +63 -0
  128. package/dist/mcp/handlers/phase3/Phase3DomainTools.d.ts.map +1 -0
  129. package/dist/mcp/handlers/phase3/Phase3DomainTools.js +885 -0
  130. package/dist/mcp/handlers/phase3/Phase3DomainTools.js.map +1 -0
  131. package/dist/mcp/handlers/phase3/index.d.ts +6 -0
  132. package/dist/mcp/handlers/phase3/index.d.ts.map +1 -0
  133. package/dist/mcp/handlers/phase3/index.js +10 -0
  134. package/dist/mcp/handlers/phase3/index.js.map +1 -0
  135. package/dist/mcp/handlers/prediction/index.d.ts +10 -10
  136. package/dist/mcp/handlers/prediction/index.d.ts.map +1 -1
  137. package/dist/mcp/handlers/prediction/index.js +10 -10
  138. package/dist/mcp/handlers/prediction/index.js.map +1 -1
  139. package/dist/mcp/handlers/security/check-authz.d.ts +152 -0
  140. package/dist/mcp/handlers/security/check-authz.d.ts.map +1 -0
  141. package/dist/mcp/handlers/security/check-authz.js +434 -0
  142. package/dist/mcp/handlers/security/check-authz.js.map +1 -0
  143. package/dist/mcp/handlers/security/generate-report.d.ts +156 -0
  144. package/dist/mcp/handlers/security/generate-report.d.ts.map +1 -0
  145. package/dist/mcp/handlers/security/generate-report.js +469 -0
  146. package/dist/mcp/handlers/security/generate-report.js.map +1 -0
  147. package/dist/mcp/handlers/security/index.d.ts +80 -0
  148. package/dist/mcp/handlers/security/index.d.ts.map +1 -0
  149. package/dist/mcp/handlers/security/index.js +91 -0
  150. package/dist/mcp/handlers/security/index.js.map +1 -0
  151. package/dist/mcp/handlers/security/scan-comprehensive.d.ts +66 -0
  152. package/dist/mcp/handlers/security/scan-comprehensive.d.ts.map +1 -0
  153. package/dist/mcp/handlers/security/scan-comprehensive.js +296 -0
  154. package/dist/mcp/handlers/security/scan-comprehensive.js.map +1 -0
  155. package/dist/mcp/handlers/security/scan-dependencies.d.ts +148 -0
  156. package/dist/mcp/handlers/security/scan-dependencies.d.ts.map +1 -0
  157. package/dist/mcp/handlers/security/scan-dependencies.js +354 -0
  158. package/dist/mcp/handlers/security/scan-dependencies.js.map +1 -0
  159. package/dist/mcp/handlers/security/validate-auth.d.ts +128 -0
  160. package/dist/mcp/handlers/security/validate-auth.d.ts.map +1 -0
  161. package/dist/mcp/handlers/security/validate-auth.js +294 -0
  162. package/dist/mcp/handlers/security/validate-auth.js.map +1 -0
  163. package/dist/mcp/handlers/test/generate-integration-tests.d.ts +95 -0
  164. package/dist/mcp/handlers/test/generate-integration-tests.d.ts.map +1 -0
  165. package/dist/mcp/handlers/test/generate-integration-tests.js +286 -0
  166. package/dist/mcp/handlers/test/generate-integration-tests.js.map +1 -0
  167. package/dist/mcp/handlers/test/generate-unit-tests.d.ts +89 -0
  168. package/dist/mcp/handlers/test/generate-unit-tests.d.ts.map +1 -0
  169. package/dist/mcp/handlers/test/generate-unit-tests.js +273 -0
  170. package/dist/mcp/handlers/test/generate-unit-tests.js.map +1 -0
  171. package/dist/mcp/handlers/test/optimize-test-suite.d.ts +97 -0
  172. package/dist/mcp/handlers/test/optimize-test-suite.d.ts.map +1 -0
  173. package/dist/mcp/handlers/test/optimize-test-suite.js +282 -0
  174. package/dist/mcp/handlers/test/optimize-test-suite.js.map +1 -0
  175. package/dist/mcp/server.d.ts.map +1 -1
  176. package/dist/mcp/server.js +211 -0
  177. package/dist/mcp/server.js.map +1 -1
  178. package/dist/mcp/tools/deprecated.d.ts +1390 -0
  179. package/dist/mcp/tools/deprecated.d.ts.map +1 -0
  180. package/dist/mcp/tools/deprecated.js +859 -0
  181. package/dist/mcp/tools/deprecated.js.map +1 -0
  182. package/dist/mcp/tools/qe/api-contract/index.d.ts +138 -0
  183. package/dist/mcp/tools/qe/api-contract/index.d.ts.map +1 -0
  184. package/dist/mcp/tools/qe/api-contract/index.js +572 -0
  185. package/dist/mcp/tools/qe/api-contract/index.js.map +1 -0
  186. package/dist/mcp/tools/qe/code-quality/analyze-complexity.d.ts +110 -0
  187. package/dist/mcp/tools/qe/code-quality/analyze-complexity.d.ts.map +1 -0
  188. package/dist/mcp/tools/qe/code-quality/analyze-complexity.js +381 -0
  189. package/dist/mcp/tools/qe/code-quality/analyze-complexity.js.map +1 -0
  190. package/dist/mcp/tools/qe/code-quality/calculate-quality-metrics.d.ts +115 -0
  191. package/dist/mcp/tools/qe/code-quality/calculate-quality-metrics.d.ts.map +1 -0
  192. package/dist/mcp/tools/qe/code-quality/calculate-quality-metrics.js +461 -0
  193. package/dist/mcp/tools/qe/code-quality/calculate-quality-metrics.js.map +1 -0
  194. package/dist/mcp/tools/qe/code-quality/index.d.ts +12 -0
  195. package/dist/mcp/tools/qe/code-quality/index.d.ts.map +1 -0
  196. package/dist/mcp/tools/qe/code-quality/index.js +30 -0
  197. package/dist/mcp/tools/qe/code-quality/index.js.map +1 -0
  198. package/dist/mcp/tools/qe/coverage/analyze-with-risk-scoring.d.ts +58 -0
  199. package/dist/mcp/tools/qe/coverage/analyze-with-risk-scoring.d.ts.map +1 -0
  200. package/dist/mcp/tools/qe/coverage/analyze-with-risk-scoring.js +172 -0
  201. package/dist/mcp/tools/qe/coverage/analyze-with-risk-scoring.js.map +1 -0
  202. package/dist/mcp/tools/qe/coverage/calculate-trends.d.ts +73 -0
  203. package/dist/mcp/tools/qe/coverage/calculate-trends.d.ts.map +1 -0
  204. package/dist/mcp/tools/qe/coverage/calculate-trends.js +240 -0
  205. package/dist/mcp/tools/qe/coverage/calculate-trends.js.map +1 -0
  206. package/dist/mcp/tools/qe/coverage/detect-gaps-ml.d.ts +38 -0
  207. package/dist/mcp/tools/qe/coverage/detect-gaps-ml.d.ts.map +1 -0
  208. package/dist/mcp/tools/qe/coverage/detect-gaps-ml.js +204 -0
  209. package/dist/mcp/tools/qe/coverage/detect-gaps-ml.js.map +1 -0
  210. package/dist/mcp/tools/qe/coverage/index.d.ts +12 -0
  211. package/dist/mcp/tools/qe/coverage/index.d.ts.map +1 -0
  212. package/dist/mcp/tools/qe/coverage/index.js +23 -0
  213. package/dist/mcp/tools/qe/coverage/index.js.map +1 -0
  214. package/dist/mcp/tools/qe/coverage/recommend-tests.d.ts +46 -0
  215. package/dist/mcp/tools/qe/coverage/recommend-tests.d.ts.map +1 -0
  216. package/dist/mcp/tools/qe/coverage/recommend-tests.js +248 -0
  217. package/dist/mcp/tools/qe/coverage/recommend-tests.js.map +1 -0
  218. package/dist/mcp/tools/qe/flaky-detection/analyze-patterns.d.ts +179 -0
  219. package/dist/mcp/tools/qe/flaky-detection/analyze-patterns.d.ts.map +1 -0
  220. package/dist/mcp/tools/qe/flaky-detection/analyze-patterns.js +554 -0
  221. package/dist/mcp/tools/qe/flaky-detection/analyze-patterns.js.map +1 -0
  222. package/dist/mcp/tools/qe/flaky-detection/detect-statistical.d.ts +172 -0
  223. package/dist/mcp/tools/qe/flaky-detection/detect-statistical.d.ts.map +1 -0
  224. package/dist/mcp/tools/qe/flaky-detection/detect-statistical.js +498 -0
  225. package/dist/mcp/tools/qe/flaky-detection/detect-statistical.js.map +1 -0
  226. package/dist/mcp/tools/qe/flaky-detection/index.d.ts +35 -0
  227. package/dist/mcp/tools/qe/flaky-detection/index.d.ts.map +1 -0
  228. package/dist/mcp/tools/qe/flaky-detection/index.js +66 -0
  229. package/dist/mcp/tools/qe/flaky-detection/index.js.map +1 -0
  230. package/dist/mcp/tools/qe/flaky-detection/stabilize-auto.d.ts +159 -0
  231. package/dist/mcp/tools/qe/flaky-detection/stabilize-auto.d.ts.map +1 -0
  232. package/dist/mcp/tools/qe/flaky-detection/stabilize-auto.js +462 -0
  233. package/dist/mcp/tools/qe/flaky-detection/stabilize-auto.js.map +1 -0
  234. package/dist/mcp/tools/qe/fleet/index.d.ts +422 -0
  235. package/dist/mcp/tools/qe/fleet/index.d.ts.map +1 -0
  236. package/dist/mcp/tools/qe/fleet/index.js +652 -0
  237. package/dist/mcp/tools/qe/fleet/index.js.map +1 -0
  238. package/dist/mcp/tools/qe/performance/analyze-bottlenecks.d.ts +180 -0
  239. package/dist/mcp/tools/qe/performance/analyze-bottlenecks.d.ts.map +1 -0
  240. package/dist/mcp/tools/qe/performance/analyze-bottlenecks.js +347 -0
  241. package/dist/mcp/tools/qe/performance/analyze-bottlenecks.js.map +1 -0
  242. package/dist/mcp/tools/qe/performance/generate-report.d.ts +146 -0
  243. package/dist/mcp/tools/qe/performance/generate-report.d.ts.map +1 -0
  244. package/dist/mcp/tools/qe/performance/generate-report.js +354 -0
  245. package/dist/mcp/tools/qe/performance/generate-report.js.map +1 -0
  246. package/dist/mcp/tools/qe/performance/index.d.ts +13 -0
  247. package/dist/mcp/tools/qe/performance/index.d.ts.map +1 -0
  248. package/dist/mcp/tools/qe/performance/index.js +24 -0
  249. package/dist/mcp/tools/qe/performance/index.js.map +1 -0
  250. package/dist/mcp/tools/qe/performance/monitor-realtime.d.ts +120 -0
  251. package/dist/mcp/tools/qe/performance/monitor-realtime.d.ts.map +1 -0
  252. package/dist/mcp/tools/qe/performance/monitor-realtime.js +215 -0
  253. package/dist/mcp/tools/qe/performance/monitor-realtime.js.map +1 -0
  254. package/dist/mcp/tools/qe/performance/run-benchmark.d.ts +68 -0
  255. package/dist/mcp/tools/qe/performance/run-benchmark.d.ts.map +1 -0
  256. package/dist/mcp/tools/qe/performance/run-benchmark.js +120 -0
  257. package/dist/mcp/tools/qe/performance/run-benchmark.js.map +1 -0
  258. package/dist/mcp/tools/qe/quality-gates/assess-deployment-risk.d.ts +239 -0
  259. package/dist/mcp/tools/qe/quality-gates/assess-deployment-risk.d.ts.map +1 -0
  260. package/dist/mcp/tools/qe/quality-gates/assess-deployment-risk.js +671 -0
  261. package/dist/mcp/tools/qe/quality-gates/assess-deployment-risk.js.map +1 -0
  262. package/dist/mcp/tools/qe/quality-gates/evaluate-quality-gate.d.ts +219 -0
  263. package/dist/mcp/tools/qe/quality-gates/evaluate-quality-gate.d.ts.map +1 -0
  264. package/dist/mcp/tools/qe/quality-gates/evaluate-quality-gate.js +732 -0
  265. package/dist/mcp/tools/qe/quality-gates/evaluate-quality-gate.js.map +1 -0
  266. package/dist/mcp/tools/qe/quality-gates/generate-quality-report.d.ts +447 -0
  267. package/dist/mcp/tools/qe/quality-gates/generate-quality-report.d.ts.map +1 -0
  268. package/dist/mcp/tools/qe/quality-gates/generate-quality-report.js +551 -0
  269. package/dist/mcp/tools/qe/quality-gates/generate-quality-report.js.map +1 -0
  270. package/dist/mcp/tools/qe/quality-gates/index.d.ts +40 -0
  271. package/dist/mcp/tools/qe/quality-gates/index.d.ts.map +1 -0
  272. package/dist/mcp/tools/qe/quality-gates/index.js +56 -0
  273. package/dist/mcp/tools/qe/quality-gates/index.js.map +1 -0
  274. package/dist/mcp/tools/qe/quality-gates/validate-quality-metrics.d.ts +226 -0
  275. package/dist/mcp/tools/qe/quality-gates/validate-quality-metrics.d.ts.map +1 -0
  276. package/dist/mcp/tools/qe/quality-gates/validate-quality-metrics.js +603 -0
  277. package/dist/mcp/tools/qe/quality-gates/validate-quality-metrics.js.map +1 -0
  278. package/dist/mcp/tools/qe/regression/analyze-risk.d.ts +212 -0
  279. package/dist/mcp/tools/qe/regression/analyze-risk.d.ts.map +1 -0
  280. package/dist/mcp/tools/qe/regression/analyze-risk.js +617 -0
  281. package/dist/mcp/tools/qe/regression/analyze-risk.js.map +1 -0
  282. package/dist/mcp/tools/qe/regression/index.d.ts +36 -0
  283. package/dist/mcp/tools/qe/regression/index.d.ts.map +1 -0
  284. package/dist/mcp/tools/qe/regression/index.js +63 -0
  285. package/dist/mcp/tools/qe/regression/index.js.map +1 -0
  286. package/dist/mcp/tools/qe/regression/select-tests.d.ts +241 -0
  287. package/dist/mcp/tools/qe/regression/select-tests.d.ts.map +1 -0
  288. package/dist/mcp/tools/qe/regression/select-tests.js +601 -0
  289. package/dist/mcp/tools/qe/regression/select-tests.js.map +1 -0
  290. package/dist/mcp/tools/qe/requirements/generate-bdd-scenarios.d.ts +134 -0
  291. package/dist/mcp/tools/qe/requirements/generate-bdd-scenarios.d.ts.map +1 -0
  292. package/dist/mcp/tools/qe/requirements/generate-bdd-scenarios.js +737 -0
  293. package/dist/mcp/tools/qe/requirements/generate-bdd-scenarios.js.map +1 -0
  294. package/dist/mcp/tools/qe/requirements/index.d.ts +40 -0
  295. package/dist/mcp/tools/qe/requirements/index.d.ts.map +1 -0
  296. package/dist/mcp/tools/qe/requirements/index.js +84 -0
  297. package/dist/mcp/tools/qe/requirements/index.js.map +1 -0
  298. package/dist/mcp/tools/qe/requirements/validate-requirements.d.ts +196 -0
  299. package/dist/mcp/tools/qe/requirements/validate-requirements.d.ts.map +1 -0
  300. package/dist/mcp/tools/qe/requirements/validate-requirements.js +740 -0
  301. package/dist/mcp/tools/qe/requirements/validate-requirements.js.map +1 -0
  302. package/dist/mcp/tools/qe/security/detect-vulnerabilities.d.ts +300 -0
  303. package/dist/mcp/tools/qe/security/detect-vulnerabilities.d.ts.map +1 -0
  304. package/dist/mcp/tools/qe/security/detect-vulnerabilities.js +492 -0
  305. package/dist/mcp/tools/qe/security/detect-vulnerabilities.js.map +1 -0
  306. package/dist/mcp/tools/qe/security/index.d.ts +34 -0
  307. package/dist/mcp/tools/qe/security/index.d.ts.map +1 -0
  308. package/dist/mcp/tools/qe/security/index.js +44 -0
  309. package/dist/mcp/tools/qe/security/index.js.map +1 -0
  310. package/dist/mcp/tools/qe/security/scan-comprehensive.d.ts +240 -0
  311. package/dist/mcp/tools/qe/security/scan-comprehensive.d.ts.map +1 -0
  312. package/dist/mcp/tools/qe/security/scan-comprehensive.js +535 -0
  313. package/dist/mcp/tools/qe/security/scan-comprehensive.js.map +1 -0
  314. package/dist/mcp/tools/qe/security/validate-compliance.d.ts +299 -0
  315. package/dist/mcp/tools/qe/security/validate-compliance.d.ts.map +1 -0
  316. package/dist/mcp/tools/qe/security/validate-compliance.js +517 -0
  317. package/dist/mcp/tools/qe/security/validate-compliance.js.map +1 -0
  318. package/dist/mcp/tools/qe/shared/types.d.ts +840 -0
  319. package/dist/mcp/tools/qe/shared/types.d.ts.map +1 -0
  320. package/dist/mcp/tools/qe/shared/types.js +13 -0
  321. package/dist/mcp/tools/qe/shared/types.js.map +1 -0
  322. package/dist/mcp/tools/qe/test-data/analyze-schema.d.ts +264 -0
  323. package/dist/mcp/tools/qe/test-data/analyze-schema.d.ts.map +1 -0
  324. package/dist/mcp/tools/qe/test-data/analyze-schema.js +553 -0
  325. package/dist/mcp/tools/qe/test-data/analyze-schema.js.map +1 -0
  326. package/dist/mcp/tools/qe/test-data/generate-test-data.d.ts +167 -0
  327. package/dist/mcp/tools/qe/test-data/generate-test-data.d.ts.map +1 -0
  328. package/dist/mcp/tools/qe/test-data/generate-test-data.js +336 -0
  329. package/dist/mcp/tools/qe/test-data/generate-test-data.js.map +1 -0
  330. package/dist/mcp/tools/qe/test-data/index.d.ts +44 -0
  331. package/dist/mcp/tools/qe/test-data/index.d.ts.map +1 -0
  332. package/dist/mcp/tools/qe/test-data/index.js +90 -0
  333. package/dist/mcp/tools/qe/test-data/index.js.map +1 -0
  334. package/dist/mcp/tools/qe/test-data/mask-sensitive-data.d.ts +165 -0
  335. package/dist/mcp/tools/qe/test-data/mask-sensitive-data.d.ts.map +1 -0
  336. package/dist/mcp/tools/qe/test-data/mask-sensitive-data.js +342 -0
  337. package/dist/mcp/tools/qe/test-data/mask-sensitive-data.js.map +1 -0
  338. package/dist/mcp/tools/qe/test-generation/analyze-test-quality.d.ts +144 -0
  339. package/dist/mcp/tools/qe/test-generation/analyze-test-quality.d.ts.map +1 -0
  340. package/dist/mcp/tools/qe/test-generation/analyze-test-quality.js +432 -0
  341. package/dist/mcp/tools/qe/test-generation/analyze-test-quality.js.map +1 -0
  342. package/dist/mcp/tools/qe/test-generation/generate-integration-tests.d.ts +98 -0
  343. package/dist/mcp/tools/qe/test-generation/generate-integration-tests.d.ts.map +1 -0
  344. package/dist/mcp/tools/qe/test-generation/generate-integration-tests.js +459 -0
  345. package/dist/mcp/tools/qe/test-generation/generate-integration-tests.js.map +1 -0
  346. package/dist/mcp/tools/qe/test-generation/generate-unit-tests.d.ts +83 -0
  347. package/dist/mcp/tools/qe/test-generation/generate-unit-tests.d.ts.map +1 -0
  348. package/dist/mcp/tools/qe/test-generation/generate-unit-tests.js +483 -0
  349. package/dist/mcp/tools/qe/test-generation/generate-unit-tests.js.map +1 -0
  350. package/dist/mcp/tools/qe/test-generation/index.d.ts +56 -0
  351. package/dist/mcp/tools/qe/test-generation/index.d.ts.map +1 -0
  352. package/dist/mcp/tools/qe/test-generation/index.js +97 -0
  353. package/dist/mcp/tools/qe/test-generation/index.js.map +1 -0
  354. package/dist/mcp/tools/qe/test-generation/optimize-test-suite.d.ts +124 -0
  355. package/dist/mcp/tools/qe/test-generation/optimize-test-suite.d.ts.map +1 -0
  356. package/dist/mcp/tools/qe/test-generation/optimize-test-suite.js +362 -0
  357. package/dist/mcp/tools/qe/test-generation/optimize-test-suite.js.map +1 -0
  358. package/dist/mcp/tools/qe/visual/compare-screenshots.d.ts +119 -0
  359. package/dist/mcp/tools/qe/visual/compare-screenshots.d.ts.map +1 -0
  360. package/dist/mcp/tools/qe/visual/compare-screenshots.js +280 -0
  361. package/dist/mcp/tools/qe/visual/compare-screenshots.js.map +1 -0
  362. package/dist/mcp/tools/qe/visual/detect-regression.d.ts +138 -0
  363. package/dist/mcp/tools/qe/visual/detect-regression.d.ts.map +1 -0
  364. package/dist/mcp/tools/qe/visual/detect-regression.js +271 -0
  365. package/dist/mcp/tools/qe/visual/detect-regression.js.map +1 -0
  366. package/dist/mcp/tools/qe/visual/index.d.ts +16 -0
  367. package/dist/mcp/tools/qe/visual/index.d.ts.map +1 -0
  368. package/dist/mcp/tools/qe/visual/index.js +22 -0
  369. package/dist/mcp/tools/qe/visual/index.js.map +1 -0
  370. package/dist/mcp/tools/qe/visual/validate-accessibility.d.ts +276 -0
  371. package/dist/mcp/tools/qe/visual/validate-accessibility.d.ts.map +1 -0
  372. package/dist/mcp/tools/qe/visual/validate-accessibility.js +413 -0
  373. package/dist/mcp/tools/qe/visual/validate-accessibility.js.map +1 -0
  374. package/dist/mcp/tools.d.ts +44 -0
  375. package/dist/mcp/tools.d.ts.map +1 -1
  376. package/dist/mcp/tools.js +1980 -1
  377. package/dist/mcp/tools.js.map +1 -1
  378. package/package.json +2 -2
  379. package/dist/learning/__mocks__/LearningEngine.d.ts +0 -39
  380. package/dist/learning/__mocks__/LearningEngine.d.ts.map +0 -1
  381. package/dist/learning/__mocks__/LearningEngine.js +0 -116
  382. package/dist/learning/__mocks__/LearningEngine.js.map +0 -1
  383. package/dist/utils/__mocks__/Database.d.ts +0 -85
  384. package/dist/utils/__mocks__/Database.d.ts.map +0 -1
  385. package/dist/utils/__mocks__/Database.js +0 -125
  386. package/dist/utils/__mocks__/Database.js.map +0 -1
  387. package/dist/utils/__mocks__/Logger.d.ts +0 -26
  388. package/dist/utils/__mocks__/Logger.d.ts.map +0 -1
  389. package/dist/utils/__mocks__/Logger.js +0 -44
  390. package/dist/utils/__mocks__/Logger.js.map +0 -1
package/dist/mcp/tools.js CHANGED
@@ -1760,6 +1760,1925 @@ exports.agenticQETools = [
1760
1760
  },
1761
1761
  required: ['sourceFiles']
1762
1762
  }
1763
+ },
1764
+ // Phase 3: Domain-Specific Tools
1765
+ // Coverage Domain Tools (4 tools)
1766
+ {
1767
+ name: 'mcp__agentic_qe__coverage_analyze_with_risk_scoring',
1768
+ description: 'Analyze code coverage with ML-based risk scoring for critical paths',
1769
+ inputSchema: {
1770
+ type: 'object',
1771
+ properties: {
1772
+ coverageData: {
1773
+ type: 'object',
1774
+ properties: {
1775
+ files: { type: 'array', items: { type: 'object' } },
1776
+ lines: { type: 'object' },
1777
+ branches: { type: 'object' },
1778
+ functions: { type: 'object' }
1779
+ },
1780
+ required: ['files']
1781
+ },
1782
+ riskFactors: {
1783
+ type: 'object',
1784
+ properties: {
1785
+ complexity: { type: 'boolean', default: true },
1786
+ changeFrequency: { type: 'boolean', default: true },
1787
+ criticalPaths: { type: 'boolean', default: true },
1788
+ historicalDefects: { type: 'boolean', default: false }
1789
+ }
1790
+ },
1791
+ threshold: {
1792
+ type: 'number',
1793
+ minimum: 0,
1794
+ maximum: 1,
1795
+ default: 0.8,
1796
+ description: 'Coverage threshold (0-1)'
1797
+ }
1798
+ },
1799
+ required: ['coverageData']
1800
+ }
1801
+ },
1802
+ {
1803
+ name: 'mcp__agentic_qe__coverage_detect_gaps_ml',
1804
+ description: 'Detect coverage gaps using ML pattern recognition and prioritization',
1805
+ inputSchema: {
1806
+ type: 'object',
1807
+ properties: {
1808
+ coverageData: { type: 'object', description: 'Coverage data' },
1809
+ sourceCode: { type: 'array', items: { type: 'string' }, description: 'Source files' },
1810
+ mlModel: {
1811
+ type: 'string',
1812
+ enum: ['neural', 'random-forest', 'gradient-boosting'],
1813
+ default: 'gradient-boosting',
1814
+ description: 'ML model for gap detection'
1815
+ },
1816
+ priorityScoring: {
1817
+ type: 'object',
1818
+ properties: {
1819
+ complexity: { type: 'number', default: 0.4 },
1820
+ criticality: { type: 'number', default: 0.3 },
1821
+ changeFrequency: { type: 'number', default: 0.3 }
1822
+ }
1823
+ }
1824
+ },
1825
+ required: ['coverageData', 'sourceCode']
1826
+ }
1827
+ },
1828
+ {
1829
+ name: 'mcp__agentic_qe__coverage_recommend_tests',
1830
+ description: 'Recommend specific tests to improve coverage based on gap analysis',
1831
+ inputSchema: {
1832
+ type: 'object',
1833
+ properties: {
1834
+ gaps: {
1835
+ type: 'array',
1836
+ items: {
1837
+ type: 'object',
1838
+ properties: {
1839
+ file: { type: 'string' },
1840
+ lines: { type: 'array' },
1841
+ priority: { type: 'string', enum: ['low', 'medium', 'high', 'critical'] }
1842
+ }
1843
+ },
1844
+ description: 'Coverage gaps'
1845
+ },
1846
+ testFramework: {
1847
+ type: 'string',
1848
+ enum: ['jest', 'mocha', 'jasmine', 'vitest'],
1849
+ default: 'jest'
1850
+ },
1851
+ generateCode: {
1852
+ type: 'boolean',
1853
+ default: true,
1854
+ description: 'Generate test code snippets'
1855
+ },
1856
+ includeDataGenerators: {
1857
+ type: 'boolean',
1858
+ default: false
1859
+ }
1860
+ },
1861
+ required: ['gaps']
1862
+ }
1863
+ },
1864
+ {
1865
+ name: 'mcp__agentic_qe__coverage_calculate_trends',
1866
+ description: 'Calculate coverage trends over time with forecasting',
1867
+ inputSchema: {
1868
+ type: 'object',
1869
+ properties: {
1870
+ historicalData: {
1871
+ type: 'array',
1872
+ items: {
1873
+ type: 'object',
1874
+ properties: {
1875
+ timestamp: { type: 'string' },
1876
+ coverage: { type: 'number' },
1877
+ lines: { type: 'number' },
1878
+ branches: { type: 'number' },
1879
+ functions: { type: 'number' }
1880
+ }
1881
+ },
1882
+ description: 'Historical coverage data'
1883
+ },
1884
+ forecastDays: {
1885
+ type: 'number',
1886
+ default: 30,
1887
+ minimum: 7,
1888
+ maximum: 180,
1889
+ description: 'Days to forecast'
1890
+ },
1891
+ includeRegression: {
1892
+ type: 'boolean',
1893
+ default: true
1894
+ },
1895
+ anomalyDetection: {
1896
+ type: 'boolean',
1897
+ default: false
1898
+ }
1899
+ },
1900
+ required: ['historicalData']
1901
+ }
1902
+ },
1903
+ // Flaky Detection Tools (3 tools)
1904
+ {
1905
+ name: 'mcp__agentic_qe__flaky_detect_statistical',
1906
+ description: 'Detect flaky tests using statistical analysis (chi-square, variance)',
1907
+ inputSchema: {
1908
+ type: 'object',
1909
+ properties: {
1910
+ testResults: {
1911
+ type: 'array',
1912
+ items: {
1913
+ type: 'object',
1914
+ properties: {
1915
+ testId: { type: 'string' },
1916
+ testName: { type: 'string' },
1917
+ status: { type: 'string', enum: ['pass', 'fail', 'skip', 'timeout'] },
1918
+ duration: { type: 'number' },
1919
+ timestamp: { type: 'string' }
1920
+ }
1921
+ },
1922
+ description: 'Test execution results'
1923
+ },
1924
+ minRuns: {
1925
+ type: 'number',
1926
+ default: 10,
1927
+ minimum: 5,
1928
+ description: 'Minimum runs to analyze'
1929
+ },
1930
+ confidenceLevel: {
1931
+ type: 'number',
1932
+ default: 0.95,
1933
+ minimum: 0.9,
1934
+ maximum: 0.99
1935
+ },
1936
+ methods: {
1937
+ type: 'array',
1938
+ items: { type: 'string' },
1939
+ default: ['chi-square', 'variance', 'entropy'],
1940
+ description: 'Statistical methods to apply'
1941
+ }
1942
+ },
1943
+ required: ['testResults']
1944
+ }
1945
+ },
1946
+ {
1947
+ name: 'mcp__agentic_qe__flaky_analyze_patterns',
1948
+ description: 'Analyze patterns in flaky test behavior (timing, environment, dependencies)',
1949
+ inputSchema: {
1950
+ type: 'object',
1951
+ properties: {
1952
+ flakyTests: {
1953
+ type: 'array',
1954
+ items: {
1955
+ type: 'object',
1956
+ properties: {
1957
+ testId: { type: 'string' },
1958
+ testName: { type: 'string' },
1959
+ failures: { type: 'array' },
1960
+ environment: { type: 'object' }
1961
+ }
1962
+ }
1963
+ },
1964
+ analyzeTiming: { type: 'boolean', default: true },
1965
+ analyzeEnvironment: { type: 'boolean', default: true },
1966
+ analyzeDependencies: { type: 'boolean', default: true },
1967
+ clusterSimilar: { type: 'boolean', default: false }
1968
+ },
1969
+ required: ['flakyTests']
1970
+ }
1971
+ },
1972
+ {
1973
+ name: 'mcp__agentic_qe__flaky_stabilize_auto',
1974
+ description: 'Auto-stabilize flaky tests with retry logic, waits, and isolation',
1975
+ inputSchema: {
1976
+ type: 'object',
1977
+ properties: {
1978
+ testCode: {
1979
+ type: 'string',
1980
+ description: 'Test source code'
1981
+ },
1982
+ flakyPattern: {
1983
+ type: 'string',
1984
+ enum: ['timing', 'async', 'race-condition', 'external-dependency'],
1985
+ description: 'Type of flakiness pattern'
1986
+ },
1987
+ stabilizationStrategy: {
1988
+ type: 'string',
1989
+ enum: ['retry', 'wait', 'isolation', 'mock', 'hybrid'],
1990
+ default: 'hybrid'
1991
+ },
1992
+ framework: {
1993
+ type: 'string',
1994
+ enum: ['jest', 'mocha', 'jasmine', 'cypress', 'playwright'],
1995
+ default: 'jest'
1996
+ },
1997
+ dryRun: {
1998
+ type: 'boolean',
1999
+ default: false,
2000
+ description: 'Preview changes without applying'
2001
+ }
2002
+ },
2003
+ required: ['testCode', 'flakyPattern']
2004
+ }
2005
+ },
2006
+ // Performance Tools (4 tools)
2007
+ {
2008
+ name: 'mcp__agentic_qe__performance_analyze_bottlenecks',
2009
+ description: 'Analyze performance bottlenecks using profiling data and ML',
2010
+ inputSchema: {
2011
+ type: 'object',
2012
+ properties: {
2013
+ profileData: {
2014
+ type: 'object',
2015
+ properties: {
2016
+ functions: { type: 'array' },
2017
+ callGraph: { type: 'object' },
2018
+ timings: { type: 'object' },
2019
+ memory: { type: 'object' }
2020
+ }
2021
+ },
2022
+ threshold: {
2023
+ type: 'number',
2024
+ default: 100,
2025
+ description: 'Bottleneck threshold in ms'
2026
+ },
2027
+ analyzeMemory: { type: 'boolean', default: true },
2028
+ analyzeCPU: { type: 'boolean', default: true },
2029
+ analyzeIO: { type: 'boolean', default: false },
2030
+ generateRecommendations: { type: 'boolean', default: true }
2031
+ },
2032
+ required: ['profileData']
2033
+ }
2034
+ },
2035
+ {
2036
+ name: 'mcp__agentic_qe__performance_generate_report',
2037
+ description: 'Generate comprehensive performance analysis reports',
2038
+ inputSchema: {
2039
+ type: 'object',
2040
+ properties: {
2041
+ benchmarkResults: { type: 'object', description: 'Benchmark data' },
2042
+ bottlenecks: { type: 'array', description: 'Identified bottlenecks' },
2043
+ format: {
2044
+ type: 'string',
2045
+ enum: ['html', 'pdf', 'json', 'markdown'],
2046
+ default: 'html'
2047
+ },
2048
+ includeCharts: { type: 'boolean', default: true },
2049
+ includeRecommendations: { type: 'boolean', default: true },
2050
+ compareBaseline: {
2051
+ type: 'object',
2052
+ description: 'Baseline performance data for comparison'
2053
+ }
2054
+ },
2055
+ required: ['benchmarkResults']
2056
+ }
2057
+ },
2058
+ {
2059
+ name: 'mcp__agentic_qe__performance_run_benchmark',
2060
+ description: 'Run performance benchmarks with configurable scenarios',
2061
+ inputSchema: {
2062
+ type: 'object',
2063
+ properties: {
2064
+ target: {
2065
+ type: 'string',
2066
+ description: 'Target function or endpoint to benchmark'
2067
+ },
2068
+ scenarios: {
2069
+ type: 'array',
2070
+ items: {
2071
+ type: 'object',
2072
+ properties: {
2073
+ name: { type: 'string' },
2074
+ load: { type: 'number' },
2075
+ duration: { type: 'number' },
2076
+ rampUp: { type: 'number' }
2077
+ }
2078
+ }
2079
+ },
2080
+ iterations: { type: 'number', default: 100, minimum: 10 },
2081
+ warmupIterations: { type: 'number', default: 10 },
2082
+ collectMetrics: {
2083
+ type: 'array',
2084
+ items: { type: 'string' },
2085
+ default: ['duration', 'memory', 'cpu']
2086
+ }
2087
+ },
2088
+ required: ['target']
2089
+ }
2090
+ },
2091
+ {
2092
+ name: 'mcp__agentic_qe__performance_monitor_realtime',
2093
+ description: 'Real-time performance monitoring with alerting',
2094
+ inputSchema: {
2095
+ type: 'object',
2096
+ properties: {
2097
+ target: { type: 'string', description: 'Service or endpoint to monitor' },
2098
+ duration: {
2099
+ type: 'number',
2100
+ default: 60,
2101
+ minimum: 10,
2102
+ description: 'Monitoring duration in seconds'
2103
+ },
2104
+ interval: {
2105
+ type: 'number',
2106
+ default: 5,
2107
+ minimum: 1,
2108
+ description: 'Sampling interval in seconds'
2109
+ },
2110
+ thresholds: {
2111
+ type: 'object',
2112
+ properties: {
2113
+ responseTime: { type: 'number' },
2114
+ errorRate: { type: 'number' },
2115
+ throughput: { type: 'number' }
2116
+ }
2117
+ },
2118
+ alerts: {
2119
+ type: 'boolean',
2120
+ default: true,
2121
+ description: 'Enable threshold alerts'
2122
+ }
2123
+ },
2124
+ required: ['target']
2125
+ }
2126
+ },
2127
+ // Security Tools (5 tools)
2128
+ {
2129
+ name: 'mcp__agentic_qe__security_validate_auth',
2130
+ description: 'Validate authentication mechanisms (JWT, OAuth, session)',
2131
+ inputSchema: {
2132
+ type: 'object',
2133
+ properties: {
2134
+ authType: {
2135
+ type: 'string',
2136
+ enum: ['jwt', 'oauth2', 'session', 'api-key', 'saml'],
2137
+ description: 'Authentication type'
2138
+ },
2139
+ endpoint: {
2140
+ type: 'string',
2141
+ description: 'Authentication endpoint'
2142
+ },
2143
+ tests: {
2144
+ type: 'array',
2145
+ items: { type: 'string' },
2146
+ default: ['token-validation', 'expiry', 'refresh', 'revocation'],
2147
+ description: 'Authentication tests to run'
2148
+ },
2149
+ includeVulnerabilities: {
2150
+ type: 'boolean',
2151
+ default: true,
2152
+ description: 'Check for common auth vulnerabilities'
2153
+ }
2154
+ },
2155
+ required: ['authType', 'endpoint']
2156
+ }
2157
+ },
2158
+ {
2159
+ name: 'mcp__agentic_qe__security_check_authz',
2160
+ description: 'Check authorization and access control (RBAC, ABAC)',
2161
+ inputSchema: {
2162
+ type: 'object',
2163
+ properties: {
2164
+ authzType: {
2165
+ type: 'string',
2166
+ enum: ['rbac', 'abac', 'acl', 'policy-based'],
2167
+ description: 'Authorization model'
2168
+ },
2169
+ resources: {
2170
+ type: 'array',
2171
+ items: {
2172
+ type: 'object',
2173
+ properties: {
2174
+ path: { type: 'string' },
2175
+ method: { type: 'string' },
2176
+ requiredPermissions: { type: 'array' }
2177
+ }
2178
+ }
2179
+ },
2180
+ roles: {
2181
+ type: 'array',
2182
+ items: { type: 'string' },
2183
+ description: 'Roles to test'
2184
+ },
2185
+ testPrivilegeEscalation: { type: 'boolean', default: true },
2186
+ testHorizontalAccess: { type: 'boolean', default: true }
2187
+ },
2188
+ required: ['authzType', 'resources']
2189
+ }
2190
+ },
2191
+ {
2192
+ name: 'mcp__agentic_qe__security_scan_dependencies',
2193
+ description: 'Scan dependencies for known vulnerabilities (CVE database)',
2194
+ inputSchema: {
2195
+ type: 'object',
2196
+ properties: {
2197
+ manifestFile: {
2198
+ type: 'string',
2199
+ description: 'Path to package.json, requirements.txt, etc.'
2200
+ },
2201
+ includeTransitive: {
2202
+ type: 'boolean',
2203
+ default: true,
2204
+ description: 'Include transitive dependencies'
2205
+ },
2206
+ severityThreshold: {
2207
+ type: 'string',
2208
+ enum: ['low', 'medium', 'high', 'critical'],
2209
+ default: 'medium'
2210
+ },
2211
+ sources: {
2212
+ type: 'array',
2213
+ items: { type: 'string' },
2214
+ default: ['nvd', 'snyk', 'github-advisory'],
2215
+ description: 'Vulnerability databases to check'
2216
+ },
2217
+ generateReport: { type: 'boolean', default: true }
2218
+ },
2219
+ required: ['manifestFile']
2220
+ }
2221
+ },
2222
+ {
2223
+ name: 'mcp__agentic_qe__security_generate_report',
2224
+ description: 'Generate comprehensive security audit reports',
2225
+ inputSchema: {
2226
+ type: 'object',
2227
+ properties: {
2228
+ findings: {
2229
+ type: 'array',
2230
+ items: {
2231
+ type: 'object',
2232
+ properties: {
2233
+ type: { type: 'string' },
2234
+ severity: { type: 'string' },
2235
+ description: { type: 'string' },
2236
+ remediation: { type: 'string' }
2237
+ }
2238
+ },
2239
+ description: 'Security findings'
2240
+ },
2241
+ format: {
2242
+ type: 'string',
2243
+ enum: ['pdf', 'html', 'json', 'sarif'],
2244
+ default: 'html'
2245
+ },
2246
+ includeOWASP: {
2247
+ type: 'boolean',
2248
+ default: true,
2249
+ description: 'Include OWASP Top 10 mapping'
2250
+ },
2251
+ includeCVSS: {
2252
+ type: 'boolean',
2253
+ default: true,
2254
+ description: 'Include CVSS scores'
2255
+ },
2256
+ includeRemediation: { type: 'boolean', default: true }
2257
+ },
2258
+ required: ['findings']
2259
+ }
2260
+ },
2261
+ {
2262
+ name: 'mcp__agentic_qe__security_scan_comprehensive',
2263
+ description: 'Comprehensive security scan (SAST, DAST, dependency check)',
2264
+ inputSchema: {
2265
+ type: 'object',
2266
+ properties: {
2267
+ scanType: {
2268
+ type: 'string',
2269
+ enum: ['sast', 'dast', 'dependency', 'comprehensive'],
2270
+ default: 'comprehensive'
2271
+ },
2272
+ target: { type: 'string', description: 'Target to scan' },
2273
+ depth: {
2274
+ type: 'string',
2275
+ enum: ['basic', 'standard', 'deep'],
2276
+ default: 'standard'
2277
+ },
2278
+ rules: {
2279
+ type: 'array',
2280
+ items: { type: 'string' },
2281
+ description: 'Security rules to apply'
2282
+ },
2283
+ excludePatterns: {
2284
+ type: 'array',
2285
+ items: { type: 'string' },
2286
+ description: 'Patterns to exclude'
2287
+ }
2288
+ },
2289
+ required: ['target']
2290
+ }
2291
+ },
2292
+ // Visual Testing Tools (3 tools)
2293
+ {
2294
+ name: 'mcp__agentic_qe__visual_compare_screenshots',
2295
+ description: 'Compare screenshots with AI-powered diff analysis',
2296
+ inputSchema: {
2297
+ type: 'object',
2298
+ properties: {
2299
+ baselineImage: {
2300
+ type: 'string',
2301
+ description: 'Path or URL to baseline image'
2302
+ },
2303
+ currentImage: {
2304
+ type: 'string',
2305
+ description: 'Path or URL to current image'
2306
+ },
2307
+ threshold: {
2308
+ type: 'number',
2309
+ default: 0.01,
2310
+ minimum: 0,
2311
+ maximum: 1,
2312
+ description: 'Acceptable difference threshold (0-1)'
2313
+ },
2314
+ ignoreRegions: {
2315
+ type: 'array',
2316
+ items: {
2317
+ type: 'object',
2318
+ properties: {
2319
+ x: { type: 'number' },
2320
+ y: { type: 'number' },
2321
+ width: { type: 'number' },
2322
+ height: { type: 'number' }
2323
+ }
2324
+ },
2325
+ description: 'Regions to ignore (e.g., timestamps, ads)'
2326
+ },
2327
+ algorithm: {
2328
+ type: 'string',
2329
+ enum: ['pixel-diff', 'structural-similarity', 'ai-semantic'],
2330
+ default: 'structural-similarity'
2331
+ }
2332
+ },
2333
+ required: ['baselineImage', 'currentImage']
2334
+ }
2335
+ },
2336
+ {
2337
+ name: 'mcp__agentic_qe__visual_validate_accessibility',
2338
+ description: 'Validate visual accessibility (color contrast, text size, WCAG)',
2339
+ inputSchema: {
2340
+ type: 'object',
2341
+ properties: {
2342
+ target: {
2343
+ type: 'string',
2344
+ description: 'URL or screenshot path'
2345
+ },
2346
+ wcagLevel: {
2347
+ type: 'string',
2348
+ enum: ['A', 'AA', 'AAA'],
2349
+ default: 'AA',
2350
+ description: 'WCAG compliance level'
2351
+ },
2352
+ checks: {
2353
+ type: 'array',
2354
+ items: { type: 'string' },
2355
+ default: ['color-contrast', 'text-size', 'touch-targets', 'focus-indicators'],
2356
+ description: 'Accessibility checks to perform'
2357
+ },
2358
+ generateReport: { type: 'boolean', default: true },
2359
+ includeRemediation: { type: 'boolean', default: true }
2360
+ },
2361
+ required: ['target']
2362
+ }
2363
+ },
2364
+ {
2365
+ name: 'mcp__agentic_qe__visual_detect_regression',
2366
+ description: 'Detect visual regressions across component library or pages',
2367
+ inputSchema: {
2368
+ type: 'object',
2369
+ properties: {
2370
+ baseline: {
2371
+ type: 'object',
2372
+ properties: {
2373
+ directory: { type: 'string' },
2374
+ branch: { type: 'string' },
2375
+ commit: { type: 'string' }
2376
+ },
2377
+ description: 'Baseline configuration'
2378
+ },
2379
+ current: {
2380
+ type: 'object',
2381
+ properties: {
2382
+ directory: { type: 'string' },
2383
+ branch: { type: 'string' },
2384
+ commit: { type: 'string' }
2385
+ },
2386
+ description: 'Current configuration'
2387
+ },
2388
+ components: {
2389
+ type: 'array',
2390
+ items: { type: 'string' },
2391
+ description: 'Specific components to check'
2392
+ },
2393
+ threshold: {
2394
+ type: 'number',
2395
+ default: 0.05,
2396
+ description: 'Regression threshold (0-1)'
2397
+ },
2398
+ parallelComparisons: {
2399
+ type: 'number',
2400
+ default: 4,
2401
+ minimum: 1,
2402
+ maximum: 16
2403
+ }
2404
+ },
2405
+ required: ['baseline', 'current']
2406
+ }
2407
+ },
2408
+ // ==================== Phase 3: New Domain Tools ====================
2409
+ // API Contract Domain Tools (3 tools)
2410
+ {
2411
+ name: 'mcp__agentic_qe__qe_api_contract_validate',
2412
+ description: 'Validate API contract (Pact/OpenAPI/GraphQL) with comprehensive schema and endpoint checking',
2413
+ inputSchema: {
2414
+ type: 'object',
2415
+ properties: {
2416
+ contract: {
2417
+ type: 'object',
2418
+ properties: {
2419
+ type: {
2420
+ type: 'string',
2421
+ enum: ['pact', 'openapi', 'graphql'],
2422
+ description: 'Contract specification type'
2423
+ },
2424
+ version: {
2425
+ type: 'string',
2426
+ description: 'Contract version'
2427
+ },
2428
+ provider: {
2429
+ type: 'string',
2430
+ description: 'Provider service name'
2431
+ },
2432
+ consumer: {
2433
+ type: 'string',
2434
+ description: 'Consumer service name (for Pact)'
2435
+ },
2436
+ specification: {
2437
+ type: 'object',
2438
+ description: 'Contract specification object (OpenAPI/Pact JSON)'
2439
+ },
2440
+ timestamp: {
2441
+ type: 'string',
2442
+ description: 'Contract creation timestamp'
2443
+ }
2444
+ },
2445
+ required: ['type', 'version', 'provider', 'specification', 'timestamp']
2446
+ },
2447
+ strictMode: {
2448
+ type: 'boolean',
2449
+ default: false,
2450
+ description: 'Enable strict validation mode'
2451
+ },
2452
+ validateSchemas: {
2453
+ type: 'boolean',
2454
+ default: true,
2455
+ description: 'Validate data schemas'
2456
+ },
2457
+ validateEndpoints: {
2458
+ type: 'boolean',
2459
+ default: true,
2460
+ description: 'Validate endpoint definitions'
2461
+ }
2462
+ },
2463
+ required: ['contract']
2464
+ }
2465
+ },
2466
+ {
2467
+ name: 'mcp__agentic_qe__qe_api_contract_breaking_changes',
2468
+ description: 'Detect breaking changes between API contract versions with semver recommendations',
2469
+ inputSchema: {
2470
+ type: 'object',
2471
+ properties: {
2472
+ currentContract: {
2473
+ type: 'object',
2474
+ properties: {
2475
+ type: {
2476
+ type: 'string',
2477
+ enum: ['pact', 'openapi', 'graphql']
2478
+ },
2479
+ version: { type: 'string' },
2480
+ provider: { type: 'string' },
2481
+ specification: { type: 'object' },
2482
+ timestamp: { type: 'string' }
2483
+ },
2484
+ required: ['type', 'version', 'provider', 'specification', 'timestamp'],
2485
+ description: 'Current API contract version'
2486
+ },
2487
+ previousContract: {
2488
+ type: 'object',
2489
+ properties: {
2490
+ type: {
2491
+ type: 'string',
2492
+ enum: ['pact', 'openapi', 'graphql']
2493
+ },
2494
+ version: { type: 'string' },
2495
+ provider: { type: 'string' },
2496
+ specification: { type: 'object' },
2497
+ timestamp: { type: 'string' }
2498
+ },
2499
+ required: ['type', 'version', 'provider', 'specification', 'timestamp'],
2500
+ description: 'Previous API contract version'
2501
+ },
2502
+ calculateSemver: {
2503
+ type: 'boolean',
2504
+ default: true,
2505
+ description: 'Calculate semantic version recommendation'
2506
+ },
2507
+ generateMigrationGuide: {
2508
+ type: 'boolean',
2509
+ default: false,
2510
+ description: 'Generate migration guide for breaking changes'
2511
+ },
2512
+ analyzeConsumerImpact: {
2513
+ type: 'boolean',
2514
+ default: false,
2515
+ description: 'Analyze impact on consumers'
2516
+ }
2517
+ },
2518
+ required: ['currentContract', 'previousContract']
2519
+ }
2520
+ },
2521
+ {
2522
+ name: 'mcp__agentic_qe__qe_api_contract_versioning',
2523
+ description: 'Validate API versioning compatibility matrix with consumer version support',
2524
+ inputSchema: {
2525
+ type: 'object',
2526
+ properties: {
2527
+ providerName: {
2528
+ type: 'string',
2529
+ description: 'Provider service name'
2530
+ },
2531
+ currentVersion: {
2532
+ type: 'string',
2533
+ description: 'Current provider version (e.g., "2.1.0")'
2534
+ },
2535
+ consumerVersions: {
2536
+ type: 'array',
2537
+ items: { type: 'string' },
2538
+ description: 'List of consumer versions to validate'
2539
+ },
2540
+ historicalVersions: {
2541
+ type: 'array',
2542
+ items: { type: 'string' },
2543
+ description: 'Historical provider versions'
2544
+ },
2545
+ compatibilityRules: {
2546
+ type: 'object',
2547
+ description: 'Custom compatibility rules by version'
2548
+ }
2549
+ },
2550
+ required: ['providerName', 'currentVersion']
2551
+ }
2552
+ },
2553
+ // Test Data Domain Tools (3 tools)
2554
+ {
2555
+ name: 'mcp__agentic_qe__qe_test_data_generate',
2556
+ description: 'High-speed realistic test data generation (10k+ records/sec) with referential integrity',
2557
+ inputSchema: {
2558
+ type: 'object',
2559
+ properties: {
2560
+ schema: {
2561
+ type: 'object',
2562
+ description: 'Database schema (single table or multi-table with relationships)'
2563
+ },
2564
+ recordCount: {
2565
+ type: 'number',
2566
+ minimum: 1,
2567
+ description: 'Number of records to generate'
2568
+ },
2569
+ includeEdgeCases: {
2570
+ type: 'boolean',
2571
+ default: false,
2572
+ description: 'Include edge case data (nulls, min/max values)'
2573
+ },
2574
+ batchSize: {
2575
+ type: 'number',
2576
+ default: 1000,
2577
+ description: 'Batch size for generation'
2578
+ },
2579
+ seed: {
2580
+ type: 'number',
2581
+ description: 'Random seed for reproducibility'
2582
+ },
2583
+ format: {
2584
+ type: 'string',
2585
+ enum: ['json', 'sql', 'csv'],
2586
+ default: 'json',
2587
+ description: 'Output format'
2588
+ },
2589
+ preserveIntegrity: {
2590
+ type: 'boolean',
2591
+ default: true,
2592
+ description: 'Preserve referential integrity for foreign keys'
2593
+ },
2594
+ targetRate: {
2595
+ type: 'number',
2596
+ description: 'Target generation rate (records/sec)'
2597
+ }
2598
+ },
2599
+ required: ['schema', 'recordCount']
2600
+ }
2601
+ },
2602
+ {
2603
+ name: 'mcp__agentic_qe__qe_test_data_mask',
2604
+ description: 'GDPR-compliant data masking with multiple anonymization strategies',
2605
+ inputSchema: {
2606
+ type: 'object',
2607
+ properties: {
2608
+ data: {
2609
+ type: 'array',
2610
+ items: { type: 'object' },
2611
+ description: 'Records to mask'
2612
+ },
2613
+ sensitiveFields: {
2614
+ type: 'array',
2615
+ items: {
2616
+ type: 'object',
2617
+ properties: {
2618
+ name: { type: 'string' },
2619
+ classification: {
2620
+ type: 'string',
2621
+ enum: ['public', 'internal', 'confidential', 'restricted', 'pii', 'sensitive']
2622
+ },
2623
+ type: { type: 'string' },
2624
+ strategy: {
2625
+ type: 'string',
2626
+ enum: ['mask', 'hash', 'tokenize', 'generalize', 'substitute', 'redact']
2627
+ },
2628
+ caseSensitive: { type: 'boolean' },
2629
+ preserveFormat: { type: 'boolean' }
2630
+ },
2631
+ required: ['name', 'classification', 'type', 'strategy']
2632
+ },
2633
+ description: 'Sensitive field definitions'
2634
+ },
2635
+ defaultStrategy: {
2636
+ type: 'string',
2637
+ enum: ['mask', 'hash', 'tokenize', 'generalize', 'substitute', 'redact'],
2638
+ default: 'mask',
2639
+ description: 'Default anonymization strategy'
2640
+ },
2641
+ gdprCompliant: {
2642
+ type: 'boolean',
2643
+ default: true,
2644
+ description: 'Enable GDPR compliance validation'
2645
+ },
2646
+ auditLog: {
2647
+ type: 'boolean',
2648
+ default: false,
2649
+ description: 'Enable audit logging'
2650
+ },
2651
+ seed: {
2652
+ type: 'number',
2653
+ description: 'Random seed for reproducibility'
2654
+ },
2655
+ salt: {
2656
+ type: 'string',
2657
+ description: 'Salt for hashing operations'
2658
+ },
2659
+ kAnonymity: {
2660
+ type: 'number',
2661
+ minimum: 1,
2662
+ description: 'K-anonymity minimum group size'
2663
+ },
2664
+ preserveIntegrity: {
2665
+ type: 'boolean',
2666
+ default: false,
2667
+ description: 'Preserve referential integrity for foreign keys'
2668
+ }
2669
+ },
2670
+ required: ['data', 'sensitiveFields']
2671
+ }
2672
+ },
2673
+ {
2674
+ name: 'mcp__agentic_qe__qe_test_data_analyze_schema',
2675
+ description: 'Comprehensive database schema analysis with optimization recommendations',
2676
+ inputSchema: {
2677
+ type: 'object',
2678
+ properties: {
2679
+ schema: {
2680
+ type: 'object',
2681
+ description: 'Database schema to analyze'
2682
+ },
2683
+ databaseType: {
2684
+ type: 'string',
2685
+ enum: ['postgresql', 'mysql', 'sqlite', 'mongodb', 'generic'],
2686
+ default: 'generic',
2687
+ description: 'Database type'
2688
+ },
2689
+ analyzeConstraints: {
2690
+ type: 'boolean',
2691
+ default: true,
2692
+ description: 'Analyze constraints and validation rules'
2693
+ },
2694
+ analyzeRelationships: {
2695
+ type: 'boolean',
2696
+ default: true,
2697
+ description: 'Analyze table relationships'
2698
+ },
2699
+ analyzeIndexes: {
2700
+ type: 'boolean',
2701
+ default: true,
2702
+ description: 'Analyze index usage and recommendations'
2703
+ },
2704
+ analyzeDataQuality: {
2705
+ type: 'boolean',
2706
+ default: true,
2707
+ description: 'Analyze data quality issues'
2708
+ },
2709
+ includeRecommendations: {
2710
+ type: 'boolean',
2711
+ default: true,
2712
+ description: 'Include optimization recommendations'
2713
+ }
2714
+ },
2715
+ required: ['schema']
2716
+ }
2717
+ },
2718
+ // Regression Domain Tools (2 tools)
2719
+ {
2720
+ name: 'mcp__agentic_qe__qe_regression_analyze_risk',
2721
+ description: 'ML-based regression risk analysis with 95%+ accuracy and blast radius assessment',
2722
+ inputSchema: {
2723
+ type: 'object',
2724
+ properties: {
2725
+ changes: {
2726
+ type: 'array',
2727
+ items: {
2728
+ type: 'object',
2729
+ properties: {
2730
+ filePath: { type: 'string' },
2731
+ changeType: {
2732
+ type: 'string',
2733
+ enum: ['added', 'modified', 'deleted', 'renamed']
2734
+ },
2735
+ linesAdded: { type: 'number' },
2736
+ linesDeleted: { type: 'number' },
2737
+ complexity: { type: 'number' }
2738
+ },
2739
+ required: ['filePath', 'changeType']
2740
+ },
2741
+ description: 'Code changes to analyze'
2742
+ },
2743
+ historicalData: {
2744
+ type: 'object',
2745
+ description: 'Historical failure patterns and metrics'
2746
+ },
2747
+ coverageData: {
2748
+ type: 'object',
2749
+ description: 'Code coverage information'
2750
+ },
2751
+ dependencies: {
2752
+ type: 'object',
2753
+ description: 'Dependency graph for blast radius analysis'
2754
+ },
2755
+ businessCritical: {
2756
+ type: 'array',
2757
+ items: { type: 'string' },
2758
+ description: 'Paths to business-critical components'
2759
+ },
2760
+ includeMLPrediction: {
2761
+ type: 'boolean',
2762
+ default: true,
2763
+ description: 'Include ML-based risk prediction'
2764
+ },
2765
+ includeBlastRadius: {
2766
+ type: 'boolean',
2767
+ default: true,
2768
+ description: 'Calculate blast radius'
2769
+ }
2770
+ },
2771
+ required: ['changes']
2772
+ }
2773
+ },
2774
+ {
2775
+ name: 'mcp__agentic_qe__qe_regression_select_tests',
2776
+ description: 'Smart test selection with 70% time reduction using ML and coverage analysis',
2777
+ inputSchema: {
2778
+ type: 'object',
2779
+ properties: {
2780
+ changes: {
2781
+ type: 'array',
2782
+ items: {
2783
+ type: 'object',
2784
+ properties: {
2785
+ filePath: { type: 'string' },
2786
+ changeType: {
2787
+ type: 'string',
2788
+ enum: ['added', 'modified', 'deleted', 'renamed']
2789
+ },
2790
+ linesAdded: { type: 'number' },
2791
+ linesDeleted: { type: 'number' }
2792
+ },
2793
+ required: ['filePath', 'changeType']
2794
+ },
2795
+ description: 'Code changes to base selection on'
2796
+ },
2797
+ availableTests: {
2798
+ type: 'array',
2799
+ items: {
2800
+ type: 'object',
2801
+ properties: {
2802
+ path: { type: 'string' },
2803
+ type: {
2804
+ type: 'string',
2805
+ enum: ['unit', 'integration', 'e2e', 'performance']
2806
+ },
2807
+ estimatedTime: { type: 'number' },
2808
+ coveredPaths: {
2809
+ type: 'array',
2810
+ items: { type: 'string' }
2811
+ },
2812
+ historicalFailureRate: { type: 'number' }
2813
+ },
2814
+ required: ['path', 'type']
2815
+ },
2816
+ description: 'Available tests to select from'
2817
+ },
2818
+ coverageData: {
2819
+ type: 'object',
2820
+ description: 'Code coverage mapping'
2821
+ },
2822
+ selectionStrategy: {
2823
+ type: 'string',
2824
+ enum: ['aggressive', 'balanced', 'conservative'],
2825
+ default: 'balanced',
2826
+ description: 'Test selection strategy'
2827
+ },
2828
+ targetReduction: {
2829
+ type: 'number',
2830
+ minimum: 0,
2831
+ maximum: 1,
2832
+ default: 0.7,
2833
+ description: 'Target reduction rate (0-1)'
2834
+ },
2835
+ minConfidence: {
2836
+ type: 'number',
2837
+ minimum: 0,
2838
+ maximum: 1,
2839
+ default: 0.95,
2840
+ description: 'Minimum confidence for selection (0-1)'
2841
+ },
2842
+ includeMLPrediction: {
2843
+ type: 'boolean',
2844
+ default: true,
2845
+ description: 'Include ML-predicted tests'
2846
+ }
2847
+ },
2848
+ required: ['changes', 'availableTests']
2849
+ }
2850
+ },
2851
+ // Requirements Domain Tools (2 tools)
2852
+ {
2853
+ name: 'mcp__agentic_qe__qe_requirements_validate',
2854
+ description: 'INVEST criteria validation with SMART framework analysis and testability scoring',
2855
+ inputSchema: {
2856
+ type: 'object',
2857
+ properties: {
2858
+ requirements: {
2859
+ type: 'array',
2860
+ items: {
2861
+ type: 'object',
2862
+ properties: {
2863
+ id: { type: 'string' },
2864
+ title: { type: 'string' },
2865
+ description: { type: 'string' },
2866
+ acceptanceCriteria: {
2867
+ type: 'array',
2868
+ items: { type: 'string' }
2869
+ },
2870
+ priority: {
2871
+ type: 'string',
2872
+ enum: ['low', 'medium', 'high', 'critical']
2873
+ },
2874
+ type: {
2875
+ type: 'string',
2876
+ enum: ['functional', 'non-functional', 'technical', 'business']
2877
+ },
2878
+ dependencies: {
2879
+ type: 'array',
2880
+ items: { type: 'string' }
2881
+ }
2882
+ },
2883
+ required: ['id', 'title', 'description']
2884
+ },
2885
+ description: 'Requirements to validate'
2886
+ },
2887
+ strictMode: {
2888
+ type: 'boolean',
2889
+ default: false,
2890
+ description: 'Enable strict validation mode'
2891
+ },
2892
+ includeInvestAnalysis: {
2893
+ type: 'boolean',
2894
+ default: true,
2895
+ description: 'Include INVEST criteria analysis'
2896
+ },
2897
+ includeSmartAnalysis: {
2898
+ type: 'boolean',
2899
+ default: true,
2900
+ description: 'Include SMART framework analysis'
2901
+ },
2902
+ testabilityThreshold: {
2903
+ type: 'number',
2904
+ minimum: 0,
2905
+ maximum: 100,
2906
+ default: 70,
2907
+ description: 'Minimum testability score threshold'
2908
+ }
2909
+ },
2910
+ required: ['requirements']
2911
+ }
2912
+ },
2913
+ {
2914
+ name: 'mcp__agentic_qe__qe_requirements_generate_bdd',
2915
+ description: 'Generate Gherkin/Cucumber BDD scenarios from requirements with data-driven examples',
2916
+ inputSchema: {
2917
+ type: 'object',
2918
+ properties: {
2919
+ requirements: {
2920
+ type: 'array',
2921
+ items: {
2922
+ type: 'object',
2923
+ properties: {
2924
+ id: { type: 'string' },
2925
+ title: { type: 'string' },
2926
+ description: { type: 'string' },
2927
+ acceptanceCriteria: {
2928
+ type: 'array',
2929
+ items: { type: 'string' }
2930
+ },
2931
+ priority: {
2932
+ type: 'string',
2933
+ enum: ['low', 'medium', 'high', 'critical']
2934
+ },
2935
+ type: {
2936
+ type: 'string',
2937
+ enum: ['functional', 'non-functional', 'technical', 'business']
2938
+ }
2939
+ },
2940
+ required: ['id', 'title', 'description']
2941
+ },
2942
+ description: 'Requirements to generate BDD scenarios from'
2943
+ },
2944
+ includeBackground: {
2945
+ type: 'boolean',
2946
+ default: true,
2947
+ description: 'Include background preconditions'
2948
+ },
2949
+ includeScenarioOutlines: {
2950
+ type: 'boolean',
2951
+ default: true,
2952
+ description: 'Generate scenario outlines with examples'
2953
+ },
2954
+ includeNegativeCases: {
2955
+ type: 'boolean',
2956
+ default: true,
2957
+ description: 'Generate negative test scenarios'
2958
+ },
2959
+ includeEdgeCases: {
2960
+ type: 'boolean',
2961
+ default: true,
2962
+ description: 'Generate edge case scenarios'
2963
+ },
2964
+ examplesPerScenario: {
2965
+ type: 'number',
2966
+ minimum: 1,
2967
+ default: 3,
2968
+ description: 'Number of examples per scenario outline'
2969
+ },
2970
+ outputFormat: {
2971
+ type: 'string',
2972
+ enum: ['gherkin', 'cucumber', 'json'],
2973
+ default: 'gherkin',
2974
+ description: 'Output format'
2975
+ }
2976
+ },
2977
+ required: ['requirements']
2978
+ }
2979
+ },
2980
+ // Code Quality Domain Tools (2 tools)
2981
+ {
2982
+ name: 'mcp__agentic_qe__qe_code_quality_complexity',
2983
+ description: 'Cyclomatic and cognitive complexity analysis with hotspot detection',
2984
+ inputSchema: {
2985
+ type: 'object',
2986
+ properties: {
2987
+ sourceCode: {
2988
+ type: 'string',
2989
+ description: 'Source code to analyze'
2990
+ },
2991
+ filePath: {
2992
+ type: 'string',
2993
+ description: 'File path for context'
2994
+ },
2995
+ language: {
2996
+ type: 'string',
2997
+ enum: ['typescript', 'javascript', 'python', 'java'],
2998
+ description: 'Programming language'
2999
+ },
3000
+ cyclomaticThreshold: {
3001
+ type: 'number',
3002
+ default: 10,
3003
+ description: 'Cyclomatic complexity threshold for hotspot detection'
3004
+ },
3005
+ cognitiveThreshold: {
3006
+ type: 'number',
3007
+ default: 15,
3008
+ description: 'Cognitive complexity threshold for hotspot detection'
3009
+ },
3010
+ includePerFunction: {
3011
+ type: 'boolean',
3012
+ default: true,
3013
+ description: 'Include per-function analysis'
3014
+ },
3015
+ includeRecommendations: {
3016
+ type: 'boolean',
3017
+ default: true,
3018
+ description: 'Include refactoring recommendations'
3019
+ }
3020
+ },
3021
+ required: ['sourceCode', 'filePath', 'language']
3022
+ }
3023
+ },
3024
+ {
3025
+ name: 'mcp__agentic_qe__qe_code_quality_metrics',
3026
+ description: 'Calculate maintainability, reliability, and security quality metrics',
3027
+ inputSchema: {
3028
+ type: 'object',
3029
+ properties: {
3030
+ sourceCode: {
3031
+ type: 'string',
3032
+ description: 'Source code to analyze'
3033
+ },
3034
+ filePath: {
3035
+ type: 'string',
3036
+ description: 'File path for context'
3037
+ },
3038
+ language: {
3039
+ type: 'string',
3040
+ enum: ['typescript', 'javascript', 'python', 'java'],
3041
+ description: 'Programming language'
3042
+ },
3043
+ coveragePercentage: {
3044
+ type: 'number',
3045
+ minimum: 0,
3046
+ maximum: 100,
3047
+ description: 'Code coverage percentage'
3048
+ },
3049
+ codeSmells: {
3050
+ type: 'number',
3051
+ minimum: 0,
3052
+ description: 'Number of code smells detected'
3053
+ },
3054
+ duplicationPercentage: {
3055
+ type: 'number',
3056
+ minimum: 0,
3057
+ maximum: 100,
3058
+ description: 'Code duplication percentage'
3059
+ },
3060
+ includeSecurityAnalysis: {
3061
+ type: 'boolean',
3062
+ default: true,
3063
+ description: 'Include security score analysis'
3064
+ },
3065
+ includeTechnicalDebt: {
3066
+ type: 'boolean',
3067
+ default: true,
3068
+ description: 'Calculate technical debt'
3069
+ }
3070
+ },
3071
+ required: ['sourceCode', 'filePath', 'language']
3072
+ }
3073
+ },
3074
+ // Fleet Coordination Domain Tools (2 tools)
3075
+ {
3076
+ name: 'mcp__agentic_qe__qe_fleet_coordinate',
3077
+ description: 'Hierarchical fleet coordination with optimal task distribution and load balancing',
3078
+ inputSchema: {
3079
+ type: 'object',
3080
+ properties: {
3081
+ agentCount: {
3082
+ type: 'number',
3083
+ minimum: 1,
3084
+ description: 'Total agents in fleet'
3085
+ },
3086
+ topology: {
3087
+ type: 'string',
3088
+ enum: ['hierarchical', 'mesh', 'hybrid', 'adaptive'],
3089
+ description: 'Coordination topology'
3090
+ },
3091
+ agentPools: {
3092
+ type: 'array',
3093
+ items: {
3094
+ type: 'object',
3095
+ properties: {
3096
+ type: { type: 'string' },
3097
+ minSize: { type: 'number' },
3098
+ maxSize: { type: 'number' },
3099
+ currentSize: { type: 'number' },
3100
+ priority: {
3101
+ type: 'string',
3102
+ enum: ['low', 'medium', 'high', 'critical']
3103
+ },
3104
+ capabilities: {
3105
+ type: 'array',
3106
+ items: { type: 'string' }
3107
+ }
3108
+ },
3109
+ required: ['type', 'minSize', 'maxSize', 'currentSize', 'priority', 'capabilities']
3110
+ },
3111
+ description: 'Agent pool configurations'
3112
+ },
3113
+ workload: {
3114
+ type: 'array',
3115
+ items: {
3116
+ type: 'object',
3117
+ properties: {
3118
+ id: { type: 'string' },
3119
+ type: { type: 'string' },
3120
+ estimatedDuration: { type: 'number' },
3121
+ priority: {
3122
+ type: 'string',
3123
+ enum: ['low', 'medium', 'high', 'critical']
3124
+ },
3125
+ requiredCapabilities: {
3126
+ type: 'array',
3127
+ items: { type: 'string' }
3128
+ }
3129
+ },
3130
+ required: ['id', 'type', 'estimatedDuration', 'priority', 'requiredCapabilities']
3131
+ },
3132
+ description: 'Task workload to distribute'
3133
+ },
3134
+ resourceConstraints: {
3135
+ type: 'object',
3136
+ properties: {
3137
+ totalCpuCores: { type: 'number' },
3138
+ totalMemory: { type: 'number' },
3139
+ cpuPerAgent: { type: 'number' },
3140
+ memoryPerAgent: { type: 'number' },
3141
+ maxConcurrentTasks: { type: 'number' }
3142
+ },
3143
+ description: 'Resource constraints'
3144
+ },
3145
+ enableLoadBalancing: {
3146
+ type: 'boolean',
3147
+ default: true,
3148
+ description: 'Enable load balancing'
3149
+ },
3150
+ enableAutoScaling: {
3151
+ type: 'boolean',
3152
+ default: false,
3153
+ description: 'Enable auto-scaling recommendations'
3154
+ },
3155
+ includeMetrics: {
3156
+ type: 'boolean',
3157
+ default: true,
3158
+ description: 'Include coordination metrics'
3159
+ }
3160
+ },
3161
+ required: ['agentCount', 'topology', 'agentPools', 'workload']
3162
+ }
3163
+ },
3164
+ {
3165
+ name: 'mcp__agentic_qe__qe_fleet_agent_status',
3166
+ description: 'Real-time agent health monitoring with failure detection and recommendations',
3167
+ inputSchema: {
3168
+ type: 'object',
3169
+ properties: {
3170
+ fleetId: {
3171
+ type: 'string',
3172
+ description: 'Fleet ID to query'
3173
+ },
3174
+ agentIds: {
3175
+ type: 'array',
3176
+ items: { type: 'string' },
3177
+ description: 'Agent IDs to check (empty = all agents)'
3178
+ },
3179
+ includeDetailedMetrics: {
3180
+ type: 'boolean',
3181
+ default: false,
3182
+ description: 'Include detailed performance metrics'
3183
+ },
3184
+ includeHistory: {
3185
+ type: 'boolean',
3186
+ default: false,
3187
+ description: 'Include historical health data'
3188
+ },
3189
+ historyDuration: {
3190
+ type: 'number',
3191
+ minimum: 1,
3192
+ default: 60,
3193
+ description: 'History duration in minutes'
3194
+ },
3195
+ healthCheckType: {
3196
+ type: 'string',
3197
+ enum: ['heartbeat', 'performance', 'comprehensive'],
3198
+ default: 'comprehensive',
3199
+ description: 'Health check type'
3200
+ }
3201
+ },
3202
+ required: ['fleetId']
3203
+ }
3204
+ },
3205
+ // Security Domain Tools (3 tools)
3206
+ {
3207
+ name: 'mcp__agentic_qe__qe_security_scan_comprehensive',
3208
+ description: 'Comprehensive security scan with SAST, DAST, dependency checks, and OWASP compliance',
3209
+ inputSchema: {
3210
+ type: 'object',
3211
+ properties: {
3212
+ scanType: {
3213
+ type: 'string',
3214
+ enum: ['sast', 'dast', 'dependency', 'comprehensive'],
3215
+ default: 'comprehensive',
3216
+ description: 'Type of security scan'
3217
+ },
3218
+ target: {
3219
+ type: 'string',
3220
+ description: 'Target directory or URL to scan'
3221
+ },
3222
+ depth: {
3223
+ type: 'string',
3224
+ enum: ['basic', 'standard', 'deep'],
3225
+ default: 'standard',
3226
+ description: 'Scan depth level'
3227
+ },
3228
+ rules: {
3229
+ type: 'array',
3230
+ items: { type: 'string' },
3231
+ description: 'Security rules to apply (OWASP, CWE, SANS)'
3232
+ },
3233
+ excludePatterns: {
3234
+ type: 'array',
3235
+ items: { type: 'string' },
3236
+ description: 'File patterns to exclude from scan'
3237
+ }
3238
+ },
3239
+ required: ['target']
3240
+ }
3241
+ },
3242
+ {
3243
+ name: 'mcp__agentic_qe__qe_security_detect_vulnerabilities',
3244
+ description: 'Detect and classify vulnerabilities using ML-based analysis with CVE database',
3245
+ inputSchema: {
3246
+ type: 'object',
3247
+ properties: {
3248
+ sourceCode: {
3249
+ type: 'array',
3250
+ items: { type: 'string' },
3251
+ description: 'Source code files to analyze'
3252
+ },
3253
+ dependencies: {
3254
+ type: 'object',
3255
+ description: 'Dependency manifest (package.json, requirements.txt, etc.)'
3256
+ },
3257
+ scanDepth: {
3258
+ type: 'string',
3259
+ enum: ['shallow', 'moderate', 'deep'],
3260
+ default: 'moderate',
3261
+ description: 'Depth of vulnerability analysis'
3262
+ },
3263
+ severityThreshold: {
3264
+ type: 'string',
3265
+ enum: ['low', 'medium', 'high', 'critical'],
3266
+ default: 'medium',
3267
+ description: 'Minimum severity level to report'
3268
+ },
3269
+ includeCVE: {
3270
+ type: 'boolean',
3271
+ default: true,
3272
+ description: 'Include CVE database lookup'
3273
+ },
3274
+ mlDetection: {
3275
+ type: 'boolean',
3276
+ default: true,
3277
+ description: 'Enable ML-based vulnerability detection'
3278
+ }
3279
+ },
3280
+ required: ['sourceCode']
3281
+ }
3282
+ },
3283
+ {
3284
+ name: 'mcp__agentic_qe__qe_security_validate_compliance',
3285
+ description: 'Validate compliance against security standards (OWASP, CWE, SANS, ISO 27001)',
3286
+ inputSchema: {
3287
+ type: 'object',
3288
+ properties: {
3289
+ standards: {
3290
+ type: 'array',
3291
+ items: {
3292
+ type: 'string',
3293
+ enum: ['owasp-top-10', 'cwe-top-25', 'sans-top-25', 'iso-27001', 'pci-dss', 'hipaa', 'gdpr']
3294
+ },
3295
+ description: 'Security standards to validate against'
3296
+ },
3297
+ codebase: {
3298
+ type: 'string',
3299
+ description: 'Path to codebase root directory'
3300
+ },
3301
+ includeInfrastructure: {
3302
+ type: 'boolean',
3303
+ default: false,
3304
+ description: 'Include infrastructure compliance checks'
3305
+ },
3306
+ generateRoadmap: {
3307
+ type: 'boolean',
3308
+ default: true,
3309
+ description: 'Generate remediation roadmap for gaps'
3310
+ },
3311
+ certificationTarget: {
3312
+ type: 'string',
3313
+ enum: ['iso-27001', 'soc2', 'pci-dss', 'hipaa'],
3314
+ description: 'Target certification (optional)'
3315
+ }
3316
+ },
3317
+ required: ['standards', 'codebase']
3318
+ }
3319
+ },
3320
+ // Test-Generation Domain Tools (4 tools)
3321
+ {
3322
+ name: 'mcp__agentic_qe__qe_testgen_generate_unit',
3323
+ description: 'AI-powered unit test generation with pattern recognition and mock generation',
3324
+ inputSchema: {
3325
+ type: 'object',
3326
+ properties: {
3327
+ sourceCode: {
3328
+ type: 'string',
3329
+ description: 'Source code to generate tests for'
3330
+ },
3331
+ language: {
3332
+ type: 'string',
3333
+ enum: ['javascript', 'typescript', 'python', 'java', 'go'],
3334
+ description: 'Programming language'
3335
+ },
3336
+ framework: {
3337
+ type: 'string',
3338
+ enum: ['jest', 'mocha', 'jasmine', 'vitest', 'pytest', 'junit', 'go-test'],
3339
+ default: 'jest',
3340
+ description: 'Testing framework'
3341
+ },
3342
+ coverageGoal: {
3343
+ type: 'number',
3344
+ minimum: 0,
3345
+ maximum: 100,
3346
+ default: 80,
3347
+ description: 'Target code coverage percentage'
3348
+ },
3349
+ includeEdgeCases: {
3350
+ type: 'boolean',
3351
+ default: true,
3352
+ description: 'Generate edge case tests'
3353
+ },
3354
+ mockStrategy: {
3355
+ type: 'string',
3356
+ enum: ['auto', 'manual', 'none'],
3357
+ default: 'auto',
3358
+ description: 'Mock generation strategy'
3359
+ }
3360
+ },
3361
+ required: ['sourceCode', 'language']
3362
+ }
3363
+ },
3364
+ {
3365
+ name: 'mcp__agentic_qe__qe_testgen_generate_integration',
3366
+ description: 'Integration test generation with dependency mocking and contract testing',
3367
+ inputSchema: {
3368
+ type: 'object',
3369
+ properties: {
3370
+ sourceCode: {
3371
+ type: 'array',
3372
+ items: { type: 'string' },
3373
+ description: 'Source files for integration testing'
3374
+ },
3375
+ language: {
3376
+ type: 'string',
3377
+ enum: ['javascript', 'typescript', 'python', 'java', 'go'],
3378
+ description: 'Programming language'
3379
+ },
3380
+ framework: {
3381
+ type: 'string',
3382
+ enum: ['jest', 'mocha', 'jasmine', 'vitest', 'pytest', 'junit', 'go-test'],
3383
+ default: 'jest',
3384
+ description: 'Testing framework'
3385
+ },
3386
+ integrationPoints: {
3387
+ type: 'array',
3388
+ items: {
3389
+ type: 'object',
3390
+ properties: {
3391
+ type: { type: 'string', enum: ['api', 'database', 'filesystem', 'external-service'] },
3392
+ name: { type: 'string' },
3393
+ endpoint: { type: 'string' }
3394
+ }
3395
+ },
3396
+ description: 'Integration points to test'
3397
+ },
3398
+ mockStrategy: {
3399
+ type: 'string',
3400
+ enum: ['full', 'partial', 'none'],
3401
+ default: 'partial',
3402
+ description: 'Dependency mocking strategy'
3403
+ },
3404
+ contractTesting: {
3405
+ type: 'boolean',
3406
+ default: false,
3407
+ description: 'Generate contract tests (e.g., Pact)'
3408
+ }
3409
+ },
3410
+ required: ['sourceCode', 'language', 'integrationPoints']
3411
+ }
3412
+ },
3413
+ {
3414
+ name: 'mcp__agentic_qe__qe_testgen_optimize_suite',
3415
+ description: 'Optimize test suite using sublinear algorithms (Johnson-Lindenstrauss, temporal advantage)',
3416
+ inputSchema: {
3417
+ type: 'object',
3418
+ properties: {
3419
+ tests: {
3420
+ type: 'array',
3421
+ items: {
3422
+ type: 'object',
3423
+ properties: {
3424
+ id: { type: 'string' },
3425
+ name: { type: 'string' },
3426
+ executionTime: { type: 'number' },
3427
+ coverage: { type: 'array' },
3428
+ priority: { type: 'string', enum: ['low', 'medium', 'high', 'critical'] }
3429
+ }
3430
+ },
3431
+ description: 'Test suite to optimize'
3432
+ },
3433
+ algorithm: {
3434
+ type: 'string',
3435
+ enum: ['johnson-lindenstrauss', 'temporal-advantage', 'redundancy-detection'],
3436
+ default: 'johnson-lindenstrauss',
3437
+ description: 'Optimization algorithm'
3438
+ },
3439
+ targetReduction: {
3440
+ type: 'number',
3441
+ minimum: 0.1,
3442
+ maximum: 0.9,
3443
+ default: 0.3,
3444
+ description: 'Target reduction ratio (0.3 = reduce to 30%)'
3445
+ },
3446
+ maintainCoverage: {
3447
+ type: 'number',
3448
+ minimum: 0,
3449
+ maximum: 1,
3450
+ default: 0.95,
3451
+ description: 'Minimum coverage to maintain (0-1)'
3452
+ },
3453
+ preserveCritical: {
3454
+ type: 'boolean',
3455
+ default: true,
3456
+ description: 'Preserve critical priority tests'
3457
+ }
3458
+ },
3459
+ required: ['tests']
3460
+ }
3461
+ },
3462
+ {
3463
+ name: 'mcp__agentic_qe__qe_testgen_analyze_quality',
3464
+ description: 'Analyze test quality with pattern detection, anti-patterns, and maintainability metrics',
3465
+ inputSchema: {
3466
+ type: 'object',
3467
+ properties: {
3468
+ tests: {
3469
+ type: 'array',
3470
+ items: {
3471
+ type: 'object',
3472
+ properties: {
3473
+ id: { type: 'string' },
3474
+ name: { type: 'string' },
3475
+ code: { type: 'string' },
3476
+ framework: { type: 'string' }
3477
+ }
3478
+ },
3479
+ description: 'Tests to analyze'
3480
+ },
3481
+ checkPatterns: {
3482
+ type: 'boolean',
3483
+ default: true,
3484
+ description: 'Check for good test patterns'
3485
+ },
3486
+ checkAntiPatterns: {
3487
+ type: 'boolean',
3488
+ default: true,
3489
+ description: 'Check for anti-patterns'
3490
+ },
3491
+ generateRecommendations: {
3492
+ type: 'boolean',
3493
+ default: true,
3494
+ description: 'Generate improvement recommendations'
3495
+ },
3496
+ detailLevel: {
3497
+ type: 'string',
3498
+ enum: ['summary', 'detailed', 'comprehensive'],
3499
+ default: 'detailed',
3500
+ description: 'Analysis detail level'
3501
+ }
3502
+ },
3503
+ required: ['tests']
3504
+ }
3505
+ },
3506
+ // Quality-Gates Domain Tools (4 tools)
3507
+ {
3508
+ name: 'mcp__agentic_qe__qe_qualitygate_evaluate',
3509
+ description: 'Evaluate quality gate with multi-factor decision trees and policy enforcement',
3510
+ inputSchema: {
3511
+ type: 'object',
3512
+ properties: {
3513
+ projectId: {
3514
+ type: 'string',
3515
+ description: 'Project identifier'
3516
+ },
3517
+ buildId: {
3518
+ type: 'string',
3519
+ description: 'Build identifier'
3520
+ },
3521
+ environment: {
3522
+ type: 'string',
3523
+ enum: ['development', 'staging', 'production'],
3524
+ description: 'Target deployment environment'
3525
+ },
3526
+ metrics: {
3527
+ type: 'object',
3528
+ properties: {
3529
+ coverage: { type: 'object', description: 'Code coverage metrics' },
3530
+ testResults: { type: 'object', description: 'Test execution results' },
3531
+ security: { type: 'object', description: 'Security scan results' },
3532
+ performance: { type: 'object', description: 'Performance benchmarks' },
3533
+ codeQuality: { type: 'object', description: 'Code quality metrics' }
3534
+ },
3535
+ required: ['coverage', 'testResults', 'security']
3536
+ },
3537
+ policy: {
3538
+ type: 'object',
3539
+ description: 'Quality gate policy rules'
3540
+ },
3541
+ context: {
3542
+ type: 'object',
3543
+ description: 'Deployment context (commit, branch, changes)'
3544
+ }
3545
+ },
3546
+ required: ['projectId', 'buildId', 'environment', 'metrics']
3547
+ }
3548
+ },
3549
+ {
3550
+ name: 'mcp__agentic_qe__qe_qualitygate_assess_risk',
3551
+ description: 'Assess deployment risk with historical analysis and ML prediction',
3552
+ inputSchema: {
3553
+ type: 'object',
3554
+ properties: {
3555
+ deployment: {
3556
+ type: 'object',
3557
+ properties: {
3558
+ environment: { type: 'string' },
3559
+ version: { type: 'string' },
3560
+ changes: { type: 'array' }
3561
+ },
3562
+ description: 'Deployment configuration'
3563
+ },
3564
+ metrics: {
3565
+ type: 'object',
3566
+ description: 'Current quality metrics'
3567
+ },
3568
+ historicalData: {
3569
+ type: 'array',
3570
+ items: {
3571
+ type: 'object',
3572
+ properties: {
3573
+ version: { type: 'string' },
3574
+ timestamp: { type: 'string' },
3575
+ success: { type: 'boolean' },
3576
+ metrics: { type: 'object' }
3577
+ }
3578
+ },
3579
+ description: 'Historical deployment data'
3580
+ },
3581
+ riskThreshold: {
3582
+ type: 'string',
3583
+ enum: ['low', 'medium', 'high'],
3584
+ default: 'medium',
3585
+ description: 'Risk tolerance threshold'
3586
+ }
3587
+ },
3588
+ required: ['deployment', 'metrics']
3589
+ }
3590
+ },
3591
+ {
3592
+ name: 'mcp__agentic_qe__qe_qualitygate_validate_metrics',
3593
+ description: 'Validate quality metrics against standards with anomaly detection',
3594
+ inputSchema: {
3595
+ type: 'object',
3596
+ properties: {
3597
+ metrics: {
3598
+ type: 'object',
3599
+ properties: {
3600
+ coverage: { type: 'number' },
3601
+ testPassRate: { type: 'number' },
3602
+ securityScore: { type: 'number' },
3603
+ performanceScore: { type: 'number' },
3604
+ codeQuality: { type: 'number' }
3605
+ },
3606
+ description: 'Quality metrics to validate'
3607
+ },
3608
+ standards: {
3609
+ type: 'object',
3610
+ properties: {
3611
+ minCoverage: { type: 'number', default: 80 },
3612
+ minTestPassRate: { type: 'number', default: 95 },
3613
+ minSecurityScore: { type: 'number', default: 80 },
3614
+ minPerformanceScore: { type: 'number', default: 70 },
3615
+ minCodeQuality: { type: 'number', default: 75 }
3616
+ },
3617
+ description: 'Quality standards thresholds'
3618
+ },
3619
+ detectAnomalies: {
3620
+ type: 'boolean',
3621
+ default: true,
3622
+ description: 'Detect statistical anomalies'
3623
+ },
3624
+ historicalData: {
3625
+ type: 'array',
3626
+ description: 'Historical metrics for trend analysis'
3627
+ }
3628
+ },
3629
+ required: ['metrics']
3630
+ }
3631
+ },
3632
+ {
3633
+ name: 'mcp__agentic_qe__qe_qualitygate_generate_report',
3634
+ description: 'Generate comprehensive quality report with trends, risks, and actionable recommendations',
3635
+ inputSchema: {
3636
+ type: 'object',
3637
+ properties: {
3638
+ projectId: {
3639
+ type: 'string',
3640
+ description: 'Project identifier'
3641
+ },
3642
+ buildId: {
3643
+ type: 'string',
3644
+ description: 'Build identifier'
3645
+ },
3646
+ metrics: {
3647
+ type: 'object',
3648
+ description: 'Quality metrics data'
3649
+ },
3650
+ evaluation: {
3651
+ type: 'object',
3652
+ description: 'Quality gate evaluation result'
3653
+ },
3654
+ riskAssessment: {
3655
+ type: 'object',
3656
+ description: 'Deployment risk assessment'
3657
+ },
3658
+ format: {
3659
+ type: 'string',
3660
+ enum: ['html', 'pdf', 'json', 'markdown'],
3661
+ default: 'html',
3662
+ description: 'Report output format'
3663
+ },
3664
+ includeCharts: {
3665
+ type: 'boolean',
3666
+ default: true,
3667
+ description: 'Include visual charts'
3668
+ },
3669
+ includeTrends: {
3670
+ type: 'boolean',
3671
+ default: true,
3672
+ description: 'Include trend analysis'
3673
+ },
3674
+ includeRecommendations: {
3675
+ type: 'boolean',
3676
+ default: true,
3677
+ description: 'Include actionable recommendations'
3678
+ }
3679
+ },
3680
+ required: ['projectId', 'buildId', 'metrics']
3681
+ }
1763
3682
  }
1764
3683
  ];
1765
3684
  /**
@@ -1843,6 +3762,66 @@ exports.TOOL_NAMES = {
1843
3762
  IMPROVEMENT_CYCLE: 'mcp__agentic_qe__improvement_cycle',
1844
3763
  IMPROVEMENT_AB_TEST: 'mcp__agentic_qe__improvement_ab_test',
1845
3764
  IMPROVEMENT_FAILURES: 'mcp__agentic_qe__improvement_failures',
1846
- PERFORMANCE_TRACK: 'mcp__agentic_qe__performance_track'
3765
+ PERFORMANCE_TRACK: 'mcp__agentic_qe__performance_track',
3766
+ // Phase 3: Domain-Specific Tools
3767
+ // Coverage Domain
3768
+ COVERAGE_ANALYZE_WITH_RISK_SCORING: 'mcp__agentic_qe__coverage_analyze_with_risk_scoring',
3769
+ COVERAGE_DETECT_GAPS_ML: 'mcp__agentic_qe__coverage_detect_gaps_ml',
3770
+ COVERAGE_RECOMMEND_TESTS: 'mcp__agentic_qe__coverage_recommend_tests',
3771
+ COVERAGE_CALCULATE_TRENDS: 'mcp__agentic_qe__coverage_calculate_trends',
3772
+ // Flaky Detection
3773
+ FLAKY_DETECT_STATISTICAL: 'mcp__agentic_qe__flaky_detect_statistical',
3774
+ FLAKY_ANALYZE_PATTERNS: 'mcp__agentic_qe__flaky_analyze_patterns',
3775
+ FLAKY_STABILIZE_AUTO: 'mcp__agentic_qe__flaky_stabilize_auto',
3776
+ // Performance
3777
+ PERFORMANCE_ANALYZE_BOTTLENECKS: 'mcp__agentic_qe__performance_analyze_bottlenecks',
3778
+ PERFORMANCE_GENERATE_REPORT: 'mcp__agentic_qe__performance_generate_report',
3779
+ PERFORMANCE_RUN_BENCHMARK: 'mcp__agentic_qe__performance_run_benchmark',
3780
+ PERFORMANCE_MONITOR_REALTIME_PHASE3: 'mcp__agentic_qe__performance_monitor_realtime', // Note: Duplicate name, keeping both for compatibility
3781
+ // Security
3782
+ SECURITY_VALIDATE_AUTH: 'mcp__agentic_qe__security_validate_auth',
3783
+ SECURITY_CHECK_AUTHZ: 'mcp__agentic_qe__security_check_authz',
3784
+ SECURITY_SCAN_DEPENDENCIES: 'mcp__agentic_qe__security_scan_dependencies',
3785
+ SECURITY_GENERATE_REPORT: 'mcp__agentic_qe__security_generate_report',
3786
+ SECURITY_SCAN_COMPREHENSIVE_PHASE3: 'mcp__agentic_qe__security_scan_comprehensive', // Note: Duplicate name, keeping both for compatibility
3787
+ // Visual Testing
3788
+ VISUAL_COMPARE_SCREENSHOTS: 'mcp__agentic_qe__visual_compare_screenshots',
3789
+ VISUAL_VALIDATE_ACCESSIBILITY: 'mcp__agentic_qe__visual_validate_accessibility',
3790
+ VISUAL_DETECT_REGRESSION: 'mcp__agentic_qe__visual_detect_regression',
3791
+ // Phase 3: New Domain Tools
3792
+ // Security Domain (3 tools)
3793
+ QE_SECURITY_SCAN_COMPREHENSIVE: 'mcp__agentic_qe__qe_security_scan_comprehensive',
3794
+ QE_SECURITY_DETECT_VULNERABILITIES: 'mcp__agentic_qe__qe_security_detect_vulnerabilities',
3795
+ QE_SECURITY_VALIDATE_COMPLIANCE: 'mcp__agentic_qe__qe_security_validate_compliance',
3796
+ // Test-Generation Domain (4 tools)
3797
+ QE_TESTGEN_GENERATE_UNIT: 'mcp__agentic_qe__qe_testgen_generate_unit',
3798
+ QE_TESTGEN_GENERATE_INTEGRATION: 'mcp__agentic_qe__qe_testgen_generate_integration',
3799
+ QE_TESTGEN_OPTIMIZE_SUITE: 'mcp__agentic_qe__qe_testgen_optimize_suite',
3800
+ QE_TESTGEN_ANALYZE_QUALITY: 'mcp__agentic_qe__qe_testgen_analyze_quality',
3801
+ // Quality-Gates Domain (4 tools)
3802
+ QE_QUALITYGATE_EVALUATE: 'mcp__agentic_qe__qe_qualitygate_evaluate',
3803
+ QE_QUALITYGATE_ASSESS_RISK: 'mcp__agentic_qe__qe_qualitygate_assess_risk',
3804
+ QE_QUALITYGATE_VALIDATE_METRICS: 'mcp__agentic_qe__qe_qualitygate_validate_metrics',
3805
+ QE_QUALITYGATE_GENERATE_REPORT: 'mcp__agentic_qe__qe_qualitygate_generate_report',
3806
+ // API-Contract Domain (3 tools)
3807
+ QE_APICONTRACT_VALIDATE: 'mcp__agentic_qe__qe_apicontract_validate',
3808
+ QE_APICONTRACT_BREAKING_CHANGES: 'mcp__agentic_qe__qe_apicontract_breaking_changes',
3809
+ QE_APICONTRACT_VERSIONING: 'mcp__agentic_qe__qe_apicontract_versioning',
3810
+ // Test-Data Domain (3 tools)
3811
+ QE_TESTDATA_GENERATE: 'mcp__agentic_qe__qe_testdata_generate',
3812
+ QE_TESTDATA_MASK: 'mcp__agentic_qe__qe_testdata_mask',
3813
+ QE_TESTDATA_SCHEMA: 'mcp__agentic_qe__qe_testdata_schema',
3814
+ // Regression Domain (2 tools)
3815
+ QE_REGRESSION_ANALYZE_RISK: 'mcp__agentic_qe__qe_regression_analyze_risk',
3816
+ QE_REGRESSION_SELECT_TESTS: 'mcp__agentic_qe__qe_regression_select_tests',
3817
+ // Requirements Domain (2 tools)
3818
+ QE_REQUIREMENTS_VALIDATE: 'mcp__agentic_qe__qe_requirements_validate',
3819
+ QE_REQUIREMENTS_BDD: 'mcp__agentic_qe__qe_requirements_bdd',
3820
+ // Code-Quality Domain (2 tools)
3821
+ QE_CODEQUALITY_COMPLEXITY: 'mcp__agentic_qe__qe_codequality_complexity',
3822
+ QE_CODEQUALITY_METRICS: 'mcp__agentic_qe__qe_codequality_metrics',
3823
+ // Fleet Management Domain (2 tools)
3824
+ QE_FLEET_COORDINATE: 'mcp__agentic_qe__qe_fleet_coordinate',
3825
+ QE_FLEET_STATUS: 'mcp__agentic_qe__qe_fleet_status'
1847
3826
  };
1848
3827
  //# sourceMappingURL=tools.js.map