agentic-qe 2.2.0 β†’ 2.2.1

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 (111) hide show
  1. package/.claude/skills/agentic-quality-engineering/SKILL.md +4 -4
  2. package/.claude/skills/cicd-pipeline-qe-orchestrator/README.md +14 -11
  3. package/.claude/skills/skills-manifest.json +2 -2
  4. package/CHANGELOG.md +15 -0
  5. package/README.md +92 -214
  6. package/dist/agents/BaseAgent.d.ts +5 -1
  7. package/dist/agents/BaseAgent.d.ts.map +1 -1
  8. package/dist/agents/BaseAgent.js +32 -17
  9. package/dist/agents/BaseAgent.js.map +1 -1
  10. package/dist/agents/index.js +3 -3
  11. package/dist/agents/index.js.map +1 -1
  12. package/dist/cli/commands/improve/index.d.ts +8 -1
  13. package/dist/cli/commands/improve/index.d.ts.map +1 -1
  14. package/dist/cli/commands/improve/index.js +18 -16
  15. package/dist/cli/commands/improve/index.js.map +1 -1
  16. package/dist/cli/commands/learn/index.d.ts +10 -2
  17. package/dist/cli/commands/learn/index.d.ts.map +1 -1
  18. package/dist/cli/commands/learn/index.js +99 -63
  19. package/dist/cli/commands/learn/index.js.map +1 -1
  20. package/dist/cli/commands/patterns/index.d.ts +8 -1
  21. package/dist/cli/commands/patterns/index.d.ts.map +1 -1
  22. package/dist/cli/commands/patterns/index.js +79 -45
  23. package/dist/cli/commands/patterns/index.js.map +1 -1
  24. package/dist/cli/commands/routing/index.d.ts +5 -0
  25. package/dist/cli/commands/routing/index.d.ts.map +1 -1
  26. package/dist/cli/commands/routing/index.js +11 -10
  27. package/dist/cli/commands/routing/index.js.map +1 -1
  28. package/dist/cli/init/agents.d.ts +1 -1
  29. package/dist/cli/init/agents.js +2 -2
  30. package/dist/cli/init/database-init.d.ts +7 -0
  31. package/dist/cli/init/database-init.d.ts.map +1 -1
  32. package/dist/cli/init/database-init.js +29 -48
  33. package/dist/cli/init/database-init.js.map +1 -1
  34. package/dist/core/memory/HNSWVectorMemory.d.ts +261 -0
  35. package/dist/core/memory/HNSWVectorMemory.d.ts.map +1 -0
  36. package/dist/core/memory/HNSWVectorMemory.js +647 -0
  37. package/dist/core/memory/HNSWVectorMemory.js.map +1 -0
  38. package/dist/core/memory/SwarmMemoryManager.d.ts +7 -0
  39. package/dist/core/memory/SwarmMemoryManager.d.ts.map +1 -1
  40. package/dist/core/memory/SwarmMemoryManager.js +9 -0
  41. package/dist/core/memory/SwarmMemoryManager.js.map +1 -1
  42. package/dist/core/memory/index.d.ts +2 -0
  43. package/dist/core/memory/index.d.ts.map +1 -1
  44. package/dist/core/memory/index.js +11 -1
  45. package/dist/core/memory/index.js.map +1 -1
  46. package/dist/learning/ExplainableLearning.d.ts +191 -0
  47. package/dist/learning/ExplainableLearning.d.ts.map +1 -0
  48. package/dist/learning/ExplainableLearning.js +441 -0
  49. package/dist/learning/ExplainableLearning.js.map +1 -0
  50. package/dist/learning/GossipPatternSharingProtocol.d.ts +228 -0
  51. package/dist/learning/GossipPatternSharingProtocol.d.ts.map +1 -0
  52. package/dist/learning/GossipPatternSharingProtocol.js +590 -0
  53. package/dist/learning/GossipPatternSharingProtocol.js.map +1 -0
  54. package/dist/learning/LearningEngine.d.ts +4 -4
  55. package/dist/learning/LearningEngine.d.ts.map +1 -1
  56. package/dist/learning/LearningEngine.js +20 -13
  57. package/dist/learning/LearningEngine.js.map +1 -1
  58. package/dist/learning/PerformanceOptimizer.d.ts +268 -0
  59. package/dist/learning/PerformanceOptimizer.d.ts.map +1 -0
  60. package/dist/learning/PerformanceOptimizer.js +552 -0
  61. package/dist/learning/PerformanceOptimizer.js.map +1 -0
  62. package/dist/learning/PrivacyManager.d.ts +197 -0
  63. package/dist/learning/PrivacyManager.d.ts.map +1 -0
  64. package/dist/learning/PrivacyManager.js +551 -0
  65. package/dist/learning/PrivacyManager.js.map +1 -0
  66. package/dist/learning/TransferLearningManager.d.ts +212 -0
  67. package/dist/learning/TransferLearningManager.d.ts.map +1 -0
  68. package/dist/learning/TransferLearningManager.js +497 -0
  69. package/dist/learning/TransferLearningManager.js.map +1 -0
  70. package/dist/learning/algorithms/MAMLMetaLearner.d.ts +218 -0
  71. package/dist/learning/algorithms/MAMLMetaLearner.d.ts.map +1 -0
  72. package/dist/learning/algorithms/MAMLMetaLearner.js +532 -0
  73. package/dist/learning/algorithms/MAMLMetaLearner.js.map +1 -0
  74. package/dist/learning/algorithms/index.d.ts +4 -1
  75. package/dist/learning/algorithms/index.d.ts.map +1 -1
  76. package/dist/learning/algorithms/index.js +7 -1
  77. package/dist/learning/algorithms/index.js.map +1 -1
  78. package/dist/learning/index.d.ts +8 -0
  79. package/dist/learning/index.d.ts.map +1 -1
  80. package/dist/learning/index.js +17 -1
  81. package/dist/learning/index.js.map +1 -1
  82. package/dist/mcp/server-instructions.d.ts +1 -1
  83. package/dist/mcp/server-instructions.js +1 -1
  84. package/dist/providers/HybridRouter.d.ts +217 -0
  85. package/dist/providers/HybridRouter.d.ts.map +1 -0
  86. package/dist/providers/HybridRouter.js +679 -0
  87. package/dist/providers/HybridRouter.js.map +1 -0
  88. package/dist/providers/index.d.ts +1 -0
  89. package/dist/providers/index.d.ts.map +1 -1
  90. package/dist/providers/index.js +7 -1
  91. package/dist/providers/index.js.map +1 -1
  92. package/dist/telemetry/LearningTelemetry.d.ts +190 -0
  93. package/dist/telemetry/LearningTelemetry.d.ts.map +1 -0
  94. package/dist/telemetry/LearningTelemetry.js +403 -0
  95. package/dist/telemetry/LearningTelemetry.js.map +1 -0
  96. package/dist/telemetry/index.d.ts +1 -0
  97. package/dist/telemetry/index.d.ts.map +1 -1
  98. package/dist/telemetry/index.js +20 -2
  99. package/dist/telemetry/index.js.map +1 -1
  100. package/dist/telemetry/instrumentation/agent.d.ts +1 -1
  101. package/dist/telemetry/instrumentation/agent.js +1 -1
  102. package/dist/telemetry/instrumentation/index.d.ts +1 -1
  103. package/dist/telemetry/instrumentation/index.js +1 -1
  104. package/dist/utils/math.d.ts +11 -0
  105. package/dist/utils/math.d.ts.map +1 -0
  106. package/dist/utils/math.js +16 -0
  107. package/dist/utils/math.js.map +1 -0
  108. package/docs/reference/agents.md +1 -1
  109. package/docs/reference/skills.md +3 -3
  110. package/docs/reference/usage.md +4 -4
  111. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: agentic-quality-engineering
