Files
Profa c0d469a3bb fix: clean up stale v3/ references and protect memory namespaces post-flatten
Brutal honesty review of the flatten-to-root migration found 12 categories
of issues. This commit fixes all of them:

- Fix @agentic-qe/v3 package refs in init installers and quality-criteria-service
- Fix 7 broken import() paths in rvf-baseline-benchmark.ts (v3/src → src)
- Fix prepare-assets.sh and demo-warmup.sh path references
- Delete dead scripts/migrate-v2-to-v3-memory.js
- Remove .claude-flow daemon state dirs (284KB) from agents/skills
- Add .claude-flow exclusion to .npmignore
- Fix JSDoc @agentic-qe/v3/ → agentic-qe/ in 27 source files
- Fix @module v3/ tags in 9 dream engine files
- Fix stale v3/ path refs in docs and architecture ADRs
- Revert memory namespace changes (aqe/v3/domains/* are DB identifiers,
  not filesystem paths — changing them orphans 150K+ existing records)
- Update CLAUDE.md with agent classification rules (QE vs non-QE agents)
- Fix domain-team-manager test (scaling is not capped by defaultTeamSize)
- Fix adr-040 timing test threshold (20ms → 50ms for CI tolerance)
- Rename test:v3 → test:all in package.json
- Update README.md project structure tree
- Fix infra-healing test and demo script cd v3 references

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 12:27:44 +00:00

4.9 KiB

Domain Index

Agentic QE v3 organizes quality engineering into 13 DDD bounded contexts.

Domain Overview

# Domain Agents Priority Description
1 Test Generation 5 P0 AI-powered test creation
2 Test Execution 4 P0 Parallel execution, retry
3 Coverage Analysis 4 P0 O(log n) gap detection
4 Quality Assessment 5 P0 Quality gates, metrics, adversarial review
5 Defect Intelligence 4 P0 Prediction, RCA
6 Code Intelligence 4 P0 Knowledge graph, semantic
7 Requirements Validation 4 P1 BDD, testability
8 Security Compliance 4 P1 SAST/DAST, compliance
9 Contract Testing 4 P2 API contracts, GraphQL
10 Visual Accessibility 4 P2 Visual, a11y
11 Chaos Resilience 4 P2 Chaos, load testing
12 Learning Optimization 5 P0 Transfer learning
13 Enterprise Integration 7 P1 SOAP, SAP, OData, ESB, MQ, SoD

Total: 51 domain agents + 2 cross-domain + 7 subagents = 60 agents

Domain Categories

Core Testing (17 agents)

The foundation of quality engineering:

  • Test Generation: Creates tests using AI and patterns
  • Test Execution: Runs tests with parallelization
  • Coverage Analysis: Identifies gaps efficiently
  • Quality Assessment: Makes deployment decisions

Intelligence (16 agents)

AI-powered insights and analysis:

  • Defect Intelligence: Predicts and analyzes defects
  • Code Intelligence: Understands code semantically
  • Requirements Validation: Validates testability
  • Security Compliance: Scans and validates security

Specialized (17 agents)

Domain-specific testing:

  • Contract Testing: API contracts and schemas
  • Visual Accessibility: Visual and a11y testing
  • Chaos Resilience: Resilience and load testing
  • Learning Optimization: Cross-domain learning

Domain Structure

Each domain follows this standard structure:

src/domains/<domain>/
├── index.ts              # Public exports
├── coordinator.ts        # Domain coordinator
├── plugin.ts             # Plugin registration
├── interfaces.ts         # Domain types
├── events.ts             # Domain events
├── services/
│   └── *.ts             # Domain services
└── __tests__/
    └── *.test.ts        # Domain tests

Domain Communication

Domains communicate via events:

┌────────────────┐     Events      ┌────────────────┐
│ Test Generation│ ──────────────▶ │ Coverage       │
│ TestCreated    │                 │ GapDetected    │
└────────────────┘                 └────────────────┘
        │                                  │
        ▼                                  ▼
┌────────────────┐                 ┌────────────────┐
│ Code Intel     │ ◀───────────── │ Quality        │
│ ImpactAnalyzed │                 │ GateEvaluated  │
└────────────────┘                 └────────────────┘

Core Testing

Intelligence

Specialized

Domain Metrics

Domain Coverage Target Priority
test-generation 100% P0
test-execution 100% P0
coverage-analysis 100% P0
quality-assessment 100% P0
defect-intelligence 100% P0
code-intelligence 100% P0
requirements-validation 90% P1
security-compliance 90% P1
contract-testing 80% P2
visual-accessibility 80% P2
chaos-resilience 70% P2
learning-optimization 100% P0