agentic-qe 2.1.0 → 2.1.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.
- package/CHANGELOG.md +38 -0
- package/dist/agents/QXPartnerAgent.d.ts +40 -1
- package/dist/agents/QXPartnerAgent.d.ts.map +1 -1
- package/dist/agents/QXPartnerAgent.js +918 -19
- package/dist/agents/QXPartnerAgent.js.map +1 -1
- package/dist/core/memory/ReflexionMemoryAdapter.d.ts +109 -0
- package/dist/core/memory/ReflexionMemoryAdapter.d.ts.map +1 -0
- package/dist/core/memory/ReflexionMemoryAdapter.js +306 -0
- package/dist/core/memory/ReflexionMemoryAdapter.js.map +1 -0
- package/dist/core/memory/RuVectorPatternStore.d.ts +28 -0
- package/dist/core/memory/RuVectorPatternStore.d.ts.map +1 -1
- package/dist/core/memory/RuVectorPatternStore.js +70 -0
- package/dist/core/memory/RuVectorPatternStore.js.map +1 -1
- package/dist/core/memory/SparseVectorSearch.d.ts +55 -0
- package/dist/core/memory/SparseVectorSearch.d.ts.map +1 -0
- package/dist/core/memory/SparseVectorSearch.js +130 -0
- package/dist/core/memory/SparseVectorSearch.js.map +1 -0
- package/dist/core/memory/TieredCompression.d.ts +81 -0
- package/dist/core/memory/TieredCompression.d.ts.map +1 -0
- package/dist/core/memory/TieredCompression.js +270 -0
- package/dist/core/memory/TieredCompression.js.map +1 -0
- package/dist/core/memory/index.d.ts +6 -0
- package/dist/core/memory/index.d.ts.map +1 -1
- package/dist/core/memory/index.js +29 -1
- package/dist/core/memory/index.js.map +1 -1
- package/dist/mcp/handlers/chaos/chaos-inject-failure.d.ts +5 -0
- package/dist/mcp/handlers/chaos/chaos-inject-failure.d.ts.map +1 -1
- package/dist/mcp/handlers/chaos/chaos-inject-failure.js +36 -2
- package/dist/mcp/handlers/chaos/chaos-inject-failure.js.map +1 -1
- package/dist/mcp/handlers/chaos/chaos-inject-latency.d.ts +5 -0
- package/dist/mcp/handlers/chaos/chaos-inject-latency.d.ts.map +1 -1
- package/dist/mcp/handlers/chaos/chaos-inject-latency.js +36 -2
- package/dist/mcp/handlers/chaos/chaos-inject-latency.js.map +1 -1
- package/dist/types/qx.d.ts +74 -0
- package/dist/types/qx.d.ts.map +1 -1
- package/dist/types/qx.js.map +1 -1
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.1.1] - 2025-12-04
|
|
11
|
+
|
|
12
|
+
### 🎯 QX Enhancements, Memory Leak Fixes & Security Improvements
|
|
13
|
+
|
|
14
|
+
This release builds on v2.1.0 with significant QX Partner Agent enhancements, critical memory leak fixes, and security improvements.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
#### QX Partner Agent Enhancements (PR #110 by @fndlalit)
|
|
19
|
+
- **Creativity Analysis**: Domain-inspired testing approaches from philosophy, medicine, e-commerce, social science, and gaming
|
|
20
|
+
- **Design Analysis**: Three dimensions - Exactness & Clarity, Intuitive Design, Counter-intuitive Design
|
|
21
|
+
- **Enhanced Scoring**: Now includes creativity (15%) and design (15%) in overall QX score
|
|
22
|
+
- **Methodology Section**: New HTML report sections explaining QX concepts
|
|
23
|
+
|
|
24
|
+
#### Memory Adapters (Issue #109)
|
|
25
|
+
- **ReflexionMemoryAdapter**: Flaky test prediction with experience replay (410 lines)
|
|
26
|
+
- **SparseVectorSearch**: Hybrid BM25/vector search for semantic retrieval (174 lines)
|
|
27
|
+
- **TieredCompression**: 85% memory reduction with adaptive compression (328 lines)
|
|
28
|
+
|
|
29
|
+
#### Community Contribution
|
|
30
|
+
- **testability-scoring skill**: Automated testability assessment using 10 principles (by @fndlalit)
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
#### Memory Leak Fixes (Issue #112 P0)
|
|
35
|
+
- **Chaos handler intervals**: Lazy initialization with `ensureCleanupInterval()`
|
|
36
|
+
- **Process blocking**: Added `.unref()` to prevent intervals from blocking exit
|
|
37
|
+
- **Test cleanup**: Added `shutdown()` exports for clean teardown
|
|
38
|
+
|
|
39
|
+
#### Security Improvements
|
|
40
|
+
- **Workflow permissions**: Explicit permissions in migration-validation.yml
|
|
41
|
+
- **CI pipeline**: jest-junit reporter configuration, FleetManager.database.test.ts flaky tests
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
- Updated skills count from 38 to 39 (added testability-scoring)
|
|
45
|
+
- State files now in .gitignore to prevent merge conflicts
|
|
46
|
+
- Cleaned up working files from root folder
|
|
47
|
+
|
|
10
48
|
## [2.1.0] - 2025-12-03
|
|
11
49
|
|
|
12
50
|
### 🚀 Comprehensive QX Analysis & Skills Optimization
|
|
@@ -62,6 +62,38 @@ export declare class QXPartnerAgent extends BaseAgent {
|
|
|
62
62
|
* Perform comprehensive QX analysis
|
|
63
63
|
*/
|
|
64
64
|
private performFullQXAnalysis;
|
|
65
|
+
/**
|
|
66
|
+
* Generate HTML report from QX analysis
|
|
67
|
+
*/
|
|
68
|
+
private generateHTMLReport;
|
|
69
|
+
/**
|
|
70
|
+
* Generate HTML content for the report
|
|
71
|
+
*/
|
|
72
|
+
private generateHTMLContent;
|
|
73
|
+
/**
|
|
74
|
+
* Get CSS styles for the report
|
|
75
|
+
*/
|
|
76
|
+
private getReportStyles;
|
|
77
|
+
/**
|
|
78
|
+
* Escape HTML special characters
|
|
79
|
+
*/
|
|
80
|
+
private escapeHtml;
|
|
81
|
+
/**
|
|
82
|
+
* Format heuristic name for display
|
|
83
|
+
*/
|
|
84
|
+
private formatHeuristicName;
|
|
85
|
+
/**
|
|
86
|
+
* Get color based on score
|
|
87
|
+
*/
|
|
88
|
+
private getScoreColor;
|
|
89
|
+
/**
|
|
90
|
+
* Get score interpretation
|
|
91
|
+
*/
|
|
92
|
+
private getScoreInterpretation;
|
|
93
|
+
/**
|
|
94
|
+
* Launch report in default browser
|
|
95
|
+
*/
|
|
96
|
+
private launchReportInBrowser;
|
|
65
97
|
/**
|
|
66
98
|
* Collect QX context from target using Playwright
|
|
67
99
|
*/
|
|
@@ -82,6 +114,14 @@ export declare class QXPartnerAgent extends BaseAgent {
|
|
|
82
114
|
* Analyze business needs
|
|
83
115
|
*/
|
|
84
116
|
private analyzeBusinessNeeds;
|
|
117
|
+
/**
|
|
118
|
+
* Analyze Creativity - Drawing inspiration from diverse domains
|
|
119
|
+
*/
|
|
120
|
+
private analyzeCreativity;
|
|
121
|
+
/**
|
|
122
|
+
* Analyze Design - Exactness, Intuitive, and Counter-intuitive Design
|
|
123
|
+
*/
|
|
124
|
+
private analyzeDesign;
|
|
85
125
|
/**
|
|
86
126
|
* Detect oracle problems from analysis context
|
|
87
127
|
*/
|
|
@@ -98,7 +138,6 @@ export declare class QXPartnerAgent extends BaseAgent {
|
|
|
98
138
|
* Generate QX recommendations
|
|
99
139
|
*/
|
|
100
140
|
private generateRecommendations;
|
|
101
|
-
private formatHeuristicName;
|
|
102
141
|
/**
|
|
103
142
|
* Calculate overall QX score
|
|
104
143
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QXPartnerAgent.d.ts","sourceRoot":"","sources":["../../src/agents/QXPartnerAgent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,SAAS,EAAmB,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,MAAM,EAAgC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"QXPartnerAgent.d.ts","sourceRoot":"","sources":["../../src/agents/QXPartnerAgent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,SAAS,EAAmB,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,MAAM,EAAg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