3
- description: "AI agents as force multipliers for quality work. Core skill for all 18 QE agents using PACT principles."
3
+ description: "AI agents as force multipliers for quality work. Core skill for all 19 QE agents using PACT principles."
4
4
  category: qe-core
5
5
  priority: critical
6
6
  tokenEstimate: 1400
7
- agents: [qe-test-generator, qe-test-executor, qe-coverage-analyzer, qe-quality-gate, qe-quality-analyzer, qe-performance-tester, qe-security-scanner, qe-requirements-validator, qe-production-intelligence, qe-fleet-commander, qe-deployment-readiness, qe-regression-risk-analyzer, qe-test-data-architect, qe-api-contract-validator, qe-flaky-test-hunter, qe-visual-tester, qe-chaos-engineer, qe-code-complexity]
7
+ agents: [qe-test-generator, qe-test-executor, qe-coverage-analyzer, qe-quality-gate, qe-quality-analyzer, qe-performance-tester, qe-security-scanner, qe-requirements-validator, qe-production-intelligence, qe-fleet-commander, qe-deployment-readiness, qe-regression-risk-analyzer, qe-test-data-architect, qe-api-contract-validator, qe-flaky-test-hunter, qe-visual-tester, qe-chaos-engineer, qe-code-complexity, qx-partner]
8
8
  implementation_status: optimized
9
9
  optimization_version: 1.0
10
10
  last_optimized: 2025-12-02
@@ -53,7 +53,7 @@ When implementing agentic QE or coordinating agents:
53
53
  | **C**ollaborative | Multi-agent coordination | Provide context |
54
54
  | **T**argeted | Risk-based prioritization | Define risk areas |
55
55
 
56
- ### 18-Agent Fleet
56
+ ### 19-Agent Fleet
57
57
  | Category | Agents | Primary Use |
58
58
  |----------|--------|-------------|
59
59
  | Core Testing (5) | test-generator, test-executor, coverage-analyzer, quality-gate, quality-analyzer | Daily testing |
@@ -76,7 +76,7 @@ Sequential: risk-analyzer β†’ test-gen β†’ executor β†’ coverage β†’ gate
76
76
  βœ… Coverage gaps detected in real-time
77
77
  βœ… Bugs caught pre-production
78
78
  ❌ Agents acting without human oversight on critical decisions
79
- ❌ Deploying all 18 agents at once (start with 1-2)
79
+ ❌ Deploying all 19 agents at once (start with 1-2)
80
80
 
81
81
  ---
82
82
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## What is This?
6
6
 
7
- The CI/CD Pipeline QE Orchestrator is an advanced Claude Code skill that provides intelligent, phase-based quality engineering across your entire software delivery pipeline. It intelligently selects from 37 QE skills and coordinates 18 specialized QE agents to ensure holistic quality coverage from commit to production.
7
+ The CI/CD Pipeline QE Orchestrator is an advanced Claude Code skill that provides intelligent, phase-based quality engineering across your entire software delivery pipeline. It intelligently selects from 41 QE skills and coordinates 19 specialized QE agents to ensure holistic quality coverage from commit to production.
8
8
 
