agentic-qe 2.1.1 → 2.2.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 (167) hide show
  1. package/CHANGELOG.md +213 -0
  2. package/README.md +37 -11
  3. package/dist/agents/index.d.ts.map +1 -1
  4. package/dist/agents/index.js +5 -1
  5. package/dist/agents/index.js.map +1 -1
  6. package/dist/core/MemoryManager.d.ts.map +1 -1
  7. package/dist/core/MemoryManager.js +4 -0
  8. package/dist/core/MemoryManager.js.map +1 -1
  9. package/dist/core/di/AgentDependencies.d.ts +127 -0
  10. package/dist/core/di/AgentDependencies.d.ts.map +1 -0
  11. package/dist/core/di/AgentDependencies.js +251 -0
  12. package/dist/core/di/AgentDependencies.js.map +1 -0
  13. package/dist/core/di/DIContainer.d.ts +149 -0
  14. package/dist/core/di/DIContainer.d.ts.map +1 -0
  15. package/dist/core/di/DIContainer.js +333 -0
  16. package/dist/core/di/DIContainer.js.map +1 -0
  17. package/dist/core/di/index.d.ts +11 -0
  18. package/dist/core/di/index.d.ts.map +1 -0
  19. package/dist/core/di/index.js +22 -0
  20. package/dist/core/di/index.js.map +1 -0
  21. package/dist/core/index.d.ts +1 -0
  22. package/dist/core/index.d.ts.map +1 -1
  23. package/dist/core/index.js +11 -1
  24. package/dist/core/index.js.map +1 -1
  25. package/dist/core/memory/RuVectorPatternStore.d.ts +5 -1
  26. package/dist/core/memory/RuVectorPatternStore.d.ts.map +1 -1
  27. package/dist/core/memory/RuVectorPatternStore.js +43 -1
  28. package/dist/core/memory/RuVectorPatternStore.js.map +1 -1
  29. package/dist/learning/ExperienceSharingProtocol.d.ts +243 -0
  30. package/dist/learning/ExperienceSharingProtocol.d.ts.map +1 -0
  31. package/dist/learning/ExperienceSharingProtocol.js +538 -0
  32. package/dist/learning/ExperienceSharingProtocol.js.map +1 -0
  33. package/dist/learning/LearningEngine.d.ts +101 -1
  34. package/dist/learning/LearningEngine.d.ts.map +1 -1
  35. package/dist/learning/LearningEngine.js +330 -3
  36. package/dist/learning/LearningEngine.js.map +1 -1
  37. package/dist/learning/QLearning.d.ts +38 -125
  38. package/dist/learning/QLearning.d.ts.map +1 -1
  39. package/dist/learning/QLearning.js +46 -267
  40. package/dist/learning/QLearning.js.map +1 -1
  41. package/dist/learning/QLearningLegacy.d.ts +154 -0
  42. package/dist/learning/QLearningLegacy.d.ts.map +1 -0
  43. package/dist/learning/QLearningLegacy.js +337 -0
  44. package/dist/learning/QLearningLegacy.js.map +1 -0
  45. package/dist/learning/algorithms/AbstractRLLearner.d.ts +162 -0
  46. package/dist/learning/algorithms/AbstractRLLearner.d.ts.map +1 -0
  47. package/dist/learning/algorithms/AbstractRLLearner.js +300 -0
  48. package/dist/learning/algorithms/AbstractRLLearner.js.map +1 -0
  49. package/dist/learning/algorithms/ActorCriticLearner.d.ts +201 -0
  50. package/dist/learning/algorithms/ActorCriticLearner.d.ts.map +1 -0
  51. package/dist/learning/algorithms/ActorCriticLearner.js +447 -0
  52. package/dist/learning/algorithms/ActorCriticLearner.js.map +1 -0
  53. package/dist/learning/algorithms/PPOLearner.d.ts +207 -0
  54. package/dist/learning/algorithms/PPOLearner.d.ts.map +1 -0
  55. package/dist/learning/algorithms/PPOLearner.js +490 -0
  56. package/dist/learning/algorithms/PPOLearner.js.map +1 -0
  57. package/dist/learning/algorithms/QLearning.d.ts +68 -0
  58. package/dist/learning/algorithms/QLearning.d.ts.map +1 -0
  59. package/dist/learning/algorithms/QLearning.js +116 -0
  60. package/dist/learning/algorithms/QLearning.js.map +1 -0
  61. package/dist/learning/algorithms/SARSALearner.d.ts +107 -0
  62. package/dist/learning/algorithms/SARSALearner.d.ts.map +1 -0
  63. package/dist/learning/algorithms/SARSALearner.js +252 -0
  64. package/dist/learning/algorithms/SARSALearner.js.map +1 -0
  65. package/dist/learning/algorithms/index.d.ts +29 -0
  66. package/dist/learning/algorithms/index.d.ts.map +1 -0
  67. package/dist/learning/algorithms/index.js +44 -0
  68. package/dist/learning/algorithms/index.js.map +1 -0
  69. package/dist/learning/index.d.ts +3 -0
  70. package/dist/learning/index.d.ts.map +1 -1
  71. package/dist/learning/index.js +15 -1
  72. package/dist/learning/index.js.map +1 -1
  73. package/dist/learning/types.d.ts +2 -0
  74. package/dist/learning/types.d.ts.map +1 -1
  75. package/dist/mcp/handlers/advanced/index.d.ts +3 -2
  76. package/dist/mcp/handlers/advanced/index.d.ts.map +1 -1
  77. package/dist/mcp/handlers/advanced/index.js +4 -5
  78. package/dist/mcp/handlers/advanced/index.js.map +1 -1
  79. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.d.ts +1 -0
  80. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.d.ts.map +1 -1
  81. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.js +3 -0
  82. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.js.map +1 -1
  83. package/dist/mcp/handlers/analysis/coverageGapsDetect.d.ts +1 -0
  84. package/dist/mcp/handlers/analysis/coverageGapsDetect.d.ts.map +1 -1
  85. package/dist/mcp/handlers/analysis/coverageGapsDetect.js +3 -0
  86. package/dist/mcp/handlers/analysis/coverageGapsDetect.js.map +1 -1
  87. package/dist/mcp/handlers/analysis/index.d.ts +0 -2
  88. package/dist/mcp/handlers/analysis/index.d.ts.map +1 -1
  89. package/dist/mcp/handlers/analysis/index.js +2 -3
  90. package/dist/mcp/handlers/analysis/index.js.map +1 -1
  91. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.d.ts +1 -0
  92. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.d.ts.map +1 -1
  93. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.js +3 -0
  94. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.js.map +1 -1
  95. package/dist/mcp/handlers/prediction/flaky-test-detect.d.ts.map +1 -1
  96. package/dist/mcp/handlers/prediction/flaky-test-detect.js +2 -0
  97. package/dist/mcp/handlers/prediction/flaky-test-detect.js.map +1 -1
  98. package/dist/mcp/handlers/prediction/index.d.ts +0 -2
  99. package/dist/mcp/handlers/prediction/index.d.ts.map +1 -1
  100. package/dist/mcp/handlers/prediction/index.js +2 -3
  101. package/dist/mcp/handlers/prediction/index.js.map +1 -1
  102. package/dist/mcp/handlers/security/index.d.ts +0 -30
  103. package/dist/mcp/handlers/security/index.d.ts.map +1 -1
  104. package/dist/mcp/handlers/security/index.js +5 -31
  105. package/dist/mcp/handlers/security/index.js.map +1 -1
  106. package/dist/mcp/lazy-loader.d.ts +156 -0
  107. package/dist/mcp/lazy-loader.d.ts.map +1 -0
  108. package/dist/mcp/lazy-loader.js +327 -0
  109. package/dist/mcp/lazy-loader.js.map +1 -0
  110. package/dist/mcp/server-instructions.d.ts +18 -0
  111. package/dist/mcp/server-instructions.d.ts.map +1 -0
  112. package/dist/mcp/server-instructions.js +133 -0
  113. package/dist/mcp/server-instructions.js.map +1 -0
  114. package/dist/mcp/server.d.ts.map +1 -1
  115. package/dist/mcp/server.js +236 -49
  116. package/dist/mcp/server.js.map +1 -1
  117. package/dist/mcp/tool-categories.d.ts +105 -0
  118. package/dist/mcp/tool-categories.d.ts.map +1 -0
  119. package/dist/mcp/tool-categories.js +463 -0
  120. package/dist/mcp/tool-categories.js.map +1 -0
  121. package/dist/mcp/tools.d.ts +3 -19
  122. package/dist/mcp/tools.d.ts.map +1 -1
  123. package/dist/mcp/tools.js +260 -647
  124. package/dist/mcp/tools.js.map +1 -1
  125. package/dist/memory/DistributedPatternLibrary.d.ts +159 -0
  126. package/dist/memory/DistributedPatternLibrary.d.ts.map +1 -0
  127. package/dist/memory/DistributedPatternLibrary.js +370 -0
  128. package/dist/memory/DistributedPatternLibrary.js.map +1 -0
  129. package/dist/memory/PatternQualityScorer.d.ts +169 -0
  130. package/dist/memory/PatternQualityScorer.d.ts.map +1 -0
  131. package/dist/memory/PatternQualityScorer.js +327 -0
  132. package/dist/memory/PatternQualityScorer.js.map +1 -0
  133. package/dist/memory/PatternReplicationService.d.ts +187 -0
  134. package/dist/memory/PatternReplicationService.d.ts.map +1 -0
  135. package/dist/memory/PatternReplicationService.js +392 -0
  136. package/dist/memory/PatternReplicationService.js.map +1 -0
  137. package/dist/providers/ClaudeProvider.d.ts +98 -0
  138. package/dist/providers/ClaudeProvider.d.ts.map +1 -0
  139. package/dist/providers/ClaudeProvider.js +418 -0
  140. package/dist/providers/ClaudeProvider.js.map +1 -0
  141. package/dist/providers/ILLMProvider.d.ts +287 -0
  142. package/dist/providers/ILLMProvider.d.ts.map +1 -0
  143. package/dist/providers/ILLMProvider.js +33 -0
  144. package/dist/providers/ILLMProvider.js.map +1 -0
  145. package/dist/providers/LLMProviderFactory.d.ts +154 -0
  146. package/dist/providers/LLMProviderFactory.d.ts.map +1 -0
  147. package/dist/providers/LLMProviderFactory.js +426 -0
  148. package/dist/providers/LLMProviderFactory.js.map +1 -0
  149. package/dist/providers/RuvllmProvider.d.ts +107 -0
  150. package/dist/providers/RuvllmProvider.d.ts.map +1 -0
  151. package/dist/providers/RuvllmProvider.js +417 -0
  152. package/dist/providers/RuvllmProvider.js.map +1 -0
  153. package/dist/providers/index.d.ts +31 -0
  154. package/dist/providers/index.d.ts.map +1 -0
  155. package/dist/providers/index.js +69 -0
  156. package/dist/providers/index.js.map +1 -0
  157. package/dist/utils/IntervalRegistry.d.ts +110 -0
  158. package/dist/utils/IntervalRegistry.d.ts.map +1 -0
  159. package/dist/utils/IntervalRegistry.js +190 -0
  160. package/dist/utils/IntervalRegistry.js.map +1 -0
  161. package/dist/utils/index.d.ts +1 -0
  162. package/dist/utils/index.d.ts.map +1 -1
  163. package/dist/utils/index.js +5 -1
  164. package/dist/utils/index.js.map +1 -1
  165. package/docs/reference/agents.md +33 -0
  166. package/docs/reference/usage.md +60 -0
  167. package/package.json +2 -2
