agentic-qe 1.9.2 → 1.9.4

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 (120) hide show
  1. package/.claude/helpers/checkpoint-manager.sh +251 -0
  2. package/.claude/helpers/github-safe.js +106 -0
  3. package/.claude/helpers/github-setup.sh +28 -0
  4. package/.claude/helpers/quick-start.sh +19 -0
  5. package/.claude/helpers/setup-mcp.sh +18 -0
  6. package/.claude/helpers/standard-checkpoint-hooks.sh +179 -0
  7. package/CHANGELOG.md +69 -0
  8. package/README.md +46 -5
  9. package/config/.env.otel.example +25 -0
  10. package/config/OTEL-QUICK-REFERENCE.md +137 -0
  11. package/config/README-OTEL.md +222 -0
  12. package/config/alerting-rules.yml +518 -0
  13. package/config/docker-compose.otel.yml +187 -0
  14. package/config/grafana/dashboards/agentic-qe-overview.json +286 -0
  15. package/config/grafana/provisioning/dashboards/dashboards.yml +19 -0
  16. package/config/grafana/provisioning/datasources/datasources.yml +53 -0
  17. package/config/otel-collector-config.yaml.example +145 -0
  18. package/config/prometheus.yml.example +106 -0
  19. package/dist/alerting/AlertManager.d.ts +120 -0
  20. package/dist/alerting/AlertManager.d.ts.map +1 -0
  21. package/dist/alerting/AlertManager.js +345 -0
  22. package/dist/alerting/AlertManager.js.map +1 -0
  23. package/dist/alerting/FeedbackRouter.d.ts +98 -0
  24. package/dist/alerting/FeedbackRouter.d.ts.map +1 -0
  25. package/dist/alerting/FeedbackRouter.js +331 -0
  26. package/dist/alerting/FeedbackRouter.js.map +1 -0
  27. package/dist/alerting/StrategyApplicator.d.ts +120 -0
  28. package/dist/alerting/StrategyApplicator.d.ts.map +1 -0
  29. package/dist/alerting/StrategyApplicator.js +299 -0
  30. package/dist/alerting/StrategyApplicator.js.map +1 -0
  31. package/dist/alerting/index.d.ts +68 -0
  32. package/dist/alerting/index.d.ts.map +1 -0
  33. package/dist/alerting/index.js +112 -0
  34. package/dist/alerting/index.js.map +1 -0
  35. package/dist/alerting/types.d.ts +118 -0
  36. package/dist/alerting/types.d.ts.map +1 -0
  37. package/dist/alerting/types.js +11 -0
  38. package/dist/alerting/types.js.map +1 -0
  39. package/dist/cli/init/claude-config.d.ts.map +1 -1
  40. package/dist/cli/init/claude-config.js +12 -7
  41. package/dist/cli/init/claude-config.js.map +1 -1
  42. package/dist/core/memory/IPatternStore.d.ts +209 -0
  43. package/dist/core/memory/IPatternStore.d.ts.map +1 -0
  44. package/dist/core/memory/IPatternStore.js +15 -0
  45. package/dist/core/memory/IPatternStore.js.map +1 -0
  46. package/dist/core/memory/MigrationTools.d.ts +192 -0
  47. package/dist/core/memory/MigrationTools.d.ts.map +1 -0
  48. package/dist/core/memory/MigrationTools.js +615 -0
  49. package/dist/core/memory/MigrationTools.js.map +1 -0
  50. package/dist/core/memory/NeuralEnhancement.d.ts +154 -0
  51. package/dist/core/memory/NeuralEnhancement.d.ts.map +1 -0
  52. package/dist/core/memory/NeuralEnhancement.js +598 -0
  53. package/dist/core/memory/NeuralEnhancement.js.map +1 -0
  54. package/dist/core/memory/PatternStoreFactory.d.ts +143 -0
  55. package/dist/core/memory/PatternStoreFactory.d.ts.map +1 -0
  56. package/dist/core/memory/PatternStoreFactory.js +370 -0
  57. package/dist/core/memory/PatternStoreFactory.js.map +1 -0
  58. package/dist/core/memory/RealAgentDBAdapter.d.ts +1 -0
  59. package/dist/core/memory/RealAgentDBAdapter.d.ts.map +1 -1
  60. package/dist/core/memory/RealAgentDBAdapter.js +28 -20
  61. package/dist/core/memory/RealAgentDBAdapter.js.map +1 -1
  62. package/dist/core/memory/RuVectorPatternStore.d.ts +198 -0
  63. package/dist/core/memory/RuVectorPatternStore.d.ts.map +1 -0
  64. package/dist/core/memory/RuVectorPatternStore.js +605 -0
  65. package/dist/core/memory/RuVectorPatternStore.js.map +1 -0
  66. package/dist/core/memory/SelfHealingMonitor.d.ts +186 -0
  67. package/dist/core/memory/SelfHealingMonitor.d.ts.map +1 -0
  68. package/dist/core/memory/SelfHealingMonitor.js +451 -0
  69. package/dist/core/memory/SelfHealingMonitor.js.map +1 -0
  70. package/dist/core/memory/SwarmMemoryManager.d.ts +62 -0
  71. package/dist/core/memory/SwarmMemoryManager.d.ts.map +1 -1
  72. package/dist/core/memory/SwarmMemoryManager.js +97 -0
  73. package/dist/core/memory/SwarmMemoryManager.js.map +1 -1
  74. package/dist/core/memory/index.d.ts +11 -0
  75. package/dist/core/memory/index.d.ts.map +1 -1
  76. package/dist/core/memory/index.js +36 -1
  77. package/dist/core/memory/index.js.map +1 -1
  78. package/dist/reasoning/RuVectorReasoningAdapter.d.ts +232 -0
  79. package/dist/reasoning/RuVectorReasoningAdapter.d.ts.map +1 -0
  80. package/dist/reasoning/RuVectorReasoningAdapter.js +585 -0
  81. package/dist/reasoning/RuVectorReasoningAdapter.js.map +1 -0
  82. package/dist/reasoning/index.d.ts +2 -0
  83. package/dist/reasoning/index.d.ts.map +1 -1
  84. package/dist/reasoning/index.js +6 -1
  85. package/dist/reasoning/index.js.map +1 -1
  86. package/dist/reporting/ResultAggregator.d.ts +107 -0
  87. package/dist/reporting/ResultAggregator.d.ts.map +1 -0
  88. package/dist/reporting/ResultAggregator.js +435 -0
  89. package/dist/reporting/ResultAggregator.js.map +1 -0
  90. package/dist/reporting/index.d.ts +48 -0
  91. package/dist/reporting/index.d.ts.map +1 -0
  92. package/dist/reporting/index.js +154 -0
  93. package/dist/reporting/index.js.map +1 -0
  94. package/dist/reporting/reporters/ControlLoopReporter.d.ts +128 -0
  95. package/dist/reporting/reporters/ControlLoopReporter.d.ts.map +1 -0
  96. package/dist/reporting/reporters/ControlLoopReporter.js +417 -0
  97. package/dist/reporting/reporters/ControlLoopReporter.js.map +1 -0
  98. package/dist/reporting/reporters/HumanReadableReporter.d.ts +140 -0
  99. package/dist/reporting/reporters/HumanReadableReporter.d.ts.map +1 -0
  100. package/dist/reporting/reporters/HumanReadableReporter.js +524 -0
  101. package/dist/reporting/reporters/HumanReadableReporter.js.map +1 -0
  102. package/dist/reporting/reporters/JSONReporter.d.ts +193 -0
  103. package/dist/reporting/reporters/JSONReporter.d.ts.map +1 -0
  104. package/dist/reporting/reporters/JSONReporter.js +324 -0
  105. package/dist/reporting/reporters/JSONReporter.js.map +1 -0
  106. package/dist/reporting/reporters/index.d.ts +14 -0
  107. package/dist/reporting/reporters/index.d.ts.map +1 -0
  108. package/dist/reporting/reporters/index.js +19 -0
  109. package/dist/reporting/reporters/index.js.map +1 -0
  110. package/dist/reporting/types.d.ts +427 -0
  111. package/dist/reporting/types.d.ts.map +1 -0
  112. package/dist/reporting/types.js +12 -0
  113. package/dist/reporting/types.js.map +1 -0
  114. package/docs/README.md +839 -0
  115. package/docs/reference/agents.md +412 -0
  116. package/docs/reference/skills.md +796 -0
  117. package/docs/reference/usage.md +512 -0
  118. package/package.json +12 -1
  119. package/templates/agent-code-execution-template.md +619 -0
  120. package/templates/aqe.sh +20 -0
