@defai.digital/cli 13.4.4 → 13.4.5
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/bundled/templates/monorepo/contract-index.ts.hbs +7 -0
- package/bundled/templates/monorepo/contract-test.ts.hbs +130 -0
- package/bundled/templates/monorepo/contracts-package.json.hbs +29 -0
- package/bundled/templates/monorepo/domain-index.ts.hbs +115 -0
- package/bundled/templates/monorepo/domain-package.json.hbs +27 -0
- package/bundled/templates/monorepo/gitignore.hbs +32 -0
- package/bundled/templates/monorepo/invariants.md.hbs +43 -0
- package/bundled/templates/monorepo/package.json.hbs +28 -0
- package/bundled/templates/monorepo/pnpm-workspace.yaml.hbs +5 -0
- package/bundled/templates/monorepo/schema.ts.hbs +82 -0
- package/bundled/templates/monorepo/template.json +106 -0
- package/bundled/templates/monorepo/tsconfig.json.hbs +22 -0
- package/bundled/templates/standalone/contract-index.ts.hbs +5 -0
- package/bundled/templates/standalone/contract-test.ts.hbs +95 -0
- package/bundled/templates/standalone/contracts-root-index.ts.hbs +7 -0
- package/bundled/templates/standalone/domain-index.ts.hbs +6 -0
- package/bundled/templates/standalone/domain-repository.ts.hbs +44 -0
- package/bundled/templates/standalone/domain-service.ts.hbs +102 -0
- package/bundled/templates/standalone/gitignore.hbs +27 -0
- package/bundled/templates/standalone/invariants.md.hbs +35 -0
- package/bundled/templates/standalone/package.json.hbs +41 -0
- package/bundled/templates/standalone/schema.ts.hbs +61 -0
- package/bundled/templates/standalone/src-index.ts.hbs +11 -0
- package/bundled/templates/standalone/template.json +91 -0
- package/bundled/templates/standalone/tsconfig.json.hbs +20 -0
- package/bundled/templates/standalone/vitest.config.ts.hbs +8 -0
- package/bundled/workflows/adversarial-debate.yaml +222 -0
- package/bundled/workflows/analyst.yaml +115 -0
- package/bundled/workflows/assistant.yaml +74 -0
- package/bundled/workflows/code-review-discussion.yaml +166 -0
- package/bundled/workflows/code-reviewer.yaml +94 -0
- package/bundled/workflows/contract-first-project.yaml +356 -0
- package/bundled/workflows/debugger.yaml +107 -0
- package/bundled/workflows/designer.yaml +113 -0
- package/bundled/workflows/developer.yaml +105 -0
- package/bundled/workflows/discuss-step-examples.yaml +153 -0
- package/bundled/workflows/infrastructure-automation.yaml +283 -0
- package/bundled/workflows/ml-ab-testing.yaml +311 -0
- package/bundled/workflows/ml-experiment-tracker.yaml +150 -0
- package/bundled/workflows/ml-feature-engineering.yaml +242 -0
- package/bundled/workflows/ml-model-evaluation.yaml +234 -0
- package/bundled/workflows/ml-model-monitoring.yaml +227 -0
- package/bundled/workflows/ml-model-registry.yaml +232 -0
- package/bundled/workflows/mlops-deployment.yaml +267 -0
- package/bundled/workflows/mobile-development.yaml +312 -0
- package/bundled/workflows/multi-model-discussion.yaml +243 -0
- package/bundled/workflows/product-discovery.yaml +295 -0
- package/bundled/workflows/qa-specialist.yaml +116 -0
- package/bundled/workflows/refactoring.yaml +105 -0
- package/bundled/workflows/security-audit.yaml +135 -0
- package/bundled/workflows/std/analysis.yaml +190 -0
- package/bundled/workflows/std/code-review.yaml +117 -0
- package/bundled/workflows/std/debugging.yaml +155 -0
- package/bundled/workflows/std/documentation.yaml +180 -0
- package/bundled/workflows/std/implementation.yaml +197 -0
- package/bundled/workflows/std/refactoring.yaml +180 -0
- package/bundled/workflows/std/testing.yaml +200 -0
- package/bundled/workflows/strategic-planning.yaml +235 -0
- package/bundled/workflows/technology-research.yaml +239 -0
- package/dist/commands/scaffold.d.ts.map +1 -1
- package/dist/commands/scaffold.js +6 -3
- package/dist/commands/scaffold.js.map +1 -1
- package/dist/web/api.d.ts.map +1 -1
- package/dist/web/api.js +13 -6
- package/dist/web/api.js.map +1 -1
- package/package.json +21 -21
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
workflowId: mlops-deployment
|
|
2
|
+
name: MLOps Deployment Pipeline
|
|
3
|
+
description: Automate model deployment from registry to production with validation gates
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
category: mlops
|
|
6
|
+
tags:
|
|
7
|
+
- mlops
|
|
8
|
+
- deployment
|
|
9
|
+
- automation
|
|
10
|
+
- production
|
|
11
|
+
|
|
12
|
+
metadata:
|
|
13
|
+
requiredAbilities:
|
|
14
|
+
- mlops
|
|
15
|
+
- infrastructure
|
|
16
|
+
- deployment
|
|
17
|
+
estimatedDuration: 300
|
|
18
|
+
complexity: high
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- stepId: fetch-model
|
|
22
|
+
name: Fetch Model from Registry
|
|
23
|
+
type: tool
|
|
24
|
+
timeout: 30000
|
|
25
|
+
tool: memory_retrieve
|
|
26
|
+
config:
|
|
27
|
+
namespace: ml-model-registry
|
|
28
|
+
key: "{{model_name}}/versions/{{version}}"
|
|
29
|
+
|
|
30
|
+
- stepId: validate-deployment-readiness
|
|
31
|
+
name: Validate Deployment Readiness
|
|
32
|
+
type: prompt
|
|
33
|
+
timeout: 120000
|
|
34
|
+
config:
|
|
35
|
+
agent: mlops-engineer
|
|
36
|
+
task: |
|
|
37
|
+
Validate model is ready for deployment.
|
|
38
|
+
|
|
39
|
+
## Pre-Deployment Checklist
|
|
40
|
+
|
|
41
|
+
1. **Model Artifact Validation**:
|
|
42
|
+
- [ ] Model file exists and is accessible
|
|
43
|
+
- [ ] Checksum matches registry
|
|
44
|
+
- [ ] Model loads successfully
|
|
45
|
+
|
|
46
|
+
2. **Evaluation Gate**:
|
|
47
|
+
- [ ] Model passed evaluation workflow
|
|
48
|
+
- [ ] Metrics meet production thresholds
|
|
49
|
+
- [ ] Fairness audit passed
|
|
50
|
+
|
|
51
|
+
3. **Schema Validation**:
|
|
52
|
+
- [ ] Input schema documented
|
|
53
|
+
- [ ] Output schema documented
|
|
54
|
+
- [ ] Feature list matches training
|
|
55
|
+
|
|
56
|
+
4. **Dependency Validation**:
|
|
57
|
+
- [ ] All dependencies available
|
|
58
|
+
- [ ] Version compatibility verified
|
|
59
|
+
- [ ] No security vulnerabilities in deps
|
|
60
|
+
|
|
61
|
+
5. **Configuration Validation**:
|
|
62
|
+
- [ ] Serving config defined
|
|
63
|
+
- [ ] Resource requirements specified
|
|
64
|
+
- [ ] Scaling parameters set
|
|
65
|
+
|
|
66
|
+
Return: READY / NOT_READY with blocking issues
|
|
67
|
+
|
|
68
|
+
- stepId: generate-infrastructure
|
|
69
|
+
name: Generate Infrastructure Code
|
|
70
|
+
type: prompt
|
|
71
|
+
timeout: 180000
|
|
72
|
+
config:
|
|
73
|
+
agent: mlops-engineer
|
|
74
|
+
task: |
|
|
75
|
+
Generate infrastructure-as-code for model deployment.
|
|
76
|
+
|
|
77
|
+
## Infrastructure Requirements
|
|
78
|
+
|
|
79
|
+
Based on model requirements:
|
|
80
|
+
- Model size: {{model_size}}
|
|
81
|
+
- Expected QPS: {{expected_qps}}
|
|
82
|
+
- Latency SLA: {{latency_sla}}
|
|
83
|
+
- Availability SLA: {{availability_sla}}
|
|
84
|
+
|
|
85
|
+
## Generate Artifacts
|
|
86
|
+
|
|
87
|
+
1. **Kubernetes Deployment**:
|
|
88
|
+
- Complete deployment spec with replicas, resources, probes
|
|
89
|
+
|
|
90
|
+
2. **Service Configuration**:
|
|
91
|
+
- ClusterIP or LoadBalancer service
|
|
92
|
+
|
|
93
|
+
3. **Horizontal Pod Autoscaler**:
|
|
94
|
+
- CPU and memory-based scaling
|
|
95
|
+
|
|
96
|
+
4. **Resource Quotas**:
|
|
97
|
+
- CPU requests/limits
|
|
98
|
+
- Memory requests/limits
|
|
99
|
+
- GPU allocation (if needed)
|
|
100
|
+
|
|
101
|
+
5. **Health Checks**:
|
|
102
|
+
- Liveness probe configuration
|
|
103
|
+
- Readiness probe configuration
|
|
104
|
+
|
|
105
|
+
- stepId: deploy-canary
|
|
106
|
+
name: Deploy Canary
|
|
107
|
+
type: prompt
|
|
108
|
+
timeout: 120000
|
|
109
|
+
config:
|
|
110
|
+
agent: mlops-engineer
|
|
111
|
+
task: |
|
|
112
|
+
Deploy model as canary with limited traffic.
|
|
113
|
+
|
|
114
|
+
## Canary Deployment Plan
|
|
115
|
+
|
|
116
|
+
1. **Traffic Split**:
|
|
117
|
+
- Production (current): 95%
|
|
118
|
+
- Canary (new): 5%
|
|
119
|
+
|
|
120
|
+
2. **Canary Configuration**:
|
|
121
|
+
- Duration: 1 hour minimum
|
|
122
|
+
- Success criteria: error rate < 0.1%, latency p99 < {{latency_sla}}
|
|
123
|
+
- Auto-rollback triggers
|
|
124
|
+
|
|
125
|
+
3. **Monitoring Setup**:
|
|
126
|
+
- Metrics to watch
|
|
127
|
+
- Alerting thresholds
|
|
128
|
+
- Dashboard links
|
|
129
|
+
|
|
130
|
+
4. **Rollback Procedure**:
|
|
131
|
+
- Immediate rollback command
|
|
132
|
+
- Traffic drain time
|
|
133
|
+
- Verification steps
|
|
134
|
+
|
|
135
|
+
- stepId: monitor-canary
|
|
136
|
+
name: Monitor Canary Health
|
|
137
|
+
type: prompt
|
|
138
|
+
timeout: 60000
|
|
139
|
+
config:
|
|
140
|
+
agent: mlops-engineer
|
|
141
|
+
task: |
|
|
142
|
+
Analyze canary deployment health.
|
|
143
|
+
|
|
144
|
+
## Canary Health Check
|
|
145
|
+
|
|
146
|
+
1. **Error Rate**:
|
|
147
|
+
- Canary: {{canary_error_rate}}
|
|
148
|
+
- Production: {{prod_error_rate}}
|
|
149
|
+
- Delta: {{error_delta}}
|
|
150
|
+
- Status: OK / WARNING / CRITICAL
|
|
151
|
+
|
|
152
|
+
2. **Latency**:
|
|
153
|
+
- Canary P50: {{canary_p50}}
|
|
154
|
+
- Canary P99: {{canary_p99}}
|
|
155
|
+
- Production P50: {{prod_p50}}
|
|
156
|
+
- Production P99: {{prod_p99}}
|
|
157
|
+
- Status: OK / WARNING / CRITICAL
|
|
158
|
+
|
|
159
|
+
3. **Model Metrics**:
|
|
160
|
+
- Prediction distribution comparison
|
|
161
|
+
- Confidence score distribution
|
|
162
|
+
- Feature value ranges
|
|
163
|
+
|
|
164
|
+
4. **Decision**:
|
|
165
|
+
- PROMOTE: Canary healthy, proceed to full rollout
|
|
166
|
+
- HOLD: Needs more observation
|
|
167
|
+
- ROLLBACK: Issues detected
|
|
168
|
+
|
|
169
|
+
- stepId: handle-promote
|
|
170
|
+
name: Handle Promotion Decision
|
|
171
|
+
type: conditional
|
|
172
|
+
config:
|
|
173
|
+
condition: "{{canary_decision}} == 'PROMOTE'"
|
|
174
|
+
then:
|
|
175
|
+
- stepId: full-rollout
|
|
176
|
+
type: prompt
|
|
177
|
+
config:
|
|
178
|
+
agent: mlops-engineer
|
|
179
|
+
task: |
|
|
180
|
+
Execute full rollout of new model version.
|
|
181
|
+
|
|
182
|
+
## Rollout Plan
|
|
183
|
+
1. Gradual traffic shift: 5% -> 25% -> 50% -> 100%
|
|
184
|
+
2. Monitoring at each step
|
|
185
|
+
3. Final verification
|
|
186
|
+
|
|
187
|
+
- stepId: handle-rollback
|
|
188
|
+
name: Handle Rollback Decision
|
|
189
|
+
type: conditional
|
|
190
|
+
config:
|
|
191
|
+
condition: "{{canary_decision}} == 'ROLLBACK'"
|
|
192
|
+
then:
|
|
193
|
+
- stepId: execute-rollback
|
|
194
|
+
type: prompt
|
|
195
|
+
config:
|
|
196
|
+
agent: mlops-engineer
|
|
197
|
+
task: |
|
|
198
|
+
Execute rollback to previous version.
|
|
199
|
+
|
|
200
|
+
## Rollback Steps
|
|
201
|
+
1. Shift traffic back to production
|
|
202
|
+
2. Scale down canary
|
|
203
|
+
3. Document incident
|
|
204
|
+
4. Create follow-up tasks
|
|
205
|
+
|
|
206
|
+
- stepId: update-registry
|
|
207
|
+
name: Update Model Registry
|
|
208
|
+
type: tool
|
|
209
|
+
timeout: 10000
|
|
210
|
+
tool: memory_store
|
|
211
|
+
config:
|
|
212
|
+
namespace: ml-model-registry
|
|
213
|
+
key: "{{model_name}}/versions/{{version}}"
|
|
214
|
+
merge: true
|
|
215
|
+
value:
|
|
216
|
+
status: "{{final_status}}"
|
|
217
|
+
deployment_completed_at: "{{timestamp}}"
|
|
218
|
+
deployment_environment: "production"
|
|
219
|
+
serving_endpoint: "{{endpoint_url}}"
|
|
220
|
+
|
|
221
|
+
- stepId: notify-stakeholders
|
|
222
|
+
name: Notify Stakeholders
|
|
223
|
+
type: prompt
|
|
224
|
+
timeout: 60000
|
|
225
|
+
config:
|
|
226
|
+
agent: writer
|
|
227
|
+
task: |
|
|
228
|
+
Create deployment notification.
|
|
229
|
+
|
|
230
|
+
## Deployment Notification
|
|
231
|
+
|
|
232
|
+
**Subject**: Model Deployment: {{model_name}} v{{version}}
|
|
233
|
+
|
|
234
|
+
**Status**: {{deployment_status}}
|
|
235
|
+
|
|
236
|
+
**Details**:
|
|
237
|
+
- Deployed at: {{timestamp}}
|
|
238
|
+
- Environment: Production
|
|
239
|
+
- Endpoint: {{endpoint_url}}
|
|
240
|
+
- Traffic: 100%
|
|
241
|
+
|
|
242
|
+
**Metrics**:
|
|
243
|
+
- Current error rate: {{error_rate}}
|
|
244
|
+
- P99 latency: {{latency}}
|
|
245
|
+
|
|
246
|
+
**Rollback Command**:
|
|
247
|
+
ax deploy rollback {{model_name}} --to-version {{previous_version}}
|
|
248
|
+
|
|
249
|
+
- stepId: store-deployment-event
|
|
250
|
+
name: Log Deployment Event
|
|
251
|
+
type: tool
|
|
252
|
+
timeout: 10000
|
|
253
|
+
tool: memory_store
|
|
254
|
+
config:
|
|
255
|
+
namespace: ml-deployment-events
|
|
256
|
+
key: "{{model_name}}/{{timestamp}}"
|
|
257
|
+
ttl: 31536000
|
|
258
|
+
value:
|
|
259
|
+
event_type: "deployment"
|
|
260
|
+
model_name: "{{model_name}}"
|
|
261
|
+
version: "{{version}}"
|
|
262
|
+
status: "{{deployment_status}}"
|
|
263
|
+
environment: "production"
|
|
264
|
+
canary_duration: "{{canary_duration}}"
|
|
265
|
+
rollback_occurred: "{{rollback_occurred}}"
|
|
266
|
+
deployed_by: "{{user}}"
|
|
267
|
+
timestamp: "{{timestamp}}"
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
workflowId: mobile-development
|
|
2
|
+
name: Mobile Feature Development Workflow
|
|
3
|
+
description: End-to-end mobile feature development from design to app store deployment
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
category: mobile
|
|
6
|
+
tags:
|
|
7
|
+
- mobile
|
|
8
|
+
- ios
|
|
9
|
+
- android
|
|
10
|
+
- cross-platform
|
|
11
|
+
|
|
12
|
+
metadata:
|
|
13
|
+
requiredAbilities:
|
|
14
|
+
- mobile-development
|
|
15
|
+
- cross-platform
|
|
16
|
+
- ui-design
|
|
17
|
+
estimatedDuration: 600
|
|
18
|
+
complexity: high
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- stepId: requirements-review
|
|
22
|
+
name: Review Feature Requirements
|
|
23
|
+
type: prompt
|
|
24
|
+
timeout: 120000
|
|
25
|
+
config:
|
|
26
|
+
agent: mobile
|
|
27
|
+
task: |
|
|
28
|
+
Review and clarify mobile feature requirements.
|
|
29
|
+
|
|
30
|
+
## Requirements Analysis
|
|
31
|
+
|
|
32
|
+
1. **Feature Overview**:
|
|
33
|
+
- Feature name and description
|
|
34
|
+
- User story
|
|
35
|
+
- Acceptance criteria
|
|
36
|
+
|
|
37
|
+
2. **Platform Requirements**:
|
|
38
|
+
- iOS minimum version
|
|
39
|
+
- Android minimum version
|
|
40
|
+
- Cross-platform or native?
|
|
41
|
+
|
|
42
|
+
3. **UI/UX Requirements**:
|
|
43
|
+
- Screen designs available?
|
|
44
|
+
- Platform-specific adaptations needed?
|
|
45
|
+
- Accessibility requirements
|
|
46
|
+
|
|
47
|
+
4. **Technical Requirements**:
|
|
48
|
+
- API dependencies
|
|
49
|
+
- Local storage needs
|
|
50
|
+
- Offline capability
|
|
51
|
+
- Push notifications
|
|
52
|
+
- Deep linking
|
|
53
|
+
|
|
54
|
+
5. **Performance Requirements**:
|
|
55
|
+
- Launch time impact
|
|
56
|
+
- Memory constraints
|
|
57
|
+
- Battery impact
|
|
58
|
+
|
|
59
|
+
6. **Questions/Clarifications**:
|
|
60
|
+
- List any ambiguities
|
|
61
|
+
- Missing information
|
|
62
|
+
|
|
63
|
+
- stepId: architecture-design
|
|
64
|
+
name: Design Mobile Architecture
|
|
65
|
+
type: prompt
|
|
66
|
+
timeout: 180000
|
|
67
|
+
config:
|
|
68
|
+
agent: mobile
|
|
69
|
+
task: |
|
|
70
|
+
Design the mobile architecture for this feature.
|
|
71
|
+
|
|
72
|
+
## Architecture Design
|
|
73
|
+
|
|
74
|
+
1. **Component Structure**:
|
|
75
|
+
- Screen/View components
|
|
76
|
+
- Business logic components
|
|
77
|
+
- Data layer components
|
|
78
|
+
- Shared utilities
|
|
79
|
+
|
|
80
|
+
2. **State Management**:
|
|
81
|
+
- State architecture (Redux, MobX, Provider, etc.)
|
|
82
|
+
- State shape
|
|
83
|
+
- Actions/mutations
|
|
84
|
+
|
|
85
|
+
3. **Navigation**:
|
|
86
|
+
- Navigation flow
|
|
87
|
+
- Deep link handling
|
|
88
|
+
- Back stack management
|
|
89
|
+
|
|
90
|
+
4. **Data Layer**:
|
|
91
|
+
- API client design
|
|
92
|
+
- Local storage schema
|
|
93
|
+
- Caching strategy
|
|
94
|
+
- Sync strategy (if offline-capable)
|
|
95
|
+
|
|
96
|
+
5. **Platform Considerations**:
|
|
97
|
+
- iOS-specific code
|
|
98
|
+
- Android-specific code
|
|
99
|
+
- Shared code percentage
|
|
100
|
+
|
|
101
|
+
6. **Dependencies**:
|
|
102
|
+
- New libraries needed
|
|
103
|
+
- Version compatibility
|
|
104
|
+
- License compliance
|
|
105
|
+
|
|
106
|
+
- stepId: implement-feature
|
|
107
|
+
name: Implement Feature
|
|
108
|
+
type: prompt
|
|
109
|
+
timeout: 300000
|
|
110
|
+
config:
|
|
111
|
+
agent: mobile
|
|
112
|
+
task: |
|
|
113
|
+
Implement the mobile feature.
|
|
114
|
+
|
|
115
|
+
## Implementation
|
|
116
|
+
|
|
117
|
+
1. **UI Components**:
|
|
118
|
+
- Create screen components
|
|
119
|
+
- Implement UI interactions
|
|
120
|
+
- Handle different screen sizes
|
|
121
|
+
- Support dark/light mode
|
|
122
|
+
|
|
123
|
+
2. **Business Logic**:
|
|
124
|
+
- Implement feature logic
|
|
125
|
+
- Handle edge cases
|
|
126
|
+
- Error handling
|
|
127
|
+
|
|
128
|
+
3. **Data Integration**:
|
|
129
|
+
- API integration
|
|
130
|
+
- Local storage
|
|
131
|
+
- State updates
|
|
132
|
+
|
|
133
|
+
4. **Platform Specifics**:
|
|
134
|
+
- iOS adaptations
|
|
135
|
+
- Android adaptations
|
|
136
|
+
- Platform-specific APIs
|
|
137
|
+
|
|
138
|
+
5. **Accessibility**:
|
|
139
|
+
- VoiceOver/TalkBack support
|
|
140
|
+
- Dynamic type support
|
|
141
|
+
- Contrast requirements
|
|
142
|
+
|
|
143
|
+
- stepId: write-tests
|
|
144
|
+
name: Write Tests
|
|
145
|
+
type: prompt
|
|
146
|
+
timeout: 180000
|
|
147
|
+
config:
|
|
148
|
+
agent: quality
|
|
149
|
+
task: |
|
|
150
|
+
Create comprehensive test suite for mobile feature.
|
|
151
|
+
|
|
152
|
+
## Test Suite
|
|
153
|
+
|
|
154
|
+
1. **Unit Tests**:
|
|
155
|
+
- Business logic tests
|
|
156
|
+
- State management tests
|
|
157
|
+
- Utility function tests
|
|
158
|
+
|
|
159
|
+
2. **Widget/Component Tests**:
|
|
160
|
+
- UI component rendering
|
|
161
|
+
- User interaction tests
|
|
162
|
+
- State change tests
|
|
163
|
+
|
|
164
|
+
3. **Integration Tests**:
|
|
165
|
+
- API integration tests
|
|
166
|
+
- Navigation tests
|
|
167
|
+
- Data flow tests
|
|
168
|
+
|
|
169
|
+
4. **Platform Tests**:
|
|
170
|
+
- iOS-specific tests
|
|
171
|
+
- Android-specific tests
|
|
172
|
+
|
|
173
|
+
5. **Accessibility Tests**:
|
|
174
|
+
- Screen reader compatibility
|
|
175
|
+
- Touch target sizes
|
|
176
|
+
- Color contrast
|
|
177
|
+
|
|
178
|
+
6. **Performance Tests**:
|
|
179
|
+
- Launch time impact
|
|
180
|
+
- Memory usage
|
|
181
|
+
- Frame rate
|
|
182
|
+
|
|
183
|
+
- stepId: code-review
|
|
184
|
+
name: Code Review
|
|
185
|
+
type: prompt
|
|
186
|
+
timeout: 120000
|
|
187
|
+
config:
|
|
188
|
+
agent: reviewer
|
|
189
|
+
task: |
|
|
190
|
+
Review mobile feature implementation.
|
|
191
|
+
|
|
192
|
+
## Review Checklist
|
|
193
|
+
|
|
194
|
+
1. **Code Quality**:
|
|
195
|
+
- Clean architecture adherence
|
|
196
|
+
- Code organization
|
|
197
|
+
- Naming conventions
|
|
198
|
+
- Documentation
|
|
199
|
+
|
|
200
|
+
2. **Performance**:
|
|
201
|
+
- No unnecessary re-renders
|
|
202
|
+
- Efficient data structures
|
|
203
|
+
- Lazy loading where appropriate
|
|
204
|
+
|
|
205
|
+
3. **Security**:
|
|
206
|
+
- Secure data storage
|
|
207
|
+
- API security
|
|
208
|
+
- Input validation
|
|
209
|
+
|
|
210
|
+
4. **Platform Guidelines**:
|
|
211
|
+
- iOS Human Interface Guidelines
|
|
212
|
+
- Android Material Design
|
|
213
|
+
- Platform idioms
|
|
214
|
+
|
|
215
|
+
5. **Accessibility**:
|
|
216
|
+
- WCAG compliance
|
|
217
|
+
- Platform accessibility APIs
|
|
218
|
+
|
|
219
|
+
- stepId: qa-testing
|
|
220
|
+
name: QA Testing
|
|
221
|
+
type: prompt
|
|
222
|
+
timeout: 180000
|
|
223
|
+
config:
|
|
224
|
+
agent: quality
|
|
225
|
+
task: |
|
|
226
|
+
Perform QA testing on mobile feature.
|
|
227
|
+
|
|
228
|
+
## QA Test Plan
|
|
229
|
+
|
|
230
|
+
1. **Functional Testing**:
|
|
231
|
+
- All acceptance criteria met
|
|
232
|
+
- Happy path works
|
|
233
|
+
- Edge cases handled
|
|
234
|
+
|
|
235
|
+
2. **Device Testing**:
|
|
236
|
+
- Test on minimum supported devices
|
|
237
|
+
- Test on latest devices
|
|
238
|
+
- Test on different screen sizes
|
|
239
|
+
|
|
240
|
+
3. **OS Version Testing**:
|
|
241
|
+
- Minimum supported versions
|
|
242
|
+
- Latest versions
|
|
243
|
+
- Beta versions (if applicable)
|
|
244
|
+
|
|
245
|
+
4. **Network Testing**:
|
|
246
|
+
- WiFi
|
|
247
|
+
- Cellular (4G/5G)
|
|
248
|
+
- Offline mode
|
|
249
|
+
- Poor connectivity
|
|
250
|
+
|
|
251
|
+
5. **Regression Testing**:
|
|
252
|
+
- Existing features still work
|
|
253
|
+
- No performance regression
|
|
254
|
+
|
|
255
|
+
6. **Bug Report**:
|
|
256
|
+
- Issues found
|
|
257
|
+
- Severity classification
|
|
258
|
+
- Reproduction steps
|
|
259
|
+
|
|
260
|
+
- stepId: app-store-preparation
|
|
261
|
+
name: App Store Preparation
|
|
262
|
+
type: prompt
|
|
263
|
+
timeout: 120000
|
|
264
|
+
config:
|
|
265
|
+
agent: mobile
|
|
266
|
+
task: |
|
|
267
|
+
Prepare for app store submission.
|
|
268
|
+
|
|
269
|
+
## App Store Checklist
|
|
270
|
+
|
|
271
|
+
1. **App Store Connect / Play Console**:
|
|
272
|
+
- Version number updated
|
|
273
|
+
- Build number incremented
|
|
274
|
+
- Release notes written
|
|
275
|
+
|
|
276
|
+
2. **Screenshots**:
|
|
277
|
+
- All required sizes
|
|
278
|
+
- Feature highlighted
|
|
279
|
+
- Localized if needed
|
|
280
|
+
|
|
281
|
+
3. **Metadata**:
|
|
282
|
+
- Description updated
|
|
283
|
+
- Keywords optimized
|
|
284
|
+
- Category correct
|
|
285
|
+
|
|
286
|
+
4. **Compliance**:
|
|
287
|
+
- Privacy policy updated
|
|
288
|
+
- Data collection disclosed
|
|
289
|
+
- Age rating accurate
|
|
290
|
+
|
|
291
|
+
5. **Release Strategy**:
|
|
292
|
+
- Phased rollout percentage
|
|
293
|
+
- Geographic targeting
|
|
294
|
+
- Release timing
|
|
295
|
+
|
|
296
|
+
- stepId: store-feature-record
|
|
297
|
+
name: Store Feature Record
|
|
298
|
+
type: tool
|
|
299
|
+
timeout: 10000
|
|
300
|
+
tool: memory_store
|
|
301
|
+
config:
|
|
302
|
+
namespace: mobile-features
|
|
303
|
+
key: "{{feature_id}}/{{version}}"
|
|
304
|
+
value:
|
|
305
|
+
feature_id: "{{feature_id}}"
|
|
306
|
+
version: "{{version}}"
|
|
307
|
+
platforms: "{{platforms}}"
|
|
308
|
+
status: "{{status}}"
|
|
309
|
+
architecture: "{{architecture}}"
|
|
310
|
+
test_results: "{{test_results}}"
|
|
311
|
+
release_notes: "{{release_notes}}"
|
|
312
|
+
created_at: "{{timestamp}}"
|