9
9
  ## Quick Start
10
10
 
@@ -85,7 +85,7 @@ Automatically selects optimal skills based on:
85
85
 
86
86
  ### πŸ€– Agent Coordination
87
87
 
88
- Orchestrates 18 specialized QE agents:
88
+ Orchestrates 19 specialized QE agents:
89
89
  - Parallel execution for speed
90
90
  - Sequential execution for dependencies
91
91
  - Memory-based coordination via `aqe/*` namespace
@@ -129,9 +129,9 @@ Adapts testing approach based on:
129
129
 
130
130
  ## Integration with AQE Fleet
131
131
 
132
- ### All 37 Skills Available
132
+ ### All 41 Skills Available
133
133
 
134
- The orchestrator can invoke any of the 37 QE skills:
134
+ The orchestrator can invoke any of the 41 QE skills:
135
135
 
136
136
  **Phase 1 Skills (18)**:
137
137
  - Core Testing: agentic-quality-engineering, context-driven-testing, holistic-testing-pact
@@ -145,12 +145,15 @@ The orchestrator can invoke any of the 37 QE skills:
145
145
  - Specialized: accessibility-testing, mobile-testing, database-testing, contract-testing, chaos-engineering-resilience, compatibility-testing, localization-testing, compliance-testing, visual-testing-advanced
146
146
  - Infrastructure: test-environment-management, test-reporting-analytics
147
147
 
148
- **Phase 3 Skills (3)**:
149
- - Strategic: six-thinking-hats, brutal-honesty-review, cicd-pipeline-qe-orchestrator
148
+ **Phase 3 Skills (4)**:
149
+ - Strategic: six-thinking-hats, brutal-honesty-review, sherlock-review, cicd-pipeline-qe-orchestrator
150
150
 
151
- ### All 18 Agents Available
151
+ **Phase 4 Skills (3)**:
152
+ - Advanced: testability-scoring, verification-quality, pair-programming
152
153
 
153
- The orchestrator coordinates all 18 QE agents:
154
+ ### All 19 Agents Available
155
+
156
+ The orchestrator coordinates all 19 QE agents:
154
157
 
155
158
  **Core Testing (5)**: test-generator, test-executor, coverage-analyzer, quality-gate, quality-analyzer
156
159
  **Performance & Security (2)**: performance-tester, security-scanner