package/dist/mcp/tools.js CHANGED
@@ -15,9 +15,14 @@ exports.TOOL_NAMES = exports.agenticQETools = void 0;
15
15
  * These tools enable Claude Flow to coordinate and manage QE agent fleets
16
16
  */
17
17
  exports.agenticQETools = [
18
+ // ═════════════════════════════════════════════════════════════════════════════
19
+ // CORE TOOLS - FLEET MANAGEMENT
20
+ // Always loaded for basic fleet operations and coordination
21
+ // ═════════════════════════════════════════════════════════════════════════════
22
+ // Category: core | Domain: fleet
18
23
  {
19
24
  name: 'mcp__agentic_qe__fleet_init',
20
- description: 'Initialize a new QE fleet with specified topology and configuration',
25
+ description: 'Init QE fleet with specified topology and config',
21
26
  inputSchema: {
22
27
  type: 'object',
23
28
  properties: {
@@ -65,9 +70,10 @@ exports.agenticQETools = [
65
70
  required: ['config']
66
71
  }
67
72
  },
73
+ // Category: core | Domain: fleet
68
74
  {
69
75
  name: 'mcp__agentic_qe__agent_spawn',
70
- description: 'Spawn a specialized QE agent with specific capabilities',
76
+ description: 'Spawn specialized QE agent with specific capabilities',
71
77
  inputSchema: {
72
78
  type: 'object',
73
79
  properties: {
@@ -107,64 +113,16 @@ exports.agenticQETools = [
107
113
  required: ['spec']
108
114
  }
109
115
  },
110
- {
111
- name: 'mcp__agentic_qe__test_generate',
112
- description: 'Generate comprehensive test suites using AI analysis',
113
- inputSchema: {
114
- type: 'object',
115
- properties: {
116
- spec: {
117
- type: 'object',
118
- properties: {
119
- type: {
120
- type: 'string',
121
- enum: ['unit', 'integration', 'e2e', 'property-based', 'mutation'],
122
- description: 'Type of tests to generate'
123
- },
124
- sourceCode: {
125
- type: 'object',
126
- properties: {
127
- repositoryUrl: { type: 'string' },
128
- branch: { type: 'string', default: 'main' },
129
- language: { type: 'string' },
130
- testPatterns: {
131
- type: 'array',
132
- items: { type: 'string' },
133
- description: 'File patterns to include in analysis'
134
- }
135
- },
136
- required: ['repositoryUrl', 'language']
137
- },
138
- coverageTarget: {
139
- type: 'number',
140
- minimum: 0,
141
- maximum: 100,
142
- description: 'Target code coverage percentage'
143
- },
144
- frameworks: {
145
- type: 'array',
146
- items: { type: 'string' },
147
- description: 'Testing frameworks to use'
148
- },
149
- synthesizeData: {
150
- type: 'boolean',
151
- default: true,
152
- description: 'Whether to synthesize realistic test data'
153
- }
154
- },
155
- required: ['type', 'sourceCode', 'coverageTarget']
156
- },
157
- agentId: {
158
- type: 'string',
159
- description: 'ID of the test generator agent to use'
160
- }
161
- },
162
- required: ['spec']
163
- }
164
- },
116
+ // NOTE: Legacy test_generate removed in Issue #115
117
+ // Use test_generate_enhanced instead
118
+ // ═════════════════════════════════════════════════════════════════════════════
119
+ // CORE TOOLS - TESTING EXECUTION
120
+ // Always loaded for test generation and execution
121
+ // ═════════════════════════════════════════════════════════════════════════════
122
+ // Category: core | Domain: testing
165
123
  {
166
124
  name: 'mcp__agentic_qe__test_execute',
167
- description: 'Execute test suites with orchestrated parallel execution',
125
+ description: 'Execute test suites with parallel orchestration',
168
126
  inputSchema: {
169
127
  type: 'object',
170
128
  properties: {
@@ -216,116 +174,14 @@ exports.agenticQETools = [
216
174
  required: ['spec']
217
175
  }
218
176
  },
219
- {
220
- name: 'mcp__agentic_qe__quality_analyze',
221
- description: 'Analyze quality metrics and generate comprehensive reports',
222
- inputSchema: {
223
- type: 'object',
224
- properties: {
225
- params: {
226
- type: 'object',
227
- properties: {
228
- scope: {
229
- type: 'string',
230
- enum: ['code', 'tests', 'performance', 'security', 'all'],
231
- description: 'Scope of quality analysis'
232
- },
233
- metrics: {
234
- type: 'array',
235
- items: { type: 'string' },
236
- description: 'Specific metrics to analyze'
237
- },
238
- thresholds: {
239
- type: 'object',
240
- additionalProperties: { type: 'number' },
241
- description: 'Quality thresholds for pass/fail decisions'
242
- },
243
- generateRecommendations: {
244
- type: 'boolean',
245
- default: true,
246
- description: 'Generate improvement recommendations'
247
- },
248
- historicalComparison: {
249
- type: 'boolean',
250
- default: false,
251
- description: 'Compare with historical quality trends'
252
- }
253
- },
254
- required: ['scope', 'metrics']
255
- },
256
- dataSource: {
257
- type: 'object',
258
- properties: {
259
- testResults: { type: 'string', description: 'Path to test results' },
260
- codeMetrics: { type: 'string', description: 'Path to code quality metrics' },
261
- performanceData: { type: 'string', description: 'Path to performance data' }
262
- }
263
- }
264
- },
265
- required: ['params']
266
- }
267
- },
268
- {
269
- name: 'mcp__agentic_qe__predict_defects',
270
- description: 'Predict potential defects using AI/ML models',
271
- inputSchema: {
272
- type: 'object',
273
- properties: {
274
- scope: {
275
- type: 'object',
276
- properties: {
277
- analysisType: {
278
- type: 'string',
279
- enum: ['file', 'function', 'line', 'module'],
280
- description: 'Granularity of defect prediction'
281
- },
282
- modelType: {
283
- type: 'string',
284
- enum: ['neural', 'statistical', 'hybrid'],
285
- description: 'Type of prediction model to use'
286
- },
287
- confidenceThreshold: {
288
- type: 'number',
289
- minimum: 0.0,
290
- maximum: 1.0,
291
- default: 0.8,
292
- description: 'Minimum confidence for predictions'
293
- },
294
- historicalDataDays: {
295
- type: 'number',
296
- minimum: 7,
297
- maximum: 365,
298
- default: 90,
299
- description: 'Days of historical data to consider'
300
- },
301
- features: {
302
- type: 'array',
303
- items: { type: 'string' },
304
- description: 'Code features to analyze for prediction'
305
- }
306
- },
307
- required: ['analysisType', 'modelType']
308
- },
309
- codeChanges: {
310
- type: 'object',
311
- properties: {
312
- repository: { type: 'string' },
313
- commit: { type: 'string' },
314
- files: {
315
- type: 'array',
316
- items: { type: 'string' },
317
- description: 'Files to analyze for defect risk'
318
- }
319
- },
320
- required: ['repository']
321
- }
322
- },
323
- required: ['scope']
324
- }
325
- },
177
+ // NOTE: Legacy quality_analyze removed in Issue #115
178
+ // Use qe_qualitygate_evaluate instead
179
+ // NOTE: Legacy predict_defects removed in Issue #115
180
+ // Use predict_defects_ai instead
181
+ // Category: core | Domain: fleet
326
182
  {
327
183
  name: 'mcp__agentic_qe__fleet_status',
328
- description: 'Get comprehensive status of QE fleet and agents',
184
+ description: 'Get QE fleet and agent status',
329
185
  inputSchema: {
330
186
  type: 'object',
331
187
  properties: {
@@ -346,9 +202,14 @@ exports.agenticQETools = [
346
202
  }
347
203
  }
348
204
  },
205
+ // ═════════════════════════════════════════════════════════════════════════════
206
+ // CORE TOOLS - TASK ORCHESTRATION
207
+ // Always loaded for task management and coordination
208
+ // ═════════════════════════════════════════════════════════════════════════════
209
+ // Category: core | Domain: orchestration
349
210
  {
350
211
  name: 'mcp__agentic_qe__task_orchestrate',
351
- description: 'Orchestrate complex QE tasks across multiple agents',
212
+ description: 'Orchestrate QE tasks across multiple agents',
352
213
  inputSchema: {
353
214
  type: 'object',
354
215
  properties: {
@@ -408,55 +269,13 @@ exports.agenticQETools = [
408
269
  required: ['task']
409
270
  }
410
271
  },
411
- {
412
- name: 'mcp__agentic_qe__optimize_tests',
413
- description: 'Optimize test suites using sublinear algorithms',
414
- inputSchema: {
415
- type: 'object',
416
- properties: {
417
- optimization: {
418
- type: 'object',
419
- properties: {
420
- algorithm: {
421
- type: 'string',
422
- enum: ['sublinear', 'johnson-lindenstrauss', 'temporal-advantage'],
423
- description: 'Optimization algorithm to use'
424
- },
425
- targetMetric: {
426
- type: 'string',
427
- enum: ['execution-time', 'coverage', 'cost', 'reliability'],
428
- description: 'Primary optimization target'
429
- },
430
- constraints: {
431
- type: 'object',
432
- properties: {
433
- maxExecutionTime: { type: 'number' },
434
- minCoverage: { type: 'number' },
435
- maxCost: { type: 'number' }
436
- }
437
- }
438
- },
439
- required: ['algorithm', 'targetMetric']
440
- },
441
- testSuite: {
442
- type: 'object',
443
- properties: {
444
- size: { type: 'number' },
445
- characteristics: {
446
- type: 'array',
447
- items: { type: 'string' }
448
- },
449
- historical_performance: { type: 'object' }
450
- }
451
- }
452
- },
453
- required: ['optimization']
454
- }
455
- },
272
+ // NOTE: Legacy optimize_tests removed in Issue #115
273
+ // Use test_optimize_sublinear instead
456
274
  // Enhanced Test Tools
275
+ // Category: core | Domain: testing
457
276
  {
458
277
  name: 'mcp__agentic_qe__test_generate_enhanced',
459
- description: 'Enhanced AI-powered test generation with pattern recognition and anti-pattern detection',
278
+ description: 'AI test generation with pattern recognition & anti-pattern detection',
460
279
  inputSchema: {
461
280
  type: 'object',
462
281
  properties: {
@@ -494,9 +313,10 @@ exports.agenticQETools = [
494
313
  required: ['sourceCode', 'language', 'testType']
495
314
  }
496
315
  },
316
+ // Category: core | Domain: testing
497
317
  {
498
318
  name: 'mcp__agentic_qe__test_execute_parallel',
499
- description: 'Execute tests in parallel with worker pools, retry logic, and load balancing',
319
+ description: 'Execute tests in parallel with workers, retry, & load balancing',
500
320
  inputSchema: {
501
321
  type: 'object',
502
322
  properties: {
@@ -554,9 +374,14 @@ exports.agenticQETools = [
554
374
  required: ['testFiles']
555
375
  }
556
376
  },
377
+ // ═════════════════════════════════════════════════════════════════════════════
378
+ // TESTING DOMAIN TOOLS
379
+ // Test optimization, coverage, execution, and flaky detection
380
+ // ═════════════════════════════════════════════════════════════════════════════
381
+ // Category: testing | Domain: optimization
557
382
  {
558
383
  name: 'mcp__agentic_qe__test_optimize_sublinear',
559
- description: 'Optimize test suites using sublinear algorithms (JL, temporal advantage, redundancy detection)',
384
+ description: 'Optimize tests using sublinear algorithms (JL, temporal, redundancy)',
560
385
  inputSchema: {
561
386
  type: 'object',
562
387
  properties: {
@@ -606,9 +431,10 @@ exports.agenticQETools = [
606
431
  required: ['testSuite', 'algorithm']
607
432
  }
608
433
  },
434
+ // Category: core | Domain: testing
609
435
  {
610
436
  name: 'mcp__agentic_qe__test_report_comprehensive',
611
- description: 'Generate comprehensive test reports in multiple formats (HTML, JSON, JUnit, Markdown, PDF)',
437
+ description: 'Generate test reports in multiple formats (HTML, JSON, JUnit, MD, PDF)',
612
438
  inputSchema: {
613
439
  type: 'object',
614
440
  properties: {
@@ -662,9 +488,10 @@ exports.agenticQETools = [
662
488
  required: ['results', 'format']
663
489
  }
664
490
  },
491
+ // Category: testing | Domain: coverage
665
492
  {
666
493
  name: 'mcp__agentic_qe__test_coverage_detailed',
667
- description: 'Detailed coverage analysis with gap detection, prioritization, and improvement suggestions',
494
+ description: 'Coverage analysis with gap detection, prioritization, & suggestions',
668
495
  inputSchema: {
669
496
  type: 'object',
670
497
  properties: {
@@ -730,9 +557,14 @@ exports.agenticQETools = [
730
557
  }
731
558
  },
732
559
  // Memory Management Tools
560
+ // ═════════════════════════════════════════════════════════════════════════════
561
+ // CORE TOOLS - MEMORY & STATE
562
+ // Always loaded for agent coordination and memory
563
+ // ═════════════════════════════════════════════════════════════════════════════
564
+ // Category: core | Domain: memory
733
565
  {
734
566
  name: 'mcp__agentic_qe__memory_store',
735
- description: 'Store QE data with TTL support and namespacing for agent coordination',
567
+ description: 'Store QE data with TTL & namespacing for coordination',
736
568
  inputSchema: {
737
569
  type: 'object',
738
570
  properties: {
@@ -765,9 +597,10 @@ exports.agenticQETools = [
765
597
  required: ['key', 'value']
766
598
  }
767
599
  },
600
+ // Category: core | Domain: memory
768
601
  {
769
602
  name: 'mcp__agentic_qe__memory_retrieve',
770
- description: 'Retrieve QE data from memory with optional metadata',
603
+ description: 'Retrieve QE data with optional metadata',
771
604
  inputSchema: {
772
605
  type: 'object',
773
606
  properties: {
@@ -793,9 +626,10 @@ exports.agenticQETools = [
793
626
  required: ['key']
794
627
  }
795
628
  },
629
+ // Category: core | Domain: memory
796
630
  {
797
631
  name: 'mcp__agentic_qe__memory_query',
798
- description: 'Query memory system with pattern matching and filtering',
632
+ description: 'Query memory with pattern matching & filtering',
799
633
  inputSchema: {
800
634
  type: 'object',
801
635
  properties: {
@@ -836,9 +670,10 @@ exports.agenticQETools = [
836
670
  }
837
671
  }
838
672
  },
673
+ // Category: core | Domain: coordination
839
674
  {
840
675
  name: 'mcp__agentic_qe__memory_share',
841
- description: 'Share memory between agents with access control',
676
+ description: 'Share memory between agents w/ access control',
842
677
  inputSchema: {
843
678
  type: 'object',
844
679
  properties: {
@@ -874,9 +709,10 @@ exports.agenticQETools = [
874
709
  required: ['sourceKey', 'sourceNamespace', 'targetAgents']
875
710
  }
876
711
  },
712
+ // Category: core | Domain: coordination
877
713
  {
878
714
  name: 'mcp__agentic_qe__memory_backup',
879
- description: 'Backup and restore memory namespaces',
715
+ description: 'Backup & restore memory namespaces',
880
716
  inputSchema: {
881
717
  type: 'object',
882
718
  properties: {
@@ -901,9 +737,10 @@ exports.agenticQETools = [
901
737
  required: ['action']
902
738
  }
903
739
  },
740
+ // Category: core | Domain: coordination
904
741
  {
905
742
  name: 'mcp__agentic_qe__blackboard_post',
906
- description: 'Post coordination hints to blackboard pattern',
743
+ description: 'Post coordination hints to blackboard',
907
744
  inputSchema: {
908
745
  type: 'object',
909
746
  properties: {
@@ -937,6 +774,7 @@ exports.agenticQETools = [
937
774
  required: ['topic', 'message', 'priority', 'agentId']
938
775
  }
939
776
  },
777
+ // Category: core | Domain: coordination
940
778
  {
941
779
  name: 'mcp__agentic_qe__blackboard_read',
942
780
  description: 'Read coordination hints from blackboard',
@@ -971,9 +809,10 @@ exports.agenticQETools = [
971
809
  required: ['topic', 'agentId']
972
810
  }
973
811
  },
812
+ // Category: core | Domain: coordination
974
813
  {
975
814
  name: 'mcp__agentic_qe__consensus_propose',
976
- description: 'Create consensus proposal for multi-agent decision making',
815
+ description: 'Create consensus proposal for multi-agent decisions',
977
816
  inputSchema: {
978
817
  type: 'object',
979
818
  properties: {
@@ -1012,9 +851,10 @@ exports.agenticQETools = [
1012
851
  required: ['proposalId', 'topic', 'proposal', 'votingAgents', 'quorum']
1013
852
  }
1014
853
  },
854
+ // Category: core | Domain: coordination
1015
855
  {
1016
856
  name: 'mcp__agentic_qe__consensus_vote',
1017
- description: 'Vote on consensus proposal with quorum checking',
857
+ description: 'Vote on consensus proposal with quorum check',
1018
858
  inputSchema: {
1019
859
  type: 'object',
1020
860
  properties: {
@@ -1044,6 +884,7 @@ exports.agenticQETools = [
1044
884
  required: ['proposalId', 'agentId', 'vote']
1045
885
  }
1046
886
  },
887
+ // Category: core | Domain: coordination
1047
888
  {
1048
889
  name: 'mcp__agentic_qe__artifact_manifest',
1049
890
  description: 'Manage artifact manifests for QE outputs',
@@ -1085,9 +926,14 @@ exports.agenticQETools = [
1085
926
  }
1086
927
  },
1087
928
  // Coordination Tools (Phase 1)
929
+ // ═════════════════════════════════════════════════════════════════════════════
930
+ // CORE TOOLS - COORDINATION
931
+ // Workflow, blackboard, consensus, and event coordination
932
+ // ═════════════════════════════════════════════════════════════════════════════
933
+ // Category: core | Domain: coordination
1088
934
  {
1089
935
  name: 'mcp__agentic_qe__workflow_create',
1090
- description: 'Create QE workflow with checkpoints and dependency management',
936
+ description: 'Create QE workflow with checkpoints & dependency mgmt',
1091
937
  inputSchema: {
1092
938
  type: 'object',
1093
939
  properties: {
@@ -1130,9 +976,10 @@ exports.agenticQETools = [
1130
976
  required: ['name', 'steps']
1131
977
  }
1132
978
  },
979
+ // Category: core | Domain: coordination
1133
980
  {
1134
981
  name: 'mcp__agentic_qe__workflow_execute',
1135
- description: 'Execute workflow with OODA loop integration',
982
+ description: 'Execute workflow with OODA loop',
1136
983
  inputSchema: {
1137
984
  type: 'object',
1138
985
  properties: {
@@ -1162,6 +1009,7 @@ exports.agenticQETools = [
1162
1009
  required: ['workflowId']
1163
1010
  }
1164
1011
  },
1012
+ // Category: core | Domain: coordination
1165
1013
  {
1166
1014
  name: 'mcp__agentic_qe__workflow_checkpoint',
1167
1015
  description: 'Save workflow state to checkpoint',
@@ -1184,6 +1032,7 @@ exports.agenticQETools = [
1184
1032
  required: ['executionId']
1185
1033
  }
1186
1034
  },
1035
+ // Category: core | Domain: coordination
1187
1036
  {
1188
1037
  name: 'mcp__agentic_qe__workflow_resume',
1189
1038
  description: 'Resume workflow from checkpoint',
@@ -1205,9 +1054,10 @@ exports.agenticQETools = [
1205
1054
  required: ['checkpointId']
1206
1055
  }
1207
1056
  },
1057
+ // Category: core | Domain: orchestration
1208
1058
  {
1209
1059
  name: 'mcp__agentic_qe__task_status',
1210
- description: 'Check task status and progress',
1060
+ description: 'Check task status & progress',
1211
1061
  inputSchema: {
1212
1062
  type: 'object',
1213
1063
  properties: {
@@ -1229,6 +1079,7 @@ exports.agenticQETools = [
1229
1079
  required: ['taskId']
1230
1080
  }
1231
1081
  },
1082
+ // Category: core | Domain: coordination
1232
1083
  {
1233
1084
  name: 'mcp__agentic_qe__event_emit',
1234
1085
  description: 'Emit coordination event to event bus',
@@ -1257,6 +1108,7 @@ exports.agenticQETools = [
1257
1108
  required: ['event', 'data']
1258
1109
  }
1259
1110
  },
1111
+ // Category: core | Domain: coordination
1260
1112
  {
1261
1113
  name: 'mcp__agentic_qe__event_subscribe',
1262
1114
  description: 'Subscribe to coordination event stream',
@@ -1284,110 +1136,35 @@ exports.agenticQETools = [
1284
1136
  }
1285
1137
  }
1286
1138
  },
1287
- // Quality Gate Tools
1288
- {
1289
- name: 'mcp__agentic_qe__quality_gate_execute',
1290
- description: 'Execute quality gate with policy enforcement',
1291
- inputSchema: {
1292
- type: 'object',
1293
- properties: {
1294
- projectId: { type: 'string' },
1295
- buildId: { type: 'string' },
1296
- environment: {
1297
- type: 'string',
1298
- enum: ['development', 'staging', 'production']
1299
- },
1300
- policy: { type: 'object' },
1301
- metrics: {
1302
- type: 'object',
1303
- properties: {
1304
- coverage: { type: 'object' },
1305
- testResults: { type: 'object' },
1306
- security: { type: 'object' },
1307
- performance: { type: 'object' },
1308
- codeQuality: { type: 'object' }
1309
- },
1310
- required: ['coverage', 'testResults', 'security']
1311
- },
1312
- context: { type: 'object' }
1313
- },
1314
- required: ['projectId', 'buildId', 'environment', 'metrics']
1315
- }
1316
- },
1317
- {
1318
- name: 'mcp__agentic_qe__quality_validate_metrics',
1319
- description: 'Validate quality metrics against thresholds',
1320
- inputSchema: {
1321
- type: 'object',
1322
- properties: {
1323
- metrics: { type: 'object', description: 'Quality metrics to validate' },
1324
- thresholds: { type: 'object', description: 'Validation thresholds' },
1325
- strict: { type: 'boolean', default: false }
1326
- },
1327
- required: ['metrics', 'thresholds']
1328
- }
1329
- },
1330
- {
1331
- name: 'mcp__agentic_qe__quality_risk_assess',
1332
- description: 'Assess risk level for quality metrics',
1333
- inputSchema: {
1334
- type: 'object',
1335
- properties: {
1336
- metrics: { type: 'object' },
1337
- context: { type: 'object' },
1338
- historicalData: { type: 'array', items: { type: 'object' } }
1339
- },
1340
- required: ['metrics']
1341
- }
1342
- },
1343
- {
1344
- name: 'mcp__agentic_qe__quality_decision_make',
1345
- description: 'Make go/no-go decision based on quality analysis',
1346
- inputSchema: {
1347
- type: 'object',
1348
- properties: {
1349
- analysisId: { type: 'string' },
1350
- data: { type: 'object' },
1351
- policy: { type: 'object' }
1352
- },
1353
- required: ['analysisId', 'data']
1354
- }
1355
- },
1356
- {
1357
- name: 'mcp__agentic_qe__quality_policy_check',
1358
- description: 'Check compliance with quality policies',
1359
- inputSchema: {
1360
- type: 'object',
1361
- properties: {
1362
- policyId: { type: 'string' },
1363
- projectId: { type: 'string' },
1364
- metrics: { type: 'object' }
1365
- },
1366
- required: ['policyId', 'projectId', 'metrics']
1367
- }
1368
- },
1139
+ // Quality Gate Tools - REMOVED in Issue #115
1140
+ // NOTE: Legacy quality_gate_execute, quality_validate_metrics, quality_risk_assess,
1141
+ // quality_decision_make, quality_policy_check removed
1142
+ // Use qe_qualitygate_evaluate, qe_qualitygate_validate_metrics, qe_qualitygate_assess_risk instead
1369
1143
  // Prediction & Analysis Tools
1370
- {
1371
- name: 'mcp__agentic_qe__flaky_test_detect',
1372
- description: 'Detect flaky tests using pattern recognition',
1373
- inputSchema: {
1374
- type: 'object',
1375
- properties: {
1376
- testData: {
1377
- type: 'object',
1378
- properties: {
1379
- testResults: { type: 'array', items: { type: 'object' } },
1380
- minRuns: { type: 'number', default: 5 },
1381
- timeWindow: { type: 'number', default: 30 }
1382
- },
1383
- required: ['testResults']
1384
- },
1385
- analysisConfig: { type: 'object' },
1386
- reportConfig: { type: 'object' }
1387
- },
1388
- required: ['testData']
1389
- }
1390
- },
1144
+ // DEPRECATED: Use flaky_detect_statistical with method='basic' instead
1145
+ // Kept for backward compatibility only - will be removed in v3.0.0
1146
+ // {
1147
+ // name: 'mcp__agentic_qe__flaky_test_detect',
1148
+ // description: '[DEPRECATED] Use flaky_detect_statistical instead. Detect flaky tests using pattern recognition',
1149
+ // inputSchema: {
1150
+ // type: 'object',
1151
+ // properties: {
1152
+ // testData: {
1153
+ // type: 'object',
1154
+ // properties: {
1155
+ // testResults: { type: 'array', items: { type: 'object' } },
1156
+ // minRuns: { type: 'number', default: 5 },
1157
+ // timeWindow: { type: 'number', default: 30 }
1158
+ // },
1159
+ // required: ['testResults']
1160
+ // },
1161
+ // analysisConfig: { type: 'object' },
1162
+ // reportConfig: { type: 'object' }
1163
+ // },
1164
+ // required: ['testData']
1165
+ // }
1166
+ // },
1167
+ // Category: advanced | Domain: ai
1391
1168
  {
1392
1169
  name: 'mcp__agentic_qe__predict_defects_ai',
1393
1170
  description: 'Predict defects using AI/ML models',
@@ -1401,19 +1178,10 @@ exports.agenticQETools = [
1401
1178
  required: ['codeChanges']
1402
1179
  }
1403
1180
  },
1404
- {
1405
- name: 'mcp__agentic_qe__regression_risk_analyze',
1406
- description: 'Analyze regression risk for code changes',
1407
- inputSchema: {
1408
- type: 'object',
1409
- properties: {
1410
- changes: { type: 'array', items: { type: 'object' } },
1411
- baselineMetrics: { type: 'object' },
1412
- threshold: { type: 'number', default: 0.1 }
1413
- },
1414
- required: ['changes']
1415
- }
1416
- },
1181
+ // Category: advanced | Domain: regression
1182
+ // NOTE: Legacy regression_risk_analyze removed in Issue #115
1183
+ // Use qe_regression_analyze_risk instead (Phase 3 domain tools)
1184
+ // Category: testing | Domain: visual
1417
1185
  {
1418
1186
  name: 'mcp__agentic_qe__visual_test_regression',
1419
1187
  description: 'Detect visual regression in UI tests',
@@ -1427,9 +1195,10 @@ exports.agenticQETools = [
1427
1195
  required: ['baselineImages', 'currentImages']
1428
1196
  }
1429
1197
  },
1198
+ // Category: quality | Domain: deployment
1430
1199
  {
1431
1200
  name: 'mcp__agentic_qe__deployment_readiness_check',
1432
- description: 'Check deployment readiness with comprehensive analysis',
1201
+ description: 'Check deployment readiness with comprehensive check',
1433
1202
  inputSchema: {
1434
1203
  type: 'object',
1435
1204
  properties: {
@@ -1441,9 +1210,10 @@ exports.agenticQETools = [
1441
1210
  }
1442
1211
  },
1443
1212
  // Analysis Tools
1213
+ // Category: analysis | Domain: coverage
1444
1214
  {
1445
1215
  name: 'mcp__agentic_qe__coverage_analyze_sublinear',
1446
- description: 'Analyze coverage with O(log n) sublinear algorithms',
1216
+ description: 'Analyze coverage with O(log n) algorithms',
1447
1217
  inputSchema: {
1448
1218
  type: 'object',
1449
1219
  properties: {
@@ -1456,9 +1226,10 @@ exports.agenticQETools = [
1456
1226
  required: ['sourceFiles']
1457
1227
  }
1458
1228
  },
1229
+ // Category: analysis | Domain: coverage
1459
1230
  {
1460
1231
  name: 'mcp__agentic_qe__coverage_gaps_detect',
1461
- description: 'Detect coverage gaps and prioritize them',
1232
+ description: 'Detect & prioritize coverage gaps',
1462
1233
  inputSchema: {
1463
1234
  type: 'object',
1464
1235
  properties: {
@@ -1472,19 +1243,9 @@ exports.agenticQETools = [
1472
1243
  required: ['coverageData']
1473
1244
  }
1474
1245
  },
1475
- {
1476
- name: 'mcp__agentic_qe__performance_benchmark_run',
1477
- description: 'Run performance benchmarks',
1478
- inputSchema: {
1479
- type: 'object',
1480
- properties: {
1481
- benchmarkSuite: { type: 'string' },
1482
- iterations: { type: 'number', default: 100 },
1483
- warmupIterations: { type: 'number', default: 10 }
1484
- },
1485
- required: ['benchmarkSuite']
1486
- }
1487
- },
1246
+ // Category: analysis | Domain: performance
1247
+ // NOTE: Legacy performance_benchmark_run removed in Issue #115
1248
+ // Use performance_run_benchmark instead (Phase 3 domain tools)
1488
1249
  {
1489
1250
  name: 'mcp__agentic_qe__performance_monitor_realtime',
1490
1251
  description: 'Monitor performance metrics in real-time',
@@ -1498,73 +1259,35 @@ exports.agenticQETools = [
1498
1259
  required: ['target']
1499
1260
  }
1500
1261
  },
1501
- {
1502
- name: 'mcp__agentic_qe__security_scan_comprehensive',
1503
- description: 'Comprehensive security scanning',
1504
- inputSchema: {
1505
- type: 'object',
1506
- properties: {
1507
- scanType: {
1508
- type: 'string',
1509
- enum: ['sast', 'dast', 'dependency', 'comprehensive'],
1510
- default: 'comprehensive'
1511
- },
1512
- target: { type: 'string' },
1513
- depth: { type: 'string', enum: ['basic', 'standard', 'deep'], default: 'standard' }
1514
- },
1515
- required: ['target']
1516
- }
1517
- },
1518
- // Advanced MCP Tools - Requirements & Production Intelligence
1519
- {
1520
- name: 'mcp__agentic_qe__requirements_validate',
1521
- description: 'Validate requirements testability with NLP analysis',
1522
- inputSchema: {
1523
- type: 'object',
1524
- properties: {
1525
- requirements: {
1526
- type: 'array',
1527
- items: { type: 'string' },
1528
- description: 'Requirements to validate'
1529
- },
1530
- strictMode: {
1531
- type: 'boolean',
1532
- default: false,
1533
- description: 'Enable strict validation mode'
1534
- },
1535
- generateTestSuggestions: {
1536
- type: 'boolean',
1537
- default: false,
1538
- description: 'Generate test suggestions'
1539
- }
1540
- },
1541
- required: ['requirements']
1542
- }
1543
- },
1544
- {
1545
- name: 'mcp__agentic_qe__requirements_generate_bdd',
1546
- description: 'Generate BDD scenarios from requirements',
1547
- inputSchema: {
1548
- type: 'object',
1549
- properties: {
1550
- requirement: { type: 'string', description: 'Requirement text' },
1551
- format: {
1552
- type: 'string',
1553
- enum: ['gherkin', 'cucumber', 'plain'],
1554
- default: 'gherkin'
1555
- },
1556
- includeEdgeCases: { type: 'boolean', default: false },
1557
- generateTestCode: { type: 'boolean', default: false },
1558
- framework: {
1559
- type: 'string',
1560
- enum: ['jest', 'mocha', 'jasmine', 'cucumber-js'],
1561
- default: 'jest'
1562
- },
1563
- extractTestData: { type: 'boolean', default: false }
1564
- },
1565
- required: ['requirement']
1566
- }
1567
- },
1262
+ // DEPRECATED: Legacy security_scan_comprehensive - Use qe_security_scan_comprehensive instead (line ~3284)
1263
+ // This tool has been replaced with the modern qe_security_* version that includes:
1264
+ // - Enhanced SAST/DAST/dependency scanning
1265
+ // - OWASP compliance checking
1266
+ // - Customizable security rules
1267
+ // - Better exclude pattern support
1268
+ /*
1269
+ {
1270
+ name: 'mcp__agentic_qe__security_scan_comprehensive',
1271
+ description: 'Comprehensive security scanning',
1272
+ inputSchema: {
1273
+ type: 'object',
1274
+ properties: {
1275
+ scanType: {
1276
+ type: 'string',
1277
+ enum: ['sast', 'dast', 'dependency', 'comprehensive'],
1278
+ default: 'comprehensive'
1279
+ },
1280
+ target: { type: 'string' },
1281
+ depth: { type: 'string', enum: ['basic', 'standard', 'deep'], default: 'standard' }
1282
+ },
1283
+ required: ['target']
1284
+ }
1285
+ },
1286
+ */
1287
+ // Advanced MCP Tools - Production Intelligence
1288
+ // NOTE: Legacy requirements_validate and requirements_generate_bdd removed in Issue #115
1289
+ // Use qe_requirements_validate and qe_requirements_generate_bdd instead
1290
+ // Category: advanced | Domain: production
1568
1291
  {
1569
1292
  name: 'mcp__agentic_qe__production_incident_replay',
1570
1293
  description: 'Replay production incidents as tests',
@@ -1592,9 +1315,10 @@ exports.agenticQETools = [
1592
1315
  required: ['incident']
1593
1316
  }
1594
1317
  },
1318
+ // Category: advanced | Domain: production
1595
1319
  {
1596
1320
  name: 'mcp__agentic_qe__production_rum_analyze',
1597
- description: 'Analyze Real User Monitoring data',
1321
+ description: 'Analyze Real User Monitoring (RUM) data',
1598
1322
  inputSchema: {
1599
1323
  type: 'object',
1600
1324
  properties: {
@@ -1614,6 +1338,7 @@ exports.agenticQETools = [
1614
1338
  required: ['rumData']
1615
1339
  }
1616
1340
  },
1341
+ // Category: advanced | Domain: api
1617
1342
  {
1618
1343
  name: 'mcp__agentic_qe__api_breaking_changes',
1619
1344
  description: 'Detect API breaking changes with AST analysis',
@@ -1633,6 +1358,11 @@ exports.agenticQETools = [
1633
1358
  required: ['oldAPI', 'newAPI']
1634
1359
  }
1635
1360
  },
1361
+ // ═════════════════════════════════════════════════════════════════════════════
1362
+ // ADVANCED/SPECIALIZED TOOLS
1363
+ // Mutation, API contracts, production, testgen, learning
1364
+ // ═════════════════════════════════════════════════════════════════════════════
1365
+ // Category: advanced | Domain: mutation
1636
1366
  {
1637
1367
  name: 'mcp__agentic_qe__mutation_test_execute',
1638
1368
  description: 'Execute mutation testing with real mutations',
@@ -1659,9 +1389,10 @@ exports.agenticQETools = [
1659
1389
  }
1660
1390
  },
1661
1391
  // Streaming Tools (v1.0.5)
1392
+ // Category: testing | Domain: execution
1662
1393
  {
1663
1394
  name: 'mcp__agentic_qe__test_execute_stream',
1664
- description: 'Execute tests with real-time streaming progress updates (recommended for long-running tests >30s)',
1395
+ description: 'Execute tests with real-time streaming (recommended for tests >30s)',
1665
1396
  inputSchema: {
1666
1397
  type: 'object',
1667
1398
  properties: {
@@ -1718,9 +1449,10 @@ exports.agenticQETools = [
1718
1449
  required: ['spec']
1719
1450
  }
1720
1451
  },
1452
+ // Category: analysis | Domain: coverage
1721
1453
  {
1722
1454
  name: 'mcp__agentic_qe__coverage_analyze_stream',
1723
- description: 'Analyze coverage with real-time streaming progress (recommended for large codebases)',
1455
+ description: 'Analyze coverage with real-time streaming for large codebases',
1724
1456
  inputSchema: {
1725
1457
  type: 'object',
1726
1458
  properties: {
@@ -1763,9 +1495,10 @@ exports.agenticQETools = [
1763
1495
  },
1764
1496
  // Phase 3: Domain-Specific Tools
1765
1497
  // Coverage Domain Tools (4 tools)
1498
+ // Category: analysis | Domain: coverage
1766
1499
  {
1767
1500
  name: 'mcp__agentic_qe__coverage_analyze_with_risk_scoring',
1768
- description: 'Analyze code coverage with ML-based risk scoring for critical paths',
1501
+ description: 'Analyze coverage with ML risk scoring for critical paths',
1769
1502
  inputSchema: {
1770
1503
  type: 'object',
1771
1504
  properties: {
@@ -1799,9 +1532,10 @@ exports.agenticQETools = [
1799
1532
  required: ['coverageData']
1800
1533
  }
1801
1534
  },
1535
+ // Category: analysis | Domain: coverage
1802
1536
  {
1803
1537
  name: 'mcp__agentic_qe__coverage_detect_gaps_ml',
1804
- description: 'Detect coverage gaps using ML pattern recognition and prioritization',
1538
+ description: 'Detect coverage gaps using ML recognition & prioritization',
1805
1539
  inputSchema: {
1806
1540
  type: 'object',
1807
1541
  properties: {
@@ -1825,9 +1559,10 @@ exports.agenticQETools = [
1825
1559
  required: ['coverageData', 'sourceCode']
1826
1560
  }
1827
1561
  },
1562
+ // Category: analysis | Domain: coverage
1828
1563
  {
1829
1564
  name: 'mcp__agentic_qe__coverage_recommend_tests',
1830
- description: 'Recommend specific tests to improve coverage based on gap analysis',
1565
+ description: 'Recommend tests to improve coverage from gap analysis',
1831
1566
  inputSchema: {
1832
1567
  type: 'object',
1833
1568
  properties: {
@@ -1861,6 +1596,7 @@ exports.agenticQETools = [
1861
1596
  required: ['gaps']
1862
1597
  }
1863
1598
  },
1599
+ // Category: analysis | Domain: coverage
1864
1600
  {
1865
1601
  name: 'mcp__agentic_qe__coverage_calculate_trends',
1866
1602
  description: 'Calculate coverage trends over time with forecasting',
@@ -1901,9 +1637,10 @@ exports.agenticQETools = [
1901
1637
  }
1902
1638
  },
1903
1639
  // Flaky Detection Tools (3 tools)
1640
+ // Category: testing | Domain: flaky
1904
1641
  {
1905
1642
  name: 'mcp__agentic_qe__flaky_detect_statistical',
1906
- description: 'Detect flaky tests using statistical analysis (chi-square, variance)',
1643
+ description: 'Detect flaky tests using statistical analysis (χ², variance)',
1907
1644
  inputSchema: {
1908
1645
  type: 'object',
1909
1646
  properties: {
@@ -1943,9 +1680,10 @@ exports.agenticQETools = [
1943
1680
  required: ['testResults']
1944
1681
  }
1945
1682
  },
1683
+ // Category: testing | Domain: flaky
1946
1684
  {
1947
1685
  name: 'mcp__agentic_qe__flaky_analyze_patterns',
1948
- description: 'Analyze patterns in flaky test behavior (timing, environment, dependencies)',
1686
+ description: 'Analyze flaky test patterns (timing, environment, dependencies)',
1949
1687
  inputSchema: {
1950
1688
  type: 'object',
1951
1689
  properties: {
@@ -1969,9 +1707,10 @@ exports.agenticQETools = [
1969
1707
  required: ['flakyTests']
1970
1708
  }
1971
1709
  },
1710
+ // Category: testing | Domain: flaky
1972
1711
  {
1973
1712
  name: 'mcp__agentic_qe__flaky_stabilize_auto',
1974
- description: 'Auto-stabilize flaky tests with retry logic, waits, and isolation',
1713
+ description: 'Auto-stabilize flaky tests with retry, waits, & isolation',
1975
1714
  inputSchema: {
1976
1715
  type: 'object',
1977
1716
  properties: {
@@ -2004,9 +1743,14 @@ exports.agenticQETools = [
2004
1743
  }
2005
1744
  },
2006
1745
  // Performance Tools (4 tools)
1746
+ // ═════════════════════════════════════════════════════════════════════════════
1747
+ // ANALYSIS DOMAIN TOOLS
1748
+ // Performance and coverage analysis with ML/AI
1749
+ // ═════════════════════════════════════════════════════════════════════════════
1750
+ // Category: analysis | Domain: performance
2007
1751
  {
2008
1752
  name: 'mcp__agentic_qe__performance_analyze_bottlenecks',
2009
- description: 'Analyze performance bottlenecks using profiling data and ML',
1753
+ description: 'Analyze performance bottlenecks using profiling & ML',
2010
1754
  inputSchema: {
2011
1755
  type: 'object',
2012
1756
  properties: {
@@ -2032,9 +1776,10 @@ exports.agenticQETools = [
2032
1776
  required: ['profileData']
2033
1777
  }
2034
1778
  },
1779
+ // Category: analysis | Domain: performance
2035
1780
  {
2036
1781
  name: 'mcp__agentic_qe__performance_generate_report',
2037
- description: 'Generate comprehensive performance analysis reports',
1782
+ description: 'Generate comprehensive performance reports',
2038
1783
  inputSchema: {
2039
1784
  type: 'object',
2040
1785
  properties: {
@@ -2055,6 +1800,7 @@ exports.agenticQETools = [
2055
1800
  required: ['benchmarkResults']
2056
1801
  }
2057
1802
  },
1803
+ // Category: analysis | Domain: performance
2058
1804
  {
2059
1805
  name: 'mcp__agentic_qe__performance_run_benchmark',
2060
1806
  description: 'Run performance benchmarks with configurable scenarios',
@@ -2088,137 +1834,10 @@ exports.agenticQETools = [
2088
1834
  required: ['target']
2089
1835
  }
2090
1836
  },
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
- },
1837
+ // Security Tools (2 tools - 3 deprecated, use qe_security_* instead)
1838
+ // Category: security | Domain: reporting
1839
+ // NOTE: Legacy security_validate_auth, security_check_authz, security_scan_dependencies
1840
+ // removed in Issue #115 - use qe_security_detect_vulnerabilities instead
2222
1841
  {
2223
1842
  name: 'mcp__agentic_qe__security_generate_report',
2224
1843
  description: 'Generate comprehensive security audit reports',
@@ -2258,38 +1877,8 @@ exports.agenticQETools = [
2258
1877
  required: ['findings']
2259
1878
  }
2260
1879
  },
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
1880
  // Visual Testing Tools (3 tools)
1881
+ // Category: testing | Domain: visual
2293
1882
  {
2294
1883
  name: 'mcp__agentic_qe__visual_compare_screenshots',
2295
1884
  description: 'Compare screenshots with AI-powered diff analysis',
@@ -2333,9 +1922,10 @@ exports.agenticQETools = [
2333
1922
  required: ['baselineImage', 'currentImage']
2334
1923
  }
2335
1924
  },
1925
+ // Category: testing | Domain: visual
2336
1926
  {
2337
1927
  name: 'mcp__agentic_qe__visual_validate_accessibility',
2338
- description: 'Validate visual accessibility (color contrast, text size, WCAG)',
1928
+ description: 'Validate visual accessibility (contrast, text size, WCAG)',
2339
1929
  inputSchema: {
2340
1930
  type: 'object',
2341
1931
  properties: {
@@ -2361,9 +1951,10 @@ exports.agenticQETools = [
2361
1951
  required: ['target']
2362
1952
  }
2363
1953
  },
1954
+ // Category: testing | Domain: visual
2364
1955
  {
2365
1956
  name: 'mcp__agentic_qe__visual_detect_regression',
2366
- description: 'Detect visual regressions across component library or pages',
1957
+ description: 'Detect visual regressions across components or pages',
2367
1958
  inputSchema: {
2368
1959
  type: 'object',
2369
1960
  properties: {
@@ -2407,9 +1998,10 @@ exports.agenticQETools = [
2407
1998
  },
2408
1999
  // ==================== Phase 3: New Domain Tools ====================
2409
2000
  // API Contract Domain Tools (3 tools)
2001
+ // Category: advanced | Domain: api
2410
2002
  {
2411
2003
  name: 'mcp__agentic_qe__qe_api_contract_validate',
2412
- description: 'Validate API contract (Pact/OpenAPI/GraphQL) with comprehensive schema and endpoint checking',
2004
+ description: 'Validate API contract (Pact/OpenAPI/GraphQL) with schema & endpoint check',
2413
2005
  inputSchema: {
2414
2006
  type: 'object',
2415
2007
  properties: {
@@ -2463,9 +2055,10 @@ exports.agenticQETools = [
2463
2055
  required: ['contract']
2464
2056
  }
2465
2057
  },
2058
+ // Category: advanced | Domain: api
2466
2059
  {
2467
2060
  name: 'mcp__agentic_qe__qe_api_contract_breaking_changes',
2468
- description: 'Detect breaking changes between API contract versions with semver recommendations',
2061
+ description: 'Detect breaking changes in API contracts with semver recommendations',
2469
2062
  inputSchema: {
2470
2063
  type: 'object',
2471
2064
  properties: {
@@ -2518,9 +2111,10 @@ exports.agenticQETools = [
2518
2111
  required: ['currentContract', 'previousContract']
2519
2112
  }
2520
2113
  },
2114
+ // Category: advanced | Domain: api
2521
2115
  {
2522
2116
  name: 'mcp__agentic_qe__qe_api_contract_versioning',
2523
- description: 'Validate API versioning compatibility matrix with consumer version support',
2117
+ description: 'Validate API versioning compatibility with consumer version support',
2524
2118
  inputSchema: {
2525
2119
  type: 'object',
2526
2120
  properties: {
@@ -2551,6 +2145,7 @@ exports.agenticQETools = [
2551
2145
  }
2552
2146
  },
2553
2147
  // Test Data Domain Tools (3 tools)
2148
+ // Category: advanced | Domain: testdata
2554
2149
  {
2555
2150
  name: 'mcp__agentic_qe__qe_test_data_generate',
2556
2151
  description: 'High-speed realistic test data generation (10k+ records/sec) with referential integrity',
@@ -2599,6 +2194,7 @@ exports.agenticQETools = [
2599
2194
  required: ['schema', 'recordCount']
2600
2195
  }
2601
2196
  },
2197
+ // Category: advanced | Domain: testdata
2602
2198
  {
2603
2199
  name: 'mcp__agentic_qe__qe_test_data_mask',
2604
2200
  description: 'GDPR-compliant data masking with multiple anonymization strategies',
@@ -2670,9 +2266,10 @@ exports.agenticQETools = [
2670
2266
  required: ['data', 'sensitiveFields']
2671
2267
  }
2672
2268
  },
2269
+ // Category: advanced | Domain: testdata
2673
2270
  {
2674
2271
  name: 'mcp__agentic_qe__qe_test_data_analyze_schema',
2675
- description: 'Comprehensive database schema analysis with optimization recommendations',
2272
+ description: 'Comprehensive DB schema analysis with optimization recommendations',
2676
2273
  inputSchema: {
2677
2274
  type: 'object',
2678
2275
  properties: {
@@ -2716,6 +2313,7 @@ exports.agenticQETools = [
2716
2313
  }
2717
2314
  },
2718
2315
  // Regression Domain Tools (2 tools)
2316
+ // Category: advanced | Domain: regression
2719
2317
  {
2720
2318
  name: 'mcp__agentic_qe__qe_regression_analyze_risk',
2721
2319
  description: 'ML-based regression risk analysis with 95%+ accuracy and blast radius assessment',
@@ -2771,9 +2369,10 @@ exports.agenticQETools = [
2771
2369
  required: ['changes']
2772
2370
  }
2773
2371
  },
2372
+ // Category: advanced | Domain: regression
2774
2373
  {
2775
2374
  name: 'mcp__agentic_qe__qe_regression_select_tests',
2776
- description: 'Smart test selection with 70% time reduction using ML and coverage analysis',
2375
+ description: 'Smart test selection with 70% time reduction using ML & coverage',
2777
2376
  inputSchema: {
2778
2377
  type: 'object',
2779
2378
  properties: {
@@ -2849,9 +2448,10 @@ exports.agenticQETools = [
2849
2448
  }
2850
2449
  },
2851
2450
  // Requirements Domain Tools (2 tools)
2451
+ // Category: quality | Domain: requirements
2852
2452
  {
2853
2453
  name: 'mcp__agentic_qe__qe_requirements_validate',
2854
- description: 'INVEST criteria validation with SMART framework analysis and testability scoring',
2454
+ description: 'INVEST validation with SMART analysis & testability scoring',
2855
2455
  inputSchema: {
2856
2456
  type: 'object',
2857
2457
  properties: {
@@ -2910,9 +2510,10 @@ exports.agenticQETools = [
2910
2510
  required: ['requirements']
2911
2511
  }
2912
2512
  },
2513
+ // Category: quality | Domain: requirements
2913
2514
  {
2914
2515
  name: 'mcp__agentic_qe__qe_requirements_generate_bdd',
2915
- description: 'Generate Gherkin/Cucumber BDD scenarios from requirements with data-driven examples',
2516
+ description: 'Generate Gherkin/Cucumber BDD scenarios with data-driven examples',
2916
2517
  inputSchema: {
2917
2518
  type: 'object',
2918
2519
  properties: {
@@ -2978,9 +2579,10 @@ exports.agenticQETools = [
2978
2579
  }
2979
2580
  },
2980
2581
  // Code Quality Domain Tools (2 tools)
2582
+ // Category: quality | Domain: code
2981
2583
  {
2982
2584
  name: 'mcp__agentic_qe__qe_code_quality_complexity',
2983
- description: 'Cyclomatic and cognitive complexity analysis with hotspot detection',
2585
+ description: 'Cyclomatic & cognitive complexity analysis with hotspot detection',
2984
2586
  inputSchema: {
2985
2587
  type: 'object',
2986
2588
  properties: {
@@ -3021,9 +2623,10 @@ exports.agenticQETools = [
3021
2623
  required: ['sourceCode', 'filePath', 'language']
3022
2624
  }
3023
2625
  },
2626
+ // Category: quality | Domain: code
3024
2627
  {
3025
2628
  name: 'mcp__agentic_qe__qe_code_quality_metrics',
3026
- description: 'Calculate maintainability, reliability, and security quality metrics',
2629
+ description: 'Calculate maintainability, reliability, & security metrics',
3027
2630
  inputSchema: {
3028
2631
  type: 'object',
3029
2632
  properties: {
@@ -3072,9 +2675,10 @@ exports.agenticQETools = [
3072
2675
  }
3073
2676
  },
3074
2677
  // Fleet Coordination Domain Tools (2 tools)
2678
+ // Category: advanced | Domain: fleet
3075
2679
  {
3076
2680
  name: 'mcp__agentic_qe__qe_fleet_coordinate',
3077
- description: 'Hierarchical fleet coordination with optimal task distribution and load balancing',
2681
+ description: 'Hierarchical fleet coordination with task distribution & load balancing',
3078
2682
  inputSchema: {
3079
2683
  type: 'object',
3080
2684
  properties: {
@@ -3161,9 +2765,10 @@ exports.agenticQETools = [
3161
2765
  required: ['agentCount', 'topology', 'agentPools', 'workload']
3162
2766
  }
3163
2767
  },
2768
+ // Category: advanced | Domain: fleet
3164
2769
  {
3165
2770
  name: 'mcp__agentic_qe__qe_fleet_agent_status',
3166
- description: 'Real-time agent health monitoring with failure detection and recommendations',
2771
+ description: 'Real-time agent health monitoring with failure detection & recommendations',
3167
2772
  inputSchema: {
3168
2773
  type: 'object',
3169
2774
  properties: {
@@ -3203,9 +2808,14 @@ exports.agenticQETools = [
3203
2808
  }
3204
2809
  },
3205
2810
  // Security Domain Tools (3 tools)
2811
+ // ═════════════════════════════════════════════════════════════════════════════
2812
+ // SECURITY DOMAIN TOOLS
2813
+ // Security scanning, vulnerability detection, compliance
2814
+ // ═════════════════════════════════════════════════════════════════════════════
2815
+ // Category: security | Domain: scanning
3206
2816
  {
3207
2817
  name: 'mcp__agentic_qe__qe_security_scan_comprehensive',
3208
- description: 'Comprehensive security scan with SAST, DAST, dependency checks, and OWASP compliance',
2818
+ description: 'Comprehensive security scan with SAST, DAST, dependencies, & OWASP',
3209
2819
  inputSchema: {
3210
2820
  type: 'object',
3211
2821
  properties: {
@@ -3239,9 +2849,10 @@ exports.agenticQETools = [
3239
2849
  required: ['target']
3240
2850
  }
3241
2851
  },
2852
+ // Category: security | Domain: detection
3242
2853
  {
3243
2854
  name: 'mcp__agentic_qe__qe_security_detect_vulnerabilities',
3244
- description: 'Detect and classify vulnerabilities using ML-based analysis with CVE database',
2855
+ description: 'Detect & classify vulnerabilities using ML analysis with CVE database',
3245
2856
  inputSchema: {
3246
2857
  type: 'object',
3247
2858
  properties: {
@@ -3280,9 +2891,10 @@ exports.agenticQETools = [
3280
2891
  required: ['sourceCode']
3281
2892
  }
3282
2893
  },
2894
+ // Category: security | Domain: compliance
3283
2895
  {
3284
2896
  name: 'mcp__agentic_qe__qe_security_validate_compliance',
3285
- description: 'Validate compliance against security standards (OWASP, CWE, SANS, ISO 27001)',
2897
+ description: 'Validate compliance with security standards (OWASP, CWE, SANS, ISO)',
3286
2898
  inputSchema: {
3287
2899
  type: 'object',
3288
2900
  properties: {
@@ -3318,9 +2930,10 @@ exports.agenticQETools = [
3318
2930
  }
3319
2931
  },
3320
2932
  // Test-Generation Domain Tools (4 tools)
2933
+ // Category: advanced | Domain: testgen
3321
2934
  {
3322
2935
  name: 'mcp__agentic_qe__qe_testgen_generate_unit',
3323
- description: 'AI-powered unit test generation with pattern recognition and mock generation',
2936
+ description: 'AI unit test generation with pattern recognition & mock generation',
3324
2937
  inputSchema: {
3325
2938
  type: 'object',
3326
2939
  properties: {
@@ -3361,9 +2974,10 @@ exports.agenticQETools = [
3361
2974
  required: ['sourceCode', 'language']
3362
2975
  }
3363
2976
  },
2977
+ // Category: advanced | Domain: testgen
3364
2978
  {
3365
2979
  name: 'mcp__agentic_qe__qe_testgen_generate_integration',
3366
- description: 'Integration test generation with dependency mocking and contract testing',
2980
+ description: 'Integration test generation with dependency mocking & contract testing',
3367
2981
  inputSchema: {
3368
2982
  type: 'object',
3369
2983
  properties: {
@@ -3410,9 +3024,10 @@ exports.agenticQETools = [
3410
3024
  required: ['sourceCode', 'language', 'integrationPoints']
3411
3025
  }
3412
3026
  },
3027
+ // Category: advanced | Domain: testgen
3413
3028
  {
3414
3029
  name: 'mcp__agentic_qe__qe_testgen_optimize_suite',
3415
- description: 'Optimize test suite using sublinear algorithms (Johnson-Lindenstrauss, temporal advantage)',
3030
+ description: 'Optimize test suite using sublinear algorithms (JL, temporal advantage)',
3416
3031
  inputSchema: {
3417
3032
  type: 'object',
3418
3033
  properties: {
@@ -3459,9 +3074,10 @@ exports.agenticQETools = [
3459
3074
  required: ['tests']
3460
3075
  }
3461
3076
  },
3077
+ // Category: advanced | Domain: testgen
3462
3078
  {
3463
3079
  name: 'mcp__agentic_qe__qe_testgen_analyze_quality',
3464
- description: 'Analyze test quality with pattern detection, anti-patterns, and maintainability metrics',
3080
+ description: 'Analyze test quality with pattern detection, anti-patterns, & maintainability',
3465
3081
  inputSchema: {
3466
3082
  type: 'object',
3467
3083
  properties: {
@@ -3504,9 +3120,14 @@ exports.agenticQETools = [
3504
3120
  }
3505
3121
  },
3506
3122
  // Quality-Gates Domain Tools (4 tools)
3123
+ // ═════════════════════════════════════════════════════════════════════════════
3124
+ // QUALITY DOMAIN TOOLS
3125
+ // Quality gates, metrics, code quality, requirements
3126
+ // ═════════════════════════════════════════════════════════════════════════════
3127
+ // Category: quality | Domain: gates
3507
3128
  {
3508
3129
  name: 'mcp__agentic_qe__qe_qualitygate_evaluate',
3509
- description: 'Evaluate quality gate with multi-factor decision trees and policy enforcement',
3130
+ description: 'Evaluate quality gate with multi-factor decisions & policy enforcement',
3510
3131
  inputSchema: {
3511
3132
  type: 'object',
3512
3133
  properties: {
@@ -3546,9 +3167,10 @@ exports.agenticQETools = [
3546
3167
  required: ['projectId', 'buildId', 'environment', 'metrics']
3547
3168
  }
3548
3169
  },
3170
+ // Category: quality | Domain: gates
3549
3171
  {
3550
3172
  name: 'mcp__agentic_qe__qe_qualitygate_assess_risk',
3551
- description: 'Assess deployment risk with historical analysis and ML prediction',
3173
+ description: 'Assess deployment risk with historical analysis & ML prediction',
3552
3174
  inputSchema: {
3553
3175
  type: 'object',
3554
3176
  properties: {
@@ -3588,6 +3210,7 @@ exports.agenticQETools = [
3588
3210
  required: ['deployment', 'metrics']
3589
3211
  }
3590
3212
  },
3213
+ // Category: quality | Domain: gates
3591
3214
  {
3592
3215
  name: 'mcp__agentic_qe__qe_qualitygate_validate_metrics',
3593
3216
  description: 'Validate quality metrics against standards with anomaly detection',
@@ -3629,6 +3252,7 @@ exports.agenticQETools = [
3629
3252
  required: ['metrics']
3630
3253
  }
3631
3254
  },
3255
+ // Category: quality | Domain: gates
3632
3256
  {
3633
3257
  name: 'mcp__agentic_qe__qe_qualitygate_generate_report',
3634
3258
  description: 'Generate comprehensive quality report with trends, risks, and actionable recommendations',
@@ -3681,6 +3305,7 @@ exports.agenticQETools = [
3681
3305
  }
3682
3306
  },
3683
3307
  // Phase 6: Learning Service Tools (Hybrid Approach - Option C)
3308
+ // Category: advanced | Domain: learning
3684
3309
  {
3685
3310
  name: 'mcp__agentic_qe__learning_store_experience',
3686
3311
  description: 'Store a learning experience for an agent (reward, outcome, task execution details). Enables learning persistence with Claude Code Task tool.',
@@ -3717,6 +3342,7 @@ exports.agenticQETools = [
3717
3342
  required: ['agentId', 'taskType', 'reward', 'outcome']
3718
3343
  }
3719
3344
  },
3345
+ // Category: advanced | Domain: learning
3720
3346
  {
3721
3347
  name: 'mcp__agentic_qe__learning_store_qvalue',
3722
3348
  description: 'Store or update a Q-value for a state-action pair. Q-values represent expected reward for taking a specific action in a given state.',
@@ -3752,6 +3378,7 @@ exports.agenticQETools = [
3752
3378
  required: ['agentId', 'stateKey', 'actionKey', 'qValue']
3753
3379
  }
3754
3380
  },
3381
+ // Category: advanced | Domain: learning
3755
3382
  {
3756
3383
  name: 'mcp__agentic_qe__learning_store_pattern',
3757
3384
  description: 'Store a successful pattern for an agent. Patterns capture proven approaches, strategies, and techniques that worked well and should be reused.',
@@ -3798,6 +3425,7 @@ exports.agenticQETools = [
3798
3425
  required: ['pattern', 'confidence']
3799
3426
  }
3800
3427
  },
3428
+ // Category: advanced | Domain: learning
3801
3429
  {
3802
3430
  name: 'mcp__agentic_qe__learning_query',
3803
3431
  description: 'Query learning data (experiences, Q-values, patterns) for an agent. Supports filtering by agent ID, task type, time range, and minimum reward.',
@@ -3859,16 +3487,13 @@ exports.agenticQETools = [
3859
3487
  * Export tool names for easy reference
3860
3488
  */
3861
3489
  exports.TOOL_NAMES = {
3490
+ // Core Fleet Tools
3862
3491
  FLEET_INIT: 'mcp__agentic_qe__fleet_init',
3863
3492
  AGENT_SPAWN: 'mcp__agentic_qe__agent_spawn',
3864
- TEST_GENERATE: 'mcp__agentic_qe__test_generate',
3865
- TEST_EXECUTE: 'mcp__agentic_qe__test_execute',
3866
- QUALITY_ANALYZE: 'mcp__agentic_qe__quality_analyze',
3867
- PREDICT_DEFECTS: 'mcp__agentic_qe__predict_defects',
3868
3493
  FLEET_STATUS: 'mcp__agentic_qe__fleet_status',
3869
3494
  TASK_ORCHESTRATE: 'mcp__agentic_qe__task_orchestrate',
3870
- OPTIMIZE_TESTS: 'mcp__agentic_qe__optimize_tests',
3871
- // Enhanced test tools
3495
+ // Test tools (use enhanced versions)
3496
+ TEST_EXECUTE: 'mcp__agentic_qe__test_execute',
3872
3497
  TEST_GENERATE_ENHANCED: 'mcp__agentic_qe__test_generate_enhanced',
3873
3498
  TEST_EXECUTE_PARALLEL: 'mcp__agentic_qe__test_execute_parallel',
3874
3499
  TEST_OPTIMIZE_SUBLINEAR: 'mcp__agentic_qe__test_optimize_sublinear',
@@ -3893,27 +3518,17 @@ exports.TOOL_NAMES = {
3893
3518
  TASK_STATUS: 'mcp__agentic_qe__task_status',
3894
3519
  EVENT_EMIT: 'mcp__agentic_qe__event_emit',
3895
3520
  EVENT_SUBSCRIBE: 'mcp__agentic_qe__event_subscribe',
3896
- // Quality gate tools
3897
- QUALITY_GATE_EXECUTE: 'mcp__agentic_qe__quality_gate_execute',
3898
- QUALITY_VALIDATE_METRICS: 'mcp__agentic_qe__quality_validate_metrics',
3899
- QUALITY_RISK_ASSESS: 'mcp__agentic_qe__quality_risk_assess',
3900
- QUALITY_DECISION_MAKE: 'mcp__agentic_qe__quality_decision_make',
3901
- QUALITY_POLICY_CHECK: 'mcp__agentic_qe__quality_policy_check',
3902
3521
  // Prediction and analysis tools
3903
3522
  FLAKY_TEST_DETECT: 'mcp__agentic_qe__flaky_test_detect',
3904
3523
  PREDICT_DEFECTS_AI: 'mcp__agentic_qe__predict_defects_ai',
3905
- REGRESSION_RISK_ANALYZE: 'mcp__agentic_qe__regression_risk_analyze',
3906
3524
  VISUAL_TEST_REGRESSION: 'mcp__agentic_qe__visual_test_regression',
3907
3525
  DEPLOYMENT_READINESS_CHECK: 'mcp__agentic_qe__deployment_readiness_check',
3908
- // Analysis tools
3526
+ // Analysis tools (use Phase 3 domain tools for enhanced versions)
3909
3527
  COVERAGE_ANALYZE_SUBLINEAR: 'mcp__agentic_qe__coverage_analyze_sublinear',
3910
3528
  COVERAGE_GAPS_DETECT: 'mcp__agentic_qe__coverage_gaps_detect',
3911
- PERFORMANCE_BENCHMARK_RUN: 'mcp__agentic_qe__performance_benchmark_run',
3912
3529
  PERFORMANCE_MONITOR_REALTIME: 'mcp__agentic_qe__performance_monitor_realtime',
3913
3530
  SECURITY_SCAN_COMPREHENSIVE: 'mcp__agentic_qe__security_scan_comprehensive',
3914
- // Advanced tools
3915
- REQUIREMENTS_VALIDATE: 'mcp__agentic_qe__requirements_validate',
3916
- REQUIREMENTS_GENERATE_BDD: 'mcp__agentic_qe__requirements_generate_bdd',
3531
+ // Advanced tools (use QE_REQUIREMENTS_* for validation)
3917
3532
  PRODUCTION_INCIDENT_REPLAY: 'mcp__agentic_qe__production_incident_replay',
3918
3533
  PRODUCTION_RUM_ANALYZE: 'mcp__agentic_qe__production_rum_analyze',
3919
3534
  API_BREAKING_CHANGES: 'mcp__agentic_qe__api_breaking_changes',
@@ -3956,13 +3571,8 @@ exports.TOOL_NAMES = {
3956
3571
  PERFORMANCE_ANALYZE_BOTTLENECKS: 'mcp__agentic_qe__performance_analyze_bottlenecks',
3957
3572
  PERFORMANCE_GENERATE_REPORT: 'mcp__agentic_qe__performance_generate_report',
3958
3573
  PERFORMANCE_RUN_BENCHMARK: 'mcp__agentic_qe__performance_run_benchmark',
3959
- PERFORMANCE_MONITOR_REALTIME_PHASE3: 'mcp__agentic_qe__performance_monitor_realtime', // Note: Duplicate name, keeping both for compatibility
3960
- // Security
3961
- SECURITY_VALIDATE_AUTH: 'mcp__agentic_qe__security_validate_auth',
3962
- SECURITY_CHECK_AUTHZ: 'mcp__agentic_qe__security_check_authz',
3963
- SECURITY_SCAN_DEPENDENCIES: 'mcp__agentic_qe__security_scan_dependencies',
3574
+ // Security (use QE_SECURITY_* for comprehensive scanning)
3964
3575
  SECURITY_GENERATE_REPORT: 'mcp__agentic_qe__security_generate_report',
3965
- SECURITY_SCAN_COMPREHENSIVE_PHASE3: 'mcp__agentic_qe__security_scan_comprehensive', // Note: Duplicate name, keeping both for compatibility
3966
3576
  // Visual Testing
3967
3577
  VISUAL_COMPARE_SCREENSHOTS: 'mcp__agentic_qe__visual_compare_screenshots',
3968
3578
  VISUAL_VALIDATE_ACCESSIBILITY: 'mcp__agentic_qe__visual_validate_accessibility',
@@ -4001,6 +3611,9 @@ exports.TOOL_NAMES = {
4001
3611
  QE_CODEQUALITY_METRICS: 'mcp__agentic_qe__qe_codequality_metrics',
4002
3612
  // Fleet Management Domain (2 tools)
4003
3613
  QE_FLEET_COORDINATE: 'mcp__agentic_qe__qe_fleet_coordinate',
4004
- QE_FLEET_STATUS: 'mcp__agentic_qe__qe_fleet_status'
3614
+ QE_FLEET_STATUS: 'mcp__agentic_qe__qe_fleet_status',
3615
+ // Meta Tools (Phase 2 - Hierarchical Lazy Loading)
3616
+ TOOLS_DISCOVER: 'mcp__agentic_qe__tools_discover',
3617
+ TOOLS_LOAD_DOMAIN: 'mcp__agentic_qe__tools_load_domain'
4005
3618
  };
4006
3619
  //# sourceMappingURL=tools.js.map