agentic-qe 1.6.0 → 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/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 +2239 -2157
- package/README.md +12 -6
- 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 +479 -461
- package/dist/cli/commands/init.js.map +1 -1
- package/package.json +2 -2
- package/.claude/agents/.claude-flow/metrics/agent-metrics.json +0 -1
- package/.claude/agents/.claude-flow/metrics/performance.json +0 -87
- package/.claude/agents/.claude-flow/metrics/task-metrics.json +0 -10
- 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
package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/microservice-pipeline.md
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# Microservice CI/CD Pipeline Workflow
|
|
2
|
+
|
|
3
|
+
Complete quality orchestration workflow for microservice architectures.
|
|
4
|
+
|
|
5
|
+
## Pipeline Configuration
|
|
6
|
+
|
|
7
|
+
**Service Type**: Microservice (REST API)
|
|
8
|
+
**Tech Stack**: Node.js, Express, PostgreSQL
|
|
9
|
+
**Deployment**: Kubernetes, Docker
|
|
10
|
+
**Frequency**: Multiple deploys per day
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Phase 1: Commit (Pre-Merge)
|
|
15
|
+
|
|
16
|
+
### Quality Strategy
|
|
17
|
+
- Fast feedback (<5 minutes)
|
|
18
|
+
- Unit tests + static analysis
|
|
19
|
+
- API contract validation
|
|
20
|
+
|
|
21
|
+
### Agent Orchestration
|
|
22
|
+
|
|
23
|
+
```javascript
|
|
24
|
+
// Parallel execution for fast feedback
|
|
25
|
+
Task("Unit Tests", "Generate and run unit tests for changed services", "qe-test-generator")
|
|
26
|
+
Task("Contract Validation", "Validate service contracts haven't broken", "qe-api-contract-validator")
|
|
27
|
+
Task("Static Analysis", "Run static analysis and linting", "code-review-swarm")
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Quality Gates
|
|
31
|
+
- [ ] Unit coverage > 80% on changed files
|
|
32
|
+
- [ ] No API contract breaks
|
|
33
|
+
- [ ] No critical static analysis violations
|
|
34
|
+
- [ ] Execution time < 5 minutes
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Phase 2: Build (Post-Merge)
|
|
39
|
+
|
|
40
|
+
### Quality Strategy
|
|
41
|
+
- Integration testing between services
|
|
42
|
+
- Contract testing with consumers
|
|
43
|
+
- Test data generation
|
|
44
|
+
|
|
45
|
+
### Agent Orchestration
|
|
46
|
+
|
|
47
|
+
```javascript
|
|
48
|
+
// Sequential with memory coordination
|
|
49
|
+
Task("Integration Tests", "Run integration tests and store results", "qe-test-executor")
|
|
50
|
+
Task("Coverage Analysis", "Analyze coverage from integration tests", "qe-coverage-analyzer")
|
|
51
|
+
Task("Contract Testing", "Run Pact consumer-driven contract tests", "qe-api-contract-validator")
|
|
52
|
+
Task("Data Generation", "Generate realistic test data for downstream services", "qe-test-data-architect")
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Quality Gates
|
|
56
|
+
- [ ] All integration tests passing
|
|
57
|
+
- [ ] Coverage > 85% including integration
|
|
58
|
+
- [ ] All consumer contracts validated
|
|
59
|
+
- [ ] Test data generated successfully
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Phase 3: Integration Environment
|
|
64
|
+
|
|
65
|
+
### Quality Strategy
|
|
66
|
+
- Performance testing under load
|
|
67
|
+
- Security scanning (SAST/DAST)
|
|
68
|
+
- Chaos testing for resilience
|
|
69
|
+
|
|
70
|
+
### Agent Orchestration
|
|
71
|
+
|
|
72
|
+
```javascript
|
|
73
|
+
// Parallel execution for comprehensive validation
|
|
74
|
+
Task("Load Testing", "Test with 1000 concurrent requests", "qe-performance-tester")
|
|
75
|
+
Task("Security Scan", "Run SAST/DAST security checks", "qe-security-scanner")
|
|
76
|
+
Task("Chaos Testing", "Inject failures to test resilience", "qe-chaos-engineer")
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Quality Gates
|
|
80
|
+
- [ ] p95 latency < 100ms
|
|
81
|
+
- [ ] p99 latency < 500ms
|
|
82
|
+
- [ ] No critical security vulnerabilities
|
|
83
|
+
- [ ] Service recovers from injected failures
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Phase 4: Staging
|
|
88
|
+
|
|
89
|
+
### Quality Strategy
|
|
90
|
+
- End-to-end testing across services
|
|
91
|
+
- Visual regression for admin UI (if applicable)
|
|
92
|
+
- Deployment readiness assessment
|
|
93
|
+
|
|
94
|
+
### Agent Orchestration
|
|
95
|
+
|
|
96
|
+
```javascript
|
|
97
|
+
// Staging validation
|
|
98
|
+
Task("E2E Tests", "Run end-to-end user journeys", "qe-test-executor")
|
|
99
|
+
Task("Visual Testing", "Check admin UI for regressions", "qe-visual-tester")
|
|
100
|
+
Task("Deployment Check", "Assess production readiness", "qe-deployment-readiness")
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Quality Gates
|
|
104
|
+
- [ ] All E2E scenarios passing
|
|
105
|
+
- [ ] No visual regressions
|
|
106
|
+
- [ ] Deployment readiness score > 90%
|
|
107
|
+
- [ ] Rollback plan validated
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Phase 5: Production
|
|
112
|
+
|
|
113
|
+
### Quality Strategy
|
|
114
|
+
- Canary deployment with synthetic monitoring
|
|
115
|
+
- Production intelligence collection
|
|
116
|
+
- Real-time quality metrics
|
|
117
|
+
|
|
118
|
+
### Agent Orchestration
|
|
119
|
+
|
|
120
|
+
```javascript
|
|
121
|
+
// Production monitoring
|
|
122
|
+
Task("Production Intelligence", "Monitor canary and collect metrics", "qe-production-intelligence")
|
|
123
|
+
Task("Quality Analysis", "Track production quality metrics", "qe-quality-analyzer")
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Quality Gates (Canary)
|
|
127
|
+
- [ ] Error rate < 0.1%
|
|
128
|
+
- [ ] Latency within 5% of baseline
|
|
129
|
+
- [ ] No increase in 5xx errors
|
|
130
|
+
- [ ] Synthetic monitors passing
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Skill Integration
|
|
135
|
+
|
|
136
|
+
### Skills Used by Phase
|
|
137
|
+
|
|
138
|
+
**Commit Phase**:
|
|
139
|
+
- `shift-left-testing`
|
|
140
|
+
- `tdd-london-chicago`
|
|
141
|
+
- `api-testing-patterns`
|
|
142
|
+
|
|
143
|
+
**Build Phase**:
|
|
144
|
+
- `contract-testing`
|
|
145
|
+
- `test-automation-strategy`
|
|
146
|
+
- `test-data-management`
|
|
147
|
+
|
|
148
|
+
**Integration Phase**:
|
|
149
|
+
- `performance-testing`
|
|
150
|
+
- `security-testing`
|
|
151
|
+
- `chaos-engineering-resilience`
|
|
152
|
+
|
|
153
|
+
**Staging Phase**:
|
|
154
|
+
- `shift-right-testing`
|
|
155
|
+
- `visual-testing-advanced`
|
|
156
|
+
|
|
157
|
+
**Production Phase**:
|
|
158
|
+
- `shift-right-testing`
|
|
159
|
+
- `quality-metrics`
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## Complete Pipeline Code
|
|
164
|
+
|
|
165
|
+
```javascript
|
|
166
|
+
// Full microservice pipeline orchestration
|
|
167
|
+
|
|
168
|
+
// PHASE 1: Commit
|
|
169
|
+
const commitAgents = [
|
|
170
|
+
Task("Unit Tests", "Generate tests for UserService", "qe-test-generator"),
|
|
171
|
+
Task("Contract Validation", "Check API contracts", "qe-api-contract-validator"),
|
|
172
|
+
Task("Code Review", "Automated code review", "code-review-swarm")
|
|
173
|
+
];
|
|
174
|
+
|
|
175
|
+
// Wait for commit gates to pass...
|
|
176
|
+
|
|
177
|
+
// PHASE 2: Build
|
|
178
|
+
const buildAgents = [
|
|
179
|
+
Task("Integration Tests", "Run service integration tests", "qe-test-executor"),
|
|
180
|
+
Task("Coverage Check", "Analyze integration coverage", "qe-coverage-analyzer"),
|
|
181
|
+
Task("Pact Tests", "Validate consumer contracts", "qe-api-contract-validator")
|
|
182
|
+
];
|
|
183
|
+
|
|
184
|
+
// Wait for build gates to pass...
|
|
185
|
+
|
|
186
|
+
// PHASE 3: Integration
|
|
187
|
+
const integrationAgents = [
|
|
188
|
+
Task("Load Test", "1000 concurrent users", "qe-performance-tester"),
|
|
189
|
+
Task("Security Scan", "SAST/DAST checks", "qe-security-scanner"),
|
|
190
|
+
Task("Chaos Test", "Inject network failures", "qe-chaos-engineer")
|
|
191
|
+
];
|
|
192
|
+
|
|
193
|
+
// Wait for integration gates to pass...
|
|
194
|
+
|
|
195
|
+
// PHASE 4: Staging
|
|
196
|
+
const stagingAgents = [
|
|
197
|
+
Task("E2E Tests", "User journey validation", "qe-test-executor"),
|
|
198
|
+
Task("Visual Tests", "UI regression check", "qe-visual-tester"),
|
|
199
|
+
Task("Ready Check", "Deployment assessment", "qe-deployment-readiness")
|
|
200
|
+
];
|
|
201
|
+
|
|
202
|
+
// Wait for staging gates to pass...
|
|
203
|
+
|
|
204
|
+
// PHASE 5: Production (Canary)
|
|
205
|
+
const productionAgents = [
|
|
206
|
+
Task("Monitor Canary", "Collect production metrics", "qe-production-intelligence"),
|
|
207
|
+
Task("Quality Metrics", "Track quality trends", "qe-quality-analyzer")
|
|
208
|
+
];
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Timing Budget
|
|
214
|
+
|
|
215
|
+
| Phase | Target Time | Max Time |
|
|
216
|
+
|-------|-------------|----------|
|
|
217
|
+
| Commit | 3 min | 5 min |
|
|
218
|
+
| Build | 8 min | 15 min |
|
|
219
|
+
| Integration | 15 min | 30 min |
|
|
220
|
+
| Staging | 10 min | 20 min |
|
|
221
|
+
| Production (Canary) | 30 min | 60 min |
|
|
222
|
+
| **Total** | **66 min** | **130 min** |
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## Rollback Strategy
|
|
227
|
+
|
|
228
|
+
If any phase fails:
|
|
229
|
+
|
|
230
|
+
1. **Commit/Build**: Block merge, developer fixes
|
|
231
|
+
2. **Integration**: Auto-rollback, investigate
|
|
232
|
+
3. **Staging**: Block deployment, team review
|
|
233
|
+
4. **Production**: Immediate rollback, incident created
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
**Use Cases**: REST APIs, GraphQL services, Event-driven services
|
|
238
|
+
**Team Size**: 2-5 developers per service
|
|
239
|
+
**Deploy Frequency**: 5-20 deploys/day
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
# Mobile App CI/CD Pipeline Workflow
|
|
2
|
+
|
|
3
|
+
Complete quality orchestration workflow for mobile applications (iOS and Android).
|
|
4
|
+
|
|
5
|
+
## Pipeline Configuration
|
|
6
|
+
|
|
7
|
+
**Service Type**: Native Mobile Application
|
|
8
|
+
**Tech Stack**: React Native (iOS + Android)
|
|
9
|
+
**Deployment**: App Store, Google Play
|
|
10
|
+
**Frequency**: Bi-weekly releases
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Phase 1: Commit (Pre-Merge)
|
|
15
|
+
|
|
16
|
+
### Quality Strategy
|
|
17
|
+
- Unit tests for business logic
|
|
18
|
+
- Component snapshot tests
|
|
19
|
+
- Fast feedback (<5 minutes)
|
|
20
|
+
|
|
21
|
+
### Agent Orchestration
|
|
22
|
+
|
|
23
|
+
```javascript
|
|
24
|
+
// Fast mobile-specific validation
|
|
25
|
+
Task("Unit Tests", "Test business logic and utilities", "qe-test-generator")
|
|
26
|
+
Task("Snapshot Tests", "Validate component snapshots", "qe-test-executor")
|
|
27
|
+
Task("Code Review", "Mobile-specific code review", "code-review-swarm")
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Quality Gates
|
|
31
|
+
- [ ] Unit tests passing
|
|
32
|
+
- [ ] No snapshot failures
|
|
33
|
+
- [ ] No critical code review issues
|
|
34
|
+
- [ ] Execution time < 5 minutes
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Phase 2: Build (iOS + Android)
|
|
39
|
+
|
|
40
|
+
### Quality Strategy
|
|
41
|
+
- Platform-specific build validation
|
|
42
|
+
- Integration tests on simulators/emulators
|
|
43
|
+
- Test data generation for offline testing
|
|
44
|
+
|
|
45
|
+
### Agent Orchestration
|
|
46
|
+
|
|
47
|
+
```javascript
|
|
48
|
+
// Parallel builds and tests
|
|
49
|
+
Task("iOS Build", "Build and test on iOS simulator", "qe-test-executor")
|
|
50
|
+
Task("Android Build", "Build and test on Android emulator", "qe-test-executor")
|
|
51
|
+
Task("Integration Tests", "Run E2E tests on both platforms", "qe-test-executor")
|
|
52
|
+
Task("Test Data", "Generate offline test data", "qe-test-data-architect")
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Quality Gates
|
|
56
|
+
- [ ] iOS build successful
|
|
57
|
+
- [ ] Android build successful
|
|
58
|
+
- [ ] Integration tests passing (both platforms)
|
|
59
|
+
- [ ] No platform-specific regressions
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Phase 3: Device Testing
|
|
64
|
+
|
|
65
|
+
### Quality Strategy
|
|
66
|
+
- Real device testing (multiple models)
|
|
67
|
+
- Performance on low-end devices
|
|
68
|
+
- Compatibility across OS versions
|
|
69
|
+
- Visual regression testing
|
|
70
|
+
|
|
71
|
+
### Agent Orchestration
|
|
72
|
+
|
|
73
|
+
```javascript
|
|
74
|
+
// Device farm testing
|
|
75
|
+
Task("Device Testing", "Test on 20+ real devices (BrowserStack/Firebase)", "qe-test-executor")
|
|
76
|
+
Task("Performance Test", "Test on low-end devices", "qe-performance-tester")
|
|
77
|
+
Task("Visual Testing", "Visual regression across devices", "qe-visual-tester")
|
|
78
|
+
Task("Compatibility", "Test iOS 14-17, Android 10-14", "qe-test-executor")
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Skills for Mobile Testing
|
|
82
|
+
```javascript
|
|
83
|
+
// Invoke mobile testing skill
|
|
84
|
+
Skill("mobile-testing") // Gestures, sensors, permissions, fragmentation
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Quality Gates
|
|
88
|
+
- [ ] All device tests passing
|
|
89
|
+
- [ ] Performance acceptable on low-end devices (60fps)
|
|
90
|
+
- [ ] No visual regressions
|
|
91
|
+
- [ ] Tested on 90% of user devices (analytics-based)
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Phase 4: Beta Testing
|
|
96
|
+
|
|
97
|
+
### Quality Strategy
|
|
98
|
+
- Internal beta (TestFlight/Internal Testing)
|
|
99
|
+
- Crash analytics monitoring
|
|
100
|
+
- Accessibility validation
|
|
101
|
+
- Localization testing
|
|
102
|
+
|
|
103
|
+
### Agent Orchestration
|
|
104
|
+
|
|
105
|
+
```javascript
|
|
106
|
+
// Beta validation
|
|
107
|
+
Task("Crash Analysis", "Monitor crash reports from beta", "qe-production-intelligence")
|
|
108
|
+
Task("Accessibility", "WCAG compliance for mobile", "qe-visual-tester")
|
|
109
|
+
Task("Localization", "Test 10+ languages", "qe-test-executor")
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Skills for Beta Testing
|
|
113
|
+
```javascript
|
|
114
|
+
Skill("accessibility-testing") // Screen readers, voice control
|
|
115
|
+
Skill("localization-testing") // i18n, RTL languages
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Quality Gates
|
|
119
|
+
- [ ] Crash-free rate > 99.5%
|
|
120
|
+
- [ ] Accessibility score > 90%
|
|
121
|
+
- [ ] All target languages validated
|
|
122
|
+
- [ ] Beta user feedback positive
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Phase 5: Production Release
|
|
127
|
+
|
|
128
|
+
### Quality Strategy
|
|
129
|
+
- Staged rollout (1% → 10% → 50% → 100%)
|
|
130
|
+
- App store optimization (screenshots, metadata)
|
|
131
|
+
- Production monitoring
|
|
132
|
+
- Review response monitoring
|
|
133
|
+
|
|
134
|
+
### Agent Orchestration
|
|
135
|
+
|
|
136
|
+
```javascript
|
|
137
|
+
// Production monitoring
|
|
138
|
+
Task("Rollout Monitoring", "Monitor staged rollout metrics", "qe-production-intelligence")
|
|
139
|
+
Task("Quality Metrics", "Track production quality", "qe-quality-analyzer")
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Quality Gates (Per Stage)
|
|
143
|
+
- [ ] Crash-free rate maintained
|
|
144
|
+
- [ ] ANR rate < 0.1% (Android)
|
|
145
|
+
- [ ] App Store rating > 4.5 stars
|
|
146
|
+
- [ ] No increase in 1-star reviews
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Skill Integration
|
|
151
|
+
|
|
152
|
+
### Skills Used by Phase
|
|
153
|
+
|
|
154
|
+
**Commit Phase**:
|
|
155
|
+
- `shift-left-testing`
|
|
156
|
+
- `tdd-london-chicago`
|
|
157
|
+
|
|
158
|
+
**Build Phase**:
|
|
159
|
+
- `test-automation-strategy`
|
|
160
|
+
- `test-data-management`
|
|
161
|
+
|
|
162
|
+
**Device Testing Phase**:
|
|
163
|
+
- `mobile-testing` ⭐ (primary)
|
|
164
|
+
- `compatibility-testing`
|
|
165
|
+
- `visual-testing-advanced`
|
|
166
|
+
- `performance-testing`
|
|
167
|
+
|
|
168
|
+
**Beta Testing Phase**:
|
|
169
|
+
- `accessibility-testing`
|
|
170
|
+
- `localization-testing`
|
|
171
|
+
- `exploratory-testing-advanced`
|
|
172
|
+
|
|
173
|
+
**Production Phase**:
|
|
174
|
+
- `shift-right-testing`
|
|
175
|
+
- `quality-metrics`
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Complete Pipeline Code
|
|
180
|
+
|
|
181
|
+
```javascript
|
|
182
|
+
// Full mobile pipeline orchestration
|
|
183
|
+
|
|
184
|
+
// PHASE 1: Commit
|
|
185
|
+
Task("Unit Tests", "Business logic tests", "qe-test-generator")
|
|
186
|
+
Task("Snapshot Tests", "Component snapshots", "qe-test-executor")
|
|
187
|
+
|
|
188
|
+
// PHASE 2: Build (Parallel iOS + Android)
|
|
189
|
+
Task("iOS Build", "Build and test iOS", "qe-test-executor")
|
|
190
|
+
Task("Android Build", "Build and test Android", "qe-test-executor")
|
|
191
|
+
Task("Integration Tests", "E2E on both platforms", "qe-test-executor")
|
|
192
|
+
|
|
193
|
+
// PHASE 3: Device Testing
|
|
194
|
+
Task("Device Farm", "Test on 20+ devices", "qe-test-executor")
|
|
195
|
+
Task("Performance", "Low-end device testing", "qe-performance-tester")
|
|
196
|
+
Task("Visual Testing", "Cross-device visuals", "qe-visual-tester")
|
|
197
|
+
|
|
198
|
+
// Apply mobile testing skill
|
|
199
|
+
Skill("mobile-testing")
|
|
200
|
+
|
|
201
|
+
// PHASE 4: Beta
|
|
202
|
+
Task("Crash Monitoring", "Monitor beta crashes", "qe-production-intelligence")
|
|
203
|
+
Task("Accessibility", "Mobile a11y validation", "qe-visual-tester")
|
|
204
|
+
Task("Localization", "Multi-language testing", "qe-test-executor")
|
|
205
|
+
|
|
206
|
+
// Apply accessibility and localization skills
|
|
207
|
+
Skill("accessibility-testing")
|
|
208
|
+
Skill("localization-testing")
|
|
209
|
+
|
|
210
|
+
// PHASE 5: Production (Staged Rollout)
|
|
211
|
+
Task("Rollout Monitor", "Track staged rollout", "qe-production-intelligence")
|
|
212
|
+
Task("Quality Metrics", "Production quality tracking", "qe-quality-analyzer")
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## Timing Budget
|
|
218
|
+
|
|
219
|
+
| Phase | Target Time | Max Time |
|
|
220
|
+
|-------|-------------|----------|
|
|
221
|
+
| Commit | 5 min | 10 min |
|
|
222
|
+
| Build (iOS + Android) | 20 min | 40 min |
|
|
223
|
+
| Device Testing | 60 min | 120 min |
|
|
224
|
+
| Beta Testing | 3 days | 7 days |
|
|
225
|
+
| Production Rollout | 5 days (staged) | 10 days |
|
|
226
|
+
| **Total** | **~9 days** | **~18 days** |
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Device Coverage Strategy
|
|
231
|
+
|
|
232
|
+
### Minimum Device Coverage
|
|
233
|
+
|
|
234
|
+
**iOS**:
|
|
235
|
+
- iPhone SE (low-end)
|
|
236
|
+
- iPhone 12/13 (mid-range)
|
|
237
|
+
- iPhone 15 Pro (high-end)
|
|
238
|
+
- iPad (tablet)
|
|
239
|
+
|
|
240
|
+
**Android**:
|
|
241
|
+
- Samsung Galaxy A series (low-end)
|
|
242
|
+
- Google Pixel (mid-range)
|
|
243
|
+
- Samsung Galaxy S series (high-end)
|
|
244
|
+
- Various tablets
|
|
245
|
+
|
|
246
|
+
### OS Version Coverage
|
|
247
|
+
|
|
248
|
+
**iOS**: Last 3 versions (iOS 15, 16, 17)
|
|
249
|
+
**Android**: Last 4 versions (Android 11, 12, 13, 14)
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Performance Benchmarks
|
|
254
|
+
|
|
255
|
+
### Target Metrics
|
|
256
|
+
|
|
257
|
+
| Metric | Target | Max |
|
|
258
|
+
|--------|--------|-----|
|
|
259
|
+
| Cold start | 1.5s | 3s |
|
|
260
|
+
| Hot start | 0.5s | 1s |
|
|
261
|
+
| Frame rate | 60fps | 50fps |
|
|
262
|
+
| Memory (idle) | 50MB | 100MB |
|
|
263
|
+
| Memory (active) | 150MB | 300MB |
|
|
264
|
+
| APK/IPA size | 30MB | 50MB |
|
|
265
|
+
|
|
266
|
+
### Testing
|
|
267
|
+
|
|
268
|
+
```javascript
|
|
269
|
+
Task("Performance Benchmarks",
|
|
270
|
+
"Test cold/hot start, frame rate, memory on low-end devices",
|
|
271
|
+
"qe-performance-tester")
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Accessibility Requirements
|
|
277
|
+
|
|
278
|
+
### WCAG Mobile Criteria
|
|
279
|
+
|
|
280
|
+
- [ ] Touch target size (44x44 minimum)
|
|
281
|
+
- [ ] Screen reader support (TalkBack/VoiceOver)
|
|
282
|
+
- [ ] Color contrast (4.5:1 minimum)
|
|
283
|
+
- [ ] Keyboard navigation (external keyboard)
|
|
284
|
+
- [ ] Gesture alternatives
|
|
285
|
+
- [ ] Orientation support
|
|
286
|
+
|
|
287
|
+
### Testing
|
|
288
|
+
|
|
289
|
+
```javascript
|
|
290
|
+
Task("Mobile Accessibility",
|
|
291
|
+
"Validate WCAG mobile criteria with TalkBack and VoiceOver",
|
|
292
|
+
"qe-visual-tester")
|
|
293
|
+
|
|
294
|
+
Skill("accessibility-testing")
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## Localization Coverage
|
|
300
|
+
|
|
301
|
+
### Priority Languages
|
|
302
|
+
1. English (en)
|
|
303
|
+
2. Spanish (es)
|
|
304
|
+
3. French (fr)
|
|
305
|
+
4. German (de)
|
|
306
|
+
5. Chinese Simplified (zh-CN)
|
|
307
|
+
6. Japanese (ja)
|
|
308
|
+
7. Arabic (ar) - RTL testing
|
|
309
|
+
|
|
310
|
+
### Testing
|
|
311
|
+
|
|
312
|
+
```javascript
|
|
313
|
+
Task("Localization Testing",
|
|
314
|
+
"Test all 7 languages including RTL for Arabic",
|
|
315
|
+
"qe-test-executor")
|
|
316
|
+
|
|
317
|
+
Skill("localization-testing")
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## Staged Rollout Strategy
|
|
323
|
+
|
|
324
|
+
### Rollout Phases
|
|
325
|
+
|
|
326
|
+
**Phase 1 (1%)**: Internal team + power users (24 hours)
|
|
327
|
+
**Phase 2 (10%)**: Early adopters (48 hours)
|
|
328
|
+
**Phase 3 (50%)**: Broader audience (48 hours)
|
|
329
|
+
**Phase 4 (100%)**: All users
|
|
330
|
+
|
|
331
|
+
### Monitoring Per Phase
|
|
332
|
+
|
|
333
|
+
```javascript
|
|
334
|
+
// Monitor each rollout phase
|
|
335
|
+
Task("Phase 1 Monitoring", "Track 1% rollout metrics", "qe-production-intelligence")
|
|
336
|
+
// Check gates, then proceed to next phase
|
|
337
|
+
Task("Phase 2 Monitoring", "Track 10% rollout metrics", "qe-production-intelligence")
|
|
338
|
+
// Repeat for each phase...
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
### Rollback Triggers
|
|
342
|
+
|
|
343
|
+
- Crash rate > 1%
|
|
344
|
+
- ANR rate > 0.5% (Android)
|
|
345
|
+
- App rating drops below 4.0
|
|
346
|
+
- Critical bug reported by > 10 users
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
## App Store Optimization
|
|
351
|
+
|
|
352
|
+
### Pre-Release Checklist
|
|
353
|
+
|
|
354
|
+
- [ ] App store screenshots (all device sizes)
|
|
355
|
+
- [ ] App preview videos
|
|
356
|
+
- [ ] Metadata in all languages
|
|
357
|
+
- [ ] Privacy policy updated
|
|
358
|
+
- [ ] What's New section written
|
|
359
|
+
- [ ] Keywords optimized
|
|
360
|
+
|
|
361
|
+
### Visual Testing
|
|
362
|
+
|
|
363
|
+
```javascript
|
|
364
|
+
Task("ASO Visual Check",
|
|
365
|
+
"Validate app store screenshots and previews",
|
|
366
|
+
"qe-visual-tester")
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
---
|
|
370
|
+
|
|
371
|
+
**Use Cases**: Consumer apps, Enterprise mobile apps, Mobile games
|
|
372
|
+
**Team Size**: 5-15 developers
|
|
373
|
+
**Deploy Frequency**: Bi-weekly releases
|
|
374
|
+
**Platforms**: iOS (App Store), Android (Google Play)
|
|
375
|
+
**Testing**: Device farms (BrowserStack, Firebase Test Lab)
|