agentic-qe 3.8.9 → 3.8.10

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.
@@ -64,41 +64,36 @@ export class CoverageTrackerWorker extends BaseWorker {
64
64
  }
65
65
  async collectCoverageTrend(context) {
66
66
  const previous = await context.memory.get('coverage:current');
67
- // In a real implementation, this would query the coverage-analysis domain
67
+ // Read real coverage data from coverage:latest (written by coverage-analyzer
68
+ // and test-executor). Fall back to zeros when no data is available.
69
+ const latest = await context.memory.get('coverage:latest');
68
70
  const current = {
69
- line: 78.5,
70
- branch: 65.2,
71
- function: 82.1,
72
- statement: 79.3,
71
+ line: latest?.line ?? 0,
72
+ branch: latest?.branch ?? 0,
73
+ function: latest?.function ?? 0,
74
+ statement: latest?.statement ?? 0,
73
75
  timestamp: new Date(),
74
76
  };
75
77
  return { current, previous };
76
78
  }
77
- async identifyCoverageGaps(_context) {
78
- // In a real implementation, this would analyze actual coverage data
79
- return [
80
- {
81
- file: 'src/kernel/memory-backend.ts',
82
- uncoveredLines: 45,
83
- totalLines: 120,
84
- complexity: 15,
85
- riskScore: 0.75,
86
- },
87
- {
88
- file: 'src/coordination/workflow-orchestrator.ts',
89
- uncoveredLines: 120,
90
- totalLines: 400,
91
- complexity: 28,
92
- riskScore: 0.85,
93
- },
94
- {
95
- file: 'src/domains/security-compliance/services/security-scanner.ts',
96
- uncoveredLines: 200,
97
- totalLines: 500,
98
- complexity: 32,
99
- riskScore: 0.92,
100
- },
101
- ];
79
+ async identifyCoverageGaps(context) {
80
+ // Search for gap patterns stored by the gap-detector service
81
+ // (written via storeVector with key prefix 'gap-pattern:')
82
+ const gapKeys = await context.memory.search('gap-pattern:*');
83
+ if (gapKeys.length > 0) {
84
+ const gaps = [];
85
+ for (const key of gapKeys) {
86
+ const gap = await context.memory.get(key);
87
+ if (gap && typeof gap.riskScore === 'number') {
88
+ gaps.push(gap);
89
+ }
90
+ }
91
+ if (gaps.length > 0) {
92
+ return gaps;
93
+ }
94
+ }
95
+ // No gap data available from coverage analysis yet
96
+ return [];
102
97
  }
103
98
  analyzeCoverageThresholds(coverage, findings, recommendations) {
104
99
  const thresholds = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-qe",
3
- "version": "3.8.9",
3
+ "version": "3.8.10",
4
4
  "description": "Agentic Quality Engineering V3 - Domain-Driven Design Architecture with 13 Bounded Contexts, O(log n) coverage analysis, ReasoningBank learning, 60 specialized QE agents, mathematical Coherence verification, deep Claude Flow integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",