@@ -277,8 +280,8 @@ See main SKILL.md [Troubleshooting section](SKILL.md#troubleshooting) for:
277
280
  - [Microservice Pipeline Workflow](resources/workflows/microservice-pipeline.md)
278
281
  - [Monolith Pipeline Workflow](resources/workflows/monolith-pipeline.md)
279
282
  - [Mobile Pipeline Workflow](resources/workflows/mobile-pipeline.md)
280
- - [All 37 QE Skills Reference](https://github.com/proffesor-for-testing/agentic-qe/blob/main/docs/reference/skills.md)
281
- - [All 18 QE Agents Reference](https://github.com/proffesor-for-testing/agentic-qe/blob/main/docs/reference/agents.md)
283
+ - [All 41 QE Skills Reference](https://github.com/proffesor-for-testing/agentic-qe/blob/main/docs/reference/skills.md)
284
+ - [All 19 QE Agents Reference](https://github.com/proffesor-for-testing/agentic-qe/blob/main/docs/reference/agents.md)
282
285
 
283
286
  ## Contributing
284
287
 
@@ -298,4 +301,4 @@ Part of the Agentic QE Fleet - MIT License
298
301
 
299
302
  **Created**: 2025-11-13
300
303
  **Version**: 1.0.0
301
- **Integrations**: 37 QE Skills, 18 QE Agents, All CI/CD platforms
304
+ **Integrations**: 41 QE Skills, 19 QE Agents, All CI/CD platforms
@@ -84,7 +84,7 @@
84
84
  "agentic-quality-engineering": {
85
85
  "id": "agentic-quality-engineering",
86
86
  "name": "Agentic Quality Engineering",
87
- "description": "Core foundational skill for all 18 QE agents with PACT principles (Proactive, Autonomous, Collaborative, Targeted).",
87
+ "description": "Core foundational skill for all 19 QE agents with PACT principles (Proactive, Autonomous, Collaborative, Targeted).",
88
88
  "category": "qe-core",
89
89
  "priority": "critical",
90
90
  "file": "agentic-quality-engineering/SKILL.md",
@@ -95,7 +95,7 @@
95
95
  "lastOptimized": "2025-12-02",
96
96
  "tags": ["agents", "pact", "core", "foundation", "autonomous-testing"],
97
97
  "dependencies": [],
98
- "agents": ["qe-test-generator", "qe-test-executor", "qe-coverage-analyzer", "qe-quality-gate", "qe-quality-analyzer", "qe-performance-tester", "qe-security-scanner", "qe-requirements-validator", "qe-production-intelligence", "qe-fleet-commander", "qe-deployment-readiness", "qe-regression-risk-analyzer", "qe-test-data-architect", "qe-api-contract-validator", "qe-flaky-test-hunter", "qe-visual-tester", "qe-chaos-engineer", "qe-code-complexity"]
98
+ "agents": ["qe-test-generator", "qe-test-executor", "qe-coverage-analyzer", "qe-quality-gate", "qe-quality-analyzer", "qe-performance-tester", "qe-security-scanner", "qe-requirements-validator", "qe-production-intelligence", "qe-fleet-commander", "qe-deployment-readiness", "qe-regression-risk-analyzer", "qe-test-data-architect", "qe-api-contract-validator", "qe-flaky-test-hunter", "qe-visual-tester", "qe-chaos-engineer", "qe-code-complexity", "qx-partner"]
99
99
  },
100
100
  "holistic-testing-pact": {
101
101
  "id": "holistic-testing-pact",
package/CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.2.1] - 2025-12-07
11
+
12
+ ### Fixed
13
+
14
+ #### Database Persistence Unification (Issue #118)
15
+ - **Unified database to single `memory.db`**: Fixed database fragmentation where data was scattered across 3 files (memory.db, swarm-memory.db, agentdb.db)
16
+ - **Fixed CLI data visibility**: `aqe learn status` and `aqe patterns list` now query actual tables (`learning_experiences`, `patterns`, `q_values`) instead of `memory_entries`
17
+ - **Added `queryRaw()` method**: New public method on SwarmMemoryManager for direct table queries
18
+ - **Deprecated AgentDB**: Marked for removal in v3.0.0 with proper warnings
19
+
20
+ ### Changed
21
+ - All persistence now uses `getSharedMemoryManager()` / `initializeSharedMemoryManager()` singleton pattern
22
+ - Removed default `agentdb.db` path creation from agent factory
23
+ - CLI commands (learn, improve, patterns, routing) updated to use shared memory manager
24
+
10
25
  ## [2.2.0] - 2025-12-06
11
26
 
12
27
  ### 🧠 Self-Learning AQE Fleet Upgrade (Issue #118)
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  <img alt="NPM Downloads" src="https://img.shields.io/npm/dw/agentic-qe">
10
10
 
11
11
 
12
- **Version 2.2.0** | [Changelog](CHANGELOG.md) | [Contributors](CONTRIBUTORS.md) | [Issues](https://github.com/proffesor-for-testing/agentic-qe/issues) | [Discussions](https://github.com/proffesor-for-testing/agentic-qe/discussions)
12
+ **Version 2.2.1** | [Changelog](CHANGELOG.md) | [Contributors](CONTRIBUTORS.md) | [Issues](https://github.com/proffesor-for-testing/agentic-qe/issues) | [Discussions](https://github.com/proffesor-for-testing/agentic-qe/discussions)
13
13
 
14
14
  > Agentic test automation with AI learning, real-time visualization, QUIC transport, testability scoring, OpenTelemetry observability, persistent event storage, constitutional AI governance, and intelligent model routing.
15
15
 
@@ -54,12 +54,12 @@ claude "Use qe-flaky-test-hunter to analyze the last 100 test runs and identify
54
54
  ```
55
55
 
56
56
  **What gets initialized:**
57
- - βœ… **Phase 3 Visualization**: Real-time dashboards, interactive graphs (v1.9.0)
58
- - βœ… **Phase 1-2 Infrastructure**: OpenTelemetry, Event Store, Constitution System
57
+ - βœ… Real-time dashboards, interactive graphs (v1.9.0)
58
+ - βœ… OpenTelemetry, Event Store, Constitution System
59
59
  - βœ… Multi-Model Router (70-81% cost savings - opt-in)
60
60
  - βœ… Learning System (20% improvement target)
61
61
  - βœ… Pattern Bank (cross-project reuse)
62
- - βœ… ML Flaky Detection (100% accuracy)
62
+ - βœ… ML Flaky Detection (90%+ accuracy with root cause analysis)
63
63
  - βœ… 19 Specialized agent definitions (including qe-code-complexity)
64
64
  - βœ… 11 TDD subagent definitions (RED/GREEN/REFACTOR phases + specialized)
65
65
  - βœ… 41 World-class QE skills library (accessibility, shift-left/right, verification, visual testing, XP practices, **testability-scoring** by [@fndlalit](https://github.com/fndlalit))
@@ -68,11 +68,24 @@ claude "Use qe-flaky-test-hunter to analyze the last 100 test runs and identify
68
68
 
69
69
  ---
70
70
 
71
+ ## 🎯 Why AQE?
72
+
73
+ | Problem | AQE Solution |
74
+ |---------|--------------|
75
+ | **Writing comprehensive tests is tedious and time-consuming** | AI agents generate tests automatically with pattern reuse across projects |
76
+ | **Test suites become slow and expensive at scale** | Sublinear O(log n) algorithms for coverage analysis and intelligent test selection |
77
+ | **Flaky tests waste developer time debugging false failures** | ML-powered detection (90%+ accuracy) with root cause analysis and fix recommendations |
78
+ | **AI testing tools are expensive** | Multi-model routing cuts costs by up to 70-81% by matching task complexity to model |
79
+ | **No memory between test runsβ€”every analysis starts from scratch** | Self-learning system remembers patterns, strategies, and what works for your codebase |
80
+ | **Tools don't understand your testing frameworks** | Works with Jest, Cypress, Playwright, Vitest, Mocha, Jasmine, AVA |
81
+
82
+ ---
83
+
71
84
  ## ✨ Features
72
85
 
73
- ### 🎨 Phase 3: Real-Time Visualization (v1.9.0)
86
+ ### Real-Time Visualization (since v1.9.0)
74
87
 
75
- **Production-Ready Observability Dashboards**
88
+ **Observability Dashboards**
76
89
 
77
90
  #### πŸ“Š Interactive React Frontend
78
91
  - **MindMap Component**: Cytoscape.js-powered graph visualization with 6 layout algorithms
@@ -129,57 +142,80 @@ cd frontend && npm run dev
129
142
  open http://localhost:3000
130
143
  ```
131
144
 
132
- **Documentation**: See `PHASE3-COMPLETE.md` for full details
145
+ **Documentation**: See `docs/PHASE3-COMPLETE.md` for full details
133
146
 
134
147
  ---
135
148
 
136
- ### πŸ—οΈ Phase 1-2: Foundation & Infrastructure
137
-
138
- **Enterprise-Grade Observability & Governance**
139
-
140
- #### πŸ“Š OpenTelemetry Integration
141
- - **Full OTEL SDK**: 12 OpenTelemetry packages for comprehensive observability
142
- - **Auto-Instrumentation**: HTTP, file system, and custom metrics
143
- - **Metrics Export**: gRPC and HTTP exporters for Grafana, Prometheus, Jaeger
144
- - **Agent Metrics**: Task completion, success rate, error tracking
145
- - **Quality Metrics**: Coverage %, defect density, test effectiveness
146
- - **System Metrics**: Memory, CPU, latency, throughput
147
-
148
- #### πŸ’Ύ Event Sourcing & Persistence
149
- - **Event Store**: SQLite-based event sourcing with correlation tracking
150
- - **Reasoning Capture**: Agent decision tracking and prompt/response analysis
151
- - **Metrics Aggregation**: Time-window aggregation (hourly, daily, weekly)
152
- - **Performance Optimization**: Prepared statements, indexes, connection pooling
153
- - **Query API**: Time-range queries with pagination support
154
-
155
- #### πŸ“‹ Constitutional AI Governance
156
- - **JSON Schema Validation**: Type-safe constitution definitions
157
- - **4 Base Constitutions**: Default, test-generation, code-review, performance
158
- - **Inheritance & Merge**: Constitution composition with override support
159
- - **Agent-Specific**: Per-agent constitutional rules and guidelines
160
- - **Validation Pipeline**: Ensure agents follow constitutional principles
161
-
162
- **Benefits:**
163
- - πŸ” **Full Observability**: Track every agent action, metric, and decision
164
- - πŸ“ˆ **Data-Driven**: Historical analysis for continuous improvement
165
- - πŸ›‘οΈ **Governance**: Constitutional AI ensures quality and compliance
166
- - πŸš€ **Production Ready**: Enterprise-grade persistence and monitoring
167
-
168
149
  ### πŸ€– Autonomous Agent Fleet
169
- - **18 Specialized Agents**: Expert agents for every QE domain (test generation, coverage analysis, security scanning, performance testing, code complexity analysis)
150
+ - **19 Specialized Agents**: Expert agents for every QE domain (test generation, coverage analysis, security scanning, performance testing, code complexity analysis, QX analysis)
170
151
  - **11 TDD Subagents**: Specialized subagents for Test-Driven Development workflow (RED/GREEN/REFACTOR phases + quality validation + analysis)
171
152
  - **AI-Powered Coordination**: Event-driven architecture with intelligent task distribution
172
153
  - **Zero External Dependencies**: Native AQE hooks system (100-500x faster than external coordination)
173
154
  - **Scalable**: From single developer projects to enterprise-scale testing infrastructure
174
155
 
175
- ### 🧠 Intelligence & Learning (v1.1.0)
156
+ ### 🧠 Intelligence & Learning
176
157
  - **QE Agent Learning System**: Q-Learning integrated with AgentDB's 9 RL algorithms, 20% improvement target with automatic strategy optimization
177
158
  - **Pattern Bank**: 85%+ matching accuracy across 6 test frameworks (Jest, Mocha, Cypress, Vitest, Jasmine, AVA)
178
- - **ML Flaky Detection**: 100% accuracy with root cause analysis and automated fix recommendations
159
+ - **ML Flaky Detection**: 90%+ accuracy with root cause analysis and automated fix recommendations
179
160
  - **Continuous Improvement**: A/B testing framework with 95%+ statistical confidence
180
161
  - **Experience Replay**: Learn from 10,000+ past executions
181
162
 
182
- ### πŸ’° Cost Optimization (v1.0.5)
163
+ ### 🧠 Self-Learning System (from v2.2.0)
164
+
165
+ AQE agents learn from every interaction and improve over time. Unlike traditional tools that start from scratch each run, the Self-Learning System builds institutional knowledge for your codebase.
166
+
167
+ **How It Works:**
168
+
169
+ ```
170
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
171
+ β”‚ Self-Learning Pipeline β”‚
172
+ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
173
+ β”‚ β”‚
174
+ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
175
+ β”‚ β”‚ Agent │───▢│ Execute │───▢│ Evaluate │───▢│ Learn β”‚ β”‚
176
+ β”‚ β”‚ Action β”‚ β”‚ Task β”‚ β”‚ Result β”‚ β”‚ & Store β”‚ β”‚
177
+ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
178
+ β”‚ β”‚ β”‚ β”‚
179
+ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚
180
+ β”‚ └────────▢│ Pattern Bank (AgentDB) β”‚β—€β”€β”€β”€β”€β”€β”€β”˜ β”‚
181
+ β”‚ β”‚ β€’ Successful strategies β”‚ β”‚
182
+ β”‚ β”‚ β€’ Framework patterns β”‚ β”‚
183
+ β”‚ β”‚ β€’ Q-values per action β”‚ β”‚
184
+ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
185
+ β”‚ β”‚
186
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
187
+ ```
188
+
189
+ **Reinforcement Learning Algorithms:**
190
+ - **Q-Learning**: Default algorithm - learns optimal action-value functions
191
+ - **SARSA**: On-policy learning for safer exploration
192
+ - **Actor-Critic (A2C)**: Combines value and policy learning
193
+ - **PPO**: Advanced policy optimization for complex scenarios
194
+
195
+ **What Gets Learned:**
196
+ - Which test patterns work best for your framework (Jest, Cypress, etc.)
197
+ - Optimal strategies for your codebase structure
198
+ - Common failure patterns and how to prevent them
199
+ - Cost-effective model routing decisions
200
+
201
+ **CLI Commands:**
202
+ ```bash
203
+ # Check learning status for an agent
204
+ aqe learn status --agent qe-test-generator
205
+
206
+ # List learned patterns for a framework
207
+ aqe patterns list --framework jest
208
+
209
+ # View algorithm performance
210
+ aqe learn metrics --algorithm q-learning
211
+
212
+ # Switch learning algorithm
213
+ aqe learn set-algorithm --agent qe-test-generator --algorithm sarsa
214
+ ```
215
+
216
+ **Persistence:** All learning is stored in AgentDB (SQLite-based) and persists across sessions. Your agents get smarter with every run.
217
+
218
+ ### πŸ’° Cost Optimization
183
219
  - **Multi-Model Router**: 70-81% cost savings through intelligent model selection (opt-in feature)
184
220
  - **4+ AI Models**: GPT-3.5, GPT-4, Claude Haiku, Claude Sonnet 4.5
185
221
  - **Smart Routing**: Automatic complexity analysis and optimal model selection
@@ -193,7 +229,7 @@ open http://localhost:3000
193
229
  - **Performance Testing**: k6, JMeter, Gatling integration
194
230
  - **Real-Time Streaming**: Live progress updates for all operations
195
231
 
196
- ### πŸŽ“ 41 QE Skills Library (v1.9.0)
232
+ ### πŸŽ“ 41 QE Skills Library
197
233
  **95%+ coverage of modern QE practices**
198
234
 
199
235
  <details>
@@ -293,7 +329,7 @@ claude "Run the full AQE quality pipeline:
293
329
  2. qe-test-generator - generate comprehensive test suite
294
330
  3. qe-test-executor - run tests with parallel execution
295
331
  4. qe-coverage-analyzer - analyze gaps using O(log n) algorithms
296
- 5. qe-flaky-test-hunter - detect flaky tests with 100% ML accuracy
332
+ 5. qe-flaky-test-hunter - detect flaky tests with ML-powered analysis
297
333
  6. qe-security-scanner - run SAST/DAST scans
298
334
  7. qe-performance-tester - load test critical paths
299
335
  8. qe-quality-gate - validate all quality criteria met
@@ -361,7 +397,7 @@ mcp__agentic_qe__coverage_analyze({
361
397
  - Coverage Analysis (4 tools): analyze with risk scoring, detect gaps ML, trends, recommendations
362
398
  - Quality Gates (3 tools): execute, validate metrics, generate report
363
399
  - Flaky Test Detection (2 tools): detect statistical, analyze patterns
364
- - Performance Testing (3 tools): benchmark, analyze bottlenecks, generate report
400
+ - Performance Testing (3 tools): benchmark, analyze bottlenecks, generate a report
365
401
  - Security Scanning (2 tools): comprehensive scan, detect vulnerabilities
366
402
  - Visual Testing (3 tools): compare screenshots, accessibility validation, regression detection
367
403
  - API Contract Testing (3 tools): validate, breaking changes, versioning
@@ -373,7 +409,7 @@ mcp__agentic_qe__coverage_analyze({
373
409
  - Workflow Management (4 tools): create, execute, checkpoint, resume
374
410
  - Event System (2 tools): emit, subscribe
375
411
  - Regression Analysis (2 tools): analyze risk, select tests
376
- - Production Monitoring (2 tools): incident replay, RUM analyze
412
+ - Production Monitoring (2 tools): incident replay, RUM analysis
377
413
  - Mutation Testing (1 tool): execute
378
414
  - Deployment Readiness (1 tool): check
379
415
  - Artifact Management (1 tool): manifest
@@ -538,7 +574,7 @@ Model Usage:
538
574
  | **regression-risk-analyzer** | Smart test selection | ML patterns, AST analysis | βœ… Pattern matching |
539
575
  | **test-data-architect** | Realistic data generation | 10k+ records/sec, GDPR compliant | - |
540
576
  | **api-contract-validator** | Breaking change detection | OpenAPI, GraphQL, gRPC | - |
541
- | **flaky-test-hunter** | Stability analysis | Statistical detection, auto-fix | βœ… 100% accuracy ML detection |
577
+ | **flaky-test-hunter** | Stability analysis | Statistical detection, auto-fix | βœ… 90%+ accuracy ML detection |
542
578
 
543
579
  </details>
544
580
 
@@ -562,7 +598,7 @@ Model Usage:
562
598
 
563
599
  </details>
564
600
 
565
- **Total: 29 Agents** (18 main agents + 11 TDD subagents)
601
+ **Total: 30 Agents** (19 main agents + 11 TDD subagents)
566
602
 
567
603
  ### TDD Subagents (11 specialized)
568
604
 
@@ -648,143 +684,17 @@ The test generator automatically delegates to subagents for a complete RED-GREEN
648
684
 
649
685
  ---
650
686
 
651
- ## πŸ“Š Performance Benchmarks
687
+ ## πŸ“Š Performance
652
688
 
653
- | Feature | Target | Actual | Status |
654
- |---------|--------|--------|--------|
655
- | **Pattern Matching (p95)** | <50ms | 32ms | βœ… Exceeded |
656
- | **Learning Iteration** | <100ms | 68ms | βœ… Exceeded |
657
- | **ML Flaky Detection (1000 tests)** | <500ms | 385ms | βœ… Exceeded |
658
- | **Agent Memory** | <100MB | 85MB | βœ… Exceeded |
659
- | **Cost Savings** | 70%+ | 70-81% | βœ… Achieved |
660
- | **Test Improvement** | 20%+ | 23%+ | βœ… Exceeded |
661
- | **Flaky Detection Accuracy** | 90%+ | 100% | βœ… Exceeded |
662
- | **False Positive Rate** | <5% | 0% | βœ… Exceeded |
689
+ For detailed performance benchmarks and metrics, see [docs/PERFORMANCE.md](docs/PERFORMANCE.md).
663
690
 
664
691
  ### Core Performance
665
- - **Test Generation**: 1000+ tests/minute
666
- - **Parallel Execution**: 10,000+ concurrent tests
667
- - **Coverage Analysis**: O(log n) complexity
668
- - **Data Generation**: 10,000+ records/second
692
+ - **Test Generation**: Pattern-based with cross-project reuse
693
+ - **Parallel Execution**: Multi-framework concurrent tests
694
+ - **Coverage Analysis**: O(log n) sublinear algorithms
695
+ - **Data Generation**: 10,000+ records/second with GDPR compliance
669
696
  - **Agent Spawning**: <100ms per agent
670
- - **Memory Efficient**: <2GB for typical projects
671
-
672
- ---
673
-
674
- ## πŸ“ What's New in v2.1.0
675
-
676
- πŸš€ **Comprehensive QX Analysis & Skills Optimization** (2025-12-03)
677
-
678
- This release delivers comprehensive QX (Quality Experience) analysis improvements, optimized skills format, and enhanced agent coordination.
679
-
680
- ### Key Features
681
-
682
- - **Comprehensive QX Analysis** (PR #104 by @fndlalit): 23+ heuristics with detailed findings, domain-specific failure detection (e-commerce, SaaS, content/blog, forms), contextual page content extraction
683
- - **38 QE Skills Optimized** (PR #102): Agent-focused format with `<default_to_action>` blocks, quick reference cards, 40-60% token reduction
684
- - **Testability Scoring v2.1**: Optimized skill format, Fleet coordination hints, improved memory namespace organization
685
- - **QX Partner Agent v2.1**: Enhanced capabilities for Rule of Three analysis, domain-specific detection, comprehensive report formatting
686
-
687
- ### Skills Optimization
688
-
689
- All 38 QE skills now feature:
690
- - Optimized frontmatter with `tokenEstimate`, `agents`, `implementation_status`, `optimization_version`
691
- - `<default_to_action>` blocks for immediate actionable guidance
692
- - Quick reference cards with tables and command examples
693
- - Fleet coordination and memory namespace hints
694
-
695
- ### QX Analysis Improvements
696
-
697
- - **23+ Heuristics**: Detailed findings, issues, and recommendations per heuristic
698
- - **Domain Detection**: Automatic failure mode detection by site type
699
- - **Contextual Extraction**: Real page content analysis (headings, navigation, buttons, forms, links)
700
- - **Rule of Three**: Problem complexity assessment ensuring minimum 3 failure modes identified
701
-
702
- **Upgrade**: `npm install agentic-qe@2.1.0`
703
-
704
- ---
705
-
706
- ## πŸ“ What's New in v1.9.3
707
-
708
- πŸ“¦ **NPM Package Fix** (2025-11-26)
709
-
710
- This release fixes missing files in the npm package distribution that caused `aqe init` to fail.
711
-
712
- ### Key Fixes
713
-
714
- - **Added missing `templates/` directory**: Includes `aqe.sh` wrapper script
715
- - **Added missing `.claude/helpers/` directory**: Includes 6 helper scripts (checkpoint-manager.sh, github-safe.js, etc.)
716
- - **Added missing `docs/reference/` directory**: Includes reference documentation (agents.md, skills.md, usage.md)
717
-
718
- **Upgrade**: `npm install agentic-qe@1.9.3`
719
-
720
- ---
721
-
722
- ## πŸ“ What's New in v1.9.2
723
-
724
- πŸ› **Learning Persistence Fix** (2025-11-26)
725
-
726
- This release fixes critical learning persistence issues (Issue #79) where learning data was not being saved to SQLite.
727
-
728
- ### Key Fixes
729
-
730
- - **Database schema fixes**: Added missing columns to patterns, q_values, and learning_experiences tables
731
- - **Memory persistence**: MemoryStoreHandler now actually persists to SQLite when `persist: true`
732
- - **Database migrations**: Automatic migrations for existing databases
733
-
734
- **Upgrade**: `npm install agentic-qe@1.9.2`
735
-
736
- ---
737
-
738
- ## πŸ“ What's New in v1.8.3
739
-
740
- πŸ”„ **Phase 4: TDD Subagent Coordination** (2025-01-19)
741
-
742
- This release implements comprehensive TDD subagent coordination, solving the disconnected tests/code/refactor issue where RED-GREEN-REFACTOR cycle agents were producing inconsistent outputs.
743
-
744
- ### Key Improvements
745
-
746
- - **TDD Coordination Protocol** - Memory-based coordination for consistent TDD cycles
747
- - βœ… Cycle-based memory namespace (`aqe/tdd/cycle-{cycleId}/*`)
748
- - βœ… File hash validation ensures test file integrity across phases
749
- - βœ… Handoff gates prevent premature phase transitions
750
- - βœ… Phase output interfaces for typed contracts
751
-
752
- - **Runtime Enforcement** - TDDPhaseValidator class validates memory state
753
- - βœ… Validates memory keys exist before phase transitions
754
- - βœ… Enforces output schema compliance
755
- - βœ… Checks file hash integrity across REDβ†’GREENβ†’REFACTOR
756
- - βœ… Coverage comparison warnings
757
-
758
- - **New Subagents (3)** - Specialized quality engineering agents
759
- - βœ… `qe-flaky-investigator` - Detects flaky tests, analyzes root causes
760
- - βœ… `qe-coverage-gap-analyzer` - Identifies coverage gaps, risk-scores untested code
761
- - βœ… `qe-test-data-architect-sub` - High-volume test data generation
762
-
763
- ### Updated Subagents (8)
764
- All existing subagents now include coordination protocol:
765
- - `qe-test-writer`, `qe-test-implementer`, `qe-test-refactorer` (TDD phases)
766
- - `qe-code-reviewer`, `qe-integration-tester`, `qe-performance-validator`
767
- - `qe-security-auditor`, `qe-data-generator`
768
-
769
- ### Testing
770
- - 22 integration tests for TDD coordination
771
- - All tests passing
772
-
773
- ### Documentation
774
- - Coordination guide at `docs/subagents/coordination-guide.md`
775
-
776
- ### Impact
777
- βœ… **Build Status**: Passing (0 errors)
778
- βœ… **TDD Coordination**: Fully operational
779
- βœ… **Subagents**: 11 total (3 new, 8 updated)
780
- βœ… **Integration Tests**: 22 passing
781
- ❌ **Breaking Changes**: None
782
-
783
- **Upgrade**: `npm install agentic-qe@1.8.3`
784
-
785
- **Previous Releases**: See [CHANGELOG.md](CHANGELOG.md) for complete version history.
786
-
787
- [πŸ“– View Full Changelog](CHANGELOG.md) | [πŸ› Report Issues](https://github.com/proffesor-for-testing/agentic-qe/issues)
697
+ - **Flaky Detection**: 90%+ accuracy with ML-powered root cause analysis
788
698
 
789
699
  ---
790
700
 
@@ -881,38 +791,6 @@ We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for deta
881
791
 
882
792
  ---
883
793
 
884
- ## πŸ—ΊοΈ Roadmap
885
-
886
- ### Current (v1.5)
887
- - βœ… Learning System with Q-learning
888
- - βœ… Pattern Bank with cross-project sharing
889
- - βœ… ML Flaky Detection (100% accuracy)
890
- - βœ… Continuous Improvement Loop
891
- - βœ… 18 specialized agents + 11 TDD subagents
892
- - βœ… Complete TDD workflow automation (RED/GREEN/REFACTOR/REVIEW)
893
- - βœ… Multi-framework test execution
894
- - βœ… Real-time coverage analysis
895
- - βœ… MCP integration
896
- - βœ… Multi-model router (70-81% cost savings)
897
- - βœ… 40 QE skills library
898
- - βœ… Modular init system for streamlined project setup
899
-
900
- ### Planned (v1.4)
901
- - πŸ”„ Web dashboard for visualization
902
- - πŸ”„ GraphQL API
903
- - πŸ”„ CI/CD integrations (GitHub Actions, GitLab CI)
904
- - πŸ”„ Enhanced pattern adaptation across frameworks
905
- - πŸ”„ Real-time collaboration features
906
-
907
- ### Future (v2.0)
908
- - πŸ“‹ Natural language test generation
909
- - πŸ“‹ Self-healing test suites
910
- - πŸ“‹ Multi-language support (Python, Java, Go)
911
- - πŸ“‹ Advanced analytics and insights
912
- - πŸ“‹ Cloud deployment support
913
-
914
- ---
915
-
916
794
  ## πŸ“ License
917
795
 
918
796
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -144,7 +144,11 @@ export declare abstract class BaseAgent extends EventEmitter {
144
144
  } | null>;
145
145
  /**
146
146
  * Initialize AgentDB integration for distributed coordination
147
- * Replaces custom QUIC and Neural code with production-ready AgentDB
147
+ *
148
+ * @deprecated v2.2.0 - AgentDB is deprecated. All persistence now goes through
149
+ * SwarmMemoryManager to the unified .agentic-qe/memory.db database.
150
+ * Use memoryStore methods instead. This method will be removed in v3.0.0.
151
+ *
148
152
  * @param config AgentDB configuration
149
153
  */
150
154
  initializeAgentDB(config: Partial<AgentDBConfig>): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseAgent.d.ts","sourceRoot":"","sources":["../../src/agents/BaseAgent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGtC,OAAO,EACL,OAAO,EACP,WAAW,IAAI,SAAS,EACxB,WAAW,EACX,YAAY,EACZ,eAAe,EAEf,YAAY,EACZ,WAAW,EACX,MAAM,EACN,cAAc,EAGd,WAAW,EACX,YAAY,EACZ,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,aAAa,EAAwB,MAAM,+BAA+B,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY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