agentic-qe 1.5.1 → 1.6.1
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/agents/qe-api-contract-validator.md +118 -0
- package/.claude/agents/qe-chaos-engineer.md +320 -5
- package/.claude/agents/qe-code-complexity.md +360 -0
- package/.claude/agents/qe-coverage-analyzer.md +112 -0
- package/.claude/agents/qe-deployment-readiness.md +322 -6
- package/.claude/agents/qe-flaky-test-hunter.md +115 -0
- package/.claude/agents/qe-fleet-commander.md +319 -6
- package/.claude/agents/qe-performance-tester.md +234 -0
- package/.claude/agents/qe-production-intelligence.md +114 -0
- package/.claude/agents/qe-quality-analyzer.md +126 -0
- package/.claude/agents/qe-quality-gate.md +119 -0
- package/.claude/agents/qe-regression-risk-analyzer.md +114 -0
- package/.claude/agents/qe-requirements-validator.md +114 -0
- package/.claude/agents/qe-security-scanner.md +118 -0
- package/.claude/agents/qe-test-data-architect.md +234 -0
- package/.claude/agents/qe-test-executor.md +115 -0
- package/.claude/agents/qe-test-generator.md +114 -0
- package/.claude/agents/qe-visual-tester.md +305 -6
- package/.claude/agents/subagents/qe-code-reviewer.md +0 -4
- package/.claude/agents/subagents/qe-data-generator.md +0 -16
- package/.claude/agents/subagents/qe-integration-tester.md +0 -17
- package/.claude/agents/subagents/qe-performance-validator.md +0 -16
- package/.claude/agents/subagents/qe-security-auditor.md +0 -16
- package/.claude/agents/subagents/qe-test-implementer.md +0 -17
- package/.claude/agents/subagents/qe-test-refactorer.md +0 -17
- package/.claude/agents/subagents/qe-test-writer.md +0 -19
- package/.claude/skills/brutal-honesty-review/README.md +218 -0
- package/.claude/skills/brutal-honesty-review/SKILL.md +725 -0
- package/.claude/skills/brutal-honesty-review/resources/assessment-rubrics.md +295 -0
- package/.claude/skills/brutal-honesty-review/resources/review-template.md +102 -0
- package/.claude/skills/brutal-honesty-review/scripts/assess-code.sh +179 -0
- package/.claude/skills/brutal-honesty-review/scripts/assess-tests.sh +223 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/README.md +301 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/SKILL.md +510 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/microservice-pipeline.md +239 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/mobile-pipeline.md +375 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/monolith-pipeline.md +268 -0
- package/.claude/skills/six-thinking-hats/README.md +190 -0
- package/.claude/skills/six-thinking-hats/SKILL.md +1215 -0
- package/.claude/skills/six-thinking-hats/resources/examples/api-testing-example.md +345 -0
- package/.claude/skills/six-thinking-hats/resources/templates/solo-session-template.md +167 -0
- package/.claude/skills/six-thinking-hats/resources/templates/team-session-template.md +336 -0
- package/CHANGELOG.md +2472 -2129
- package/README.md +48 -10
- package/dist/adapters/MemoryStoreAdapter.d.ts +38 -0
- package/dist/adapters/MemoryStoreAdapter.d.ts.map +1 -1
- package/dist/adapters/MemoryStoreAdapter.js +22 -0
- package/dist/adapters/MemoryStoreAdapter.js.map +1 -1
- package/dist/agents/BaseAgent.d.ts.map +1 -1
- package/dist/agents/BaseAgent.js +13 -0
- package/dist/agents/BaseAgent.js.map +1 -1
- package/dist/cli/commands/init-claude-md-template.d.ts +16 -0
- package/dist/cli/commands/init-claude-md-template.d.ts.map +1 -0
- package/dist/cli/commands/init-claude-md-template.js +69 -0
- package/dist/cli/commands/init-claude-md-template.js.map +1 -0
- package/dist/cli/commands/init.d.ts +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +509 -460
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/core/memory/AgentDBService.d.ts +33 -28
- package/dist/core/memory/AgentDBService.d.ts.map +1 -1
- package/dist/core/memory/AgentDBService.js +233 -290
- package/dist/core/memory/AgentDBService.js.map +1 -1
- package/dist/core/memory/EnhancedAgentDBService.d.ts.map +1 -1
- package/dist/core/memory/EnhancedAgentDBService.js +5 -3
- package/dist/core/memory/EnhancedAgentDBService.js.map +1 -1
- package/dist/core/memory/RealAgentDBAdapter.d.ts +9 -2
- package/dist/core/memory/RealAgentDBAdapter.d.ts.map +1 -1
- package/dist/core/memory/RealAgentDBAdapter.js +126 -100
- package/dist/core/memory/RealAgentDBAdapter.js.map +1 -1
- package/dist/core/memory/SwarmMemoryManager.d.ts +58 -0
- package/dist/core/memory/SwarmMemoryManager.d.ts.map +1 -1
- package/dist/core/memory/SwarmMemoryManager.js +176 -0
- package/dist/core/memory/SwarmMemoryManager.js.map +1 -1
- package/dist/core/memory/index.d.ts.map +1 -1
- package/dist/core/memory/index.js +2 -1
- package/dist/core/memory/index.js.map +1 -1
- package/dist/learning/LearningEngine.d.ts +14 -27
- package/dist/learning/LearningEngine.d.ts.map +1 -1
- package/dist/learning/LearningEngine.js +57 -119
- package/dist/learning/LearningEngine.js.map +1 -1
- package/dist/learning/index.d.ts +0 -1
- package/dist/learning/index.d.ts.map +1 -1
- package/dist/learning/index.js +0 -1
- package/dist/learning/index.js.map +1 -1
- package/dist/mcp/handlers/learning/learning-query.d.ts +34 -0
- package/dist/mcp/handlers/learning/learning-query.d.ts.map +1 -0
- package/dist/mcp/handlers/learning/learning-query.js +156 -0
- package/dist/mcp/handlers/learning/learning-query.js.map +1 -0
- package/dist/mcp/handlers/learning/learning-store-experience.d.ts +30 -0
- package/dist/mcp/handlers/learning/learning-store-experience.d.ts.map +1 -0
- package/dist/mcp/handlers/learning/learning-store-experience.js +86 -0
- package/dist/mcp/handlers/learning/learning-store-experience.js.map +1 -0
- package/dist/mcp/handlers/learning/learning-store-pattern.d.ts +31 -0
- package/dist/mcp/handlers/learning/learning-store-pattern.d.ts.map +1 -0
- package/dist/mcp/handlers/learning/learning-store-pattern.js +126 -0
- package/dist/mcp/handlers/learning/learning-store-pattern.js.map +1 -0
- package/dist/mcp/handlers/learning/learning-store-qvalue.d.ts +30 -0
- package/dist/mcp/handlers/learning/learning-store-qvalue.d.ts.map +1 -0
- package/dist/mcp/handlers/learning/learning-store-qvalue.js +100 -0
- package/dist/mcp/handlers/learning/learning-store-qvalue.js.map +1 -0
- package/dist/mcp/server.d.ts +11 -0
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +98 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/services/LearningEventListener.d.ts +123 -0
- package/dist/mcp/services/LearningEventListener.d.ts.map +1 -0
- package/dist/mcp/services/LearningEventListener.js +322 -0
- package/dist/mcp/services/LearningEventListener.js.map +1 -0
- package/dist/mcp/tools.d.ts +4 -0
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +179 -0
- package/dist/mcp/tools.js.map +1 -1
- package/dist/types/memory-interfaces.d.ts +71 -0
- package/dist/types/memory-interfaces.d.ts.map +1 -1
- package/dist/utils/Calculator.d.ts +35 -0
- package/dist/utils/Calculator.d.ts.map +1 -0
- package/dist/utils/Calculator.js +50 -0
- package/dist/utils/Calculator.js.map +1 -0
- package/dist/utils/Logger.d.ts.map +1 -1
- package/dist/utils/Logger.js +4 -1
- package/dist/utils/Logger.js.map +1 -1
- package/package.json +7 -5
- package/.claude/agents/qe-api-contract-validator.md.backup +0 -1148
- package/.claude/agents/qe-api-contract-validator.md.backup-20251107-134747 +0 -1148
- package/.claude/agents/qe-api-contract-validator.md.backup-phase2-20251107-140039 +0 -1123
- package/.claude/agents/qe-chaos-engineer.md.backup +0 -808
- package/.claude/agents/qe-chaos-engineer.md.backup-20251107-134747 +0 -808
- package/.claude/agents/qe-chaos-engineer.md.backup-phase2-20251107-140039 +0 -787
- package/.claude/agents/qe-code-complexity.md.backup +0 -291
- package/.claude/agents/qe-code-complexity.md.backup-20251107-134747 +0 -291
- package/.claude/agents/qe-code-complexity.md.backup-phase2-20251107-140039 +0 -286
- package/.claude/agents/qe-coverage-analyzer.md.backup +0 -467
- package/.claude/agents/qe-coverage-analyzer.md.backup-20251107-134747 +0 -467
- package/.claude/agents/qe-coverage-analyzer.md.backup-phase2-20251107-140039 +0 -438
- package/.claude/agents/qe-deployment-readiness.md.backup +0 -1166
- package/.claude/agents/qe-deployment-readiness.md.backup-20251107-134747 +0 -1166
- package/.claude/agents/qe-deployment-readiness.md.backup-phase2-20251107-140039 +0 -1140
- package/.claude/agents/qe-flaky-test-hunter.md.backup +0 -1195
- package/.claude/agents/qe-flaky-test-hunter.md.backup-20251107-134747 +0 -1195
- package/.claude/agents/qe-flaky-test-hunter.md.backup-phase2-20251107-140039 +0 -1162
- package/.claude/agents/qe-fleet-commander.md.backup +0 -718
- package/.claude/agents/qe-fleet-commander.md.backup-20251107-134747 +0 -718
- package/.claude/agents/qe-fleet-commander.md.backup-phase2-20251107-140039 +0 -697
- package/.claude/agents/qe-performance-tester.md.backup +0 -428
- package/.claude/agents/qe-performance-tester.md.backup-20251107-134747 +0 -428
- package/.claude/agents/qe-performance-tester.md.backup-phase2-20251107-140039 +0 -372
- package/.claude/agents/qe-production-intelligence.md.backup +0 -1219
- package/.claude/agents/qe-production-intelligence.md.backup-20251107-134747 +0 -1219
- package/.claude/agents/qe-production-intelligence.md.backup-phase2-20251107-140039 +0 -1194
- package/.claude/agents/qe-quality-analyzer.md.backup +0 -425
- package/.claude/agents/qe-quality-analyzer.md.backup-20251107-134747 +0 -425
- package/.claude/agents/qe-quality-analyzer.md.backup-phase2-20251107-140039 +0 -394
- package/.claude/agents/qe-quality-gate.md.backup +0 -446
- package/.claude/agents/qe-quality-gate.md.backup-20251107-134747 +0 -446
- package/.claude/agents/qe-quality-gate.md.backup-phase2-20251107-140039 +0 -415
- package/.claude/agents/qe-regression-risk-analyzer.md.backup +0 -1009
- package/.claude/agents/qe-regression-risk-analyzer.md.backup-20251107-134747 +0 -1009
- package/.claude/agents/qe-regression-risk-analyzer.md.backup-phase2-20251107-140039 +0 -984
- package/.claude/agents/qe-requirements-validator.md.backup +0 -748
- package/.claude/agents/qe-requirements-validator.md.backup-20251107-134747 +0 -748
- package/.claude/agents/qe-requirements-validator.md.backup-phase2-20251107-140039 +0 -723
- package/.claude/agents/qe-security-scanner.md.backup +0 -634
- package/.claude/agents/qe-security-scanner.md.backup-20251107-134747 +0 -634
- package/.claude/agents/qe-security-scanner.md.backup-phase2-20251107-140039 +0 -573
- package/.claude/agents/qe-test-data-architect.md.backup +0 -1064
- package/.claude/agents/qe-test-data-architect.md.backup-20251107-134747 +0 -1064
- package/.claude/agents/qe-test-data-architect.md.backup-phase2-20251107-140039 +0 -1040
- package/.claude/agents/qe-test-executor.md.backup +0 -389
- package/.claude/agents/qe-test-executor.md.backup-20251107-134747 +0 -389
- package/.claude/agents/qe-test-executor.md.backup-phase2-20251107-140039 +0 -369
- package/.claude/agents/qe-test-generator.md.backup +0 -997
- package/.claude/agents/qe-test-generator.md.backup-20251107-134747 +0 -997
- package/.claude/agents/qe-visual-tester.md.backup +0 -777
- package/.claude/agents/qe-visual-tester.md.backup-20251107-134747 +0 -777
- package/.claude/agents/qe-visual-tester.md.backup-phase2-20251107-140039 +0 -756
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/.claude/commands/analysis/performance-bottlenecks.md +0 -59
- package/.claude/commands/flow-nexus/app-store.md +0 -124
- package/.claude/commands/flow-nexus/challenges.md +0 -120
- package/.claude/commands/flow-nexus/login-registration.md +0 -65
- package/.claude/commands/flow-nexus/neural-network.md +0 -134
- package/.claude/commands/flow-nexus/payments.md +0 -116
- package/.claude/commands/flow-nexus/sandbox.md +0 -83
- package/.claude/commands/flow-nexus/swarm.md +0 -87
- package/.claude/commands/flow-nexus/user-tools.md +0 -152
- package/.claude/commands/flow-nexus/workflow.md +0 -115
- package/.claude/commands/memory/usage.md +0 -46
|
@@ -0,0 +1,510 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "CI/CD Pipeline QE Orchestrator"
|
|
3
|
+
description: "Orchestrate comprehensive quality engineering across CI/CD pipeline phases by intelligently selecting QE skills and coordinating specialized agents. Use when designing test strategies, planning quality gates, implementing shift-left/shift-right testing, or ensuring holistic quality coverage throughout the software delivery lifecycle. Integrates all 37 AQE skills and 18 agents for complete pipeline quality assurance."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# CI/CD Pipeline QE Orchestrator
|
|
7
|
+
|
|
8
|
+
## What This Skill Does
|
|
9
|
+
|
|
10
|
+
The CI/CD Pipeline QE Orchestrator provides intelligent, phase-based quality engineering across the entire software delivery pipeline. It:
|
|
11
|
+
|
|
12
|
+
1. **Analyzes pipeline phases** (commit, build, test, deploy, production)
|
|
13
|
+
2. **Selects optimal QE skills** from the 37 available skills based on phase requirements
|
|
14
|
+
3. **Orchestrates specialized agents** from the 18 QE agents for parallel execution
|
|
15
|
+
4. **Ensures holistic coverage** with shift-left, shift-right, and continuous quality validation
|
|
16
|
+
5. **Adapts strategies** based on risk, complexity, and deployment environment
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Prerequisites
|
|
21
|
+
|
|
22
|
+
- Agentic QE Fleet initialized (`aqe init` completed)
|
|
23
|
+
- 18 QE agents available in `.claude/agents/`
|
|
24
|
+
- 37 QE skills available in `.claude/skills/`
|
|
25
|
+
- Understanding of your CI/CD pipeline structure
|
|
26
|
+
- Access to Claude Code Task tool for agent coordination
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Quick Start (5 Minutes)
|
|
31
|
+
|
|
32
|
+
### Analyze Your Pipeline
|
|
33
|
+
|
|
34
|
+
```javascript
|
|
35
|
+
// Use the orchestrator to analyze and plan quality coverage
|
|
36
|
+
Task("Pipeline QE Analysis",
|
|
37
|
+
"Analyze our CI/CD pipeline and recommend quality strategy for: commit, build, test, staging, production phases",
|
|
38
|
+
"qe-fleet-commander")
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Example Output
|
|
42
|
+
```
|
|
43
|
+
Pipeline Quality Strategy:
|
|
44
|
+
├── Commit Phase (Shift-Left)
|
|
45
|
+
│ ├── Skills: tdd-london-chicago, shift-left-testing
|
|
46
|
+
│ ├── Agents: qe-test-generator, qe-code-reviewer
|
|
47
|
+
│ └── Coverage: Unit tests, static analysis, code review
|
|
48
|
+
├── Build Phase
|
|
49
|
+
│ ├── Skills: test-automation-strategy, mutation-testing
|
|
50
|
+
│ ├── Agents: qe-test-executor, qe-coverage-analyzer
|
|
51
|
+
│ └── Coverage: Integration tests, mutation testing, coverage gates
|
|
52
|
+
├── Test Phase
|
|
53
|
+
│ ├── Skills: api-testing-patterns, performance-testing, security-testing
|
|
54
|
+
│ ├── Agents: qe-api-contract-validator, qe-performance-tester, qe-security-scanner
|
|
55
|
+
│ └── Coverage: API contracts, load tests, security scans
|
|
56
|
+
├── Staging Phase
|
|
57
|
+
│ ├── Skills: shift-right-testing, chaos-engineering-resilience
|
|
58
|
+
│ ├── Agents: qe-visual-tester, qe-chaos-engineer
|
|
59
|
+
│ └── Coverage: Visual regression, chaos testing, smoke tests
|
|
60
|
+
└── Production Phase (Shift-Right)
|
|
61
|
+
├── Skills: shift-right-testing, compliance-testing
|
|
62
|
+
├── Agents: qe-production-intelligence, qe-deployment-readiness
|
|
63
|
+
└── Coverage: Synthetic monitoring, canary analysis, compliance validation
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## CI/CD Pipeline Phases
|
|
69
|
+
|
|
70
|
+
### Phase 1: Commit / Pre-Build (Shift-Left)
|
|
71
|
+
|
|
72
|
+
**Goal**: Catch defects early, ensure testability, validate code quality
|
|
73
|
+
|
|
74
|
+
**Recommended Skills**:
|
|
75
|
+
- `shift-left-testing` - TDD, BDD, design for testability
|
|
76
|
+
- `tdd-london-chicago` - Test-first development approaches
|
|
77
|
+
- `code-review-quality` - Context-driven code reviews
|
|
78
|
+
- `refactoring-patterns` - Safe refactoring techniques
|
|
79
|
+
|
|
80
|
+
**Recommended Agents**:
|
|
81
|
+
- `qe-test-generator` - Generate unit tests for new code
|
|
82
|
+
- `qe-requirements-validator` - Validate INVEST criteria, BDD scenarios
|
|
83
|
+
- `qe-code-reviewer` (via code-review-swarm) - Automated code review
|
|
84
|
+
|
|
85
|
+
**Quality Gates**:
|
|
86
|
+
- [ ] Unit test coverage > 80%
|
|
87
|
+
- [ ] No critical static analysis violations
|
|
88
|
+
- [ ] Code review approved
|
|
89
|
+
- [ ] Testability score > 85%
|
|
90
|
+
|
|
91
|
+
**Example Orchestration**:
|
|
92
|
+
```javascript
|
|
93
|
+
// Parallel execution for commit phase
|
|
94
|
+
Task("Generate Tests", "Create unit tests for new UserService methods", "qe-test-generator")
|
|
95
|
+
Task("Validate Requirements", "Check BDD scenarios for user stories", "qe-requirements-validator")
|
|
96
|
+
Task("Code Review", "Review code quality and testability", "code-review-swarm")
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
### Phase 2: Build Phase
|
|
102
|
+
|
|
103
|
+
**Goal**: Validate integration, ensure coverage, detect test quality issues
|
|
104
|
+
|
|
105
|
+
**Recommended Skills**:
|
|
106
|
+
- `test-automation-strategy` - Test pyramid optimization
|
|
107
|
+
- `mutation-testing` - Test quality validation
|
|
108
|
+
- `risk-based-testing` - Prioritize test execution
|
|
109
|
+
- `regression-testing` - Smart test selection
|
|
110
|
+
|
|
111
|
+
**Recommended Agents**:
|
|
112
|
+
- `qe-test-executor` - Run test suites in parallel
|
|
113
|
+
- `qe-coverage-analyzer` - Analyze coverage gaps
|
|
114
|
+
- `qe-regression-risk-analyzer` - Select minimal regression suite
|
|
115
|
+
- `qe-flaky-test-hunter` - Detect and stabilize flaky tests
|
|
116
|
+
|
|
117
|
+
**Quality Gates**:
|
|
118
|
+
- [ ] All tests passing
|
|
119
|
+
- [ ] Coverage > 90% on critical paths
|
|
120
|
+
- [ ] Mutation score > 70%
|
|
121
|
+
- [ ] No flaky tests detected
|
|
122
|
+
|
|
123
|
+
**Example Orchestration**:
|
|
124
|
+
```javascript
|
|
125
|
+
// Sequential workflow with memory coordination
|
|
126
|
+
Task("Execute Tests", "Run full test suite and store results in aqe/test-results/*", "qe-test-executor")
|
|
127
|
+
|
|
128
|
+
// Wait for execution, then analyze in parallel
|
|
129
|
+
Task("Coverage Analysis", "Read aqe/test-results/* and identify gaps", "qe-coverage-analyzer")
|
|
130
|
+
Task("Flaky Detection", "Analyze test history for flakiness patterns", "qe-flaky-test-hunter")
|
|
131
|
+
Task("Regression Analysis", "Select minimal suite for code changes", "qe-regression-risk-analyzer")
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
### Phase 3: Integration / Test Phase
|
|
137
|
+
|
|
138
|
+
**Goal**: Validate contracts, test performance, scan security, verify data
|
|
139
|
+
|
|
140
|
+
**Recommended Skills**:
|
|
141
|
+
- `api-testing-patterns` - REST/GraphQL contract testing
|
|
142
|
+
- `contract-testing` - Consumer-driven contracts (Pact)
|
|
143
|
+
- `performance-testing` - Load, stress, spike testing
|
|
144
|
+
- `security-testing` - OWASP Top 10 validation
|
|
145
|
+
- `database-testing` - Schema and data integrity
|
|
146
|
+
- `test-data-management` - Realistic test data generation
|
|
147
|
+
|
|
148
|
+
**Recommended Agents**:
|
|
149
|
+
- `qe-api-contract-validator` - Validate API contracts
|
|
150
|
+
- `qe-performance-tester` - Load test critical paths
|
|
151
|
+
- `qe-security-scanner` - SAST/DAST security scans
|
|
152
|
+
- `qe-test-data-architect` - Generate test data (10k+ records/sec)
|
|
153
|
+
|
|
154
|
+
**Quality Gates**:
|
|
155
|
+
- [ ] API contracts validated (no breaking changes)
|
|
156
|
+
- [ ] Performance SLAs met (p95 < 200ms)
|
|
157
|
+
- [ ] No critical security vulnerabilities
|
|
158
|
+
- [ ] Data integrity validated
|
|
159
|
+
|
|
160
|
+
**Example Orchestration**:
|
|
161
|
+
```javascript
|
|
162
|
+
// Parallel execution for comprehensive testing
|
|
163
|
+
Task("API Contracts", "Validate API contracts for breaking changes", "qe-api-contract-validator")
|
|
164
|
+
Task("Performance Test", "Load test with 1000 concurrent users", "qe-performance-tester")
|
|
165
|
+
Task("Security Scan", "Run SAST/DAST security checks", "qe-security-scanner")
|
|
166
|
+
Task("Data Generation", "Generate 10k realistic user records", "qe-test-data-architect")
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
### Phase 4: Staging / Pre-Production Phase
|
|
172
|
+
|
|
173
|
+
**Goal**: Validate production-like environment, test resilience, verify accessibility
|
|
174
|
+
|
|
175
|
+
**Recommended Skills**:
|
|
176
|
+
- `shift-right-testing` - Feature flags, canary deployments
|
|
177
|
+
- `chaos-engineering-resilience` - Fault injection, blast radius
|
|
178
|
+
- `exploratory-testing-advanced` - SBTM, test tours
|
|
179
|
+
- `accessibility-testing` - WCAG 2.2 compliance
|
|
180
|
+
- `compatibility-testing` - Cross-browser/device testing
|
|
181
|
+
- `visual-testing-advanced` - Visual regression with AI
|
|
182
|
+
|
|
183
|
+
**Recommended Agents**:
|
|
184
|
+
- `qe-chaos-engineer` - Resilience testing with controlled failures
|
|
185
|
+
- `qe-visual-tester` - Visual regression testing
|
|
186
|
+
- `qe-deployment-readiness` - Multi-factor risk assessment
|
|
187
|
+
|
|
188
|
+
**Quality Gates**:
|
|
189
|
+
- [ ] Chaos testing passed (system recovers from failures)
|
|
190
|
+
- [ ] Visual regression tests clean
|
|
191
|
+
- [ ] Accessibility score > 95 (WCAG AA)
|
|
192
|
+
- [ ] Deployment readiness score > 85%
|
|
193
|
+
|
|
194
|
+
**Example Orchestration**:
|
|
195
|
+
```javascript
|
|
196
|
+
// Staging validation workflow
|
|
197
|
+
Task("Chaos Testing", "Test system resilience with controlled failures", "qe-chaos-engineer")
|
|
198
|
+
Task("Visual Testing", "Run visual regression tests", "qe-visual-tester")
|
|
199
|
+
Task("Deployment Check", "Assess deployment readiness", "qe-deployment-readiness")
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
### Phase 5: Production / Post-Deploy (Shift-Right)
|
|
205
|
+
|
|
206
|
+
**Goal**: Monitor real usage, validate compliance, collect production intelligence
|
|
207
|
+
|
|
208
|
+
**Recommended Skills**:
|
|
209
|
+
- `shift-right-testing` - Synthetic monitoring, RUM analysis
|
|
210
|
+
- `compliance-testing` - GDPR, HIPAA, SOC2 validation
|
|
211
|
+
- `localization-testing` - i18n/l10n for global markets
|
|
212
|
+
- `mobile-testing` - iOS/Android production validation
|
|
213
|
+
|
|
214
|
+
**Recommended Agents**:
|
|
215
|
+
- `qe-production-intelligence` - Convert incidents to test scenarios
|
|
216
|
+
- `qe-deployment-readiness` - Production health assessment
|
|
217
|
+
- `qe-quality-analyzer` - Quality metrics and trends
|
|
218
|
+
|
|
219
|
+
**Quality Gates**:
|
|
220
|
+
- [ ] Synthetic monitors passing
|
|
221
|
+
- [ ] No critical production incidents
|
|
222
|
+
- [ ] Compliance validated (GDPR, etc.)
|
|
223
|
+
- [ ] Error rate < 0.1%
|
|
224
|
+
|
|
225
|
+
**Example Orchestration**:
|
|
226
|
+
```javascript
|
|
227
|
+
// Production monitoring and intelligence
|
|
228
|
+
Task("Production Intelligence", "Convert production incidents to test scenarios", "qe-production-intelligence")
|
|
229
|
+
Task("Quality Analysis", "Analyze production quality metrics", "qe-quality-analyzer")
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## Phase-Based Skill Selection Matrix
|
|
235
|
+
|
|
236
|
+
Use this matrix to select optimal skills for each pipeline phase:
|
|
237
|
+
|
|
238
|
+
| Pipeline Phase | Primary Skills | Secondary Skills | Agent Coordination |
|
|
239
|
+
|----------------|----------------|------------------|-------------------|
|
|
240
|
+
| **Commit** | shift-left-testing, tdd-london-chicago | code-review-quality, refactoring-patterns | qe-test-generator, qe-requirements-validator |
|
|
241
|
+
| **Build** | test-automation-strategy, mutation-testing | regression-testing, risk-based-testing | qe-test-executor, qe-coverage-analyzer, qe-flaky-test-hunter |
|
|
242
|
+
| **Integration** | api-testing-patterns, contract-testing | performance-testing, security-testing | qe-api-contract-validator, qe-performance-tester, qe-security-scanner |
|
|
243
|
+
| **Staging** | shift-right-testing, chaos-engineering-resilience | accessibility-testing, visual-testing-advanced | qe-chaos-engineer, qe-visual-tester, qe-deployment-readiness |
|
|
244
|
+
| **Production** | shift-right-testing, compliance-testing | localization-testing, mobile-testing | qe-production-intelligence, qe-quality-analyzer |
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## Complete Pipeline Orchestration Example
|
|
249
|
+
|
|
250
|
+
### Scenario: Full-Stack Web Application Deployment
|
|
251
|
+
|
|
252
|
+
```javascript
|
|
253
|
+
// Phase 1: Commit (Shift-Left)
|
|
254
|
+
Task("TDD Test Generation", "Generate tests for new features using TDD", "qe-test-generator")
|
|
255
|
+
Task("Requirements Validation", "Validate user stories with BDD scenarios", "qe-requirements-validator")
|
|
256
|
+
|
|
257
|
+
// Phase 2: Build
|
|
258
|
+
Task("Test Execution", "Run full test suite with coverage tracking", "qe-test-executor")
|
|
259
|
+
Task("Coverage Analysis", "Analyze coverage and identify gaps", "qe-coverage-analyzer")
|
|
260
|
+
Task("Flaky Detection", "Hunt and stabilize flaky tests", "qe-flaky-test-hunter")
|
|
261
|
+
|
|
262
|
+
// Phase 3: Integration
|
|
263
|
+
Task("API Contract Validation", "Check for breaking changes in API", "qe-api-contract-validator")
|
|
264
|
+
Task("Performance Testing", "Load test with 1000 users", "qe-performance-tester")
|
|
265
|
+
Task("Security Scanning", "Run SAST/DAST security checks", "qe-security-scanner")
|
|
266
|
+
|
|
267
|
+
// Phase 4: Staging
|
|
268
|
+
Task("Chaos Engineering", "Test resilience with fault injection", "qe-chaos-engineer")
|
|
269
|
+
Task("Visual Regression", "Validate UI with visual tests", "qe-visual-tester")
|
|
270
|
+
Task("Deployment Readiness", "Assess go/no-go for production", "qe-deployment-readiness")
|
|
271
|
+
|
|
272
|
+
// Phase 5: Production
|
|
273
|
+
Task("Production Intelligence", "Monitor and convert incidents to tests", "qe-production-intelligence")
|
|
274
|
+
Task("Quality Gate", "Validate against quality thresholds", "qe-quality-gate")
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## Adaptive Strategy Selection
|
|
280
|
+
|
|
281
|
+
The orchestrator adapts based on:
|
|
282
|
+
|
|
283
|
+
### Risk Level
|
|
284
|
+
- **Critical**: Use all phases, maximum coverage, manual gates
|
|
285
|
+
- **High**: Use automated gates, comprehensive testing
|
|
286
|
+
- **Medium**: Use smart test selection, risk-based prioritization
|
|
287
|
+
- **Low**: Use minimal regression suite, fast feedback
|
|
288
|
+
|
|
289
|
+
### Application Type
|
|
290
|
+
- **API**: Focus on contract-testing, api-testing-patterns, performance-testing
|
|
291
|
+
- **Web UI**: Focus on visual-testing-advanced, accessibility-testing, compatibility-testing
|
|
292
|
+
- **Mobile**: Focus on mobile-testing, performance-testing, compatibility-testing
|
|
293
|
+
- **Backend**: Focus on database-testing, performance-testing, security-testing
|
|
294
|
+
|
|
295
|
+
### Deployment Frequency
|
|
296
|
+
- **Continuous (hourly)**: Minimal regression, fast feedback, shift-right monitoring
|
|
297
|
+
- **Daily**: Smart test selection, parallel execution, automated gates
|
|
298
|
+
- **Weekly**: Comprehensive testing, exploratory sessions, manual validation
|
|
299
|
+
- **Monthly**: Full regression, compliance checks, extensive validation
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## Integration with Existing QE Fleet
|
|
304
|
+
|
|
305
|
+
### Memory Coordination
|
|
306
|
+
|
|
307
|
+
All agents coordinate through the `aqe/*` namespace:
|
|
308
|
+
|
|
309
|
+
```
|
|
310
|
+
aqe/
|
|
311
|
+
├── pipeline/
|
|
312
|
+
│ ├── phase-results/ # Results from each phase
|
|
313
|
+
│ ├── quality-gates/ # Gate validation results
|
|
314
|
+
│ └── orchestration-plan/ # Selected skills and agents
|
|
315
|
+
├── test-plan/generated # Test plans from generators
|
|
316
|
+
├── coverage/gaps # Coverage analysis results
|
|
317
|
+
├── security/findings # Security scan results
|
|
318
|
+
└── performance/results # Performance test results
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
### Skill Invocation
|
|
322
|
+
|
|
323
|
+
Invoke individual QE skills as needed:
|
|
324
|
+
|
|
325
|
+
```javascript
|
|
326
|
+
// Use specific QE skills
|
|
327
|
+
Skill("shift-left-testing") // Learn shift-left practices
|
|
328
|
+
Skill("chaos-engineering-resilience") // Apply chaos engineering
|
|
329
|
+
Skill("api-testing-patterns") // Implement API testing
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
### Agent Coordination
|
|
333
|
+
|
|
334
|
+
Use the `qe-fleet-commander` for complex multi-agent orchestration:
|
|
335
|
+
|
|
336
|
+
```javascript
|
|
337
|
+
Task("Fleet Orchestration",
|
|
338
|
+
"Coordinate 10 agents across pipeline phases: commit (2 agents), build (3 agents), test (3 agents), staging (2 agents)",
|
|
339
|
+
"qe-fleet-commander")
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
---
|
|
343
|
+
|
|
344
|
+
## Quality Gates Configuration
|
|
345
|
+
|
|
346
|
+
### Gate Templates
|
|
347
|
+
|
|
348
|
+
**Commit Gate**:
|
|
349
|
+
```json
|
|
350
|
+
{
|
|
351
|
+
"phase": "commit",
|
|
352
|
+
"gates": [
|
|
353
|
+
{ "metric": "unit_coverage", "threshold": 80, "blocking": true },
|
|
354
|
+
{ "metric": "static_analysis", "severity": "critical", "max_violations": 0 },
|
|
355
|
+
{ "metric": "code_review", "status": "approved", "blocking": true }
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
**Build Gate**:
|
|
361
|
+
```json
|
|
362
|
+
{
|
|
363
|
+
"phase": "build",
|
|
364
|
+
"gates": [
|
|
365
|
+
{ "metric": "all_tests_passed", "threshold": 100, "blocking": true },
|
|
366
|
+
{ "metric": "coverage", "threshold": 90, "blocking": true },
|
|
367
|
+
{ "metric": "mutation_score", "threshold": 70, "blocking": false }
|
|
368
|
+
]
|
|
369
|
+
}
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
**Integration Gate**:
|
|
373
|
+
```json
|
|
374
|
+
{
|
|
375
|
+
"phase": "integration",
|
|
376
|
+
"gates": [
|
|
377
|
+
{ "metric": "api_contracts", "breaking_changes": 0, "blocking": true },
|
|
378
|
+
{ "metric": "performance_p95", "threshold_ms": 200, "blocking": true },
|
|
379
|
+
{ "metric": "security_critical", "max_vulnerabilities": 0, "blocking": true }
|
|
380
|
+
]
|
|
381
|
+
}
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
### Gate Execution
|
|
385
|
+
|
|
386
|
+
```javascript
|
|
387
|
+
// Validate quality gates
|
|
388
|
+
Task("Quality Gate Validation",
|
|
389
|
+
"Validate all gates for integration phase: API contracts, performance SLAs, security scans",
|
|
390
|
+
"qe-quality-gate")
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
---
|
|
394
|
+
|
|
395
|
+
## Advanced Orchestration Patterns
|
|
396
|
+
|
|
397
|
+
### Pattern 1: Parallel Phase Execution
|
|
398
|
+
|
|
399
|
+
```javascript
|
|
400
|
+
// Execute multiple phases in parallel (for microservices)
|
|
401
|
+
Task("Service A Pipeline", "Run full pipeline for service A", "qe-fleet-commander")
|
|
402
|
+
Task("Service B Pipeline", "Run full pipeline for service B", "qe-fleet-commander")
|
|
403
|
+
Task("Service C Pipeline", "Run full pipeline for service C", "qe-fleet-commander")
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
### Pattern 2: Sequential with Gates
|
|
407
|
+
|
|
408
|
+
```javascript
|
|
409
|
+
// Sequential execution with quality gates
|
|
410
|
+
Task("Commit Phase", "Shift-left testing and validation", "qe-test-generator")
|
|
411
|
+
// Check gate before proceeding
|
|
412
|
+
Task("Build Phase", "Run tests if commit gate passes", "qe-test-executor")
|
|
413
|
+
// Check gate before proceeding
|
|
414
|
+
Task("Integration Phase", "API and performance tests if build gate passes", "qe-api-contract-validator")
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
### Pattern 3: Adaptive Selection
|
|
418
|
+
|
|
419
|
+
```javascript
|
|
420
|
+
// Adaptive strategy based on code changes
|
|
421
|
+
Task("Risk Analysis", "Analyze code changes and select minimal test suite", "qe-regression-risk-analyzer")
|
|
422
|
+
// Execute only selected tests
|
|
423
|
+
Task("Targeted Testing", "Run minimal test suite based on risk analysis", "qe-test-executor")
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
---
|
|
427
|
+
|
|
428
|
+
## Troubleshooting
|
|
429
|
+
|
|
430
|
+
### Issue: Too Many Tests Running (OOM)
|
|
431
|
+
|
|
432
|
+
**Symptoms**: Build fails with out-of-memory errors
|
|
433
|
+
**Cause**: Running all tests in parallel without batching
|
|
434
|
+
**Solution**: Use batched execution
|
|
435
|
+
|
|
436
|
+
```javascript
|
|
437
|
+
// Use batched test execution
|
|
438
|
+
Task("Batched Tests", "Run tests in batches of 10 with memory limits", "qe-test-executor")
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
See [Test Execution Policy](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/policies/test-execution.md)
|
|
442
|
+
|
|
443
|
+
### Issue: Pipeline Takes Too Long
|
|
444
|
+
|
|
445
|
+
**Symptoms**: Pipeline exceeds time budget
|
|
446
|
+
**Cause**: Running comprehensive testing on every commit
|
|
447
|
+
**Solution**: Use smart test selection
|
|
448
|
+
|
|
449
|
+
```javascript
|
|
450
|
+
// Use regression risk analysis
|
|
451
|
+
Task("Smart Selection", "Select minimal test suite based on code changes", "qe-regression-risk-analyzer")
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
### Issue: Quality Gates Failing
|
|
455
|
+
|
|
456
|
+
**Symptoms**: Deployment blocked by quality gates
|
|
457
|
+
**Cause**: Thresholds too strict or tests not comprehensive
|
|
458
|
+
**Solution**: Review and adjust gates
|
|
459
|
+
|
|
460
|
+
```javascript
|
|
461
|
+
// Analyze quality metrics
|
|
462
|
+
Task("Quality Analysis", "Analyze trends and recommend threshold adjustments", "qe-quality-analyzer")
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
---
|
|
466
|
+
|
|
467
|
+
## Complete Workflow Templates
|
|
468
|
+
|
|
469
|
+
### Template 1: Microservice Pipeline
|
|
470
|
+
|
|
471
|
+
See [resources/workflows/microservice-pipeline.md](resources/workflows/microservice-pipeline.md)
|
|
472
|
+
|
|
473
|
+
### Template 2: Monolith Pipeline
|
|
474
|
+
|
|
475
|
+
See [resources/workflows/monolith-pipeline.md](resources/workflows/monolith-pipeline.md)
|
|
476
|
+
|
|
477
|
+
### Template 3: Mobile App Pipeline
|
|
478
|
+
|
|
479
|
+
See [resources/workflows/mobile-pipeline.md](resources/workflows/mobile-pipeline.md)
|
|
480
|
+
|
|
481
|
+
---
|
|
482
|
+
|
|
483
|
+
## Resources
|
|
484
|
+
|
|
485
|
+
### Skills Reference
|
|
486
|
+
- [All 37 QE Skills](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/reference/skills.md)
|
|
487
|
+
- [Shift-Left Testing](../shift-left-testing/SKILL.md)
|
|
488
|
+
- [Shift-Right Testing](../shift-right-testing/SKILL.md)
|
|
489
|
+
- [Chaos Engineering](../chaos-engineering-resilience/SKILL.md)
|
|
490
|
+
|
|
491
|
+
### Agent Reference
|
|
492
|
+
- [All 18 QE Agents](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/reference/agents.md)
|
|
493
|
+
- [Fleet Commander](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/reference/agents.md#qe-fleet-commander)
|
|
494
|
+
|
|
495
|
+
### Policies
|
|
496
|
+
- [Test Execution Policy](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/policies/test-execution.md)
|
|
497
|
+
- [Release Verification Policy](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/policies/release-verification.md)
|
|
498
|
+
|
|
499
|
+
### External Resources
|
|
500
|
+
- [Continuous Testing in DevOps](https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment)
|
|
501
|
+
- [Shift-Left vs Shift-Right](https://www.dynatrace.com/news/blog/what-is-shift-left-and-shift-right/)
|
|
502
|
+
- [Quality Gates in CI/CD](https://docs.sonarqube.org/latest/user-guide/quality-gates/)
|
|
503
|
+
|
|
504
|
+
---
|
|
505
|
+
|
|
506
|
+
**Created**: 2025-11-13
|
|
507
|
+
**Category**: Quality Engineering Orchestration
|
|
508
|
+
**Difficulty**: Advanced
|
|
509
|
+
**Estimated Time**: 30-60 minutes for full pipeline setup
|
|
510
|
+
**Integrations**: All 37 QE skills, 18 QE agents, CI/CD platforms (GitHub Actions, Jenkins, GitLab CI)
|