@@ -0,0 +1,412 @@
1
+ # Agentic QE Fleet - Agent Reference
2
+
3
+ This document provides comprehensive reference for all 18 QE agents in the Agentic Quality Engineering Fleet.
4
+
5
+ ## Overview
6
+
7
+ The Agentic QE Fleet is a distributed swarm of AI agents for comprehensive software testing and quality assurance. Each agent specializes in specific quality engineering tasks and coordinates through the `aqe/*` memory namespace.
8
+
9
+ ---
10
+
11
+ ## Core Testing Agents (5 agents)
12
+
13
+ ### qe-test-generator
14
+ **AI-powered test generation with sublinear optimization**
15
+
16
+ **Capabilities:**
17
+ - Generates unit, integration, and E2E tests
18
+ - Supports Jest, Mocha, Vitest, Playwright
19
+ - Sublinear optimization algorithms for test selection
20
+ - Property-based testing generation
21
+ - Edge case discovery
22
+
23
+ **Usage:**
24
+ ```javascript
25
+ Task("Generate tests", "Create comprehensive test suite for UserService", "qe-test-generator")
26
+ ```
27
+
28
+ **Memory Namespace:**
29
+ - Stores: `aqe/test-plan/generated`
30
+ - Reads: `aqe/coverage/gaps`
31
+
32
+ ---
33
+
34
+ ### qe-test-executor
35
+ **Multi-framework test execution with parallel processing**
36
+
37
+ **Capabilities:**
38
+ - Executes tests across multiple frameworks
39
+ - Parallel test execution with worker pools
40
+ - Real-time progress streaming
41
+ - Test retry logic for flaky tests
42
+ - Coverage collection
43
+
44
+ **Usage:**
45
+ ```javascript
46
+ Task("Execute tests", "Run test plan with 90% coverage target", "qe-test-executor")
47
+ ```
48
+
49
+ **Memory Namespace:**
50
+ - Stores: `aqe/test-results/*`
51
+ - Reads: `aqe/test-plan/generated`
52
+
53
+ ---
54
+
55
+ ### qe-coverage-analyzer
56
+ **Real-time gap detection with O(log n) algorithms**
57
+
58
+ **Capabilities:**
59
+ - Incremental coverage analysis
60
+ - Sublinear gap detection algorithms
61
+ - Critical path identification
62
+ - Coverage visualization
63
+ - Untested code hotspot detection
64
+
65
+ **Usage:**
66
+ ```javascript
67
+ Task("Analyze coverage", "Find gaps using O(log n) algorithms", "qe-coverage-analyzer")
68
+ ```
69
+
70
+ **Memory Namespace:**
71
+ - Stores: `aqe/coverage/gaps`, `aqe/coverage/results`
72
+ - Reads: `aqe/test-results/*`
73
+
74
+ ---
75
+
76
+ ### qe-quality-gate
77
+ **Intelligent quality gate with risk assessment**
78
+
79
+ **Capabilities:**
80
+ - Multi-factor risk assessment
81
+ - Customizable quality thresholds
82
+ - Trend analysis
83
+ - Deployment readiness scoring
84
+ - Automated go/no-go decisions
85
+
86
+ **Usage:**
87
+ ```javascript
88
+ Task("Quality check", "Run quality gate validation", "qe-quality-gate")
89
+ ```
90
+
91
+ **Memory Namespace:**
92
+ - Stores: `aqe/quality/gate-results`
93
+ - Reads: `aqe/coverage/results`, `aqe/test-results/*`
94
+
95
+ ---
96
+
97
+ ### qe-quality-analyzer
98
+ **Comprehensive quality metrics analysis**
99
+
100
+ **Capabilities:**
101
+ - Quality metrics collection and analysis
102
+ - Trend detection and prediction
103
+ - Technical debt calculation
104
+ - Code health scoring
105
+ - Actionable insights generation
106
+
107
+ **Usage:**
108
+ ```javascript
109
+ Task("Quality analysis", "Analyze project quality metrics", "qe-quality-analyzer")
110
+ ```
111
+
112
+ **Memory Namespace:**
113
+ - Stores: `aqe/quality/metrics`
114
+ - Reads: `aqe/quality/*`, `aqe/test-results/*`
115
+
116
+ ---
117
+
118
+ ## Performance & Security Agents (2 agents)
119
+
120
+ ### qe-performance-tester
121
+ **Load testing with k6, JMeter, Gatling integration**
122
+
123
+ **Capabilities:**
124
+ - Load, stress, and spike testing
125
+ - Performance baseline establishment
126
+ - Bottleneck identification
127
+ - SLA validation
128
+ - Multi-tool integration (k6, JMeter, Gatling)
129
+
130
+ **Usage:**
131
+ ```javascript
132
+ Task("Performance test", "Load test critical paths with 1000 concurrent users", "qe-performance-tester")
133
+ ```
134
+
135
+ **Memory Namespace:**
136
+ - Stores: `aqe/performance/results`
137
+ - Reads: `aqe/test-plan/*`
138
+
139
+ ---
140
+
141
+ ### qe-security-scanner
142
+ **Multi-layer security with SAST/DAST scanning**
143
+
144
+ **Capabilities:**
145
+ - SAST (Static Application Security Testing)
146
+ - DAST (Dynamic Application Security Testing)
147
+ - Dependency vulnerability scanning
148
+ - OWASP Top 10 validation
149
+ - Security compliance checking
150
+
151
+ **Usage:**
152
+ ```javascript
153
+ Task("Security scan", "Run comprehensive security checks", "qe-security-scanner")
154
+ ```
155
+
156
+ **Memory Namespace:**
157
+ - Stores: `aqe/security/findings`
158
+ - Reads: `aqe/test-plan/*`
159
+
160
+ ---
161
+
162
+ ## Strategic Planning Agents (3 agents)
163
+
164
+ ### qe-requirements-validator
165
+ **INVEST criteria validation and BDD generation**
166
+
167
+ **Capabilities:**
168
+ - Requirements testability analysis
169
+ - INVEST criteria validation
170
+ - BDD scenario generation (Gherkin)
171
+ - Acceptance criteria validation
172
+ - Requirements ambiguity detection
173
+
174
+ **Usage:**
175
+ ```javascript
176
+ Task("Validate requirements", "Check testability and generate BDD scenarios", "qe-requirements-validator")
177
+ ```
178
+
179
+ **Memory Namespace:**
180
+ - Stores: `aqe/requirements/validated`
181
+ - Reads: `aqe/test-plan/*`
182
+
183
+ ---
184
+
185
+ ### qe-production-intelligence
186
+ **Production data to test scenarios conversion**
187
+
188
+ **Capabilities:**
189
+ - Production incident replay
190
+ - RUM (Real User Monitoring) analysis
191
+ - Log-based test generation
192
+ - Production pattern extraction
193
+ - Edge case discovery from production
194
+
195
+ **Usage:**
196
+ ```javascript
197
+ Task("Production intelligence", "Convert production incidents to test scenarios", "qe-production-intelligence")
198
+ ```
199
+
200
+ **Memory Namespace:**
201
+ - Stores: `aqe/production/insights`
202
+ - Reads: Production logs, incident data
203
+
204
+ ---
205
+
206
+ ### qe-fleet-commander
207
+ **Hierarchical fleet coordination (50+ agents)**
208
+
209
+ **Capabilities:**
210
+ - Multi-agent orchestration
211
+ - Resource allocation
212
+ - Task decomposition and distribution
213
+ - Agent performance monitoring
214
+ - Coordination topology optimization
215
+
216
+ **Usage:**
217
+ ```javascript
218
+ Task("Fleet coordination", "Orchestrate 20 agents for comprehensive testing", "qe-fleet-commander")
219
+ ```
220
+
221
+ **Memory Namespace:**
222
+ - Stores: `aqe/swarm/coordination`
223
+ - Reads: All `aqe/*` namespaces
224
+
225
+ ---
226
+
227
+ ## Deployment Agent (1 agent)
228
+
229
+ ### qe-deployment-readiness
230
+ **Multi-factor risk assessment for deployments**
231
+
232
+ **Capabilities:**
233
+ - Deployment risk scoring
234
+ - Rollback plan validation
235
+ - Production readiness checklist
236
+ - Release notes generation
237
+ - Deployment window optimization
238
+
239
+ **Usage:**
240
+ ```javascript
241
+ Task("Deployment check", "Assess deployment readiness", "qe-deployment-readiness")
242
+ ```
243
+
244
+ **Memory Namespace:**
245
+ - Stores: `aqe/deployment/readiness`
246
+ - Reads: `aqe/quality/*`, `aqe/test-results/*`
247
+
248
+ ---
249
+
250
+ ## Advanced Testing Agents (4 agents)
251
+
252
+ ### qe-regression-risk-analyzer
253
+ **Smart test selection with ML patterns**
254
+
255
+ **Capabilities:**
256
+ - Change impact analysis
257
+ - Intelligent test selection
258
+ - Regression risk prediction
259
+ - Test prioritization
260
+ - Historical failure pattern analysis
261
+
262
+ **Usage:**
263
+ ```javascript
264
+ Task("Regression analysis", "Select minimal test suite for code changes", "qe-regression-risk-analyzer")
265
+ ```
266
+
267
+ **Memory Namespace:**
268
+ - Stores: `aqe/regression/risk-analysis`
269
+ - Reads: `aqe/test-results/*`, learning patterns
270
+
271
+ ---
272
+
273
+ ### qe-test-data-architect
274
+ **High-speed realistic data generation (10k+ records/sec)**
275
+
276
+ **Capabilities:**
277
+ - Schema-aware data generation
278
+ - Relationship preservation
279
+ - Edge case coverage
280
+ - GDPR-compliant data masking
281
+ - High-performance generation (10k+ records/sec)
282
+
283
+ **Usage:**
284
+ ```javascript
285
+ Task("Generate test data", "Create 10k realistic user records", "qe-test-data-architect")
286
+ ```
287
+
288
+ **Memory Namespace:**
289
+ - Stores: `aqe/test-data/generated`
290
+ - Reads: Database schemas
291
+
292
+ ---
293
+
294
+ ### qe-api-contract-validator
295
+ **Breaking change detection across API versions**
296
+
297
+ **Capabilities:**
298
+ - API contract validation
299
+ - Breaking change detection
300
+ - Backward compatibility verification
301
+ - OpenAPI/Swagger validation
302
+ - Consumer-driven contract testing
303
+
304
+ **Usage:**
305
+ ```javascript
306
+ Task("Validate API contracts", "Check for breaking changes", "qe-api-contract-validator")
307
+ ```
308
+
309
+ **Memory Namespace:**
310
+ - Stores: `aqe/api/contract-validation`
311
+ - Reads: API specifications
312
+
313
+ ---
314
+
315
+ ### qe-flaky-test-hunter
316
+ **Statistical flakiness detection and auto-stabilization**
317
+
318
+ **Capabilities:**
319
+ - Flaky test detection with ML
320
+ - Root cause analysis
321
+ - Auto-stabilization strategies
322
+ - Statistical significance testing
323
+ - Retry policy optimization
324
+
325
+ **Usage:**
326
+ ```javascript
327
+ Task("Hunt flaky tests", "Detect and stabilize flaky tests", "qe-flaky-test-hunter")
328
+ ```
329
+
330
+ **Memory Namespace:**
331
+ - Stores: `aqe/flaky-tests/detected`
332
+ - Reads: `aqe/test-results/*`, historical test data
333
+
334
+ ---
335
+
336
+ ## Specialized Agents (2 agents)
337
+
338
+ ### qe-visual-tester
339
+ **Visual regression with AI-powered comparison**
340
+
341
+ **Capabilities:**
342
+ - Screenshot-based visual testing
343
+ - AI-powered image comparison
344
+ - Layout shift detection
345
+ - Accessibility visual validation
346
+ - Cross-browser visual testing
347
+
348
+ **Usage:**
349
+ ```javascript
350
+ Task("Visual testing", "Run visual regression tests", "qe-visual-tester")
351
+ ```
352
+
353
+ **Memory Namespace:**
354
+ - Stores: `aqe/visual/results`
355
+ - Reads: `aqe/test-plan/*`
356
+
357
+ ---
358
+
359
+ ### qe-chaos-engineer
360
+ **Resilience testing with controlled fault injection**
361
+
362
+ **Capabilities:**
363
+ - Controlled fault injection
364
+ - Resilience testing
365
+ - Blast radius management
366
+ - Recovery validation
367
+ - System stability verification
368
+
369
+ **Usage:**
370
+ ```javascript
371
+ Task("Chaos testing", "Test system resilience with controlled failures", "qe-chaos-engineer")
372
+ ```
373
+
374
+ **Memory Namespace:**
375
+ - Stores: `aqe/chaos/results`
376
+ - Reads: `aqe/test-plan/*`
377
+
378
+ ---
379
+
380
+ ## Agent Coordination
381
+
382
+ All agents coordinate through the **`aqe/*` memory namespace**:
383
+
384
+ - `aqe/test-plan/*` - Test planning and requirements
385
+ - `aqe/coverage/*` - Coverage analysis and gaps
386
+ - `aqe/quality/*` - Quality metrics and gates
387
+ - `aqe/performance/*` - Performance test results
388
+ - `aqe/security/*` - Security scan findings
389
+ - `aqe/swarm/coordination` - Cross-agent coordination
390
+
391
+ ## Parallel Agent Execution
392
+
393
+ Execute multiple agents concurrently for maximum efficiency:
394
+
395
+ ```javascript
396
+ // Execute multiple agents in parallel
397
+ Task("Test Generation", "Generate unit tests", "qe-test-generator")
398
+ Task("Coverage Analysis", "Analyze current coverage", "qe-coverage-analyzer")
399
+ Task("Security Scan", "Run security checks", "qe-security-scanner")
400
+ Task("Performance Test", "Load test critical paths", "qe-performance-tester")
401
+ ```
402
+
403
+ ---
404
+
405
+ **Related Documentation:**
406
+ - [Skills Reference](skills.md) - All 34 QE skills
407
+ - [Usage Guide](usage.md) - Complete usage examples
408
+ - [AQE Hooks](../architecture/AQE-HOOKS.md) - Agent coordination details
409
+
410
+ **Related Policies:**
411
+ - [Release Verification Policy](../policies/release-verification.md)
412
+ - [Test Execution Policy](../policies/test-execution.md)