agentic-qe 1.9.3 → 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.
- package/CHANGELOG.md +54 -0
- package/README.md +30 -5
- package/config/.env.otel.example +25 -0
- package/config/OTEL-QUICK-REFERENCE.md +137 -0
- package/config/README-OTEL.md +222 -0
- package/config/alerting-rules.yml +518 -0
- package/config/docker-compose.otel.yml +187 -0
- package/config/grafana/dashboards/agentic-qe-overview.json +286 -0
- package/config/grafana/provisioning/dashboards/dashboards.yml +19 -0
- package/config/grafana/provisioning/datasources/datasources.yml +53 -0
- package/config/otel-collector-config.yaml.example +145 -0
- package/config/prometheus.yml.example +106 -0
- package/dist/alerting/AlertManager.d.ts +120 -0
- package/dist/alerting/AlertManager.d.ts.map +1 -0
- package/dist/alerting/AlertManager.js +345 -0
- package/dist/alerting/AlertManager.js.map +1 -0
- package/dist/alerting/FeedbackRouter.d.ts +98 -0
- package/dist/alerting/FeedbackRouter.d.ts.map +1 -0
- package/dist/alerting/FeedbackRouter.js +331 -0
- package/dist/alerting/FeedbackRouter.js.map +1 -0
- package/dist/alerting/StrategyApplicator.d.ts +120 -0
- package/dist/alerting/StrategyApplicator.d.ts.map +1 -0
- package/dist/alerting/StrategyApplicator.js +299 -0
- package/dist/alerting/StrategyApplicator.js.map +1 -0
- package/dist/alerting/index.d.ts +68 -0
- package/dist/alerting/index.d.ts.map +1 -0
- package/dist/alerting/index.js +112 -0
- package/dist/alerting/index.js.map +1 -0
- package/dist/alerting/types.d.ts +118 -0
- package/dist/alerting/types.d.ts.map +1 -0
- package/dist/alerting/types.js +11 -0
- package/dist/alerting/types.js.map +1 -0
- package/dist/cli/init/claude-config.d.ts.map +1 -1
- package/dist/cli/init/claude-config.js +12 -7
- package/dist/cli/init/claude-config.js.map +1 -1
- package/dist/core/memory/IPatternStore.d.ts +209 -0
- package/dist/core/memory/IPatternStore.d.ts.map +1 -0
- package/dist/core/memory/IPatternStore.js +15 -0
- package/dist/core/memory/IPatternStore.js.map +1 -0
- package/dist/core/memory/MigrationTools.d.ts +192 -0
- package/dist/core/memory/MigrationTools.d.ts.map +1 -0
- package/dist/core/memory/MigrationTools.js +615 -0
- package/dist/core/memory/MigrationTools.js.map +1 -0
- package/dist/core/memory/NeuralEnhancement.d.ts +154 -0
- package/dist/core/memory/NeuralEnhancement.d.ts.map +1 -0
- package/dist/core/memory/NeuralEnhancement.js +598 -0
- package/dist/core/memory/NeuralEnhancement.js.map +1 -0
- package/dist/core/memory/PatternStoreFactory.d.ts +143 -0
- package/dist/core/memory/PatternStoreFactory.d.ts.map +1 -0
- package/dist/core/memory/PatternStoreFactory.js +370 -0
- package/dist/core/memory/PatternStoreFactory.js.map +1 -0
- package/dist/core/memory/RealAgentDBAdapter.d.ts +1 -0
- package/dist/core/memory/RealAgentDBAdapter.d.ts.map +1 -1
- package/dist/core/memory/RealAgentDBAdapter.js +28 -20
- package/dist/core/memory/RealAgentDBAdapter.js.map +1 -1
- package/dist/core/memory/RuVectorPatternStore.d.ts +198 -0
- package/dist/core/memory/RuVectorPatternStore.d.ts.map +1 -0
- package/dist/core/memory/RuVectorPatternStore.js +605 -0
- package/dist/core/memory/RuVectorPatternStore.js.map +1 -0
- package/dist/core/memory/SelfHealingMonitor.d.ts +186 -0
- package/dist/core/memory/SelfHealingMonitor.d.ts.map +1 -0
- package/dist/core/memory/SelfHealingMonitor.js +451 -0
- package/dist/core/memory/SelfHealingMonitor.js.map +1 -0
- package/dist/core/memory/SwarmMemoryManager.d.ts +62 -0
- package/dist/core/memory/SwarmMemoryManager.d.ts.map +1 -1
- package/dist/core/memory/SwarmMemoryManager.js +97 -0
- package/dist/core/memory/SwarmMemoryManager.js.map +1 -1
- package/dist/core/memory/index.d.ts +11 -0
- package/dist/core/memory/index.d.ts.map +1 -1
- package/dist/core/memory/index.js +36 -1
- package/dist/core/memory/index.js.map +1 -1
- package/dist/reasoning/RuVectorReasoningAdapter.d.ts +232 -0
- package/dist/reasoning/RuVectorReasoningAdapter.d.ts.map +1 -0
- package/dist/reasoning/RuVectorReasoningAdapter.js +585 -0
- package/dist/reasoning/RuVectorReasoningAdapter.js.map +1 -0
- package/dist/reasoning/index.d.ts +2 -0
- package/dist/reasoning/index.d.ts.map +1 -1
- package/dist/reasoning/index.js +6 -1
- package/dist/reasoning/index.js.map +1 -1
- package/dist/reporting/ResultAggregator.d.ts +107 -0
- package/dist/reporting/ResultAggregator.d.ts.map +1 -0
- package/dist/reporting/ResultAggregator.js +435 -0
- package/dist/reporting/ResultAggregator.js.map +1 -0
- package/dist/reporting/index.d.ts +48 -0
- package/dist/reporting/index.d.ts.map +1 -0
- package/dist/reporting/index.js +154 -0
- package/dist/reporting/index.js.map +1 -0
- package/dist/reporting/reporters/ControlLoopReporter.d.ts +128 -0
- package/dist/reporting/reporters/ControlLoopReporter.d.ts.map +1 -0
- package/dist/reporting/reporters/ControlLoopReporter.js +417 -0
- package/dist/reporting/reporters/ControlLoopReporter.js.map +1 -0
- package/dist/reporting/reporters/HumanReadableReporter.d.ts +140 -0
- package/dist/reporting/reporters/HumanReadableReporter.d.ts.map +1 -0
- package/dist/reporting/reporters/HumanReadableReporter.js +524 -0
- package/dist/reporting/reporters/HumanReadableReporter.js.map +1 -0
- package/dist/reporting/reporters/JSONReporter.d.ts +193 -0
- package/dist/reporting/reporters/JSONReporter.d.ts.map +1 -0
- package/dist/reporting/reporters/JSONReporter.js +324 -0
- package/dist/reporting/reporters/JSONReporter.js.map +1 -0
- package/dist/reporting/reporters/index.d.ts +14 -0
- package/dist/reporting/reporters/index.d.ts.map +1 -0
- package/dist/reporting/reporters/index.js +19 -0
- package/dist/reporting/reporters/index.js.map +1 -0
- package/dist/reporting/types.d.ts +427 -0
- package/dist/reporting/types.d.ts.map +1 -0
- package/dist/reporting/types.js +12 -0
- package/dist/reporting/types.js.map +1 -0
- package/package.json +9 -1
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Output Generation & Reporting Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the multi-format reporting system.
|
|
5
|
+
* Supports human-readable, JSON, and control-loop feedback formats.
|
|
6
|
+
*
|
|
7
|
+
* @module reporting/types
|
|
8
|
+
* @version 1.0.0
|
|
9
|
+
*/
|
|
10
|
+
import { TestResult } from '../mcp/tools/qe/shared/types';
|
|
11
|
+
/**
|
|
12
|
+
* Supported output formats
|
|
13
|
+
*/
|
|
14
|
+
export type ReportFormat = 'human' | 'json' | 'control-loop' | 'html' | 'markdown';
|
|
15
|
+
/**
|
|
16
|
+
* Report detail levels
|
|
17
|
+
*/
|
|
18
|
+
export type ReportDetailLevel = 'summary' | 'detailed' | 'comprehensive';
|
|
19
|
+
/**
|
|
20
|
+
* Reporter configuration
|
|
21
|
+
*/
|
|
22
|
+
export interface ReporterConfig {
|
|
23
|
+
/** Output format */
|
|
24
|
+
format: ReportFormat;
|
|
25
|
+
/** Detail level */
|
|
26
|
+
detailLevel?: ReportDetailLevel;
|
|
27
|
+
/** Include color/ANSI codes (for human format) */
|
|
28
|
+
useColors?: boolean;
|
|
29
|
+
/** Include timestamps */
|
|
30
|
+
includeTimestamps?: boolean;
|
|
31
|
+
/** Include metadata */
|
|
32
|
+
includeMetadata?: boolean;
|
|
33
|
+
/** Output file path (optional) */
|
|
34
|
+
outputPath?: string;
|
|
35
|
+
/** Pretty print JSON */
|
|
36
|
+
prettyPrint?: boolean;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Aggregated test execution results
|
|
40
|
+
*/
|
|
41
|
+
export interface AggregatedResults {
|
|
42
|
+
/** Unique execution ID */
|
|
43
|
+
executionId: string;
|
|
44
|
+
/** Execution timestamp */
|
|
45
|
+
timestamp: string;
|
|
46
|
+
/** Project information */
|
|
47
|
+
project: ProjectInfo;
|
|
48
|
+
/** Test execution results */
|
|
49
|
+
testResults: TestExecutionResults;
|
|
50
|
+
/** Coverage data */
|
|
51
|
+
coverage?: CoverageData;
|
|
52
|
+
/** Quality metrics */
|
|
53
|
+
qualityMetrics?: QualityMetricsData;
|
|
54
|
+
/** Performance metrics */
|
|
55
|
+
performance?: PerformanceData;
|
|
56
|
+
/** Security scan results */
|
|
57
|
+
security?: SecurityData;
|
|
58
|
+
/** Execution metadata */
|
|
59
|
+
metadata: ExecutionMetadata;
|
|
60
|
+
/** Overall status */
|
|
61
|
+
status: ExecutionStatus;
|
|
62
|
+
/** Summary */
|
|
63
|
+
summary: ExecutionSummary;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Project information
|
|
67
|
+
*/
|
|
68
|
+
export interface ProjectInfo {
|
|
69
|
+
/** Project name */
|
|
70
|
+
name: string;
|
|
71
|
+
/** Project version */
|
|
72
|
+
version?: string;
|
|
73
|
+
/** Repository URL */
|
|
74
|
+
repository?: string;
|
|
75
|
+
/** Branch/commit */
|
|
76
|
+
branch?: string;
|
|
77
|
+
commit?: string;
|
|
78
|
+
/** Environment */
|
|
79
|
+
environment?: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Test execution results
|
|
83
|
+
*/
|
|
84
|
+
export interface TestExecutionResults {
|
|
85
|
+
/** Total tests executed */
|
|
86
|
+
total: number;
|
|
87
|
+
/** Passed tests */
|
|
88
|
+
passed: number;
|
|
89
|
+
/** Failed tests */
|
|
90
|
+
failed: number;
|
|
91
|
+
/** Skipped tests */
|
|
92
|
+
skipped: number;
|
|
93
|
+
/** Flaky tests detected */
|
|
94
|
+
flaky?: number;
|
|
95
|
+
/** Total duration (ms) */
|
|
96
|
+
duration: number;
|
|
97
|
+
/** Individual test results */
|
|
98
|
+
tests: TestResult[];
|
|
99
|
+
/** Test suites */
|
|
100
|
+
suites?: TestSuiteResult[];
|
|
101
|
+
/** Pass rate (0-1) */
|
|
102
|
+
passRate: number;
|
|
103
|
+
/** Failure rate (0-1) */
|
|
104
|
+
failureRate: number;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Test suite result
|
|
108
|
+
*/
|
|
109
|
+
export interface TestSuiteResult {
|
|
110
|
+
/** Suite name */
|
|
111
|
+
name: string;
|
|
112
|
+
/** Suite file path */
|
|
113
|
+
file: string;
|
|
114
|
+
/** Total tests in suite */
|
|
115
|
+
total: number;
|
|
116
|
+
/** Passed tests */
|
|
117
|
+
passed: number;
|
|
118
|
+
/** Failed tests */
|
|
119
|
+
failed: number;
|
|
120
|
+
/** Duration (ms) */
|
|
121
|
+
duration: number;
|
|
122
|
+
/** Status */
|
|
123
|
+
status: 'passed' | 'failed' | 'skipped';
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Coverage data
|
|
127
|
+
*/
|
|
128
|
+
export interface CoverageData {
|
|
129
|
+
/** Overall coverage percentage */
|
|
130
|
+
overall: number;
|
|
131
|
+
/** Line coverage */
|
|
132
|
+
lines: CoverageMetric;
|
|
133
|
+
/** Branch coverage */
|
|
134
|
+
branches: CoverageMetric;
|
|
135
|
+
/** Function coverage */
|
|
136
|
+
functions: CoverageMetric;
|
|
137
|
+
/** Statement coverage */
|
|
138
|
+
statements: CoverageMetric;
|
|
139
|
+
/** File-level coverage */
|
|
140
|
+
files?: FileCoverageData[];
|
|
141
|
+
/** Coverage trend */
|
|
142
|
+
trend?: 'improving' | 'stable' | 'degrading';
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Coverage metric
|
|
146
|
+
*/
|
|
147
|
+
export interface CoverageMetric {
|
|
148
|
+
/** Total items */
|
|
149
|
+
total: number;
|
|
150
|
+
/** Covered items */
|
|
151
|
+
covered: number;
|
|
152
|
+
/** Uncovered items */
|
|
153
|
+
uncovered: number;
|
|
154
|
+
/** Coverage percentage */
|
|
155
|
+
percentage: number;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* File coverage data
|
|
159
|
+
*/
|
|
160
|
+
export interface FileCoverageData {
|
|
161
|
+
/** File path */
|
|
162
|
+
path: string;
|
|
163
|
+
/** Line coverage */
|
|
164
|
+
lines: CoverageMetric;
|
|
165
|
+
/** Branch coverage */
|
|
166
|
+
branches: CoverageMetric;
|
|
167
|
+
/** Function coverage */
|
|
168
|
+
functions: CoverageMetric;
|
|
169
|
+
/** Uncovered line numbers */
|
|
170
|
+
uncoveredLines: number[];
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Quality metrics data
|
|
174
|
+
*/
|
|
175
|
+
export interface QualityMetricsData {
|
|
176
|
+
/** Overall quality score (0-100) */
|
|
177
|
+
score: number;
|
|
178
|
+
/** Quality grade */
|
|
179
|
+
grade: 'A+' | 'A' | 'B' | 'C' | 'D' | 'F';
|
|
180
|
+
/** Code quality metrics */
|
|
181
|
+
codeQuality: {
|
|
182
|
+
maintainabilityIndex: number;
|
|
183
|
+
cyclomaticComplexity: number;
|
|
184
|
+
technicalDebt: number;
|
|
185
|
+
codeSmells: number;
|
|
186
|
+
duplications: number;
|
|
187
|
+
};
|
|
188
|
+
/** Quality gates passed */
|
|
189
|
+
gatesPassed: number;
|
|
190
|
+
/** Quality gates failed */
|
|
191
|
+
gatesFailed: number;
|
|
192
|
+
/** Quality gate details */
|
|
193
|
+
gates?: QualityGateResult[];
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Quality gate result
|
|
197
|
+
*/
|
|
198
|
+
export interface QualityGateResult {
|
|
199
|
+
/** Gate name */
|
|
200
|
+
name: string;
|
|
201
|
+
/** Status */
|
|
202
|
+
status: 'passed' | 'failed' | 'warning';
|
|
203
|
+
/** Actual value */
|
|
204
|
+
actualValue: number;
|
|
205
|
+
/** Expected threshold */
|
|
206
|
+
threshold: number;
|
|
207
|
+
/** Operator */
|
|
208
|
+
operator: string;
|
|
209
|
+
/** Message */
|
|
210
|
+
message: string;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Performance data
|
|
214
|
+
*/
|
|
215
|
+
export interface PerformanceData {
|
|
216
|
+
/** Response time metrics (ms) */
|
|
217
|
+
responseTime: {
|
|
218
|
+
min: number;
|
|
219
|
+
max: number;
|
|
220
|
+
mean: number;
|
|
221
|
+
median: number;
|
|
222
|
+
p95: number;
|
|
223
|
+
p99: number;
|
|
224
|
+
};
|
|
225
|
+
/** Throughput (requests/sec) */
|
|
226
|
+
throughput: number;
|
|
227
|
+
/** Error rate (0-1) */
|
|
228
|
+
errorRate: number;
|
|
229
|
+
/** Resource usage */
|
|
230
|
+
resources: {
|
|
231
|
+
cpu: number;
|
|
232
|
+
memory: number;
|
|
233
|
+
disk?: number;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Security data
|
|
238
|
+
*/
|
|
239
|
+
export interface SecurityData {
|
|
240
|
+
/** Total vulnerabilities */
|
|
241
|
+
total: number;
|
|
242
|
+
/** Vulnerabilities by severity */
|
|
243
|
+
summary: {
|
|
244
|
+
critical: number;
|
|
245
|
+
high: number;
|
|
246
|
+
medium: number;
|
|
247
|
+
low: number;
|
|
248
|
+
info: number;
|
|
249
|
+
};
|
|
250
|
+
/** Security score (0-100) */
|
|
251
|
+
score: number;
|
|
252
|
+
/** Vulnerability details */
|
|
253
|
+
vulnerabilities?: SecurityVulnerability[];
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Security vulnerability
|
|
257
|
+
*/
|
|
258
|
+
export interface SecurityVulnerability {
|
|
259
|
+
/** Vulnerability ID */
|
|
260
|
+
id: string;
|
|
261
|
+
/** Severity */
|
|
262
|
+
severity: 'critical' | 'high' | 'medium' | 'low' | 'info';
|
|
263
|
+
/** Title */
|
|
264
|
+
title: string;
|
|
265
|
+
/** Description */
|
|
266
|
+
description: string;
|
|
267
|
+
/** Affected file */
|
|
268
|
+
file?: string;
|
|
269
|
+
/** Line number */
|
|
270
|
+
line?: number;
|
|
271
|
+
/** CWE ID */
|
|
272
|
+
cwe?: string;
|
|
273
|
+
/** CVSS score */
|
|
274
|
+
cvss?: number;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Execution metadata
|
|
278
|
+
*/
|
|
279
|
+
export interface ExecutionMetadata {
|
|
280
|
+
/** Execution start time */
|
|
281
|
+
startedAt: string;
|
|
282
|
+
/** Execution end time */
|
|
283
|
+
completedAt: string;
|
|
284
|
+
/** Total execution duration (ms) */
|
|
285
|
+
duration: number;
|
|
286
|
+
/** CI/CD information */
|
|
287
|
+
ci?: {
|
|
288
|
+
provider: string;
|
|
289
|
+
buildNumber: string;
|
|
290
|
+
buildUrl?: string;
|
|
291
|
+
};
|
|
292
|
+
/** Agent information */
|
|
293
|
+
agent?: {
|
|
294
|
+
id: string;
|
|
295
|
+
type: string;
|
|
296
|
+
version: string;
|
|
297
|
+
};
|
|
298
|
+
/** Environment variables */
|
|
299
|
+
environment?: Record<string, string>;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Execution status
|
|
303
|
+
*/
|
|
304
|
+
export type ExecutionStatus = 'success' | 'failure' | 'warning' | 'error';
|
|
305
|
+
/**
|
|
306
|
+
* Execution summary
|
|
307
|
+
*/
|
|
308
|
+
export interface ExecutionSummary {
|
|
309
|
+
/** Overall status */
|
|
310
|
+
status: ExecutionStatus;
|
|
311
|
+
/** Status message */
|
|
312
|
+
message: string;
|
|
313
|
+
/** Critical issues count */
|
|
314
|
+
criticalIssues: number;
|
|
315
|
+
/** Warnings count */
|
|
316
|
+
warnings: number;
|
|
317
|
+
/** Recommendations */
|
|
318
|
+
recommendations: string[];
|
|
319
|
+
/** Deployment ready */
|
|
320
|
+
deploymentReady: boolean;
|
|
321
|
+
/** Key highlights */
|
|
322
|
+
highlights: string[];
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Reporter output
|
|
326
|
+
*/
|
|
327
|
+
export interface ReporterOutput {
|
|
328
|
+
/** Format used */
|
|
329
|
+
format: ReportFormat;
|
|
330
|
+
/** Generated content */
|
|
331
|
+
content: string;
|
|
332
|
+
/** Generation timestamp */
|
|
333
|
+
timestamp: string;
|
|
334
|
+
/** File path (if written to file) */
|
|
335
|
+
filePath?: string;
|
|
336
|
+
/** Content size (bytes) */
|
|
337
|
+
size: number;
|
|
338
|
+
/** Generation duration (ms) */
|
|
339
|
+
generationDuration: number;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Control loop feedback for automated systems
|
|
343
|
+
*/
|
|
344
|
+
export interface ControlLoopFeedback {
|
|
345
|
+
/** Execution ID */
|
|
346
|
+
executionId: string;
|
|
347
|
+
/** Timestamp */
|
|
348
|
+
timestamp: string;
|
|
349
|
+
/** Overall status */
|
|
350
|
+
status: ExecutionStatus;
|
|
351
|
+
/** Success flag */
|
|
352
|
+
success: boolean;
|
|
353
|
+
/** Quality score (0-100) */
|
|
354
|
+
qualityScore: number;
|
|
355
|
+
/** Metrics for decision making */
|
|
356
|
+
metrics: {
|
|
357
|
+
testPassRate: number;
|
|
358
|
+
coveragePercentage: number;
|
|
359
|
+
securityScore: number;
|
|
360
|
+
performanceScore: number;
|
|
361
|
+
qualityGatesPassed: number;
|
|
362
|
+
qualityGatesFailed: number;
|
|
363
|
+
};
|
|
364
|
+
/** Actionable signals */
|
|
365
|
+
signals: {
|
|
366
|
+
canDeploy: boolean;
|
|
367
|
+
criticalIssuesFound: boolean;
|
|
368
|
+
coverageDecreased: boolean;
|
|
369
|
+
performanceDegraded: boolean;
|
|
370
|
+
securityRisks: boolean;
|
|
371
|
+
testsUnstable: boolean;
|
|
372
|
+
};
|
|
373
|
+
/** Required actions */
|
|
374
|
+
actions: ControlLoopAction[];
|
|
375
|
+
/** Threshold violations */
|
|
376
|
+
violations: ThresholdViolation[];
|
|
377
|
+
/** Next steps */
|
|
378
|
+
nextSteps: string[];
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Control loop action
|
|
382
|
+
*/
|
|
383
|
+
export interface ControlLoopAction {
|
|
384
|
+
/** Action type */
|
|
385
|
+
type: 'block_deployment' | 'require_review' | 'trigger_rollback' | 'alert' | 'retry' | 'approve';
|
|
386
|
+
/** Priority */
|
|
387
|
+
priority: 'critical' | 'high' | 'medium' | 'low';
|
|
388
|
+
/** Reason */
|
|
389
|
+
reason: string;
|
|
390
|
+
/** Recommended resolution */
|
|
391
|
+
resolution?: string;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Threshold violation
|
|
395
|
+
*/
|
|
396
|
+
export interface ThresholdViolation {
|
|
397
|
+
/** Metric name */
|
|
398
|
+
metric: string;
|
|
399
|
+
/** Expected threshold */
|
|
400
|
+
threshold: number;
|
|
401
|
+
/** Actual value */
|
|
402
|
+
actualValue: number;
|
|
403
|
+
/** Operator */
|
|
404
|
+
operator: 'gt' | 'lt' | 'gte' | 'lte' | 'eq';
|
|
405
|
+
/** Severity */
|
|
406
|
+
severity: 'critical' | 'high' | 'medium' | 'low';
|
|
407
|
+
/** Impact */
|
|
408
|
+
impact: string;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Base reporter interface
|
|
412
|
+
*/
|
|
413
|
+
export interface Reporter {
|
|
414
|
+
/**
|
|
415
|
+
* Generate report from aggregated results
|
|
416
|
+
*/
|
|
417
|
+
report(results: AggregatedResults): Promise<ReporterOutput> | ReporterOutput;
|
|
418
|
+
/**
|
|
419
|
+
* Get supported format
|
|
420
|
+
*/
|
|
421
|
+
getFormat(): ReportFormat;
|
|
422
|
+
/**
|
|
423
|
+
* Validate configuration
|
|
424
|
+
*/
|
|
425
|
+
validateConfig(config: ReporterConfig): boolean;
|
|
426
|
+
}
|
|
427
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/reporting/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAEL,UAAU,EAMX,MAAM,8BAA8B,CAAC;AAItC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,cAAc,GAAG,MAAM,GAAG,UAAU,CAAC;AAEnF;;GAEG;AACH,MAAM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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Output Generation & Reporting Types
|
|
4
|
+
*
|
|
5
|
+
* Type definitions for the multi-format reporting system.
|
|
6
|
+
* Supports human-readable, JSON, and control-loop feedback formats.
|
|
7
|
+
*
|
|
8
|
+
* @module reporting/types
|
|
9
|
+
* @version 1.0.0
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/reporting/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-qe",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "Agentic Quality Engineering Fleet System - AI-driven quality management platform with 38 QE skills, learning, pattern reuse, ML-based flaky detection, Multi-Model Router (70-81% cost savings), streaming progress updates, 102 MCP tools, and native TypeScript hooks",
|
|
5
5
|
"main": "dist/cli/index.js",
|
|
6
6
|
"types": "dist/cli/index.d.ts",
|
|
@@ -149,6 +149,7 @@
|
|
|
149
149
|
"@opentelemetry/sdk-trace-base": "^1.28.0",
|
|
150
150
|
"@opentelemetry/sdk-trace-node": "^1.28.0",
|
|
151
151
|
"@opentelemetry/semantic-conventions": "^1.28.0",
|
|
152
|
+
"@ruvector/core": "^0.1.15",
|
|
152
153
|
"@types/ws": "^8.18.1",
|
|
153
154
|
"@xenova/transformers": "^2.6.0",
|
|
154
155
|
"agentdb": "^1.0.0",
|
|
@@ -166,11 +167,18 @@
|
|
|
166
167
|
"graphql": "^16.11.0",
|
|
167
168
|
"inquirer": "^8.2.6",
|
|
168
169
|
"ora": "^5.4.1",
|
|
170
|
+
"ruvector": "^0.1.24",
|
|
169
171
|
"uuid": "^11.0.5",
|
|
170
172
|
"winston": "^3.18.3",
|
|
171
173
|
"ws": "^8.18.3",
|
|
172
174
|
"yaml": "^2.8.1"
|
|
173
175
|
},
|
|
176
|
+
"optionalDependencies": {
|
|
177
|
+
"@ruvector/node-linux-arm64-gnu": "^0.1.16",
|
|
178
|
+
"@ruvector/node-linux-x64-gnu": "^0.1.16",
|
|
179
|
+
"ruvector-core-linux-arm64-gnu": "^0.1.15",
|
|
180
|
+
"ruvector-core-linux-x64-gnu": "^0.1.15"
|
|
181
|
+
},
|
|
174
182
|
"resolutions": {
|
|
175
183
|
"graceful-fs": "^4.2.11",
|
|
176
184
|
"stack-utils": "^2.0.6"
|