agentic-qe 3.3.1 → 3.3.3
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/.claude/helpers/statusline-v3.cjs +96 -27
- package/README.md +6 -3
- package/package.json +1 -1
- package/scripts/sync-claude-flow.cjs +99 -0
- package/v3/CHANGELOG.md +133 -0
- package/v3/README.md +9 -5
- package/v3/dist/cli/bundle.js +60879 -51811
- package/v3/dist/coordination/consensus/domain-findings.d.ts +202 -0
- package/v3/dist/coordination/consensus/domain-findings.d.ts.map +1 -0
- package/v3/dist/coordination/consensus/domain-findings.js +66 -0
- package/v3/dist/coordination/consensus/domain-findings.js.map +1 -0
- package/v3/dist/coordination/consensus/index.d.ts +2 -0
- package/v3/dist/coordination/consensus/index.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/index.js +4 -0
- package/v3/dist/coordination/consensus/index.js.map +1 -1
- package/v3/dist/coordination/index.d.ts +1 -0
- package/v3/dist/coordination/index.d.ts.map +1 -1
- package/v3/dist/coordination/index.js +4 -0
- package/v3/dist/coordination/index.js.map +1 -1
- package/v3/dist/coordination/mixins/consensus-enabled-domain.d.ts +225 -0
- package/v3/dist/coordination/mixins/consensus-enabled-domain.d.ts.map +1 -0
- package/v3/dist/coordination/mixins/consensus-enabled-domain.js +466 -0
- package/v3/dist/coordination/mixins/consensus-enabled-domain.js.map +1 -0
- package/v3/dist/coordination/mixins/index.d.ts +14 -0
- package/v3/dist/coordination/mixins/index.d.ts.map +1 -0
- package/v3/dist/coordination/mixins/index.js +28 -0
- package/v3/dist/coordination/mixins/index.js.map +1 -0
- package/v3/dist/coordination/mixins/mincut-aware-domain.d.ts +227 -0
- package/v3/dist/coordination/mixins/mincut-aware-domain.d.ts.map +1 -0
- package/v3/dist/coordination/mixins/mincut-aware-domain.js +368 -0
- package/v3/dist/coordination/mixins/mincut-aware-domain.js.map +1 -0
- package/v3/dist/coordination/queen-coordinator.d.ts +23 -1
- package/v3/dist/coordination/queen-coordinator.d.ts.map +1 -1
- package/v3/dist/coordination/queen-coordinator.js +131 -3
- package/v3/dist/coordination/queen-coordinator.js.map +1 -1
- package/v3/dist/coordination/task-executor.d.ts +21 -1
- package/v3/dist/coordination/task-executor.d.ts.map +1 -1
- package/v3/dist/coordination/task-executor.js +222 -5
- package/v3/dist/coordination/task-executor.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/coordinator.d.ts +92 -0
- package/v3/dist/domains/chaos-resilience/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/chaos-resilience/coordinator.js +241 -1
- package/v3/dist/domains/chaos-resilience/coordinator.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/plugin.js +1 -1
- package/v3/dist/domains/chaos-resilience/plugin.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/services/chaos-engineer.d.ts +29 -2
- package/v3/dist/domains/chaos-resilience/services/chaos-engineer.d.ts.map +1 -1
- package/v3/dist/domains/chaos-resilience/services/chaos-engineer.js +62 -3
- package/v3/dist/domains/chaos-resilience/services/chaos-engineer.js.map +1 -1
- package/v3/dist/domains/code-intelligence/coordinator.d.ts +112 -0
- package/v3/dist/domains/code-intelligence/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/coordinator.js +221 -0
- package/v3/dist/domains/code-intelligence/coordinator.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/knowledge-graph.d.ts +66 -2
- package/v3/dist/domains/code-intelligence/services/knowledge-graph.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/knowledge-graph.js +253 -3
- package/v3/dist/domains/code-intelligence/services/knowledge-graph.js.map +1 -1
- package/v3/dist/domains/contract-testing/coordinator.d.ts +89 -1
- package/v3/dist/domains/contract-testing/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/contract-testing/coordinator.js +222 -1
- package/v3/dist/domains/contract-testing/coordinator.js.map +1 -1
- package/v3/dist/domains/contract-testing/interfaces.d.ts +29 -1
- package/v3/dist/domains/contract-testing/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/contract-testing/plugin.js +1 -1
- package/v3/dist/domains/contract-testing/plugin.js.map +1 -1
- package/v3/dist/domains/contract-testing/services/contract-validator.d.ts +29 -2
- package/v3/dist/domains/contract-testing/services/contract-validator.d.ts.map +1 -1
- package/v3/dist/domains/contract-testing/services/contract-validator.js +58 -3
- package/v3/dist/domains/contract-testing/services/contract-validator.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/coordinator.d.ts +95 -2
- package/v3/dist/domains/coverage-analysis/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/coordinator.js +274 -6
- package/v3/dist/domains/coverage-analysis/coordinator.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/plugin.d.ts +6 -1
- package/v3/dist/domains/coverage-analysis/plugin.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/plugin.js +73 -0
- package/v3/dist/domains/coverage-analysis/plugin.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.d.ts +119 -3
- package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.js +267 -5
- package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/gap-detector.d.ts +111 -2
- package/v3/dist/domains/coverage-analysis/services/gap-detector.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/gap-detector.js +231 -3
- package/v3/dist/domains/coverage-analysis/services/gap-detector.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/coordinator.d.ts +80 -1
- package/v3/dist/domains/defect-intelligence/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/coordinator.js +262 -7
- package/v3/dist/domains/defect-intelligence/coordinator.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/interfaces.d.ts +17 -0
- package/v3/dist/domains/defect-intelligence/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/defect-predictor.d.ts +91 -2
- package/v3/dist/domains/defect-intelligence/services/defect-predictor.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/defect-predictor.js +274 -7
- package/v3/dist/domains/defect-intelligence/services/defect-predictor.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.d.ts +79 -2
- package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.js +259 -3
- package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.js.map +1 -1
- package/v3/dist/domains/domain-interface.d.ts +194 -2
- package/v3/dist/domains/domain-interface.d.ts.map +1 -1
- package/v3/dist/domains/domain-interface.js +239 -0
- package/v3/dist/domains/domain-interface.js.map +1 -1
- package/v3/dist/domains/learning-optimization/coordinator.d.ts +171 -0
- package/v3/dist/domains/learning-optimization/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/coordinator.js +401 -1
- package/v3/dist/domains/learning-optimization/coordinator.js.map +1 -1
- package/v3/dist/domains/learning-optimization/index.d.ts +1 -1
- package/v3/dist/domains/learning-optimization/index.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/index.js.map +1 -1
- package/v3/dist/domains/learning-optimization/interfaces.d.ts +18 -0
- package/v3/dist/domains/learning-optimization/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/plugin.js +1 -1
- package/v3/dist/domains/learning-optimization/plugin.js.map +1 -1
- package/v3/dist/domains/learning-optimization/services/learning-coordinator.d.ts +54 -2
- package/v3/dist/domains/learning-optimization/services/learning-coordinator.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/services/learning-coordinator.js +90 -3
- package/v3/dist/domains/learning-optimization/services/learning-coordinator.js.map +1 -1
- package/v3/dist/domains/quality-assessment/coordinator.d.ts +127 -0
- package/v3/dist/domains/quality-assessment/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/coordinator.js +493 -7
- package/v3/dist/domains/quality-assessment/coordinator.js.map +1 -1
- package/v3/dist/domains/quality-assessment/interfaces.d.ts +22 -0
- package/v3/dist/domains/quality-assessment/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/plugin.d.ts +6 -1
- package/v3/dist/domains/quality-assessment/plugin.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/plugin.js +67 -0
- package/v3/dist/domains/quality-assessment/plugin.js.map +1 -1
- package/v3/dist/domains/quality-assessment/services/deployment-advisor.d.ts +61 -2
- package/v3/dist/domains/quality-assessment/services/deployment-advisor.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/services/deployment-advisor.js +213 -5
- package/v3/dist/domains/quality-assessment/services/deployment-advisor.js.map +1 -1
- package/v3/dist/domains/quality-assessment/services/quality-analyzer.d.ts +59 -4
- package/v3/dist/domains/quality-assessment/services/quality-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/services/quality-analyzer.js +195 -3
- package/v3/dist/domains/quality-assessment/services/quality-analyzer.js.map +1 -1
- package/v3/dist/domains/requirements-validation/coordinator.d.ts +78 -0
- package/v3/dist/domains/requirements-validation/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/coordinator.js +189 -0
- package/v3/dist/domains/requirements-validation/coordinator.js.map +1 -1
- package/v3/dist/domains/requirements-validation/interfaces.d.ts +4 -0
- package/v3/dist/domains/requirements-validation/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/services/requirements-validator.d.ts +106 -2
- package/v3/dist/domains/requirements-validation/services/requirements-validator.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/services/requirements-validator.js +263 -3
- package/v3/dist/domains/requirements-validation/services/requirements-validator.js.map +1 -1
- package/v3/dist/domains/security-compliance/coordinator.d.ts +56 -1
- package/v3/dist/domains/security-compliance/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/coordinator.js +241 -17
- package/v3/dist/domains/security-compliance/coordinator.js.map +1 -1
- package/v3/dist/domains/security-compliance/interfaces.d.ts +2 -0
- package/v3/dist/domains/security-compliance/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/security-scanner.d.ts +33 -2
- package/v3/dist/domains/security-compliance/services/security-scanner.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/security-scanner.js +107 -3
- package/v3/dist/domains/security-compliance/services/security-scanner.js.map +1 -1
- package/v3/dist/domains/test-execution/coordinator.d.ts +89 -0
- package/v3/dist/domains/test-execution/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/coordinator.js +259 -2
- package/v3/dist/domains/test-execution/coordinator.js.map +1 -1
- package/v3/dist/domains/test-execution/plugin.d.ts +6 -1
- package/v3/dist/domains/test-execution/plugin.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/plugin.js +77 -0
- package/v3/dist/domains/test-execution/plugin.js.map +1 -1
- package/v3/dist/domains/test-execution/services/test-executor.d.ts +30 -2
- package/v3/dist/domains/test-execution/services/test-executor.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/test-executor.js +64 -3
- package/v3/dist/domains/test-execution/services/test-executor.js.map +1 -1
- package/v3/dist/domains/test-generation/coordinator.d.ts +137 -0
- package/v3/dist/domains/test-generation/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/coordinator.js +421 -1
- package/v3/dist/domains/test-generation/coordinator.js.map +1 -1
- package/v3/dist/domains/test-generation/interfaces.d.ts +2 -0
- package/v3/dist/domains/test-generation/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/plugin.d.ts +6 -1
- package/v3/dist/domains/test-generation/plugin.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/plugin.js +84 -0
- package/v3/dist/domains/test-generation/plugin.js.map +1 -1
- package/v3/dist/domains/test-generation/services/test-generator.d.ts +32 -0
- package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/services/test-generator.js +158 -3
- package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/coordinator.d.ts +77 -0
- package/v3/dist/domains/visual-accessibility/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/coordinator.js +210 -2
- package/v3/dist/domains/visual-accessibility/coordinator.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/plugin.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/plugin.js +3 -3
- package/v3/dist/domains/visual-accessibility/plugin.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/visual-tester.d.ts +47 -2
- package/v3/dist/domains/visual-accessibility/services/visual-tester.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/visual-tester.js +87 -3
- package/v3/dist/domains/visual-accessibility/services/visual-tester.js.map +1 -1
- package/v3/dist/kernel/interfaces.d.ts +54 -1
- package/v3/dist/kernel/interfaces.d.ts.map +1 -1
- package/v3/dist/learning/dream/dream-scheduler.d.ts +302 -0
- package/v3/dist/learning/dream/dream-scheduler.d.ts.map +1 -0
- package/v3/dist/learning/dream/dream-scheduler.js +551 -0
- package/v3/dist/learning/dream/dream-scheduler.js.map +1 -0
- package/v3/dist/learning/dream/index.d.ts +1 -0
- package/v3/dist/learning/dream/index.d.ts.map +1 -1
- package/v3/dist/learning/dream/index.js +4 -0
- package/v3/dist/learning/dream/index.js.map +1 -1
- package/v3/dist/learning/experience-capture-middleware.d.ts +119 -0
- package/v3/dist/learning/experience-capture-middleware.d.ts.map +1 -0
- package/v3/dist/learning/experience-capture-middleware.js +416 -0
- package/v3/dist/learning/experience-capture-middleware.js.map +1 -0
- package/v3/dist/mcp/bundle.js +83142 -70580
- package/v3/dist/mcp/handlers/core-handlers.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/core-handlers.js +16 -2
- package/v3/dist/mcp/handlers/core-handlers.js.map +1 -1
- package/v3/dist/mcp/handlers/domain-handlers.d.ts +12 -13
- package/v3/dist/mcp/handlers/domain-handlers.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/index.d.ts +1 -1
- package/v3/dist/mcp/handlers/index.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/index.js +2 -2
- package/v3/dist/mcp/handlers/index.js.map +1 -1
- package/v3/dist/mcp/handlers/task-handlers.d.ts +1 -0
- package/v3/dist/mcp/handlers/task-handlers.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/task-handlers.js +46 -12
- package/v3/dist/mcp/handlers/task-handlers.js.map +1 -1
- package/v3/dist/mcp/handlers/wrapped-domain-handlers.d.ts +30 -0
- package/v3/dist/mcp/handlers/wrapped-domain-handlers.d.ts.map +1 -0
- package/v3/dist/mcp/handlers/wrapped-domain-handlers.js +75 -0
- package/v3/dist/mcp/handlers/wrapped-domain-handlers.js.map +1 -0
- package/v3/dist/mcp/services/reasoning-bank-service.d.ts +87 -13
- package/v3/dist/mcp/services/reasoning-bank-service.d.ts.map +1 -1
- package/v3/dist/mcp/services/reasoning-bank-service.js +291 -31
- package/v3/dist/mcp/services/reasoning-bank-service.js.map +1 -1
- package/v3/dist/mcp/tools/chaos-resilience/inject.js +1 -1
- package/v3/dist/mcp/tools/chaos-resilience/inject.js.map +1 -1
- package/v3/dist/mcp/tools/contract-testing/validate.js +1 -1
- package/v3/dist/mcp/tools/contract-testing/validate.js.map +1 -1
- package/v3/dist/mcp/tools/learning-optimization/optimize.js +1 -1
- package/v3/dist/mcp/tools/learning-optimization/optimize.js.map +1 -1
- package/v3/dist/mcp/tools/visual-accessibility/index.js +2 -2
- package/v3/dist/mcp/tools/visual-accessibility/index.js.map +1 -1
- package/v3/dist/routing/qe-agent-registry.d.ts +28 -1
- package/v3/dist/routing/qe-agent-registry.d.ts.map +1 -1
- package/v3/dist/routing/qe-agent-registry.js +116 -1
- package/v3/dist/routing/qe-agent-registry.js.map +1 -1
- package/v3/dist/shared/events/domain-events.d.ts +27 -0
- package/v3/dist/shared/events/domain-events.d.ts.map +1 -1
- package/v3/dist/shared/events/domain-events.js +1 -0
- package/v3/dist/shared/events/domain-events.js.map +1 -1
- package/v3/dist/sync/claude-flow-bridge.d.ts +63 -0
- package/v3/dist/sync/claude-flow-bridge.d.ts.map +1 -0
- package/v3/dist/sync/claude-flow-bridge.js +320 -0
- package/v3/dist/sync/claude-flow-bridge.js.map +1 -0
- package/v3/package.json +1 -1
|
@@ -31,11 +31,18 @@ const CONFIG = {
|
|
|
31
31
|
flashAttentionTarget: '2.49x-7.47x',
|
|
32
32
|
intelligenceTargetExp: 1000, // 1000 experiences = 100%
|
|
33
33
|
|
|
34
|
-
// Paths
|
|
35
|
-
|
|
34
|
+
// Paths (V3 database takes priority - actively used)
|
|
35
|
+
memoryDbPaths: [
|
|
36
|
+
'v3/.agentic-qe/memory.db', // V3 primary location (new schema)
|
|
37
|
+
'.agentic-qe/memory.db', // Root fallback (old schema)
|
|
38
|
+
],
|
|
36
39
|
cveCache: '.agentic-qe/.cve-cache',
|
|
37
40
|
cveCacheAge: 3600, // 1 hour
|
|
38
|
-
|
|
41
|
+
learningConfigPaths: [
|
|
42
|
+
'v3/.agentic-qe/learning-config.json', // V3 config
|
|
43
|
+
'.agentic-qe/data/learning-config.json', // Root data dir
|
|
44
|
+
'.agentic-qe/learning-config.json', // Root fallback
|
|
45
|
+
],
|
|
39
46
|
coverageFile: 'coverage/coverage-summary.json',
|
|
40
47
|
|
|
41
48
|
// Domain list
|
|
@@ -207,25 +214,77 @@ function getTestCounts(projectDir) {
|
|
|
207
214
|
}
|
|
208
215
|
|
|
209
216
|
function getLearningMetrics(projectDir) {
|
|
210
|
-
|
|
217
|
+
// Find active database (V3 takes priority)
|
|
218
|
+
let dbPath = null;
|
|
219
|
+
let isV3Schema = false;
|
|
220
|
+
|
|
221
|
+
for (const relPath of CONFIG.memoryDbPaths) {
|
|
222
|
+
const candidate = path.join(projectDir, relPath);
|
|
223
|
+
if (fileExists(candidate)) {
|
|
224
|
+
// Check which schema this database uses
|
|
225
|
+
const hasV3Tables = sqlite3Query(candidate,
|
|
226
|
+
"SELECT name FROM sqlite_master WHERE type='table' AND name='qe_patterns'", '') !== '';
|
|
227
|
+
const hasOldTables = sqlite3Query(candidate,
|
|
228
|
+
"SELECT name FROM sqlite_master WHERE type='table' AND name='patterns'", '') !== '';
|
|
229
|
+
|
|
230
|
+
if (hasV3Tables || hasOldTables) {
|
|
231
|
+
dbPath = candidate;
|
|
232
|
+
isV3Schema = hasV3Tables;
|
|
233
|
+
break;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
if (!dbPath) {
|
|
239
|
+
return {
|
|
240
|
+
patterns: 0, synthesized: 0, totalPatterns: 0, experiences: 0,
|
|
241
|
+
transfers: 0, successRate: 0, intelligencePct: 0, mode: 'off',
|
|
242
|
+
dbSource: 'none'
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
let patterns = 0, synthesized = 0, experiences = 0, transfers = 0, successRate = 0;
|
|
247
|
+
|
|
248
|
+
if (isV3Schema) {
|
|
249
|
+
// V3 Schema: qe_patterns, qe_trajectories, sona_patterns
|
|
250
|
+
patterns = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM qe_patterns')) || 0;
|
|
251
|
+
synthesized = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM sona_patterns')) || 0;
|
|
252
|
+
|
|
253
|
+
// Experiences: trajectories + claude-flow imported sessions
|
|
254
|
+
const trajectories = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM qe_trajectories')) || 0;
|
|
255
|
+
const cfExperiences = parseInt(sqlite3Query(dbPath,
|
|
256
|
+
"SELECT COUNT(*) FROM kv_store WHERE key LIKE 'cf:%'")) || 0;
|
|
257
|
+
experiences = trajectories + cfExperiences;
|
|
258
|
+
|
|
259
|
+
// V3 uses rl_q_values for transfer learning
|
|
260
|
+
transfers = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM rl_q_values')) || 0;
|
|
211
261
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
'SELECT
|
|
262
|
+
// Success rate from sona_patterns (claude-flow imports have outcome_success)
|
|
263
|
+
successRate = parseFloat(sqlite3Query(dbPath,
|
|
264
|
+
'SELECT ROUND(AVG(outcome_success)*100) FROM sona_patterns WHERE outcome_success > 0', '0')) || 0;
|
|
265
|
+
} else {
|
|
266
|
+
// Old Schema: patterns, learning_experiences, synthesized_patterns
|
|
267
|
+
patterns = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM patterns')) || 0;
|
|
268
|
+
synthesized = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM synthesized_patterns')) || 0;
|
|
269
|
+
experiences = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM learning_experiences')) || 0;
|
|
270
|
+
transfers = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM transfer_registry')) || 0;
|
|
271
|
+
successRate = parseFloat(sqlite3Query(dbPath,
|
|
272
|
+
'SELECT ROUND(AVG(success_rate)*100) FROM patterns WHERE success_rate > 0', '0')) || 0;
|
|
273
|
+
}
|
|
219
274
|
|
|
220
275
|
// Intelligence % based on experiences (target: 1000 = 100%)
|
|
221
|
-
const
|
|
276
|
+
const totalLearningData = patterns + synthesized + experiences;
|
|
277
|
+
const intelligencePct = Math.min(100, Math.floor((totalLearningData / CONFIG.intelligenceTargetExp) * 100));
|
|
222
278
|
|
|
223
|
-
// Get learning mode from config
|
|
279
|
+
// Get learning mode from config (check multiple paths)
|
|
224
280
|
let mode = 'off';
|
|
225
|
-
const
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
281
|
+
for (const relPath of CONFIG.learningConfigPaths) {
|
|
282
|
+
const configPath = path.join(projectDir, relPath);
|
|
283
|
+
const config = readJsonFile(configPath);
|
|
284
|
+
if (config.enabled && config.scheduler?.mode) {
|
|
285
|
+
mode = config.scheduler.mode;
|
|
286
|
+
break;
|
|
287
|
+
}
|
|
229
288
|
}
|
|
230
289
|
|
|
231
290
|
return {
|
|
@@ -237,6 +296,7 @@ function getLearningMetrics(projectDir) {
|
|
|
237
296
|
successRate,
|
|
238
297
|
intelligencePct,
|
|
239
298
|
mode,
|
|
299
|
+
dbSource: isV3Schema ? 'v3' : 'root',
|
|
240
300
|
};
|
|
241
301
|
}
|
|
242
302
|
|
|
@@ -375,16 +435,19 @@ function getArchitectureMetrics(projectDir) {
|
|
|
375
435
|
}
|
|
376
436
|
}
|
|
377
437
|
|
|
378
|
-
// AgentDB size
|
|
438
|
+
// AgentDB size - check both V3 and root databases
|
|
379
439
|
let agentDbSize = '';
|
|
380
|
-
const
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
440
|
+
for (const relPath of CONFIG.memoryDbPaths) {
|
|
441
|
+
const dbPath = path.join(projectDir, relPath);
|
|
442
|
+
if (fileExists(dbPath)) {
|
|
443
|
+
try {
|
|
444
|
+
const stats = fs.statSync(dbPath);
|
|
445
|
+
const sizeKB = Math.floor(stats.size / 1024);
|
|
446
|
+
agentDbSize = sizeKB > 1024 ? `${Math.floor(sizeKB / 1024)}M` : `${sizeKB}K`;
|
|
447
|
+
break; // Use first found database
|
|
448
|
+
} catch {
|
|
449
|
+
// Ignore
|
|
450
|
+
}
|
|
388
451
|
}
|
|
389
452
|
}
|
|
390
453
|
|
|
@@ -474,11 +537,14 @@ function generateStatusline(data) {
|
|
|
474
537
|
data.learning.mode === 'scheduled' ? `${c.yellow}◐` : `${c.dim}○`;
|
|
475
538
|
const transferIndicator = data.learning.transfers > 10 ? `${c.brightGreen}●` :
|
|
476
539
|
data.learning.transfers > 0 ? `${c.yellow}◐` : `${c.dim}○`;
|
|
540
|
+
const dbSourceIndicator = data.learning.dbSource === 'v3' ? `${c.brightCyan}v3` :
|
|
541
|
+
data.learning.dbSource === 'root' ? `${c.yellow}root` : `${c.dim}none`;
|
|
477
542
|
|
|
478
543
|
let line3 = `${c.brightPurple}🎓 Learning${c.reset} ${c.cyan}Patterns${c.reset} ${c.white}${padLeft(data.learning.totalPatterns, 4)}${c.reset}`;
|
|
479
544
|
line3 += ` ${c.dim}│${c.reset} ${c.cyan}Exp${c.reset} ${c.white}${padLeft(data.learning.experiences, 4)}${c.reset}`;
|
|
480
545
|
line3 += ` ${c.dim}│${c.reset} ${c.cyan}Mode${c.reset} ${modeIndicator}${data.learning.mode}${c.reset}`;
|
|
481
546
|
line3 += ` ${c.dim}│${c.reset} ${c.cyan}Transfer${c.reset} ${transferIndicator}${data.learning.transfers}${c.reset}`;
|
|
547
|
+
line3 += ` ${c.dim}│${c.reset} ${c.cyan}DB${c.reset} ${dbSourceIndicator}${c.reset}`;
|
|
482
548
|
lines.push(line3);
|
|
483
549
|
|
|
484
550
|
// Line 4: Architecture Status
|
|
@@ -508,7 +574,10 @@ function generateJSON(data) {
|
|
|
508
574
|
user: data.user,
|
|
509
575
|
domains: data.domains,
|
|
510
576
|
agents: data.agents,
|
|
511
|
-
learning:
|
|
577
|
+
learning: {
|
|
578
|
+
...data.learning,
|
|
579
|
+
dbSource: data.learning.dbSource,
|
|
580
|
+
},
|
|
512
581
|
security: data.cve,
|
|
513
582
|
context: data.context,
|
|
514
583
|
architecture: data.arch,
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
**V3 (Main)** | [V2 Documentation](v2/docs/V2-README.md) | [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
|
-
> **V3** brings Domain-Driven Design architecture, 12 bounded contexts, 51 specialized QE agents, TinyDancer intelligent model routing, ReasoningBank learning with Dream cycles, HNSW vector search, mathematical Coherence verification
|
|
14
|
+
> **V3** brings Domain-Driven Design architecture, 12 bounded contexts, 51 specialized QE agents, TinyDancer intelligent model routing, ReasoningBank learning with Dream cycles, HNSW vector search, mathematical Coherence verification, full MinCut/Consensus integration across all 12 domains, and deep integration with [Claude Flow](https://github.com/ruvnet/claude-flow) and [Agentic Flow](https://github.com/ruvnet/agentic-flow).
|
|
15
15
|
|
|
16
16
|
🏗️ **DDD Architecture** | 🧠 **ReasoningBank + Dream Cycles** | 🎯 **TinyDancer Model Routing** | 🔍 **HNSW Vector Search** | 👑 **Queen Coordinator** | 📊 **O(log n) Coverage** | 🔗 **Claude Flow Integration** | 🎯 **12 Bounded Contexts** | 📚 **61 QE Skills** | 🧬 **Coherence Verification**
|
|
17
17
|
|
|
@@ -240,9 +240,9 @@ aqe hooks model-stats
|
|
|
240
240
|
|
|
241
241
|
---
|
|
242
242
|
|
|
243
|
-
### 🔐 Consensus & MinCut Coordination
|
|
243
|
+
### 🔐 Consensus & MinCut Coordination (v3.3.3)
|
|
244
244
|
|
|
245
|
-
V3
|
|
245
|
+
V3.3.3 achieves **full MinCut/Consensus integration across all 12 domains**:
|
|
246
246
|
|
|
247
247
|
| Feature | Description |
|
|
248
248
|
|---------|-------------|
|
|
@@ -250,6 +250,9 @@ V3 includes advanced coordination mechanisms for reliable multi-agent decisions:
|
|
|
250
250
|
| **MinCut Topology** | Graph-based self-healing agent coordination |
|
|
251
251
|
| **Multi-Model Voting** | Aggregate decisions from multiple model tiers |
|
|
252
252
|
| **Claim Verification** | Cryptographic verification of agent work claims |
|
|
253
|
+
| **12/12 Domain Integration** | All domains use `verifyFinding()` for consensus |
|
|
254
|
+
| **Topology-Aware Routing** | Routes tasks avoiding weak network vertices |
|
|
255
|
+
| **Self-Healing Triggers** | `shouldPauseOperations()` for automatic recovery |
|
|
253
256
|
|
|
254
257
|
```bash
|
|
255
258
|
# View consensus status
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-qe",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"description": "Agentic Quality Engineering V3 - Domain-Driven Design Architecture with 12 Bounded Contexts, O(log n) coverage analysis, ReasoningBank learning, 51 specialized QE agents, mathematical Coherence verification, deep Claude Flow integration",
|
|
5
5
|
"main": "./v3/dist/index.js",
|
|
6
6
|
"types": "./v3/dist/index.d.ts",
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Sync Claude Flow memories to AQE V3 database
|
|
4
|
+
*/
|
|
5
|
+
const fs = require('fs');
|
|
6
|
+
const path = require('path');
|
|
7
|
+
|
|
8
|
+
const projectRoot = process.cwd();
|
|
9
|
+
const claudeFlowPath = path.join(projectRoot, '.claude-flow', 'memory', 'store.json');
|
|
10
|
+
const aqeDbPath = path.join(projectRoot, 'v3', '.agentic-qe', 'memory.db');
|
|
11
|
+
|
|
12
|
+
console.log('Claude Flow:', claudeFlowPath);
|
|
13
|
+
console.log('AQE DB:', aqeDbPath);
|
|
14
|
+
|
|
15
|
+
if (!fs.existsSync(claudeFlowPath)) {
|
|
16
|
+
console.error('Claude Flow store not found');
|
|
17
|
+
process.exit(1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (!fs.existsSync(aqeDbPath)) {
|
|
21
|
+
console.error('AQE DB not found');
|
|
22
|
+
process.exit(1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const store = JSON.parse(fs.readFileSync(claudeFlowPath, 'utf-8'));
|
|
26
|
+
const entries = store.entries || store;
|
|
27
|
+
const keys = Object.keys(entries).filter(k => !k.startsWith('_') && k !== 'version');
|
|
28
|
+
console.log('Entries to sync:', keys.length);
|
|
29
|
+
|
|
30
|
+
const Database = require('better-sqlite3');
|
|
31
|
+
const db = new Database(aqeDbPath);
|
|
32
|
+
db.pragma('journal_mode = WAL');
|
|
33
|
+
|
|
34
|
+
const insert = db.prepare(`
|
|
35
|
+
INSERT OR REPLACE INTO kv_store (key, namespace, value, created_at)
|
|
36
|
+
VALUES (?, ?, ?, ?)
|
|
37
|
+
`);
|
|
38
|
+
|
|
39
|
+
let count = 0;
|
|
40
|
+
let learning = 0;
|
|
41
|
+
|
|
42
|
+
// Also insert into sona_patterns for learning-related entries
|
|
43
|
+
const insertSona = db.prepare(`
|
|
44
|
+
INSERT OR REPLACE INTO sona_patterns
|
|
45
|
+
(id, type, domain, action_type, outcome_reward, outcome_success, metadata, created_at)
|
|
46
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, datetime('now'))
|
|
47
|
+
`);
|
|
48
|
+
|
|
49
|
+
for (const key of keys) {
|
|
50
|
+
const value = entries[key];
|
|
51
|
+
|
|
52
|
+
// Always store in kv_store
|
|
53
|
+
insert.run(
|
|
54
|
+
'cf:' + key,
|
|
55
|
+
'claude-flow',
|
|
56
|
+
JSON.stringify(value),
|
|
57
|
+
Date.now()
|
|
58
|
+
);
|
|
59
|
+
count++;
|
|
60
|
+
|
|
61
|
+
// Store learning-relevant entries in sona_patterns too
|
|
62
|
+
const keyLower = key.toLowerCase();
|
|
63
|
+
if (keyLower.includes('pattern') || keyLower.includes('analysis') ||
|
|
64
|
+
keyLower.includes('learning') || keyLower.includes('agent') ||
|
|
65
|
+
keyLower.includes('outcome') || keyLower.includes('quality')) {
|
|
66
|
+
|
|
67
|
+
// Determine domain
|
|
68
|
+
let domain = 'general';
|
|
69
|
+
const domains = ['test-generation', 'coverage-analysis', 'security-compliance',
|
|
70
|
+
'quality-assessment', 'code-intelligence'];
|
|
71
|
+
for (const d of domains) {
|
|
72
|
+
if (keyLower.includes(d.replace('-', ''))) {
|
|
73
|
+
domain = d;
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const id = 'cf-' + key.replace(/[^a-zA-Z0-9-]/g, '-').slice(0, 60);
|
|
79
|
+
|
|
80
|
+
try {
|
|
81
|
+
insertSona.run(
|
|
82
|
+
id,
|
|
83
|
+
'claude-flow-import',
|
|
84
|
+
domain,
|
|
85
|
+
'learn-from-session',
|
|
86
|
+
0.7, // Assume successful since it was stored
|
|
87
|
+
1,
|
|
88
|
+
JSON.stringify({ sourceKey: key, importedAt: new Date().toISOString() })
|
|
89
|
+
);
|
|
90
|
+
learning++;
|
|
91
|
+
} catch (e) {
|
|
92
|
+
// Ignore duplicate errors
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
db.close();
|
|
98
|
+
console.log('Synced to kv_store:', count, 'entries');
|
|
99
|
+
console.log('Synced to sona_patterns:', learning, 'learning entries');
|
package/v3/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,139 @@ All notable changes to Agentic QE will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.3.3] - 2026-01-27
|
|
9
|
+
|
|
10
|
+
### 🎯 Highlights
|
|
11
|
+
|
|
12
|
+
**Full MinCut/Consensus Integration** - All 12 QE domains now have active MinCut topology awareness, multi-model consensus verification, and self-healing triggers. This completes the ADR-047 implementation with production-ready distributed coordination.
|
|
13
|
+
|
|
14
|
+
**LLM Integration Across All Domains** - ADR-051 enables intelligent LLM-powered analysis in all 12 QE domains with TinyDancer model routing for cost optimization.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
#### LLM Integration for All 12 QE Domains (ADR-051)
|
|
19
|
+
- **test-generation** - AI-powered test synthesis with pattern learning
|
|
20
|
+
- **test-execution** - Intelligent flaky test analysis and retry recommendations
|
|
21
|
+
- **coverage-analysis** - LLM-assisted gap prioritization and risk scoring
|
|
22
|
+
- **quality-assessment** - AI-driven quality gate decisions with explanations
|
|
23
|
+
- **defect-intelligence** - ML-powered defect prediction and root cause analysis
|
|
24
|
+
- **requirements-validation** - LLM testability analysis and BDD generation
|
|
25
|
+
- **code-intelligence** - Semantic code search with natural language queries
|
|
26
|
+
- **security-compliance** - AI vulnerability analysis with remediation guidance
|
|
27
|
+
- **contract-testing** - LLM contract validation and breaking change detection
|
|
28
|
+
- **visual-accessibility** - AI visual regression analysis and WCAG recommendations
|
|
29
|
+
- **chaos-resilience** - Intelligent resilience assessment and failure prediction
|
|
30
|
+
- **learning-optimization** - Pattern consolidation with LLM synthesis
|
|
31
|
+
|
|
32
|
+
#### QE Agent Registry Fixes
|
|
33
|
+
- Added missing agents to registry: `qe-product-factors-assessor`, `qe-quality-criteria-recommender`, `qe-test-idea-rewriter`
|
|
34
|
+
- Fixed skill counts: 61 QE skills properly registered
|
|
35
|
+
- Updated agent-to-domain mappings
|
|
36
|
+
|
|
37
|
+
#### Documentation
|
|
38
|
+
- **TinyDancer Integration Plan** - Detailed plan for model routing across domains
|
|
39
|
+
- **Contract Validator LLM Docs** - LLM integration documentation for contract testing
|
|
40
|
+
|
|
41
|
+
#### MinCut/Consensus Full Domain Integration (ADR-047, MM-001)
|
|
42
|
+
- **All 12 domains** now actively use consensus verification (not just initialized)
|
|
43
|
+
- **Topology-aware routing** - `getTopologyBasedRouting()` in all domains
|
|
44
|
+
- **Self-healing triggers** - `shouldPauseOperations()` pauses work on critical topology
|
|
45
|
+
|
|
46
|
+
| Domain | verifyFinding Calls | Self-Healing | Routing |
|
|
47
|
+
|--------|---------------------|--------------|---------|
|
|
48
|
+
| test-generation | 3 | ✅ | ✅ |
|
|
49
|
+
| test-execution | 3 | ✅ | ✅ |
|
|
50
|
+
| coverage-analysis | 3 | ✅ | ✅ |
|
|
51
|
+
| quality-assessment | 2 | ✅ | ✅ |
|
|
52
|
+
| defect-intelligence | 3 | ✅ | ✅ |
|
|
53
|
+
| learning-optimization | 3 | ✅ | ✅ |
|
|
54
|
+
| security-compliance | 2 | ✅ | ✅ |
|
|
55
|
+
| chaos-resilience | 3 | ✅ | ✅ |
|
|
56
|
+
| code-intelligence | 3 | ✅ | ✅ |
|
|
57
|
+
| contract-testing | 3 | ✅ | ✅ |
|
|
58
|
+
| requirements-validation | 3 | ✅ | ✅ |
|
|
59
|
+
| visual-accessibility | 3 | ✅ | ✅ |
|
|
60
|
+
|
|
61
|
+
#### Performance Benchmarks
|
|
62
|
+
- **mincut-performance.test.ts** (20 tests) - Graph operations, health monitoring, memory usage
|
|
63
|
+
- **consensus-latency.test.ts** (18 tests) - Finding verification, batch operations, strategy comparison
|
|
64
|
+
|
|
65
|
+
#### Cross-Domain Integration Tests
|
|
66
|
+
- **cross-domain-mincut-consensus.test.ts** (34 tests) - Queen→Domain bridge injection, topology coordination
|
|
67
|
+
|
|
68
|
+
### Changed
|
|
69
|
+
|
|
70
|
+
#### Domain Coordinators (all 12)
|
|
71
|
+
- Added `verifyFinding()` calls for high-stakes decisions
|
|
72
|
+
- Added `getTopologyBasedRouting()` method
|
|
73
|
+
- Added `getDomainWeakVertices()` method
|
|
74
|
+
- Added `isDomainWeakPoint()` method
|
|
75
|
+
- Added self-healing with `shouldPauseOperations()` checks
|
|
76
|
+
|
|
77
|
+
#### Type Exports
|
|
78
|
+
- **consensus-enabled-domain.ts** - Re-export `ConsensusStats` type for domain use
|
|
79
|
+
- **contract-testing/interfaces.ts** - Use proper `WeakVertex[]` and `DomainName[]` types
|
|
80
|
+
- **code-intelligence/coordinator.ts** - Fixed routing type signatures
|
|
81
|
+
|
|
82
|
+
### Fixed
|
|
83
|
+
|
|
84
|
+
- **fix(types)**: ConsensusStats now properly exported from mixin module
|
|
85
|
+
- **fix(types)**: DomainName[] type consistency across routing methods
|
|
86
|
+
- **fix(coverage-analysis)**: Use `factors.contribution` instead of non-existent `factors.weight`
|
|
87
|
+
- **fix(benchmarks)**: Relaxed timing thresholds for CI stability (0.2ms→0.5ms, 512B→1KB)
|
|
88
|
+
|
|
89
|
+
### Documentation
|
|
90
|
+
|
|
91
|
+
- **MINCUT_CONSENSUS_INTEGRATION_PLAN.md** - Updated status to IMPLEMENTED with completion metrics
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## [3.3.2] - 2026-01-26
|
|
96
|
+
|
|
97
|
+
### 🎯 Highlights
|
|
98
|
+
|
|
99
|
+
**Automatic Dream Scheduling** - Dream Cycles are now actively triggered by QE agents instead of being passive-only. This upgrade brings QE v3 agent utilization to full capacity with cross-domain pattern consolidation.
|
|
100
|
+
|
|
101
|
+
### Added
|
|
102
|
+
|
|
103
|
+
#### DreamScheduler Service
|
|
104
|
+
- **dream-scheduler.ts** - Central scheduling service for automatic dream cycles
|
|
105
|
+
- Multiple trigger types:
|
|
106
|
+
| Trigger | When | Duration | Priority |
|
|
107
|
+
|---------|------|----------|----------|
|
|
108
|
+
| `scheduled` | Every 1 hour (configurable) | 30s | Low |
|
|
109
|
+
| `experience_threshold` | After 20 tasks accumulated | 10s | Medium |
|
|
110
|
+
| `quality_gate_failure` | On quality gate failure | 5s (quick) | High |
|
|
111
|
+
| `domain_milestone` | On domain milestone | 10s | Medium |
|
|
112
|
+
| `manual` | On-demand API call | Configurable | Varies |
|
|
113
|
+
|
|
114
|
+
#### Cross-Domain Dream Integration
|
|
115
|
+
- **EventBus integration** - `learning-optimization.dream.completed` event broadcasts insights
|
|
116
|
+
- **TestGenerationCoordinator** - Subscribes to dream insights, auto-applies high-confidence patterns
|
|
117
|
+
- **QualityAssessmentCoordinator** - Subscribes to dream insights for quality threshold tuning
|
|
118
|
+
- **LearningOptimizationCoordinator** - Records task experiences, manages DreamScheduler lifecycle
|
|
119
|
+
|
|
120
|
+
#### New Tests (84 total)
|
|
121
|
+
- `dream-scheduler.test.ts` (unit) - 38 tests for scheduler triggers, lifecycle, status
|
|
122
|
+
- `dream-scheduler.test.ts` (integration) - 46 tests for full pipeline, cross-domain events
|
|
123
|
+
|
|
124
|
+
### Changed
|
|
125
|
+
|
|
126
|
+
- **LearningOptimizationCoordinator** - Now initializes and manages DreamScheduler
|
|
127
|
+
- **interfaces.ts** - Added `publishDreamCycleCompleted()` method
|
|
128
|
+
- **domain-events.ts** - Added `DreamCycleCompletedPayload` type
|
|
129
|
+
|
|
130
|
+
### Fixed
|
|
131
|
+
|
|
132
|
+
- **fix(coordination)**: Wire Queen-Domain direct task execution integration
|
|
133
|
+
- **fix(learning)**: Close ReasoningBank integration gaps for full learning pipeline
|
|
134
|
+
|
|
135
|
+
### Documentation
|
|
136
|
+
|
|
137
|
+
- `DREAM_SCHEDULER_DESIGN.md` - Architecture design document with trigger specifications
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
8
141
|
## [3.3.1] - 2026-01-25
|
|
9
142
|
|
|
10
143
|
### 🎯 Highlights
|
package/v3/README.md
CHANGED
|
@@ -47,6 +47,7 @@ npx aqe test generate src/
|
|
|
47
47
|
- **Queen-led Coordination** - 3-5x throughput with work stealing and consensus
|
|
48
48
|
- **MinCut Topology** - Graph-based self-healing agent coordination
|
|
49
49
|
- **Coherence Verification** (v3.3.0) - Mathematical proof of belief consistency using WASM engines
|
|
50
|
+
- **MinCut/Consensus Integration** (v3.3.3) - Full 12/12 domain integration with self-healing
|
|
50
51
|
- **Zero-Breaking-Changes Migration** - Full v2 backward compatibility
|
|
51
52
|
- **Browser Automation** (v3.1.0) - @claude-flow/browser integration with 9 workflow templates
|
|
52
53
|
|
|
@@ -73,14 +74,17 @@ Background neural consolidation for continuous improvement:
|
|
|
73
74
|
- **EWC++ Protection**: Elastic Weight Consolidation prevents catastrophic forgetting
|
|
74
75
|
- **Novelty Scoring**: Prioritize learning from novel patterns
|
|
75
76
|
|
|
76
|
-
### Consensus & MinCut Coordination
|
|
77
|
+
### Consensus & MinCut Coordination (v3.3.3)
|
|
77
78
|
|
|
78
|
-
Advanced coordination for reliable multi-agent decisions
|
|
79
|
+
Advanced coordination for reliable multi-agent decisions with **full 12/12 domain integration**:
|
|
79
80
|
|
|
80
81
|
- **Byzantine Consensus**: Fault-tolerant voting for critical quality decisions
|
|
81
82
|
- **MinCut Topology**: Graph-based self-healing agent coordination
|
|
82
83
|
- **Multi-Model Voting**: Aggregate decisions from multiple model tiers
|
|
83
84
|
- **Claim Verification**: Cryptographic verification of agent work claims
|
|
85
|
+
- **12/12 Domain Coverage**: All domains actively use `verifyFinding()` for consensus
|
|
86
|
+
- **Topology-Aware Routing**: `getTopologyBasedRouting()` avoids weak vertices
|
|
87
|
+
- **Self-Healing Triggers**: `shouldPauseOperations()` enables automatic recovery
|
|
84
88
|
|
|
85
89
|
### Coherence-Gated Quality Engineering (v3.3.0)
|
|
86
90
|
|
|
@@ -486,7 +490,7 @@ console.log(`Quality gate: ${gate.value.passed ? 'PASSED' : 'FAILED'}`);
|
|
|
486
490
|
| Memory | SQLite only | HNSW + SQLite hybrid |
|
|
487
491
|
| Learning | Basic patterns | ReasoningBank + SONA + Dream Cycles |
|
|
488
492
|
| Agents | 32 | 51 QE agents (44 main + 7 subagents) |
|
|
489
|
-
| Skills | 35 |
|
|
493
|
+
| Skills | 35 | 61 QE skills (v2 + v3 domain skills) |
|
|
490
494
|
| Coverage | O(n) | O(log n) |
|
|
491
495
|
| Pattern Search | Linear | O(log n) HNSW indexing |
|
|
492
496
|
| Coordination | Sequential | Queen + Work Stealing + Consensus |
|
|
@@ -600,11 +604,11 @@ Agentic QE includes 51 specialized quality engineering agents (44 main + 7 subag
|
|
|
600
604
|
`qe-queen-coordinator`, `qe-fleet-commander`, `qe-integration-tester`, `qe-data-generator`, `qe-code-reviewer`
|
|
601
605
|
|
|
602
606
|
### Additional Agents (New in v3)
|
|
603
|
-
`qe-product-factors-assessor` (SFDIPOT analysis), `qe-test-idea-rewriter` (passive→active test transforms)
|
|
607
|
+
`qe-product-factors-assessor` (SFDIPOT analysis), `qe-quality-criteria-recommender` (HTSM v6.3 Quality Criteria), `qe-test-idea-rewriter` (passive→active test transforms)
|
|
604
608
|
|
|
605
609
|
## 61 QE Skills
|
|
606
610
|
|
|
607
|
-
Agentic QE includes
|
|
611
|
+
Agentic QE includes 61 domain-specific quality engineering skills that agents automatically apply:
|
|
608
612
|
|
|
609
613
|
<details>
|
|
610
614
|
<summary><b>View All 61 QE Skills</b></summary>
|