@agentic-qe/v3 3.0.0-alpha.6 → 3.0.0-alpha.7
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/assets/agents/v3/subagents/v3-qe-code-reviewer.md +339 -0
- package/assets/agents/v3/subagents/v3-qe-integration-reviewer.md +344 -0
- package/assets/agents/v3/subagents/v3-qe-performance-reviewer.md +351 -0
- package/assets/agents/v3/subagents/v3-qe-security-reviewer.md +374 -0
- package/assets/agents/v3/subagents/v3-qe-tdd-green.md +334 -0
- package/assets/agents/v3/subagents/v3-qe-tdd-red.md +329 -0
- package/assets/agents/v3/subagents/v3-qe-tdd-refactor.md +361 -0
- package/assets/agents/v3/v3-qe-accessibility-auditor.md +266 -0
- package/assets/agents/v3/v3-qe-bdd-generator.md +279 -0
- package/assets/agents/v3/v3-qe-chaos-engineer.md +265 -0
- package/assets/agents/v3/v3-qe-code-complexity.md +298 -0
- package/assets/agents/v3/v3-qe-code-intelligence.md +262 -0
- package/assets/agents/v3/v3-qe-contract-validator.md +267 -0
- package/assets/agents/v3/v3-qe-coverage-specialist.md +227 -0
- package/assets/agents/v3/v3-qe-defect-predictor.md +251 -0
- package/assets/agents/v3/v3-qe-dependency-mapper.md +277 -0
- package/assets/agents/v3/v3-qe-deployment-advisor.md +275 -0
- package/assets/agents/v3/v3-qe-flaky-hunter.md +248 -0
- package/assets/agents/v3/v3-qe-fleet-commander.md +293 -0
- package/assets/agents/v3/v3-qe-gap-detector.md +260 -0
- package/assets/agents/v3/v3-qe-graphql-tester.md +308 -0
- package/assets/agents/v3/v3-qe-impact-analyzer.md +299 -0
- package/assets/agents/v3/v3-qe-integration-tester.md +238 -0
- package/assets/agents/v3/v3-qe-kg-builder.md +273 -0
- package/assets/agents/v3/v3-qe-learning-coordinator.md +226 -0
- package/assets/agents/v3/v3-qe-load-tester.md +280 -0
- package/assets/agents/v3/v3-qe-metrics-optimizer.md +300 -0
- package/assets/agents/v3/v3-qe-mutation-tester.md +301 -0
- package/assets/agents/v3/v3-qe-parallel-executor.md +240 -0
- package/assets/agents/v3/v3-qe-pattern-learner.md +271 -0
- package/assets/agents/v3/v3-qe-performance-tester.md +262 -0
- package/assets/agents/v3/v3-qe-property-tester.md +247 -0
- package/assets/agents/v3/v3-qe-quality-gate.md +218 -0
- package/assets/agents/v3/v3-qe-queen-coordinator.md +214 -0
- package/assets/agents/v3/v3-qe-qx-partner.md +313 -0
- package/assets/agents/v3/v3-qe-regression-analyzer.md +322 -0
- package/assets/agents/v3/v3-qe-requirements-validator.md +360 -0
- package/assets/agents/v3/v3-qe-responsive-tester.md +311 -0
- package/assets/agents/v3/v3-qe-retry-handler.md +256 -0
- package/assets/agents/v3/v3-qe-risk-assessor.md +273 -0
- package/assets/agents/v3/v3-qe-root-cause-analyzer.md +286 -0
- package/assets/agents/v3/v3-qe-security-auditor.md +299 -0
- package/assets/agents/v3/v3-qe-security-scanner.md +235 -0
- package/assets/agents/v3/v3-qe-tdd-specialist.md +239 -0
- package/assets/agents/v3/v3-qe-test-architect.md +233 -0
- package/assets/agents/v3/v3-qe-transfer-specialist.md +295 -0
- package/assets/agents/v3/v3-qe-visual-tester.md +232 -0
- package/assets/skills/accessibility-testing/SKILL.md +216 -0
- package/assets/skills/agentdb-advanced/SKILL.md +550 -0
- package/assets/skills/agentdb-learning/SKILL.md +545 -0
- package/assets/skills/agentdb-memory-patterns/SKILL.md +339 -0
- package/assets/skills/agentdb-optimization/SKILL.md +509 -0
- package/assets/skills/agentdb-vector-search/SKILL.md +339 -0
- package/assets/skills/agentic-jujutsu/SKILL.md +645 -0
- package/assets/skills/agentic-quality-engineering/SKILL.md +335 -0
- package/assets/skills/api-testing-patterns/SKILL.md +294 -0
- package/assets/skills/aqe-v2-v3-migration/skill.md +322 -0
- package/assets/skills/brutal-honesty-review/README.md +218 -0
- package/assets/skills/brutal-honesty-review/SKILL.md +235 -0
- package/assets/skills/brutal-honesty-review/resources/assessment-rubrics.md +295 -0
- package/assets/skills/brutal-honesty-review/resources/review-template.md +102 -0
- package/assets/skills/brutal-honesty-review/scripts/assess-code.sh +179 -0
- package/assets/skills/brutal-honesty-review/scripts/assess-tests.sh +223 -0
- package/assets/skills/bug-reporting-excellence/SKILL.md +225 -0
- package/assets/skills/chaos-engineering-resilience/SKILL.md +158 -0
- package/assets/skills/cicd-pipeline-qe-orchestrator/README.md +304 -0
- package/assets/skills/cicd-pipeline-qe-orchestrator/SKILL.md +315 -0
- package/assets/skills/cicd-pipeline-qe-orchestrator/resources/workflows/microservice-pipeline.md +239 -0
- package/assets/skills/cicd-pipeline-qe-orchestrator/resources/workflows/mobile-pipeline.md +375 -0
- package/assets/skills/cicd-pipeline-qe-orchestrator/resources/workflows/monolith-pipeline.md +268 -0
- package/assets/skills/code-review-quality/SKILL.md +227 -0
- package/assets/skills/compatibility-testing/SKILL.md +205 -0
- package/assets/skills/compliance-testing/SKILL.md +225 -0
- package/assets/skills/consultancy-practices/SKILL.md +202 -0
- package/assets/skills/context-driven-testing/SKILL.md +196 -0
- package/assets/skills/contract-testing/SKILL.md +222 -0
- package/assets/skills/database-testing/SKILL.md +244 -0
- package/assets/skills/exploratory-testing-advanced/SKILL.md +201 -0
- package/assets/skills/flow-nexus-neural/SKILL.md +738 -0
- package/assets/skills/flow-nexus-platform/SKILL.md +1157 -0
- package/assets/skills/flow-nexus-swarm/SKILL.md +610 -0
- package/assets/skills/github-code-review/SKILL.md +1140 -0
- package/assets/skills/github-multi-repo/SKILL.md +874 -0
- package/assets/skills/github-project-management/SKILL.md +1277 -0
- package/assets/skills/github-release-management/SKILL.md +1081 -0
- package/assets/skills/github-workflow-automation/SKILL.md +1065 -0
- package/assets/skills/hive-mind-advanced/SKILL.md +712 -0
- package/assets/skills/holistic-testing-pact/SKILL.md +171 -0
- package/assets/skills/hooks-automation/SKILL.md +1201 -0
- package/assets/skills/localization-testing/SKILL.md +221 -0
- package/assets/skills/mobile-testing/SKILL.md +219 -0
- package/assets/skills/mutation-testing/SKILL.md +229 -0
- package/assets/skills/n8n-expression-testing/SKILL.md +434 -0
- package/assets/skills/n8n-integration-testing-patterns/SKILL.md +540 -0
- package/assets/skills/n8n-security-testing/SKILL.md +599 -0
- package/assets/skills/n8n-trigger-testing-strategies/SKILL.md +541 -0
- package/assets/skills/n8n-workflow-testing-fundamentals/SKILL.md +447 -0
- package/assets/skills/pair-programming/SKILL.md +1202 -0
- package/assets/skills/performance-analysis/SKILL.md +563 -0
- package/assets/skills/performance-testing/SKILL.md +310 -0
- package/assets/skills/quality-metrics/SKILL.md +225 -0
- package/assets/skills/reasoningbank-agentdb/SKILL.md +446 -0
- package/assets/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/assets/skills/refactoring-patterns/SKILL.md +205 -0
- package/assets/skills/regression-testing/SKILL.md +227 -0
- package/assets/skills/risk-based-testing/SKILL.md +206 -0
- package/assets/skills/security-testing/SKILL.md +306 -0
- package/assets/skills/sherlock-review/SKILL.md +250 -0
- package/assets/skills/shift-left-testing/SKILL.md +225 -0
- package/assets/skills/shift-right-testing/SKILL.md +227 -0
- package/assets/skills/six-thinking-hats/README.md +190 -0
- package/assets/skills/six-thinking-hats/SKILL.md +280 -0
- package/assets/skills/six-thinking-hats/resources/examples/api-testing-example.md +345 -0
- package/assets/skills/six-thinking-hats/resources/templates/solo-session-template.md +167 -0
- package/assets/skills/six-thinking-hats/resources/templates/team-session-template.md +336 -0
- package/assets/skills/skill-builder/SKILL.md +910 -0
- package/assets/skills/sparc-methodology/SKILL.md +1115 -0
- package/assets/skills/stream-chain/SKILL.md +563 -0
- package/assets/skills/swarm-advanced/SKILL.md +973 -0
- package/assets/skills/swarm-orchestration/SKILL.md +179 -0
- package/assets/skills/tdd-london-chicago/SKILL.md +244 -0
- package/assets/skills/technical-writing/SKILL.md +178 -0
- package/assets/skills/test-automation-strategy/SKILL.md +230 -0
- package/assets/skills/test-data-management/SKILL.md +270 -0
- package/assets/skills/test-design-techniques/SKILL.md +244 -0
- package/assets/skills/test-environment-management/SKILL.md +243 -0
- package/assets/skills/test-reporting-analytics/SKILL.md +214 -0
- package/assets/skills/testability-scoring/README.md +71 -0
- package/assets/skills/testability-scoring/SKILL.md +346 -0
- package/assets/skills/testability-scoring/resources/templates/config.template.js +84 -0
- package/assets/skills/testability-scoring/resources/templates/testability-scoring.spec.template.js +532 -0
- package/assets/skills/testability-scoring/scripts/generate-html-report.js +1007 -0
- package/assets/skills/testability-scoring/scripts/run-assessment.sh +70 -0
- package/assets/skills/v3-qe-chaos-resilience/SKILL.md +238 -0
- package/assets/skills/v3-qe-code-intelligence/SKILL.md +209 -0
- package/assets/skills/v3-qe-contract-testing/SKILL.md +218 -0
- package/assets/skills/v3-qe-coverage-analysis/SKILL.md +187 -0
- package/assets/skills/v3-qe-defect-intelligence/SKILL.md +205 -0
- package/assets/skills/v3-qe-learning-optimization/SKILL.md +238 -0
- package/assets/skills/v3-qe-quality-assessment/SKILL.md +213 -0
- package/assets/skills/v3-qe-requirements-validation/SKILL.md +248 -0
- package/assets/skills/v3-qe-test-execution/SKILL.md +182 -0
- package/assets/skills/v3-qe-test-generation/SKILL.md +141 -0
- package/assets/skills/v3-qe-visual-accessibility/SKILL.md +242 -0
- package/assets/skills/verification-quality/SKILL.md +649 -0
- package/assets/skills/visual-testing-advanced/SKILL.md +219 -0
- package/assets/skills/xp-practices/SKILL.md +229 -0
- package/dist/cli/bundle.js +8 -8
- package/dist/init/agents-installer.js +4 -4
- package/dist/init/agents-installer.js.map +1 -1
- package/dist/init/skills-installer.js +4 -4
- package/dist/init/skills-installer.js.map +1 -1
- package/package.json +7 -1
- package/docs/analysis/V3-INIT-REQUIREMENTS-ANALYSIS.md +0 -352
- package/implementation/README.md +0 -90
- package/implementation/adrs/ADR-030-coherence-gated-quality-gates.md +0 -312
- package/implementation/adrs/ADR-031-strange-loop-self-awareness.md +0 -484
- package/implementation/adrs/ADR-032-time-crystal-scheduling.md +0 -530
- package/implementation/adrs/ADR-033-early-exit-testing.md +0 -634
- package/implementation/adrs/ADR-034-neural-topology-optimizer.md +0 -589
- package/implementation/adrs/ADR-035-causal-discovery.md +0 -610
- package/implementation/adrs/ADR-036-result-persistence.md +0 -326
- package/implementation/adrs/ADR-037-v3-qe-agent-naming.md +0 -105
- package/implementation/adrs/ADR-038-v3-qe-memory-unification.md +0 -154
- package/implementation/adrs/ADR-039-v3-qe-mcp-optimization.md +0 -179
- package/implementation/adrs/ADR-040-v3-qe-agentic-flow-integration.md +0 -240
- package/implementation/adrs/ADR-041-v3-qe-cli-enhancement.md +0 -296
- package/implementation/adrs/ADR-042-v3-qe-token-tracking-integration.md +0 -517
- package/implementation/adrs/v3-adrs.md +0 -2783
- package/implementation/planning/AQE-V3-MASTER-PLAN.md +0 -815
- package/security-scan-report-2026-01-11.md +0 -410
- package/security-verification-report-2026-01-11.md +0 -278
- package/src/benchmarks/performance-benchmarks.ts +0 -646
- package/src/benchmarks/run-benchmarks.ts +0 -324
- package/src/causal-discovery/causal-graph.ts +0 -450
- package/src/causal-discovery/discovery-engine.ts +0 -438
- package/src/causal-discovery/index.ts +0 -117
- package/src/causal-discovery/types.ts +0 -456
- package/src/causal-discovery/weight-matrix.ts +0 -453
- package/src/cli/commands/qe-tools.ts +0 -634
- package/src/cli/index.ts +0 -1976
- package/src/compatibility/agent-mapper.ts +0 -291
- package/src/compatibility/cli-adapter.ts +0 -277
- package/src/compatibility/config-migrator.ts +0 -334
- package/src/compatibility/index.ts +0 -112
- package/src/compatibility/mcp-adapter.ts +0 -248
- package/src/compatibility/types.ts +0 -156
- package/src/coordination/claims/claim-repository.ts +0 -636
- package/src/coordination/claims/claim-service.ts +0 -675
- package/src/coordination/claims/handoff-manager.ts +0 -535
- package/src/coordination/claims/index.ts +0 -276
- package/src/coordination/claims/interfaces.ts +0 -687
- package/src/coordination/claims/work-stealing.ts +0 -436
- package/src/coordination/cross-domain-router.ts +0 -492
- package/src/coordination/index.ts +0 -127
- package/src/coordination/interfaces.ts +0 -691
- package/src/coordination/protocol-executor.ts +0 -760
- package/src/coordination/protocols/code-intelligence-index.ts +0 -855
- package/src/coordination/protocols/defect-investigation.ts +0 -1184
- package/src/coordination/protocols/index.ts +0 -11
- package/src/coordination/protocols/learning-consolidation.ts +0 -1181
- package/src/coordination/protocols/morning-sync.ts +0 -1055
- package/src/coordination/protocols/quality-gate.ts +0 -1566
- package/src/coordination/protocols/security-audit.ts +0 -1587
- package/src/coordination/queen-coordinator.ts +0 -1176
- package/src/coordination/result-saver.ts +0 -780
- package/src/coordination/task-executor.ts +0 -1146
- package/src/coordination/workflow-orchestrator.ts +0 -1917
- package/src/domains/chaos-resilience/coordinator.ts +0 -1032
- package/src/domains/chaos-resilience/index.ts +0 -143
- package/src/domains/chaos-resilience/interfaces.ts +0 -659
- package/src/domains/chaos-resilience/plugin.ts +0 -691
- package/src/domains/chaos-resilience/services/chaos-engineer.ts +0 -1097
- package/src/domains/chaos-resilience/services/index.ts +0 -19
- package/src/domains/chaos-resilience/services/load-tester.ts +0 -799
- package/src/domains/chaos-resilience/services/performance-profiler.ts +0 -792
- package/src/domains/code-intelligence/coordinator.ts +0 -631
- package/src/domains/code-intelligence/index.ts +0 -86
- package/src/domains/code-intelligence/interfaces.ts +0 -162
- package/src/domains/code-intelligence/plugin.ts +0 -451
- package/src/domains/code-intelligence/services/impact-analyzer.ts +0 -567
- package/src/domains/code-intelligence/services/index.ts +0 -26
- package/src/domains/code-intelligence/services/knowledge-graph.ts +0 -1067
- package/src/domains/code-intelligence/services/semantic-analyzer.ts +0 -901
- package/src/domains/contract-testing/coordinator.ts +0 -1038
- package/src/domains/contract-testing/index.ts +0 -122
- package/src/domains/contract-testing/interfaces.ts +0 -458
- package/src/domains/contract-testing/plugin.ts +0 -746
- package/src/domains/contract-testing/services/api-compatibility.ts +0 -748
- package/src/domains/contract-testing/services/contract-validator.ts +0 -1700
- package/src/domains/contract-testing/services/index.ts +0 -19
- package/src/domains/contract-testing/services/schema-validator.ts +0 -1102
- package/src/domains/coverage-analysis/coordinator.ts +0 -485
- package/src/domains/coverage-analysis/index.ts +0 -114
- package/src/domains/coverage-analysis/interfaces.ts +0 -142
- package/src/domains/coverage-analysis/plugin.ts +0 -172
- package/src/domains/coverage-analysis/services/coverage-analyzer.ts +0 -449
- package/src/domains/coverage-analysis/services/coverage-embedder.ts +0 -733
- package/src/domains/coverage-analysis/services/coverage-parser.ts +0 -753
- package/src/domains/coverage-analysis/services/gap-detector.ts +0 -592
- package/src/domains/coverage-analysis/services/hnsw-index.ts +0 -728
- package/src/domains/coverage-analysis/services/index.ts +0 -61
- package/src/domains/coverage-analysis/services/risk-scorer.ts +0 -540
- package/src/domains/coverage-analysis/services/sublinear-analyzer.ts +0 -747
- package/src/domains/defect-intelligence/coordinator.ts +0 -635
- package/src/domains/defect-intelligence/index.ts +0 -83
- package/src/domains/defect-intelligence/interfaces.ts +0 -152
- package/src/domains/defect-intelligence/plugin.ts +0 -483
- package/src/domains/defect-intelligence/services/causal-root-cause-analyzer.ts +0 -494
- package/src/domains/defect-intelligence/services/defect-predictor.ts +0 -852
- package/src/domains/defect-intelligence/services/index.ts +0 -37
- package/src/domains/defect-intelligence/services/pattern-learner.ts +0 -738
- package/src/domains/defect-intelligence/services/root-cause-analyzer.ts +0 -637
- package/src/domains/domain-interface.ts +0 -77
- package/src/domains/index.ts +0 -23
- package/src/domains/learning-optimization/coordinator.ts +0 -1215
- package/src/domains/learning-optimization/index.ts +0 -127
- package/src/domains/learning-optimization/interfaces.ts +0 -570
- package/src/domains/learning-optimization/plugin.ts +0 -851
- package/src/domains/learning-optimization/services/index.ts +0 -29
- package/src/domains/learning-optimization/services/learning-coordinator.ts +0 -972
- package/src/domains/learning-optimization/services/metrics-optimizer.ts +0 -915
- package/src/domains/learning-optimization/services/production-intel.ts +0 -971
- package/src/domains/learning-optimization/services/transfer-specialist.ts +0 -723
- package/src/domains/quality-assessment/coherence/gate-controller.ts +0 -549
- package/src/domains/quality-assessment/coherence/index.ts +0 -211
- package/src/domains/quality-assessment/coherence/lambda-calculator.ts +0 -384
- package/src/domains/quality-assessment/coherence/partition-detector.ts +0 -469
- package/src/domains/quality-assessment/coherence/types.ts +0 -384
- package/src/domains/quality-assessment/coordinator.ts +0 -605
- package/src/domains/quality-assessment/index.ts +0 -97
- package/src/domains/quality-assessment/interfaces.ts +0 -152
- package/src/domains/quality-assessment/plugin.ts +0 -496
- package/src/domains/quality-assessment/services/coherence-gate.ts +0 -358
- package/src/domains/quality-assessment/services/deployment-advisor.ts +0 -571
- package/src/domains/quality-assessment/services/index.ts +0 -34
- package/src/domains/quality-assessment/services/quality-analyzer.ts +0 -670
- package/src/domains/quality-assessment/services/quality-gate.ts +0 -384
- package/src/domains/requirements-validation/coordinator.ts +0 -812
- package/src/domains/requirements-validation/index.ts +0 -92
- package/src/domains/requirements-validation/interfaces.ts +0 -303
- package/src/domains/requirements-validation/plugin.ts +0 -576
- package/src/domains/requirements-validation/services/bdd-scenario-writer.ts +0 -676
- package/src/domains/requirements-validation/services/index.ts +0 -20
- package/src/domains/requirements-validation/services/requirements-validator.ts +0 -559
- package/src/domains/requirements-validation/services/testability-scorer.ts +0 -639
- package/src/domains/security-compliance/coordinator.ts +0 -757
- package/src/domains/security-compliance/index.ts +0 -120
- package/src/domains/security-compliance/interfaces.ts +0 -434
- package/src/domains/security-compliance/plugin.ts +0 -509
- package/src/domains/security-compliance/services/compliance-validator.ts +0 -1226
- package/src/domains/security-compliance/services/index.ts +0 -31
- package/src/domains/security-compliance/services/security-auditor.ts +0 -2227
- package/src/domains/security-compliance/services/security-scanner.ts +0 -2354
- package/src/domains/security-compliance/services/semgrep-integration.ts +0 -289
- package/src/domains/test-execution/coordinator.ts +0 -426
- package/src/domains/test-execution/index.ts +0 -76
- package/src/domains/test-execution/interfaces.ts +0 -119
- package/src/domains/test-execution/plugin.ts +0 -208
- package/src/domains/test-execution/services/flaky-detector.ts +0 -1240
- package/src/domains/test-execution/services/index.ts +0 -8
- package/src/domains/test-execution/services/retry-handler.ts +0 -820
- package/src/domains/test-execution/services/test-executor.ts +0 -885
- package/src/domains/test-generation/coordinator.ts +0 -656
- package/src/domains/test-generation/index.ts +0 -77
- package/src/domains/test-generation/interfaces.ts +0 -118
- package/src/domains/test-generation/plugin.ts +0 -397
- package/src/domains/test-generation/services/index.ts +0 -23
- package/src/domains/test-generation/services/pattern-matcher.ts +0 -1725
- package/src/domains/test-generation/services/test-generator.ts +0 -2750
- package/src/domains/visual-accessibility/coordinator.ts +0 -860
- package/src/domains/visual-accessibility/index.ts +0 -116
- package/src/domains/visual-accessibility/interfaces.ts +0 -435
- package/src/domains/visual-accessibility/plugin.ts +0 -568
- package/src/domains/visual-accessibility/services/accessibility-tester.ts +0 -982
- package/src/domains/visual-accessibility/services/axe-core-audit.ts +0 -630
- package/src/domains/visual-accessibility/services/index.ts +0 -28
- package/src/domains/visual-accessibility/services/responsive-tester.ts +0 -934
- package/src/domains/visual-accessibility/services/visual-tester.ts +0 -458
- package/src/early-exit/early-exit-controller.ts +0 -490
- package/src/early-exit/early-exit-decision.ts +0 -391
- package/src/early-exit/index.ts +0 -115
- package/src/early-exit/quality-signal.ts +0 -389
- package/src/early-exit/speculative-executor.ts +0 -505
- package/src/early-exit/types.ts +0 -407
- package/src/feedback/coverage-learner.ts +0 -456
- package/src/feedback/feedback-loop.ts +0 -426
- package/src/feedback/index.ts +0 -72
- package/src/feedback/pattern-promotion.ts +0 -373
- package/src/feedback/quality-score-calculator.ts +0 -334
- package/src/feedback/test-outcome-tracker.ts +0 -450
- package/src/feedback/types.ts +0 -497
- package/src/index.ts +0 -224
- package/src/init/agents-installer.ts +0 -536
- package/src/init/index.ts +0 -80
- package/src/init/init-wizard.ts +0 -1061
- package/src/init/project-analyzer.ts +0 -696
- package/src/init/self-configurator.ts +0 -488
- package/src/init/skills-installer.ts +0 -467
- package/src/init/types.ts +0 -432
- package/src/integrations/ruvector/ast-complexity.ts +0 -470
- package/src/integrations/ruvector/coverage-router.ts +0 -594
- package/src/integrations/ruvector/diff-risk-classifier.ts +0 -759
- package/src/integrations/ruvector/fallback.ts +0 -942
- package/src/integrations/ruvector/graph-boundaries.ts +0 -809
- package/src/integrations/ruvector/index.ts +0 -363
- package/src/integrations/ruvector/interfaces.ts +0 -609
- package/src/integrations/ruvector/q-learning-router.ts +0 -550
- package/src/kernel/agent-coordinator.ts +0 -165
- package/src/kernel/agentdb-backend.ts +0 -504
- package/src/kernel/event-bus.ts +0 -129
- package/src/kernel/hybrid-backend.ts +0 -538
- package/src/kernel/index.ts +0 -28
- package/src/kernel/interfaces.ts +0 -257
- package/src/kernel/kernel.ts +0 -285
- package/src/kernel/memory-backend.ts +0 -169
- package/src/kernel/memory-factory.ts +0 -293
- package/src/kernel/plugin-loader.ts +0 -179
- package/src/learning/index.ts +0 -219
- package/src/learning/pattern-store.ts +0 -990
- package/src/learning/qe-guidance.ts +0 -832
- package/src/learning/qe-hooks.ts +0 -644
- package/src/learning/qe-patterns.ts +0 -449
- package/src/learning/qe-reasoning-bank.ts +0 -951
- package/src/learning/real-embeddings.ts +0 -277
- package/src/learning/real-qe-reasoning-bank.ts +0 -833
- package/src/learning/sqlite-persistence.ts +0 -554
- package/src/mcp/entry.ts +0 -59
- package/src/mcp/handlers/agent-handlers.ts +0 -285
- package/src/mcp/handlers/core-handlers.ts +0 -317
- package/src/mcp/handlers/domain-handlers.ts +0 -1444
- package/src/mcp/handlers/index.ts +0 -57
- package/src/mcp/handlers/memory-handlers.ts +0 -338
- package/src/mcp/handlers/task-handlers.ts +0 -363
- package/src/mcp/index.ts +0 -30
- package/src/mcp/metrics/index.ts +0 -14
- package/src/mcp/metrics/metrics-collector.ts +0 -503
- package/src/mcp/protocol-server.ts +0 -752
- package/src/mcp/security/cve-prevention.ts +0 -742
- package/src/mcp/security/index.ts +0 -356
- package/src/mcp/security/oauth21-provider.ts +0 -821
- package/src/mcp/security/rate-limiter.ts +0 -615
- package/src/mcp/security/sampling-server.ts +0 -662
- package/src/mcp/security/schema-validator.ts +0 -855
- package/src/mcp/server.ts +0 -657
- package/src/mcp/tool-registry.ts +0 -391
- package/src/mcp/tools/base.ts +0 -399
- package/src/mcp/tools/chaos-resilience/inject.ts +0 -699
- package/src/mcp/tools/code-intelligence/analyze.ts +0 -745
- package/src/mcp/tools/contract-testing/validate.ts +0 -708
- package/src/mcp/tools/coverage-analysis/index.ts +0 -770
- package/src/mcp/tools/defect-intelligence/predict.ts +0 -466
- package/src/mcp/tools/index.ts +0 -214
- package/src/mcp/tools/learning-optimization/optimize.ts +0 -772
- package/src/mcp/tools/quality-assessment/evaluate.ts +0 -385
- package/src/mcp/tools/registry.ts +0 -248
- package/src/mcp/tools/requirements-validation/validate.ts +0 -394
- package/src/mcp/tools/security-compliance/scan.ts +0 -365
- package/src/mcp/tools/test-execution/execute.ts +0 -291
- package/src/mcp/tools/test-generation/generate.ts +0 -544
- package/src/mcp/tools/visual-accessibility/index.ts +0 -791
- package/src/mcp/transport/index.ts +0 -31
- package/src/mcp/transport/stdio.ts +0 -318
- package/src/mcp/types.ts +0 -543
- package/src/neural-optimizer/index.ts +0 -111
- package/src/neural-optimizer/replay-buffer.ts +0 -455
- package/src/neural-optimizer/swarm-topology.ts +0 -508
- package/src/neural-optimizer/topology-optimizer.ts +0 -828
- package/src/neural-optimizer/types.ts +0 -481
- package/src/neural-optimizer/value-network.ts +0 -351
- package/src/optimization/auto-tuner.ts +0 -817
- package/src/optimization/index.ts +0 -77
- package/src/optimization/metric-collectors.ts +0 -474
- package/src/optimization/qe-workers.ts +0 -704
- package/src/optimization/tuning-algorithm.ts +0 -401
- package/src/optimization/types.ts +0 -314
- package/src/routing/index.ts +0 -51
- package/src/routing/qe-agent-registry.ts +0 -963
- package/src/routing/qe-task-router.ts +0 -564
- package/src/routing/routing-feedback.ts +0 -365
- package/src/routing/types.ts +0 -406
- package/src/shared/embeddings/embedding-cache.ts +0 -157
- package/src/shared/embeddings/index.ts +0 -50
- package/src/shared/embeddings/nomic-embedder.ts +0 -404
- package/src/shared/embeddings/ollama-client.ts +0 -195
- package/src/shared/embeddings/types.ts +0 -147
- package/src/shared/entities/agent.ts +0 -141
- package/src/shared/entities/base-entity.ts +0 -79
- package/src/shared/entities/index.ts +0 -6
- package/src/shared/events/domain-events.ts +0 -259
- package/src/shared/events/index.ts +0 -5
- package/src/shared/git/git-analyzer.ts +0 -656
- package/src/shared/git/index.ts +0 -11
- package/src/shared/http/http-client.ts +0 -420
- package/src/shared/http/index.ts +0 -13
- package/src/shared/index.ts +0 -41
- package/src/shared/io/file-reader.ts +0 -525
- package/src/shared/io/index.ts +0 -25
- package/src/shared/llm/cache.ts +0 -473
- package/src/shared/llm/circuit-breaker.ts +0 -369
- package/src/shared/llm/cost-tracker.ts +0 -460
- package/src/shared/llm/index.ts +0 -140
- package/src/shared/llm/interfaces.ts +0 -629
- package/src/shared/llm/provider-manager.ts +0 -685
- package/src/shared/llm/providers/claude.ts +0 -524
- package/src/shared/llm/providers/index.ts +0 -8
- package/src/shared/llm/providers/ollama.ts +0 -575
- package/src/shared/llm/providers/openai.ts +0 -609
- package/src/shared/metrics/code-metrics.ts +0 -520
- package/src/shared/metrics/index.ts +0 -23
- package/src/shared/metrics/system-metrics.ts +0 -353
- package/src/shared/parsers/index.ts +0 -6
- package/src/shared/parsers/typescript-parser.ts +0 -841
- package/src/shared/security/compliance-patterns.ts +0 -666
- package/src/shared/security/index.ts +0 -30
- package/src/shared/security/osv-client.ts +0 -468
- package/src/shared/types/index.ts +0 -150
- package/src/shared/value-objects/index.ts +0 -273
- package/src/strange-loop/healing-controller.ts +0 -833
- package/src/strange-loop/index.ts +0 -104
- package/src/strange-loop/self-model.ts +0 -494
- package/src/strange-loop/strange-loop.ts +0 -446
- package/src/strange-loop/swarm-observer.ts +0 -448
- package/src/strange-loop/topology-analyzer.ts +0 -565
- package/src/strange-loop/types.ts +0 -640
- package/src/time-crystal/default-phases.ts +0 -520
- package/src/time-crystal/index.ts +0 -164
- package/src/time-crystal/oscillator.ts +0 -425
- package/src/time-crystal/phase-executor.ts +0 -521
- package/src/time-crystal/scheduler.ts +0 -1025
- package/src/time-crystal/test-runner.ts +0 -787
- package/src/time-crystal/types.ts +0 -421
- package/src/workers/base-worker.ts +0 -304
- package/src/workers/daemon.ts +0 -264
- package/src/workers/index.ts +0 -119
- package/src/workers/interfaces.ts +0 -393
- package/src/workers/worker-manager.ts +0 -424
- package/src/workers/workers/compliance-checker.ts +0 -445
- package/src/workers/workers/coverage-tracker.ts +0 -344
- package/src/workers/workers/defect-predictor.ts +0 -375
- package/src/workers/workers/flaky-detector.ts +0 -390
- package/src/workers/workers/index.ts +0 -17
- package/src/workers/workers/learning-consolidation.ts +0 -442
- package/src/workers/workers/performance-baseline.ts +0 -434
- package/src/workers/workers/quality-gate.ts +0 -419
- package/src/workers/workers/regression-monitor.ts +0 -357
- package/src/workers/workers/security-scan.ts +0 -349
- package/src/workers/workers/test-health.ts +0 -359
- package/tests/integration/code-intelligence/knowledge-graph-real.test.ts +0 -540
- package/tests/integration/coordination/cross-domain-router.test.ts +0 -403
- package/tests/integration/coordination/protocol-executor.test.ts +0 -454
- package/tests/integration/coordination/workflow-orchestrator.test.ts +0 -418
- package/tests/integration/feedback/feedback-loop-integration.test.ts +0 -560
- package/tests/integration/migration/v2-to-v3-migration.test.ts +0 -471
- package/tests/integration/parsers/typescript-parser.test.ts +0 -463
- package/tests/integration/security/vulnerability-detection.test.ts +0 -628
- package/tests/integration/test-execution/coordinator.test.ts +0 -410
- package/tests/integration/test-generation/coordinator.test.ts +0 -361
- package/tests/mocks/index.ts +0 -228
- package/tests/time-crystal/default-phases.test.ts +0 -476
- package/tests/time-crystal/oscillator.test.ts +0 -541
- package/tests/time-crystal/phase-executor.test.ts +0 -653
- package/tests/time-crystal/scheduler.test.ts +0 -626
- package/tests/time-crystal/test-runner.test.ts +0 -594
- package/tests/unit/causal-discovery/causal-graph.test.ts +0 -504
- package/tests/unit/causal-discovery/causal-root-cause-analyzer.test.ts +0 -347
- package/tests/unit/causal-discovery/discovery-engine.test.ts +0 -435
- package/tests/unit/causal-discovery/weight-matrix.test.ts +0 -328
- package/tests/unit/cli/cli.test.ts +0 -341
- package/tests/unit/cli/commands.test.ts +0 -414
- package/tests/unit/cli/init-command.test.ts +0 -274
- package/tests/unit/cli/migrate-command.test.ts +0 -396
- package/tests/unit/coordination/claims/claim-service.test.ts +0 -949
- package/tests/unit/coordination/claims/handoff-manager.test.ts +0 -773
- package/tests/unit/coordination/claims/work-stealing.test.ts +0 -492
- package/tests/unit/coordination/queen-coordinator.test.ts +0 -966
- package/tests/unit/coordination/result-saver.test.ts +0 -653
- package/tests/unit/coordination/task-executor.test.ts +0 -810
- package/tests/unit/domains/chaos-resilience/chaos-engineer.test.ts +0 -484
- package/tests/unit/domains/chaos-resilience/load-tester.test.ts +0 -559
- package/tests/unit/domains/chaos-resilience/performance-profiler.test.ts +0 -490
- package/tests/unit/domains/code-intelligence/impact-analyzer.test.ts +0 -560
- package/tests/unit/domains/code-intelligence/knowledge-graph.test.ts +0 -460
- package/tests/unit/domains/code-intelligence/semantic-analyzer.test.ts +0 -584
- package/tests/unit/domains/contract-testing/api-compatibility.test.ts +0 -483
- package/tests/unit/domains/contract-testing/contract-validator.test.ts +0 -370
- package/tests/unit/domains/contract-testing/schema-validator.test.ts +0 -610
- package/tests/unit/domains/coverage-analysis/coverage-embedder.test.ts +0 -298
- package/tests/unit/domains/coverage-analysis/hnsw-index.test.ts +0 -292
- package/tests/unit/domains/coverage-analysis/sublinear-analyzer.test.ts +0 -506
- package/tests/unit/domains/defect-intelligence/defect-predictor.test.ts +0 -370
- package/tests/unit/domains/defect-intelligence/pattern-learner.test.ts +0 -546
- package/tests/unit/domains/defect-intelligence/root-cause-analyzer.test.ts +0 -534
- package/tests/unit/domains/learning-optimization/learning-coordinator.test.ts +0 -541
- package/tests/unit/domains/learning-optimization/metrics-optimizer.test.ts +0 -552
- package/tests/unit/domains/learning-optimization/production-intel.test.ts +0 -589
- package/tests/unit/domains/learning-optimization/transfer-specialist.test.ts +0 -453
- package/tests/unit/domains/quality-assessment/coherence-gate.test.ts +0 -1006
- package/tests/unit/domains/quality-assessment/deployment-advisor.test.ts +0 -515
- package/tests/unit/domains/quality-assessment/quality-analyzer.test.ts +0 -401
- package/tests/unit/domains/quality-assessment/quality-gate.test.ts +0 -324
- package/tests/unit/domains/requirements-validation/bdd-scenario-writer.test.ts +0 -479
- package/tests/unit/domains/requirements-validation/requirements-validator.test.ts +0 -452
- package/tests/unit/domains/requirements-validation/testability-scorer.test.ts +0 -505
- package/tests/unit/domains/security-compliance/compliance-validator.test.ts +0 -500
- package/tests/unit/domains/security-compliance/security-auditor.test.ts +0 -498
- package/tests/unit/domains/security-compliance/security-scanner.test.ts +0 -412
- package/tests/unit/domains/visual-accessibility/accessibility-tester.test.ts +0 -432
- package/tests/unit/domains/visual-accessibility/responsive-tester.test.ts +0 -506
- package/tests/unit/domains/visual-accessibility/visual-tester.test.ts +0 -412
- package/tests/unit/early-exit/early-exit-controller.test.ts +0 -548
- package/tests/unit/early-exit/early-exit-decision.test.ts +0 -617
- package/tests/unit/early-exit/index.test.ts +0 -254
- package/tests/unit/early-exit/quality-signal.test.ts +0 -589
- package/tests/unit/early-exit/speculative-executor.test.ts +0 -453
- package/tests/unit/feedback/coverage-learner.test.ts +0 -288
- package/tests/unit/feedback/feedback-loop.test.ts +0 -458
- package/tests/unit/feedback/pattern-promotion.test.ts +0 -390
- package/tests/unit/feedback/quality-score-calculator.test.ts +0 -364
- package/tests/unit/feedback/test-outcome-tracker.test.ts +0 -243
- package/tests/unit/init/init-wizard.test.ts +0 -881
- package/tests/unit/init/project-analyzer.test.ts +0 -807
- package/tests/unit/init/self-configurator.test.ts +0 -493
- package/tests/unit/integrations/ruvector/ast-complexity.test.ts +0 -240
- package/tests/unit/integrations/ruvector/coverage-router.test.ts +0 -366
- package/tests/unit/integrations/ruvector/diff-risk-classifier.test.ts +0 -340
- package/tests/unit/integrations/ruvector/graph-boundaries.test.ts +0 -355
- package/tests/unit/integrations/ruvector/q-learning-router.test.ts +0 -314
- package/tests/unit/kernel/agent-coordinator.test.ts +0 -220
- package/tests/unit/kernel/event-bus.test.ts +0 -197
- package/tests/unit/learning/qe-reasoning-bank.test.ts +0 -666
- package/tests/unit/learning/real-qe-reasoning-bank.benchmark.test.ts +0 -415
- package/tests/unit/mcp/mcp-server.test.ts +0 -544
- package/tests/unit/mcp/metrics/metrics-collector.test.ts +0 -340
- package/tests/unit/mcp/security/cve-prevention.test.ts +0 -512
- package/tests/unit/mcp/security/oauth21-provider.test.ts +0 -624
- package/tests/unit/mcp/security/rate-limiter.test.ts +0 -410
- package/tests/unit/mcp/security/sampling-server.test.ts +0 -420
- package/tests/unit/mcp/security/schema-validator.test.ts +0 -494
- package/tests/unit/mcp/tools/base.test.ts +0 -336
- package/tests/unit/mcp/tools/domain-tools.test.ts +0 -759
- package/tests/unit/mcp/tools/registry.test.ts +0 -240
- package/tests/unit/neural-optimizer/replay-buffer.test.ts +0 -403
- package/tests/unit/neural-optimizer/swarm-topology.test.ts +0 -473
- package/tests/unit/neural-optimizer/topology-optimizer.test.ts +0 -595
- package/tests/unit/neural-optimizer/value-network.test.ts +0 -343
- package/tests/unit/optimization/auto-tuner.test.ts +0 -506
- package/tests/unit/optimization/metric-collectors.test.ts +0 -352
- package/tests/unit/optimization/qe-workers.test.ts +0 -407
- package/tests/unit/optimization/tuning-algorithm.test.ts +0 -467
- package/tests/unit/routing/qe-agent-registry.test.ts +0 -229
- package/tests/unit/routing/qe-task-router.test.ts +0 -390
- package/tests/unit/routing/routing-feedback.test.ts +0 -339
- package/tests/unit/shared/embeddings/nomic-embedder.test.ts +0 -419
- package/tests/unit/shared/http/http-client.test.ts +0 -719
- package/tests/unit/shared/io/file-reader.test.ts +0 -511
- package/tests/unit/shared/llm/cache.test.ts +0 -391
- package/tests/unit/shared/llm/circuit-breaker.test.ts +0 -293
- package/tests/unit/shared/llm/cost-tracker.test.ts +0 -431
- package/tests/unit/shared/llm/provider-manager.test.ts +0 -550
- package/tests/unit/shared/llm/providers.test.ts +0 -532
- package/tests/unit/shared/parsers/typescript-parser.test.ts +0 -693
- package/tests/unit/shared/value-objects.test.ts +0 -184
- package/tests/unit/strange-loop/strange-loop.test.ts +0 -1170
- package/tests/unit/workers/base-worker.test.ts +0 -341
- package/tests/unit/workers/daemon.test.ts +0 -291
- package/tests/unit/workers/worker-manager.test.ts +0 -284
- package/tsconfig.json +0 -32
- package/vitest.config.ts +0 -27
|
@@ -1,815 +0,0 @@
|
|
|
1
|
-
# Agentic QE v3: Complete Reimagining with DDD Architecture
|
|
2
|
-
|
|
3
|
-
## Executive Summary
|
|
4
|
-
|
|
5
|
-
Agentic QE v3 represents a complete architectural overhaul that transforms the quality engineering framework from monolithic services to Domain-Driven Design bounded contexts, with AI-first test generation, sublinear coverage analysis, intelligent quality gates, and comprehensive code intelligence.
|
|
6
|
-
|
|
7
|
-
### Key Objectives
|
|
8
|
-
|
|
9
|
-
| Objective | Target | Impact |
|
|
10
|
-
|-----------|--------|--------|
|
|
11
|
-
| **Architecture** | 12 DDD bounded contexts | Clear boundaries, independent evolution |
|
|
12
|
-
| **Agents** | 47 specialized agents | Complete QE coverage |
|
|
13
|
-
| **Performance** | O(log n) coverage analysis | 100x-12,500x faster at scale |
|
|
14
|
-
| **AI Quality** | >80% valid generated tests | Higher quality, less manual work |
|
|
15
|
-
| **Learning** | 15% improvement per sprint | Continuous improvement |
|
|
16
|
-
| **Coverage** | >90% with risk weighting | Better defect prevention |
|
|
17
|
-
| **Feedback** | <5 minute QE cycle | Faster developer feedback |
|
|
18
|
-
| **Knowledge Graph** | Semantic code search | Intelligent test targeting |
|
|
19
|
-
|
|
20
|
-
### Timeline Overview
|
|
21
|
-
|
|
22
|
-
- **Phase 1** (Weeks 1-4): Foundation & DDD Setup
|
|
23
|
-
- **Phase 2** (Weeks 5-12): Core Domain Implementation (12 domains)
|
|
24
|
-
- **Phase 3** (Weeks 13-18): Integration & Optimization
|
|
25
|
-
- **Phase 4** (Weeks 19-24): Testing & Release
|
|
26
|
-
|
|
27
|
-
**Target Release**: v3.0.0
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## Table of Contents
|
|
32
|
-
|
|
33
|
-
1. [Current State Analysis](#1-current-state-analysis)
|
|
34
|
-
2. [DDD Architecture Design](#2-ddd-architecture-design)
|
|
35
|
-
3. [Domain Implementation](#3-domain-implementation)
|
|
36
|
-
4. [Agent Coordination](#4-agent-coordination)
|
|
37
|
-
5. [Learning System](#5-learning-system)
|
|
38
|
-
6. [Backward Compatibility](#6-backward-compatibility)
|
|
39
|
-
7. [Implementation Roadmap](#7-implementation-roadmap)
|
|
40
|
-
8. [Success Metrics](#8-success-metrics)
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## 1. Current State Analysis
|
|
45
|
-
|
|
46
|
-
### 1.1 Codebase Overview
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
Agentic QE v2.8.x
|
|
50
|
-
├── Source Files: ~200 TypeScript files
|
|
51
|
-
├── Core Agents: 22 QE agents + 15 n8n agents + 11 subagents
|
|
52
|
-
├── Skills: 46 QE skills
|
|
53
|
-
├── MCP Tools: 25+ tools
|
|
54
|
-
└── Architecture: Flat structure, some coupling
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### 1.2 Architectural Strengths (Preserve)
|
|
58
|
-
|
|
59
|
-
- Comprehensive agent ecosystem (48 agents)
|
|
60
|
-
- Strong MCP integration
|
|
61
|
-
- AgentDB memory with HNSW indexing (150x-12,500x faster)
|
|
62
|
-
- Sublinear coverage analysis (O(log n))
|
|
63
|
-
- Multi-framework test support
|
|
64
|
-
- Code Intelligence with Knowledge Graph
|
|
65
|
-
|
|
66
|
-
### 1.3 Areas for Improvement
|
|
67
|
-
|
|
68
|
-
| Issue | Current | v3 Solution |
|
|
69
|
-
|-------|---------|-------------|
|
|
70
|
-
| Flat structure | All tools in `src/mcp/tools/` | 12 DDD bounded contexts |
|
|
71
|
-
| Tight coupling | Direct service dependencies | Event-driven communication |
|
|
72
|
-
| Limited learning | Per-agent learning | Unified learning system |
|
|
73
|
-
| Basic quality gates | Threshold checks | ML-based decisions |
|
|
74
|
-
| Manual coordination | Developer orchestrates agents | Hierarchical auto-coordination |
|
|
75
|
-
| Missing domains | No formal requirements validation | 6 new domains |
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## 2. DDD Architecture Design
|
|
80
|
-
|
|
81
|
-
### 2.1 Bounded Context Map (12 Domains)
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
┌─────────────────────────────────────────────────────────────────────────────────┐
|
|
85
|
-
│ AGENTIC QE V3 ARCHITECTURE (12 DOMAINS) │
|
|
86
|
-
├─────────────────────────────────────────────────────────────────────────────────┤
|
|
87
|
-
│ │
|
|
88
|
-
│ ┌────────────────────────────────────────────────────────────────────────────┐ │
|
|
89
|
-
│ │ PRESENTATION LAYER │ │
|
|
90
|
-
│ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │
|
|
91
|
-
│ │ │ CLI │ │ MCP │ │ API │ │ Hooks │ │ WebUI │ │ │
|
|
92
|
-
│ │ │Commands │ │ Tools │ │Endpoints│ │(17 total│ │Dashboard│ │ │
|
|
93
|
-
│ │ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │ │
|
|
94
|
-
│ └────────────────────────────────────────────────────────────────────────────┘ │
|
|
95
|
-
│ │ │
|
|
96
|
-
│ ┌────────────────────────────────────────────────────────────────────────────┐ │
|
|
97
|
-
│ │ APPLICATION LAYER │ │
|
|
98
|
-
│ │ ┌───────────────────────────────────────────────────────────────────────┐ │ │
|
|
99
|
-
│ │ │ QE KERNEL (Microkernel) │ │ │
|
|
100
|
-
│ │ │ • Domain Registry (12) • Plugin Loader • Event Bus • Coordinator │ │ │
|
|
101
|
-
│ │ │ • Max 15 Concurrent Agents • Hybrid Memory (SQLite + AgentDB) │ │ │
|
|
102
|
-
│ │ └───────────────────────────────────────────────────────────────────────┘ │ │
|
|
103
|
-
│ └────────────────────────────────────────────────────────────────────────────┘ │
|
|
104
|
-
│ │ │
|
|
105
|
-
│ ┌────────────────────────────────────────────────────────────────────────────┐ │
|
|
106
|
-
│ │ DOMAIN LAYER (12 Bounded Contexts) │ │
|
|
107
|
-
│ │ │ │
|
|
108
|
-
│ │ ROW 1: CORE TESTING DOMAINS │ │
|
|
109
|
-
│ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │
|
|
110
|
-
│ │ │ TEST │ │ TEST │ │ COVERAGE │ │ QUALITY │ │ │
|
|
111
|
-
│ │ │ GENERATION │ │ EXECUTION │ │ ANALYSIS │ │ ASSESSMENT │ │ │
|
|
112
|
-
│ │ │ (5 agts) │ │ (4 agts) │ │ (4 agts) │ │ (4 agts) │ │ │
|
|
113
|
-
│ │ │ • AI Gen │ │ • Parallel │ │ • O(log n) │ │ • Gates │ │ │
|
|
114
|
-
│ │ │ • TDD │ │ • Retry │ │ • Risk │ │ • Metrics │ │ │
|
|
115
|
-
│ │ │ • Property │ │ • Flaky │ │ • Gaps HNSW │ │ • Deploy │ │ │
|
|
116
|
-
│ │ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ │
|
|
117
|
-
│ │ │ │
|
|
118
|
-
│ │ ROW 2: INTELLIGENCE DOMAINS │ │
|
|
119
|
-
│ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │
|
|
120
|
-
│ │ │ DEFECT │ │ REQUIREMENTS│ │ CODE │ │ SECURITY │ │ │
|
|
121
|
-
│ │ │INTELLIGENCE │ │ VALIDATION │ │INTELLIGENCE │ │ COMPLIANCE │ │ │
|
|
122
|
-
│ │ │ (4 agts) │ │ (4 agts) │ │ (4 agts) │ │ (4 agts) │ │ │
|
|
123
|
-
│ │ │ • Predict │ │ • BDD Gen │ │ • KG Build │ │ • SAST/DAST │ │ │
|
|
124
|
-
│ │ │ • RCA │ │ • Testabil. │ │ • Semantic │ │ • Compliance│ │ │
|
|
125
|
-
│ │ │ • Regress. │ │ • AC Valid │ │ • Impact │ │ • CVE Track │ │ │
|
|
126
|
-
│ │ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ │
|
|
127
|
-
│ │ │ │
|
|
128
|
-
│ │ ROW 3: SPECIALIZED DOMAINS │ │
|
|
129
|
-
│ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │
|
|
130
|
-
│ │ │ CONTRACT │ │ VISUAL │ │ CHAOS │ │ LEARNING │ │ │
|
|
131
|
-
│ │ │ TESTING │ │ACCESSIBILITY│ │ RESILIENCE │ │OPTIMIZATION │ │ │
|
|
132
|
-
│ │ │ (4 agts) │ │ (4 agts) │ │ (4 agts) │ │ (5 agts) │ │ │
|
|
133
|
-
│ │ │ • API Contr │ │ • Visual Reg│ │ • Chaos Eng │ │ • Patterns │ │ │
|
|
134
|
-
│ │ │ • Schema │ │ • A11y │ │ • Load Test │ │ • Transfer │ │ │
|
|
135
|
-
│ │ │ • GraphQL │ │ • Responsive│ │ • Resilience│ │ • Prod Intel│ │ │
|
|
136
|
-
│ │ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ │
|
|
137
|
-
│ │ │ │
|
|
138
|
-
│ └────────────────────────────────────────────────────────────────────────────┘ │
|
|
139
|
-
│ │ │
|
|
140
|
-
│ ┌────────────────────────────────────────────────────────────────────────────┐ │
|
|
141
|
-
│ │ INFRASTRUCTURE LAYER │ │
|
|
142
|
-
│ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │
|
|
143
|
-
│ │ │ AgentDB │ │ SQLite │ │AI Models│ │ Git │ │ RuVector│ │ │
|
|
144
|
-
│ │ │ HNSW │ │ │ │(Claude) │ │ │ │CodeIntel│ │ │
|
|
145
|
-
│ │ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │ │
|
|
146
|
-
│ └────────────────────────────────────────────────────────────────────────────┘ │
|
|
147
|
-
│ │
|
|
148
|
-
└─────────────────────────────────────────────────────────────────────────────────┘
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
### 2.2 Domain Event Flow
|
|
152
|
-
|
|
153
|
-
```
|
|
154
|
-
┌─────────────────────────────────────┐
|
|
155
|
-
│ EVENT BUS │
|
|
156
|
-
│ (Domain Event Router) │
|
|
157
|
-
└──────────────┬──────────────────────┘
|
|
158
|
-
│
|
|
159
|
-
┌────────────────────────────────┼────────────────────────────────┐
|
|
160
|
-
│ │ │
|
|
161
|
-
▼ ▼ ▼
|
|
162
|
-
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
|
|
163
|
-
│Test Generation│ │Code Intelligence │Quality Gates │
|
|
164
|
-
│ Events │ │ Events │ │ Events │
|
|
165
|
-
├───────────────┤ ├───────────────┤ ├───────────────┤
|
|
166
|
-
│TestCreated │──────────────▶│KGIndexRequest │──────────────▶│GateEvaluate │
|
|
167
|
-
│SuiteComplete │ │ImpactAnalysis │ │DeployApproved │
|
|
168
|
-
│PatternLearned │ │DependencyMap │ │DeployBlocked │
|
|
169
|
-
└───────────────┘ └───────────────┘ └───────────────┘
|
|
170
|
-
│ │ │
|
|
171
|
-
▼ ▼ ▼
|
|
172
|
-
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
|
|
173
|
-
│ Coverage │ │ Defect │ │ Learning │
|
|
174
|
-
│ Events │ │ Events │ │ Events │
|
|
175
|
-
├───────────────┤ ├───────────────┤ ├───────────────┤
|
|
176
|
-
│GapDetected │◀──────────────│DefectPredicted│◀──────────────│PatternConsolid│
|
|
177
|
-
│RiskIdentified │ │RCACompleted │ │TransferDone │
|
|
178
|
-
│CoverageReport │ │RegressionRisk │ │Optimization │
|
|
179
|
-
└───────────────┘ └───────────────┘ └───────────────┘
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
---
|
|
183
|
-
|
|
184
|
-
## 3. Domain Implementation
|
|
185
|
-
|
|
186
|
-
### 3.1 Test Generation Domain (5 agents)
|
|
187
|
-
|
|
188
|
-
**Purpose:** AI-powered test creation with pattern learning
|
|
189
|
-
|
|
190
|
-
**Agents:**
|
|
191
|
-
- v3-qe-test-architect - Strategic test planning
|
|
192
|
-
- v3-qe-tdd-specialist - TDD red-green-refactor
|
|
193
|
-
- v3-qe-integration-tester - Integration test creation
|
|
194
|
-
- v3-qe-property-tester - Property-based testing
|
|
195
|
-
- v3-qe-test-data-architect - Test data generation
|
|
196
|
-
|
|
197
|
-
**Events:** TestCaseGeneratedEvent, TestSuiteCreatedEvent, PatternLearnedEvent
|
|
198
|
-
|
|
199
|
-
### 3.2 Test Execution Domain (4 agents)
|
|
200
|
-
|
|
201
|
-
**Purpose:** Parallel test execution with intelligent retry
|
|
202
|
-
|
|
203
|
-
**Agents:**
|
|
204
|
-
- v3-qe-parallel-executor - Distributed test execution
|
|
205
|
-
- v3-qe-flaky-hunter - Flaky test detection
|
|
206
|
-
- v3-qe-retry-handler - Intelligent retry logic
|
|
207
|
-
- v3-qe-execution-optimizer - Execution optimization
|
|
208
|
-
|
|
209
|
-
**Events:** TestRunStartedEvent, TestRunCompletedEvent, FlakyTestDetectedEvent
|
|
210
|
-
|
|
211
|
-
### 3.3 Coverage Analysis Domain (4 agents)
|
|
212
|
-
|
|
213
|
-
**Purpose:** O(log n) coverage gap detection with HNSW
|
|
214
|
-
|
|
215
|
-
**Agents:**
|
|
216
|
-
- v3-qe-coverage-specialist - Coverage metrics
|
|
217
|
-
- v3-qe-gap-detector - HNSW-based gap detection
|
|
218
|
-
- v3-qe-risk-scorer - Risk-weighted coverage
|
|
219
|
-
- v3-qe-mutation-tester - Mutation testing
|
|
220
|
-
|
|
221
|
-
**Events:** CoverageReportCreatedEvent, CoverageGapDetectedEvent, RiskZoneIdentifiedEvent
|
|
222
|
-
|
|
223
|
-
### 3.4 Quality Assessment Domain (4 agents)
|
|
224
|
-
|
|
225
|
-
**Purpose:** Intelligent quality gate decisions
|
|
226
|
-
|
|
227
|
-
**Agents:**
|
|
228
|
-
- v3-qe-quality-gate - Quality gate evaluation
|
|
229
|
-
- v3-qe-quality-analyzer - Metrics analysis
|
|
230
|
-
- v3-qe-deployment-advisor - Deployment readiness
|
|
231
|
-
- v3-qe-code-complexity - Code complexity analysis
|
|
232
|
-
|
|
233
|
-
**Events:** QualityGateEvaluatedEvent, DeploymentApprovedEvent, DeploymentBlockedEvent
|
|
234
|
-
|
|
235
|
-
### 3.5 Defect Intelligence Domain (4 agents)
|
|
236
|
-
|
|
237
|
-
**Purpose:** Defect prediction, root cause analysis, regression risk
|
|
238
|
-
|
|
239
|
-
**Agents:**
|
|
240
|
-
- v3-qe-defect-predictor - ML-based prediction
|
|
241
|
-
- v3-qe-pattern-learner - Pattern recognition
|
|
242
|
-
- v3-qe-root-cause-analyzer - Root cause analysis
|
|
243
|
-
- v3-qe-regression-analyzer - Regression risk analysis ⭐ NEW
|
|
244
|
-
|
|
245
|
-
**Events:** DefectPredictedEvent, RootCauseIdentifiedEvent, RegressionRiskAnalyzedEvent
|
|
246
|
-
|
|
247
|
-
### 3.6 Requirements Validation Domain (4 agents) ⭐ NEW
|
|
248
|
-
|
|
249
|
-
**Purpose:** Requirements analysis and testability validation before development
|
|
250
|
-
|
|
251
|
-
**Agents:**
|
|
252
|
-
- v3-qe-requirements-validator - Requirements validation
|
|
253
|
-
- v3-qe-bdd-scenario-writer - BDD scenario generation
|
|
254
|
-
- v3-qe-testability-scorer - Testability analysis
|
|
255
|
-
- v3-qe-acceptance-criteria - AC validation
|
|
256
|
-
|
|
257
|
-
**Events:** RequirementAnalyzedEvent, BDDScenariosGeneratedEvent, TestabilityScored
|
|
258
|
-
|
|
259
|
-
### 3.7 Code Intelligence Domain (4 agents) ⭐ NEW
|
|
260
|
-
|
|
261
|
-
**Purpose:** Knowledge Graph, semantic code understanding, impact analysis
|
|
262
|
-
|
|
263
|
-
**Agents:**
|
|
264
|
-
- v3-qe-code-intelligence - Knowledge Graph builder
|
|
265
|
-
- v3-qe-semantic-analyzer - Semantic code analysis
|
|
266
|
-
- v3-qe-dependency-mapper - Dependency analysis
|
|
267
|
-
- v3-qe-impact-analyzer - Change impact analysis
|
|
268
|
-
|
|
269
|
-
**Events:** KnowledgeGraphUpdatedEvent, ImpactAnalysisCompletedEvent, SemanticSearchCompleted
|
|
270
|
-
|
|
271
|
-
### 3.8 Security & Compliance Domain (4 agents) ⭐ EXPANDED
|
|
272
|
-
|
|
273
|
-
**Purpose:** Security scanning and regulatory compliance
|
|
274
|
-
|
|
275
|
-
**Agents:**
|
|
276
|
-
- v3-qe-security-scanner - SAST/DAST scanning
|
|
277
|
-
- v3-qe-security-auditor - Security audit
|
|
278
|
-
- v3-qe-compliance-validator - Regulatory compliance (GDPR, HIPAA, SOC2)
|
|
279
|
-
- v3-qe-vulnerability-tracker - CVE tracking
|
|
280
|
-
|
|
281
|
-
**Events:** VulnerabilityDetectedEvent, ComplianceValidatedEvent, SecurityAuditCompleted
|
|
282
|
-
|
|
283
|
-
### 3.9 Contract & API Testing Domain (4 agents) ⭐ NEW
|
|
284
|
-
|
|
285
|
-
**Purpose:** API contract validation and compatibility testing
|
|
286
|
-
|
|
287
|
-
**Agents:**
|
|
288
|
-
- v3-qe-contract-validator - Contract testing (Pact)
|
|
289
|
-
- v3-qe-api-compatibility - API compatibility checking
|
|
290
|
-
- v3-qe-schema-validator - Schema validation
|
|
291
|
-
- v3-qe-graphql-tester - GraphQL testing
|
|
292
|
-
|
|
293
|
-
**Events:** ContractViolationDetectedEvent, SchemaValidatedEvent, APICompatibilityChecked
|
|
294
|
-
|
|
295
|
-
### 3.10 Visual & Accessibility Domain (4 agents) ⭐ NEW
|
|
296
|
-
|
|
297
|
-
**Purpose:** Visual regression testing and accessibility compliance
|
|
298
|
-
|
|
299
|
-
**Agents:**
|
|
300
|
-
- v3-qe-visual-tester - Visual regression testing
|
|
301
|
-
- v3-qe-a11y-specialist - Accessibility testing (WCAG 2.2)
|
|
302
|
-
- v3-qe-responsive-tester - Responsive design testing
|
|
303
|
-
- v3-qe-screenshot-differ - Screenshot comparison
|
|
304
|
-
|
|
305
|
-
**Events:** VisualRegressionDetectedEvent, AccessibilityIssueFoundEvent, ScreenshotBaselineUpdated
|
|
306
|
-
|
|
307
|
-
### 3.11 Chaos & Resilience Domain (4 agents) ⭐ NEW
|
|
308
|
-
|
|
309
|
-
**Purpose:** Chaos engineering and resilience testing
|
|
310
|
-
|
|
311
|
-
**Agents:**
|
|
312
|
-
- v3-qe-chaos-engineer - Chaos engineering
|
|
313
|
-
- v3-qe-resilience-tester - Resilience validation
|
|
314
|
-
- v3-qe-load-tester - Load/stress testing
|
|
315
|
-
- v3-qe-performance-profiler - Performance profiling
|
|
316
|
-
|
|
317
|
-
**Events:** ChaosExperimentCompletedEvent, ResilienceValidatedEvent, PerformanceBottleneckFound
|
|
318
|
-
|
|
319
|
-
### 3.12 Learning Optimization Domain (5 agents)
|
|
320
|
-
|
|
321
|
-
**Purpose:** Cross-domain learning and continuous improvement
|
|
322
|
-
|
|
323
|
-
**Agents:**
|
|
324
|
-
- v3-qe-learning-coordinator - Learning orchestration
|
|
325
|
-
- v3-qe-transfer-specialist - Knowledge transfer
|
|
326
|
-
- v3-qe-metrics-optimizer - Metrics optimization
|
|
327
|
-
- v3-qe-production-intel - Production intelligence
|
|
328
|
-
- v3-qe-knowledge-manager - Knowledge management
|
|
329
|
-
|
|
330
|
-
**Events:** PatternConsolidatedEvent, TransferCompletedEvent, OptimizationAppliedEvent
|
|
331
|
-
|
|
332
|
-
---
|
|
333
|
-
|
|
334
|
-
## 4. Agent Coordination
|
|
335
|
-
|
|
336
|
-
### 4.1 Hierarchical Structure (47 Agents)
|
|
337
|
-
|
|
338
|
-
```
|
|
339
|
-
QUEEN COORDINATOR (Agent #1)
|
|
340
|
-
│
|
|
341
|
-
├── TEST GENERATION GROUP (5 Agents)
|
|
342
|
-
│ ├── v3-qe-test-architect
|
|
343
|
-
│ ├── v3-qe-tdd-specialist
|
|
344
|
-
│ ├── v3-qe-integration-tester
|
|
345
|
-
│ ├── v3-qe-property-tester
|
|
346
|
-
│ └── v3-qe-test-data-architect
|
|
347
|
-
│
|
|
348
|
-
├── TEST EXECUTION GROUP (4 Agents)
|
|
349
|
-
│ ├── v3-qe-parallel-executor
|
|
350
|
-
│ ├── v3-qe-flaky-hunter
|
|
351
|
-
│ ├── v3-qe-retry-handler
|
|
352
|
-
│ └── v3-qe-execution-optimizer
|
|
353
|
-
│
|
|
354
|
-
├── COVERAGE ANALYSIS GROUP (4 Agents)
|
|
355
|
-
│ ├── v3-qe-coverage-specialist
|
|
356
|
-
│ ├── v3-qe-gap-detector
|
|
357
|
-
│ ├── v3-qe-risk-scorer
|
|
358
|
-
│ └── v3-qe-mutation-tester
|
|
359
|
-
│
|
|
360
|
-
├── QUALITY ASSESSMENT GROUP (4 Agents)
|
|
361
|
-
│ ├── v3-qe-quality-gate
|
|
362
|
-
│ ├── v3-qe-quality-analyzer
|
|
363
|
-
│ ├── v3-qe-deployment-advisor
|
|
364
|
-
│ └── v3-qe-code-complexity
|
|
365
|
-
│
|
|
366
|
-
├── DEFECT INTELLIGENCE GROUP (4 Agents)
|
|
367
|
-
│ ├── v3-qe-defect-predictor
|
|
368
|
-
│ ├── v3-qe-pattern-learner
|
|
369
|
-
│ ├── v3-qe-root-cause-analyzer
|
|
370
|
-
│ └── v3-qe-regression-analyzer
|
|
371
|
-
│
|
|
372
|
-
├── REQUIREMENTS VALIDATION GROUP (4 Agents) ⭐ NEW
|
|
373
|
-
│ ├── v3-qe-requirements-validator
|
|
374
|
-
│ ├── v3-qe-bdd-scenario-writer
|
|
375
|
-
│ ├── v3-qe-testability-scorer
|
|
376
|
-
│ └── v3-qe-acceptance-criteria
|
|
377
|
-
│
|
|
378
|
-
├── CODE INTELLIGENCE GROUP (4 Agents) ⭐ NEW
|
|
379
|
-
│ ├── v3-qe-code-intelligence
|
|
380
|
-
│ ├── v3-qe-semantic-analyzer
|
|
381
|
-
│ ├── v3-qe-dependency-mapper
|
|
382
|
-
│ └── v3-qe-impact-analyzer
|
|
383
|
-
│
|
|
384
|
-
├── SECURITY COMPLIANCE GROUP (4 Agents) ⭐ EXPANDED
|
|
385
|
-
│ ├── v3-qe-security-scanner
|
|
386
|
-
│ ├── v3-qe-security-auditor
|
|
387
|
-
│ ├── v3-qe-compliance-validator
|
|
388
|
-
│ └── v3-qe-vulnerability-tracker
|
|
389
|
-
│
|
|
390
|
-
├── CONTRACT TESTING GROUP (4 Agents) ⭐ NEW
|
|
391
|
-
│ ├── v3-qe-contract-validator
|
|
392
|
-
│ ├── v3-qe-api-compatibility
|
|
393
|
-
│ ├── v3-qe-schema-validator
|
|
394
|
-
│ └── v3-qe-graphql-tester
|
|
395
|
-
│
|
|
396
|
-
├── VISUAL ACCESSIBILITY GROUP (4 Agents) ⭐ NEW
|
|
397
|
-
│ ├── v3-qe-visual-tester
|
|
398
|
-
│ ├── v3-qe-a11y-specialist
|
|
399
|
-
│ ├── v3-qe-responsive-tester
|
|
400
|
-
│ └── v3-qe-screenshot-differ
|
|
401
|
-
│
|
|
402
|
-
├── CHAOS RESILIENCE GROUP (4 Agents) ⭐ NEW
|
|
403
|
-
│ ├── v3-qe-chaos-engineer
|
|
404
|
-
│ ├── v3-qe-resilience-tester
|
|
405
|
-
│ ├── v3-qe-load-tester
|
|
406
|
-
│ └── v3-qe-performance-profiler
|
|
407
|
-
│
|
|
408
|
-
├── LEARNING OPTIMIZATION GROUP (5 Agents)
|
|
409
|
-
│ ├── v3-qe-learning-coordinator
|
|
410
|
-
│ ├── v3-qe-transfer-specialist
|
|
411
|
-
│ ├── v3-qe-metrics-optimizer
|
|
412
|
-
│ ├── v3-qe-production-intel
|
|
413
|
-
│ └── v3-qe-knowledge-manager
|
|
414
|
-
│
|
|
415
|
-
├── SPECIALIZED AGENTS (2 Cross-Domain)
|
|
416
|
-
│ ├── v3-qe-qx-partner (Quality Experience)
|
|
417
|
-
│ └── v3-qe-fleet-commander (Fleet Management)
|
|
418
|
-
│
|
|
419
|
-
└── SUBAGENTS (7 Task Workers)
|
|
420
|
-
├── v3-qe-code-reviewer
|
|
421
|
-
├── v3-qe-test-writer
|
|
422
|
-
├── v3-qe-test-implementer
|
|
423
|
-
├── v3-qe-test-refactorer
|
|
424
|
-
├── v3-qe-data-generator
|
|
425
|
-
├── v3-qe-flaky-investigator
|
|
426
|
-
└── v3-qe-coverage-gap-analyzer
|
|
427
|
-
```
|
|
428
|
-
|
|
429
|
-
### 4.2 Coordination Protocols (6 Protocols)
|
|
430
|
-
|
|
431
|
-
**Protocol 1: Morning Sync**
|
|
432
|
-
- Schedule: Daily 9am or session start
|
|
433
|
-
- Participants: All agents
|
|
434
|
-
- Actions: Review overnight results, identify risks, prioritize work
|
|
435
|
-
|
|
436
|
-
**Protocol 2: Quality Gate**
|
|
437
|
-
- Trigger: Release candidate event
|
|
438
|
-
- Participants: Queen, Quality Gate, Coverage, Regression, Security
|
|
439
|
-
- Actions: Aggregate metrics, evaluate, ML risk assessment, recommend
|
|
440
|
-
|
|
441
|
-
**Protocol 3: Learning Consolidation**
|
|
442
|
-
- Schedule: Friday 6pm
|
|
443
|
-
- Participants: Learning Coordinator, Transfer Specialist, Pattern Learner
|
|
444
|
-
- Actions: Gather patterns, consolidate, update knowledge base
|
|
445
|
-
|
|
446
|
-
**Protocol 4: Defect Investigation**
|
|
447
|
-
- Trigger: Test failure
|
|
448
|
-
- Participants: Defect Predictor, RCA, Flaky Hunter, Regression
|
|
449
|
-
- Actions: Check flakiness, analyze root cause, predict related failures
|
|
450
|
-
|
|
451
|
-
**Protocol 5: Code Intelligence Index** ⭐ NEW
|
|
452
|
-
- Trigger: Code change, hourly, or manual
|
|
453
|
-
- Participants: Code Intelligence, Semantic Analyzer, Dependency Mapper
|
|
454
|
-
- Actions: Update KG, analyze impact, index dependencies
|
|
455
|
-
|
|
456
|
-
**Protocol 6: Security Audit** ⭐ NEW
|
|
457
|
-
- Trigger: Daily 2am, dependency update, or manual
|
|
458
|
-
- Participants: Security Scanner, Auditor, Compliance Validator
|
|
459
|
-
- Actions: Scan vulnerabilities, audit code, validate compliance
|
|
460
|
-
|
|
461
|
-
---
|
|
462
|
-
|
|
463
|
-
## 5. Learning System
|
|
464
|
-
|
|
465
|
-
### 5.1 Pattern Learning Pipeline
|
|
466
|
-
|
|
467
|
-
```
|
|
468
|
-
┌─────────────────────────────────────────────────────────────────────┐
|
|
469
|
-
│ LEARNING PIPELINE (12 Domains) │
|
|
470
|
-
├─────────────────────────────────────────────────────────────────────┤
|
|
471
|
-
│ │
|
|
472
|
-
│ COLLECT ANALYZE STORE APPLY │
|
|
473
|
-
│ │
|
|
474
|
-
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
|
475
|
-
│ │ Success │ ─▶ │ Extract │ ─▶ │ AgentDB │ ─▶ │ Future │ │
|
|
476
|
-
│ │ Patterns │ │ Features │ │ HNSW │ │ Tasks │ │
|
|
477
|
-
│ │ (12 dom) │ │ │ │ O(log n) │ │ │ │
|
|
478
|
-
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
|
|
479
|
-
│ │
|
|
480
|
-
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
|
481
|
-
│ │ Failure │ ─▶ │ Learn │ ─▶ │ Anti- │ ─▶ │ Avoid │ │
|
|
482
|
-
│ │ Patterns │ │ From │ │ Patterns │ │ Repeat │ │
|
|
483
|
-
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
|
|
484
|
-
│ │
|
|
485
|
-
│ Cross-Domain Transfer: │
|
|
486
|
-
│ • Test patterns → Requirements validation │
|
|
487
|
-
│ • Coverage gaps → Test generation │
|
|
488
|
-
│ • Defect patterns → Code intelligence │
|
|
489
|
-
│ • Security findings → Compliance validation │
|
|
490
|
-
│ │
|
|
491
|
-
└─────────────────────────────────────────────────────────────────────┘
|
|
492
|
-
```
|
|
493
|
-
|
|
494
|
-
### 5.2 Transfer Learning
|
|
495
|
-
|
|
496
|
-
```typescript
|
|
497
|
-
// Cross-domain and cross-project transfer
|
|
498
|
-
class TransferLearningService {
|
|
499
|
-
async transfer(
|
|
500
|
-
sourceProject: string,
|
|
501
|
-
targetProject: string,
|
|
502
|
-
context: TransferContext
|
|
503
|
-
): Promise<TransferResult> {
|
|
504
|
-
// 1. Get patterns from source across all 12 domains
|
|
505
|
-
const patterns = await this.patternRepo.findByProject(sourceProject);
|
|
506
|
-
|
|
507
|
-
// 2. Filter compatible patterns by domain
|
|
508
|
-
const compatible = patterns.filter(p =>
|
|
509
|
-
this.isCompatible(p, context) &&
|
|
510
|
-
this.isDomainRelevant(p, context.targetDomains)
|
|
511
|
-
);
|
|
512
|
-
|
|
513
|
-
// 3. Adapt to target context
|
|
514
|
-
const adapted = await Promise.all(
|
|
515
|
-
compatible.map(p => this.adapt(p, targetProject))
|
|
516
|
-
);
|
|
517
|
-
|
|
518
|
-
// 4. Store in target project with embeddings
|
|
519
|
-
await this.patternRepo.saveAllWithEmbeddings(adapted, targetProject);
|
|
520
|
-
|
|
521
|
-
return { transferred: adapted.length, domains: context.targetDomains };
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
```
|
|
525
|
-
|
|
526
|
-
---
|
|
527
|
-
|
|
528
|
-
## 6. Backward Compatibility
|
|
529
|
-
|
|
530
|
-
### 6.1 Migration Strategy
|
|
531
|
-
|
|
532
|
-
**Phase 1: Dual Operation**
|
|
533
|
-
- Both v2 and v3 APIs active
|
|
534
|
-
- v2 calls forwarded to v3 domains
|
|
535
|
-
- No breaking changes
|
|
536
|
-
|
|
537
|
-
**Phase 2: Gradual Migration**
|
|
538
|
-
- Feature by feature migration
|
|
539
|
-
- Domain by domain activation
|
|
540
|
-
- Clear migration guides
|
|
541
|
-
- Deprecation warnings
|
|
542
|
-
|
|
543
|
-
**Phase 3: v2 Sunset**
|
|
544
|
-
- v2 API deprecated
|
|
545
|
-
- Migration complete
|
|
546
|
-
- v3 only
|
|
547
|
-
|
|
548
|
-
### 6.2 v2 → v3 Agent Migration Map
|
|
549
|
-
|
|
550
|
-
| v2 Agent | v3 Agent | Domain |
|
|
551
|
-
|----------|----------|--------|
|
|
552
|
-
| qe-test-generator | v3-qe-test-architect | test-generation |
|
|
553
|
-
| qe-coverage-analyzer | v3-qe-coverage-specialist | coverage-analysis |
|
|
554
|
-
| qe-quality-gate | v3-qe-quality-gate | quality-assessment |
|
|
555
|
-
| qe-flaky-test-hunter | v3-qe-flaky-hunter | test-execution |
|
|
556
|
-
| qe-test-executor | v3-qe-parallel-executor | test-execution |
|
|
557
|
-
| qe-code-intelligence | v3-qe-code-intelligence | code-intelligence |
|
|
558
|
-
| qe-requirements-validator | v3-qe-requirements-validator | requirements-validation |
|
|
559
|
-
| qe-regression-risk-analyzer | v3-qe-regression-analyzer | defect-intelligence |
|
|
560
|
-
| qe-api-contract-validator | v3-qe-contract-validator | contract-testing |
|
|
561
|
-
| qe-visual-tester | v3-qe-visual-tester | visual-accessibility |
|
|
562
|
-
| qe-a11y-ally | v3-qe-a11y-specialist | visual-accessibility |
|
|
563
|
-
| qe-chaos-engineer | v3-qe-chaos-engineer | chaos-resilience |
|
|
564
|
-
| qe-security-scanner | v3-qe-security-scanner | security-compliance |
|
|
565
|
-
| qe-performance-tester | v3-qe-performance-profiler | chaos-resilience |
|
|
566
|
-
| qe-production-intelligence | v3-qe-production-intel | learning-optimization |
|
|
567
|
-
|
|
568
|
-
---
|
|
569
|
-
|
|
570
|
-
## 7. Implementation Roadmap
|
|
571
|
-
|
|
572
|
-
### Phase 1: Foundation (Weeks 1-4) ✅ COMPLETE
|
|
573
|
-
|
|
574
|
-
**Week 1-2: Infrastructure**
|
|
575
|
-
- [x] Set up v3 directory structure for 12 domains
|
|
576
|
-
- [x] Define domain interfaces
|
|
577
|
-
- [x] Create shared kernel (entities, value objects, events)
|
|
578
|
-
- [x] Set up event bus infrastructure
|
|
579
|
-
|
|
580
|
-
**Week 3-4: Core Framework**
|
|
581
|
-
- [x] Implement QE Kernel (microkernel)
|
|
582
|
-
- [x] Create plugin system
|
|
583
|
-
- [x] Set up dependency injection
|
|
584
|
-
- [x] Implement max 15 concurrent agents limit
|
|
585
|
-
- [x] Write foundation tests
|
|
586
|
-
|
|
587
|
-
### Phase 2: Core Domains (Weeks 5-12) ✅ COMPLETE
|
|
588
|
-
|
|
589
|
-
**Week 5-6: Testing Core**
|
|
590
|
-
- [x] Test Generation domain (5 agents)
|
|
591
|
-
- [x] Test Execution domain (4 agents)
|
|
592
|
-
|
|
593
|
-
**Week 7-8: Analysis Core**
|
|
594
|
-
- [x] Coverage Analysis domain (4 agents)
|
|
595
|
-
- [x] Quality Assessment domain (4 agents)
|
|
596
|
-
|
|
597
|
-
**Week 9-10: Intelligence Core**
|
|
598
|
-
- [x] Defect Intelligence domain (4 agents)
|
|
599
|
-
- [x] Code Intelligence domain (4 agents) ⭐ KG Priority
|
|
600
|
-
|
|
601
|
-
**Week 11-12: Specialized Domains**
|
|
602
|
-
- [x] Requirements Validation domain (4 agents)
|
|
603
|
-
- [x] Security Compliance domain (4 agents)
|
|
604
|
-
- [x] Contract Testing domain (4 agents)
|
|
605
|
-
- [x] Visual Accessibility domain (4 agents)
|
|
606
|
-
- [x] Chaos Resilience domain (4 agents)
|
|
607
|
-
- [x] Learning Optimization domain (5 agents)
|
|
608
|
-
|
|
609
|
-
### Phase 3: Integration (Weeks 13-18) ✅ COMPLETE
|
|
610
|
-
|
|
611
|
-
**Week 13-14: Event Integration**
|
|
612
|
-
- [x] Domain event handlers
|
|
613
|
-
- [x] Cross-domain workflows
|
|
614
|
-
- [x] Protocol implementations (6 protocols)
|
|
615
|
-
|
|
616
|
-
**Week 15-16: Tool Migration**
|
|
617
|
-
- [x] MCP tool migration
|
|
618
|
-
- [x] CLI command migration
|
|
619
|
-
- [x] Compatibility layer
|
|
620
|
-
|
|
621
|
-
**Week 17-18: Agent Coordination**
|
|
622
|
-
- [x] Queen Coordinator implementation (via coordination layer)
|
|
623
|
-
- [x] 12 group coordinators (domain coordinators)
|
|
624
|
-
- [x] Work stealing algorithm (adaptive task distribution)
|
|
625
|
-
- [x] Subagent orchestration
|
|
626
|
-
|
|
627
|
-
### Phase 4: Release (Weeks 19-24) 🟡 IN PROGRESS
|
|
628
|
-
|
|
629
|
-
**Week 19-20: Testing**
|
|
630
|
-
- [x] Integration testing (all 12 domains)
|
|
631
|
-
- [ ] Performance benchmarks
|
|
632
|
-
- [ ] Load testing (47 agents)
|
|
633
|
-
|
|
634
|
-
**Week 21-22: Documentation**
|
|
635
|
-
- [x] Migration guides
|
|
636
|
-
- [x] Domain documentation
|
|
637
|
-
- [x] Agent reference
|
|
638
|
-
|
|
639
|
-
**Week 23-24: Release**
|
|
640
|
-
- [ ] Beta release
|
|
641
|
-
- [ ] Bug fixes
|
|
642
|
-
- [ ] v3.0.0 release
|
|
643
|
-
|
|
644
|
-
---
|
|
645
|
-
|
|
646
|
-
## 8. Success Metrics
|
|
647
|
-
|
|
648
|
-
### Architecture Metrics
|
|
649
|
-
|
|
650
|
-
| Metric | Target | Measurement |
|
|
651
|
-
|--------|--------|-------------|
|
|
652
|
-
| Domain isolation | 100% | No cross-domain imports |
|
|
653
|
-
| Event coverage | 100% | All cross-domain via events |
|
|
654
|
-
| Plugin loading | <200ms | Startup time |
|
|
655
|
-
| Code per domain | <5000 lines | LOC count |
|
|
656
|
-
| Agent migration | 100% | All 22 v2 agents migrated |
|
|
657
|
-
|
|
658
|
-
### Performance Metrics
|
|
659
|
-
|
|
660
|
-
| Metric | Target | Measurement |
|
|
661
|
-
|--------|--------|-------------|
|
|
662
|
-
| Coverage analysis | O(log n) | Algorithm complexity |
|
|
663
|
-
| Gap detection | <100ms | 100k file codebase |
|
|
664
|
-
| KG semantic search | <100ms | O(log n) HNSW |
|
|
665
|
-
| Test generation | <30s | Per suite |
|
|
666
|
-
| Event propagation | <100ms | Cross-domain |
|
|
667
|
-
| Max concurrent agents | 15 | Resource limit |
|
|
668
|
-
|
|
669
|
-
### Quality Metrics
|
|
670
|
-
|
|
671
|
-
| Metric | Target | Measurement |
|
|
672
|
-
|--------|--------|-------------|
|
|
673
|
-
| Generated test validity | >80% | Pass rate |
|
|
674
|
-
| Coverage improvement | >20% | From AI tests |
|
|
675
|
-
| Defect prediction accuracy | >85% | True positive rate |
|
|
676
|
-
| Quality gate accuracy | >95% | Correct decisions |
|
|
677
|
-
| Regression risk accuracy | >80% | True positive rate |
|
|
678
|
-
| Testability scoring | >70% | Requirements with score |
|
|
679
|
-
|
|
680
|
-
### Learning Metrics
|
|
681
|
-
|
|
682
|
-
| Metric | Target | Measurement |
|
|
683
|
-
|--------|--------|-------------|
|
|
684
|
-
| Patterns learned | 1000+/project | Pattern count |
|
|
685
|
-
| Sprint improvement | 15% | Quality delta |
|
|
686
|
-
| Transfer success | >70% | Compatible patterns |
|
|
687
|
-
| False positive reduction | 5%/sprint | Trend |
|
|
688
|
-
| Cross-domain transfer | >60% | Pattern reuse |
|
|
689
|
-
|
|
690
|
-
### Domain Coverage Metrics
|
|
691
|
-
|
|
692
|
-
| Domain | Target Coverage | Priority |
|
|
693
|
-
|--------|-----------------|----------|
|
|
694
|
-
| test-generation | 100% | P0 |
|
|
695
|
-
| test-execution | 100% | P0 |
|
|
696
|
-
| coverage-analysis | 100% | P0 |
|
|
697
|
-
| quality-assessment | 100% | P0 |
|
|
698
|
-
| defect-intelligence | 100% | P0 |
|
|
699
|
-
| code-intelligence | 100% | P0 |
|
|
700
|
-
| requirements-validation | 90% | P1 |
|
|
701
|
-
| security-compliance | 90% | P1 |
|
|
702
|
-
| contract-testing | 80% | P2 |
|
|
703
|
-
| visual-accessibility | 80% | P2 |
|
|
704
|
-
| chaos-resilience | 70% | P2 |
|
|
705
|
-
| learning-optimization | 100% | P0 |
|
|
706
|
-
|
|
707
|
-
---
|
|
708
|
-
|
|
709
|
-
## Appendix A: File Structure
|
|
710
|
-
|
|
711
|
-
```
|
|
712
|
-
agentic-qe/
|
|
713
|
-
├── v2/ # Legacy v2 implementation (preserved)
|
|
714
|
-
├── v3/ # New v3 implementation
|
|
715
|
-
│ ├── implementation/
|
|
716
|
-
│ │ ├── adrs/ # 18 Architecture Decision Records
|
|
717
|
-
│ │ ├── architecture/ # Architecture diagrams
|
|
718
|
-
│ │ ├── planning/ # This plan and related docs
|
|
719
|
-
│ │ └── agents/ # Agent specifications
|
|
720
|
-
│ ├── src/
|
|
721
|
-
│ │ ├── kernel/ # QE Kernel (microkernel)
|
|
722
|
-
│ │ ├── domains/ # 12 Bounded Contexts
|
|
723
|
-
│ │ │ ├── test-generation/
|
|
724
|
-
│ │ │ ├── test-execution/
|
|
725
|
-
│ │ │ ├── coverage-analysis/
|
|
726
|
-
│ │ │ ├── quality-assessment/
|
|
727
|
-
│ │ │ ├── defect-intelligence/
|
|
728
|
-
│ │ │ ├── requirements-validation/ # NEW
|
|
729
|
-
│ │ │ ├── code-intelligence/ # NEW
|
|
730
|
-
│ │ │ ├── security-compliance/ # EXPANDED
|
|
731
|
-
│ │ │ ├── contract-testing/ # NEW
|
|
732
|
-
│ │ │ ├── visual-accessibility/ # NEW
|
|
733
|
-
│ │ │ ├── chaos-resilience/ # NEW
|
|
734
|
-
│ │ │ └── learning-optimization/
|
|
735
|
-
│ │ ├── shared/ # Shared kernel
|
|
736
|
-
│ │ ├── plugins/ # Plugin implementations
|
|
737
|
-
│ │ ├── coordination/ # Agent coordination
|
|
738
|
-
│ │ └── infrastructure/ # Infrastructure adapters
|
|
739
|
-
│ └── tests/ # Domain tests (12 domains)
|
|
740
|
-
├── .claude/
|
|
741
|
-
│ ├── agents/v3/ # 47 v3 agent definitions
|
|
742
|
-
│ │ ├── index.yaml # Agent index (12 domains)
|
|
743
|
-
│ │ └── *.md # Agent specifications
|
|
744
|
-
│ └── skills/v3-*/ # 9 v3 skill definitions
|
|
745
|
-
│ ├── v3-qe-ddd-architecture/
|
|
746
|
-
│ ├── v3-qe-core-implementation/
|
|
747
|
-
│ ├── v3-qe-memory-system/
|
|
748
|
-
│ ├── v3-qe-security/
|
|
749
|
-
│ ├── v3-qe-performance/
|
|
750
|
-
│ ├── v3-qe-fleet-coordination/
|
|
751
|
-
│ ├── v3-qe-cli/
|
|
752
|
-
│ ├── v3-qe-mcp/
|
|
753
|
-
│ └── v3-qe-integration/
|
|
754
|
-
└── docs/
|
|
755
|
-
└── v3/ # v3 documentation
|
|
756
|
-
```
|
|
757
|
-
|
|
758
|
-
---
|
|
759
|
-
|
|
760
|
-
## Appendix B: Configuration
|
|
761
|
-
|
|
762
|
-
```yaml
|
|
763
|
-
# .agentic-qe/config.yaml
|
|
764
|
-
v3:
|
|
765
|
-
version: "3.0.0-alpha"
|
|
766
|
-
|
|
767
|
-
# Domain configuration
|
|
768
|
-
domains: 12
|
|
769
|
-
enabledDomains:
|
|
770
|
-
- test-generation
|
|
771
|
-
- test-execution
|
|
772
|
-
- coverage-analysis
|
|
773
|
-
- quality-assessment
|
|
774
|
-
- defect-intelligence
|
|
775
|
-
- requirements-validation
|
|
776
|
-
- code-intelligence
|
|
777
|
-
- security-compliance
|
|
778
|
-
- contract-testing
|
|
779
|
-
- visual-accessibility
|
|
780
|
-
- chaos-resilience
|
|
781
|
-
- learning-optimization
|
|
782
|
-
|
|
783
|
-
# Agent limits
|
|
784
|
-
maxConcurrentAgents: 15
|
|
785
|
-
totalAgents: 47
|
|
786
|
-
|
|
787
|
-
# Memory configuration
|
|
788
|
-
memoryBackend: hybrid # SQLite + AgentDB
|
|
789
|
-
hnswEnabled: true
|
|
790
|
-
hnswConfig:
|
|
791
|
-
M: 16
|
|
792
|
-
efConstruction: 200
|
|
793
|
-
efSearch: 100
|
|
794
|
-
|
|
795
|
-
# Learning
|
|
796
|
-
neuralLearning: true
|
|
797
|
-
patternRetention: 180 # days
|
|
798
|
-
|
|
799
|
-
# Background workers
|
|
800
|
-
backgroundWorkers: 12
|
|
801
|
-
hooks: 17
|
|
802
|
-
|
|
803
|
-
# Lazy loading
|
|
804
|
-
lazyLoading: true
|
|
805
|
-
preloadDomains:
|
|
806
|
-
- test-generation
|
|
807
|
-
- coverage-analysis
|
|
808
|
-
- quality-assessment
|
|
809
|
-
```
|
|
810
|
-
|
|
811
|
-
---
|
|
812
|
-
|
|
813
|
-
**Document Maintained By:** Architecture Team
|
|
814
|
-
**Last Updated:** 2026-01-08
|
|
815
|
-
**Version:** 2.1.0 (Implementation Complete - Phase 4 In Progress)
|