proagents 1.6.17 → 1.6.19

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.
Files changed (185) hide show
  1. package/.claude/settings.local.json +169 -0
  2. package/.proagents/AGENTS.md +2 -0
  3. package/.proagents/AI_INSTRUCTIONS.md +13 -0
  4. package/.proagents/ANTIGRAVITY.md +2 -0
  5. package/.proagents/BOLT.md +2 -0
  6. package/.proagents/CHATGPT.md +2 -0
  7. package/.proagents/CLAUDE.md +2 -0
  8. package/.proagents/GEMINI.md +2 -0
  9. package/.proagents/GROQ.md +2 -0
  10. package/.proagents/KIRO.md +2 -0
  11. package/.proagents/LOVABLE.md +2 -0
  12. package/.proagents/PROAGENTS.md +2 -0
  13. package/.proagents/REPLIT.md +2 -0
  14. package/.proagents/prompts/00-project-setup.md +878 -0
  15. package/.proagents/prompts/04-planning.md +38 -0
  16. package/.proagents/prompts/12-rnd.md +957 -0
  17. package/.proagents/workflow-modes/entry-modes.md +27 -0
  18. package/.proagents/worklog/_context.template.md +47 -0
  19. package/COMMANDS.md +654 -0
  20. package/README.md +16 -24
  21. package/package.json +2 -7
  22. package/.proagents/ai-models/README.md +0 -141
  23. package/.proagents/ai-models/cost-management.md +0 -362
  24. package/.proagents/ai-models/fallbacks.md +0 -342
  25. package/.proagents/ai-models/model-config.md +0 -318
  26. package/.proagents/ai-models/task-routing.md +0 -503
  27. package/.proagents/ai-training/README.md +0 -155
  28. package/.proagents/ai-training/continuous-learning.md +0 -413
  29. package/.proagents/ai-training/domain-knowledge.md +0 -378
  30. package/.proagents/ai-training/pattern-learning.md +0 -455
  31. package/.proagents/ai-training/training-data.md +0 -337
  32. package/.proagents/ai-training/user-preferences.md +0 -346
  33. package/.proagents/approval-workflows/README.md +0 -146
  34. package/.proagents/approval-workflows/approval-config.md +0 -332
  35. package/.proagents/approval-workflows/approval-stages.md +0 -503
  36. package/.proagents/approval-workflows/emergency-bypass.md +0 -351
  37. package/.proagents/approval-workflows/examples.md +0 -859
  38. package/.proagents/approval-workflows/notifications.md +0 -320
  39. package/.proagents/compliance/README.md +0 -206
  40. package/.proagents/compliance/access-control.md +0 -310
  41. package/.proagents/compliance/audit-logging.md +0 -444
  42. package/.proagents/compliance/compliance-frameworks.md +0 -429
  43. package/.proagents/compliance/reports.md +0 -491
  44. package/.proagents/compliance/retention-policies.md +0 -454
  45. package/.proagents/config-versioning/README.md +0 -120
  46. package/.proagents/config-versioning/changelog.md +0 -300
  47. package/.proagents/config-versioning/rollback.md +0 -283
  48. package/.proagents/config-versioning/versioning.md +0 -330
  49. package/.proagents/contract-testing/README.md +0 -223
  50. package/.proagents/contract-testing/contract-testing.md +0 -614
  51. package/.proagents/contract-testing/pact-integration.md +0 -507
  52. package/.proagents/contract-testing/schema-validation.md +0 -565
  53. package/.proagents/dependency-management/README.md +0 -140
  54. package/.proagents/dependency-management/automation.md +0 -363
  55. package/.proagents/dependency-management/compatibility.md +0 -319
  56. package/.proagents/dependency-management/security-scanning.md +0 -413
  57. package/.proagents/dependency-management/update-policies.md +0 -374
  58. package/.proagents/disaster-recovery/README.md +0 -247
  59. package/.proagents/disaster-recovery/automation.md +0 -366
  60. package/.proagents/disaster-recovery/backup-recovery.md +0 -571
  61. package/.proagents/disaster-recovery/incident-response.md +0 -565
  62. package/.proagents/disaster-recovery/rollback-procedures.md +0 -499
  63. package/.proagents/disaster-recovery/runbooks.md +0 -603
  64. package/.proagents/disaster-recovery/scenarios.md +0 -892
  65. package/.proagents/disaster-recovery/testing.md +0 -438
  66. package/.proagents/environments/README.md +0 -244
  67. package/.proagents/environments/configuration.md +0 -437
  68. package/.proagents/environments/promotion.md +0 -434
  69. package/.proagents/environments/setup.md +0 -420
  70. package/.proagents/examples/README.md +0 -55
  71. package/.proagents/examples/backend-nodejs/README.md +0 -188
  72. package/.proagents/examples/backend-nodejs/complete-conversation.md +0 -601
  73. package/.proagents/examples/backend-nodejs/proagents.config.yaml +0 -415
  74. package/.proagents/examples/backend-nodejs/workflow-example.md +0 -909
  75. package/.proagents/examples/fullstack-nextjs/README.md +0 -155
  76. package/.proagents/examples/fullstack-nextjs/complete-conversation.md +0 -604
  77. package/.proagents/examples/fullstack-nextjs/proagents.config.yaml +0 -287
  78. package/.proagents/examples/fullstack-nextjs/workflow-example.md +0 -553
  79. package/.proagents/examples/mobile-react-native/README.md +0 -171
  80. package/.proagents/examples/mobile-react-native/complete-conversation.md +0 -825
  81. package/.proagents/examples/mobile-react-native/proagents.config.yaml +0 -330
  82. package/.proagents/examples/mobile-react-native/workflow-example.md +0 -723
  83. package/.proagents/examples/web-frontend-react/README.md +0 -125
  84. package/.proagents/examples/web-frontend-react/complete-conversation.md +0 -556
  85. package/.proagents/examples/web-frontend-react/proagents.config.yaml +0 -183
  86. package/.proagents/examples/web-frontend-react/workflow-example.md +0 -603
  87. package/.proagents/existing-projects/README.md +0 -65
  88. package/.proagents/existing-projects/challenges.md +0 -861
  89. package/.proagents/existing-projects/coexistence-mode.md +0 -483
  90. package/.proagents/existing-projects/compatibility-assessment.md +0 -541
  91. package/.proagents/existing-projects/gradual-adoption.md +0 -515
  92. package/.proagents/existing-projects/migration-strategies.md +0 -788
  93. package/.proagents/existing-projects/pattern-reconciliation.md +0 -489
  94. package/.proagents/existing-projects/team-onboarding.md +0 -617
  95. package/.proagents/existing-projects/technical-debt-handling.md +0 -644
  96. package/.proagents/feature-flags/README.md +0 -263
  97. package/.proagents/feature-flags/ab-testing.md +0 -413
  98. package/.proagents/feature-flags/configuration.md +0 -420
  99. package/.proagents/feature-flags/kill-switches.md +0 -444
  100. package/.proagents/feature-flags/rollout-strategies.md +0 -392
  101. package/.proagents/history.log +0 -12
  102. package/.proagents/i18n/README.md +0 -133
  103. package/.proagents/i18n/extraction.md +0 -433
  104. package/.proagents/i18n/tms-integration.md +0 -332
  105. package/.proagents/i18n/translation-workflow.md +0 -413
  106. package/.proagents/i18n/validation.md +0 -355
  107. package/.proagents/logging/README.md +0 -276
  108. package/.proagents/logging/aggregation.md +0 -475
  109. package/.proagents/logging/log-levels.md +0 -376
  110. package/.proagents/logging/sensitive-data.md +0 -423
  111. package/.proagents/logging/structured-logging.md +0 -406
  112. package/.proagents/metrics/README.md +0 -69
  113. package/.proagents/metrics/code-quality-kpis.md +0 -461
  114. package/.proagents/metrics/deployment-metrics.md +0 -517
  115. package/.proagents/metrics/developer-productivity.md +0 -368
  116. package/.proagents/metrics/learning-effectiveness.md +0 -478
  117. package/.proagents/migrations/README.md +0 -77
  118. package/.proagents/migrations/from-claude-projects.md +0 -313
  119. package/.proagents/migrations/from-cursor-rules.md +0 -345
  120. package/.proagents/migrations/from-custom-workflows.md +0 -410
  121. package/.proagents/monitoring/README.md +0 -308
  122. package/.proagents/monitoring/alerting.md +0 -449
  123. package/.proagents/monitoring/dashboards.md +0 -454
  124. package/.proagents/monitoring/health-checks.md +0 -436
  125. package/.proagents/monitoring/metrics.md +0 -434
  126. package/.proagents/multi-project/README.md +0 -170
  127. package/.proagents/multi-project/coordinated-deploy.md +0 -510
  128. package/.proagents/multi-project/cross-project-deps.md +0 -395
  129. package/.proagents/multi-project/unified-changelog.md +0 -477
  130. package/.proagents/multi-project/walkthroughs/monorepo-setup.md +0 -787
  131. package/.proagents/multi-project/workspace-config.md +0 -408
  132. package/.proagents/notifications/README.md +0 -151
  133. package/.proagents/notifications/channels.md +0 -457
  134. package/.proagents/notifications/preferences.md +0 -415
  135. package/.proagents/notifications/routing.md +0 -449
  136. package/.proagents/notifications/scheduling.md +0 -425
  137. package/.proagents/notifications/templates.md +0 -446
  138. package/.proagents/offline-mode/README.md +0 -145
  139. package/.proagents/offline-mode/caching.md +0 -344
  140. package/.proagents/offline-mode/offline-operations.md +0 -312
  141. package/.proagents/offline-mode/queue-specifications.md +0 -679
  142. package/.proagents/offline-mode/sync.md +0 -475
  143. package/.proagents/parallel-features/README.md +0 -85
  144. package/.proagents/parallel-features/conflict-detection.md +0 -226
  145. package/.proagents/parallel-features/dependency-management.md +0 -392
  146. package/.proagents/parallel-features/merge-coordination.md +0 -506
  147. package/.proagents/parallel-features/tracking-system.md +0 -416
  148. package/.proagents/performance/README.md +0 -59
  149. package/.proagents/performance/bundle-analysis.md +0 -375
  150. package/.proagents/performance/load-testing.md +0 -563
  151. package/.proagents/performance/runtime-metrics.md +0 -489
  152. package/.proagents/performance/web-vitals.md +0 -425
  153. package/.proagents/plugins/README.md +0 -139
  154. package/.proagents/plugins/creating-plugins.md +0 -504
  155. package/.proagents/plugins/plugin-api.md +0 -467
  156. package/.proagents/plugins/plugin-registry.md +0 -276
  157. package/.proagents/reporting/README.md +0 -158
  158. package/.proagents/reporting/dashboards.md +0 -366
  159. package/.proagents/reporting/exports.md +0 -524
  160. package/.proagents/reporting/quality-metrics.md +0 -385
  161. package/.proagents/reporting/templates/README.md +0 -56
  162. package/.proagents/reporting/templates/dashboard-config.json +0 -187
  163. package/.proagents/reporting/templates/metrics-queries.md +0 -427
  164. package/.proagents/reporting/templates/react-dashboard.tsx +0 -544
  165. package/.proagents/reporting/templates/widgets.md +0 -451
  166. package/.proagents/reporting/velocity-metrics.md +0 -340
  167. package/.proagents/reverse-engineering/README.md +0 -151
  168. package/.proagents/reverse-engineering/architecture-extraction.md +0 -325
  169. package/.proagents/reverse-engineering/code-analysis.md +0 -377
  170. package/.proagents/reverse-engineering/dependency-mapping.md +0 -567
  171. package/.proagents/reverse-engineering/diagram-generation.md +0 -586
  172. package/.proagents/reverse-engineering/documentation-generation.md +0 -468
  173. package/.proagents/reverse-engineering/pattern-detection.md +0 -569
  174. package/.proagents/reverse-engineering/quality-assessment.md +0 -733
  175. package/.proagents/secrets/README.md +0 -278
  176. package/.proagents/secrets/access-control.md +0 -443
  177. package/.proagents/secrets/rotation.md +0 -403
  178. package/.proagents/secrets/scanning.md +0 -487
  179. package/.proagents/secrets/storage.md +0 -394
  180. package/.proagents/webhooks/README.md +0 -126
  181. package/.proagents/webhooks/endpoints.md +0 -298
  182. package/.proagents/webhooks/events.md +0 -316
  183. package/.proagents/webhooks/payloads.md +0 -325
  184. package/.proagents/webhooks/reliability.md +0 -363
  185. package/.proagents/webhooks/security.md +0 -380
@@ -1,510 +0,0 @@
1
- # Coordinated Deployments
2
-
3
- Deploy multiple projects in the correct order with dependency awareness.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- Coordinated deployment ensures projects are deployed in the right order, respecting dependencies and maintaining system stability.
10
-
11
- ```
12
- ┌─────────────────────────────────────────────────────────────┐
13
- │ Deployment Pipeline │
14
- ├─────────────────────────────────────────────────────────────┤
15
- │ │
16
- │ Step 1: Libraries │
17
- │ ┌─────────────┐ ┌─────────────┐ │
18
- │ │shared-utils │ │ │ │
19
- │ └─────────────┘ └─────────────┘ │
20
- │ │ │
21
- │ ▼ │
22
- │ Step 2: Shared Components │
23
- │ ┌─────────────┐ ┌─────────────┐ │
24
- │ │ shared-ui │ │ │ │
25
- │ └─────────────┘ └─────────────┘ │
26
- │ │ │
27
- │ ▼ │
28
- │ Step 3: Backend │
29
- │ ┌─────────────┐ │
30
- │ │ api-gateway │ │
31
- │ └─────────────┘ │
32
- │ │ │
33
- │ ▼ │
34
- │ Step 4: Clients (Parallel) │
35
- │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
36
- │ │ web-app │ │ mobile-ios │ │mobile-android│ │
37
- │ └─────────────┘ └─────────────┘ └─────────────┘ │
38
- │ │
39
- └─────────────────────────────────────────────────────────────┘
40
- ```
41
-
42
- ---
43
-
44
- ## Deployment Configuration
45
-
46
- ### Basic Configuration
47
-
48
- ```yaml
49
- # proagents.workspace.yaml
50
-
51
- workspace:
52
- deployment:
53
- # Deployment order (respects dependencies automatically)
54
- order: auto # or explicit list
55
-
56
- # Environments
57
- environments:
58
- staging:
59
- auto_deploy: true
60
- parallel_clients: true
61
-
62
- production:
63
- auto_deploy: false
64
- approval_required: true
65
- parallel_clients: false # Deploy one at a time
66
- ```
67
-
68
- ### Advanced Configuration
69
-
70
- ```yaml
71
- workspace:
72
- deployment:
73
- # Explicit deployment order
74
- order:
75
- - group: "foundation"
76
- projects: [shared-utils]
77
- parallel: false
78
-
79
- - group: "shared"
80
- projects: [shared-ui, api-gateway]
81
- parallel: true
82
-
83
- - group: "clients"
84
- projects: [web-app, mobile-ios, mobile-android]
85
- parallel: true
86
-
87
- # Environment-specific settings
88
- environments:
89
- staging:
90
- auto_deploy: true
91
- trigger:
92
- - push_to_develop
93
- health_check_timeout: 300
94
- rollback_on_failure: true
95
-
96
- production:
97
- auto_deploy: false
98
- trigger:
99
- - manual
100
- - release_tag
101
- approval:
102
- required: true
103
- approvers:
104
- - tech-lead
105
- - devops
106
- deployment_window:
107
- days: [monday, tuesday, wednesday, thursday]
108
- hours: "09:00-17:00"
109
- timezone: "America/New_York"
110
- canary:
111
- enabled: true
112
- percentage: 5
113
- duration: "15m"
114
- rollback_on_failure: true
115
-
116
- # Health checks
117
- health_checks:
118
- enabled: true
119
- timeout: 300 # seconds
120
- interval: 10
121
-
122
- # Notifications
123
- notifications:
124
- slack:
125
- channel: "#deployments"
126
- on: [start, success, failure, rollback]
127
- ```
128
-
129
- ---
130
-
131
- ## Deployment Commands
132
-
133
- ### Deploy All Projects
134
-
135
- ```bash
136
- # Deploy to staging
137
- proagents workspace deploy staging
138
-
139
- # Deploy to production
140
- proagents workspace deploy production
141
-
142
- # Dry run
143
- proagents workspace deploy staging --dry-run
144
- ```
145
-
146
- ### Deploy Specific Projects
147
-
148
- ```bash
149
- # Deploy single project
150
- proagents workspace deploy staging --project web-app
151
-
152
- # Deploy with dependencies
153
- proagents workspace deploy staging --project web-app --with-deps
154
-
155
- # Deploy multiple projects
156
- proagents workspace deploy staging --projects web-app,api-gateway
157
- ```
158
-
159
- ### Deployment Options
160
-
161
- ```bash
162
- proagents workspace deploy production \
163
- --version v2.0.0 \
164
- --skip-tests \
165
- --canary 10 \
166
- --rollback-on-failure \
167
- --notify-slack
168
- ```
169
-
170
- ---
171
-
172
- ## Deployment Workflow
173
-
174
- ### Pre-Deployment
175
-
176
- ```yaml
177
- deployment:
178
- pre_deploy:
179
- steps:
180
- - name: "Run tests"
181
- command: "proagents test --all"
182
- required: true
183
-
184
- - name: "Security scan"
185
- command: "proagents security scan"
186
- required: true
187
-
188
- - name: "Build all projects"
189
- command: "proagents workspace build --ordered"
190
- required: true
191
-
192
- - name: "Create backup"
193
- command: "proagents backup create --label pre-deploy"
194
- required: true
195
- ```
196
-
197
- ### Deployment Execution
198
-
199
- ```
200
- ┌─────────────────────────────────────────────────────────────┐
201
- │ Deployment: staging │
202
- ├─────────────────────────────────────────────────────────────┤
203
- │ │
204
- │ Pre-Deploy Checks: │
205
- │ ✅ Tests passed │
206
- │ ✅ Security scan passed │
207
- │ ✅ Build completed │
208
- │ ✅ Backup created │
209
- │ │
210
- │ Deployment Progress: │
211
- │ │
212
- │ Step 1: Foundation │
213
- │ ├── shared-utils: ✅ Deployed (v1.2.3) │
214
- │ │ └── Health check: ✅ Passed │
215
- │ │
216
- │ Step 2: Shared │
217
- │ ├── shared-ui: ✅ Deployed (v2.0.1) │
218
- │ │ └── Health check: ✅ Passed │
219
- │ ├── api-gateway: 🔄 Deploying... │
220
- │ │ └── Progress: 60% │
221
- │ │
222
- │ Step 3: Clients │
223
- │ ├── web-app: ⏳ Waiting │
224
- │ ├── mobile-ios: ⏳ Waiting │
225
- │ └── mobile-android: ⏳ Waiting │
226
- │ │
227
- └─────────────────────────────────────────────────────────────┘
228
- ```
229
-
230
- ### Post-Deployment
231
-
232
- ```yaml
233
- deployment:
234
- post_deploy:
235
- steps:
236
- - name: "Run smoke tests"
237
- command: "proagents test smoke"
238
- required: true
239
-
240
- - name: "Verify health"
241
- command: "proagents health check --all"
242
- required: true
243
-
244
- - name: "Update status page"
245
- command: "proagents status-page update"
246
- required: false
247
-
248
- - name: "Notify team"
249
- command: "proagents notify --channel deployments"
250
- required: false
251
- ```
252
-
253
- ---
254
-
255
- ## Rollback Procedures
256
-
257
- ### Automatic Rollback
258
-
259
- ```yaml
260
- deployment:
261
- rollback:
262
- auto:
263
- enabled: true
264
- triggers:
265
- - health_check_failure
266
- - error_rate_spike
267
- - response_time_degradation
268
-
269
- strategy: "reverse_order" # Rollback in reverse deployment order
270
- ```
271
-
272
- ### Manual Rollback
273
-
274
- ```bash
275
- # Rollback entire deployment
276
- proagents workspace rollback staging
277
-
278
- # Rollback specific project
279
- proagents workspace rollback staging --project api-gateway
280
-
281
- # Rollback to specific version
282
- proagents workspace rollback staging --to v1.9.0
283
- ```
284
-
285
- ### Rollback Order
286
-
287
- ```
288
- Deployment Order: Rollback Order:
289
- 1. shared-utils 4. web-app, mobile-*
290
- 2. shared-ui 3. api-gateway
291
- 3. api-gateway 2. shared-ui
292
- 4. web-app, mobile-* 1. shared-utils
293
- ```
294
-
295
- ---
296
-
297
- ## Canary Deployments
298
-
299
- ### Configuration
300
-
301
- ```yaml
302
- deployment:
303
- canary:
304
- enabled: true
305
- stages:
306
- - percentage: 5
307
- duration: "10m"
308
- auto_promote: true
309
- rollback_threshold:
310
- error_rate: 2
311
-
312
- - percentage: 25
313
- duration: "15m"
314
- auto_promote: true
315
- rollback_threshold:
316
- error_rate: 1
317
-
318
- - percentage: 50
319
- duration: "30m"
320
- auto_promote: false # Require manual promotion
321
-
322
- - percentage: 100
323
- # Full deployment
324
- ```
325
-
326
- ### Canary Commands
327
-
328
- ```bash
329
- # Start canary deployment
330
- proagents workspace deploy production --canary
331
-
332
- # Check canary status
333
- proagents workspace canary status
334
-
335
- # Promote canary
336
- proagents workspace canary promote
337
-
338
- # Abort canary
339
- proagents workspace canary abort
340
- ```
341
-
342
- ---
343
-
344
- ## Blue-Green Deployments
345
-
346
- ### Configuration
347
-
348
- ```yaml
349
- deployment:
350
- strategy: "blue-green"
351
-
352
- blue_green:
353
- # Health check before switch
354
- verify_before_switch: true
355
-
356
- # Keep old environment running
357
- keep_old_duration: "1h"
358
-
359
- # Switch mechanism
360
- switch_method: "load_balancer" # or dns, container
361
- ```
362
-
363
- ### Blue-Green Flow
364
-
365
- ```
366
- ┌─────────────────────────────────────────────────────────────┐
367
- │ Blue-Green Deployment │
368
- ├─────────────────────────────────────────────────────────────┤
369
- │ │
370
- │ Current (Blue): v1.9.0 ──────► Traffic │
371
- │ │
372
- │ 1. Deploy to Green │
373
- │ New (Green): v2.0.0 │
374
- │ │
375
- │ 2. Verify Green │
376
- │ ✅ Health checks passed │
377
- │ ✅ Smoke tests passed │
378
- │ │
379
- │ 3. Switch Traffic │
380
- │ Blue: v1.9.0 (standby) │
381
- │ Green: v2.0.0 ──────────► Traffic │
382
- │ │
383
- │ 4. Cleanup (after 1h) │
384
- │ Remove Blue environment │
385
- │ │
386
- └─────────────────────────────────────────────────────────────┘
387
- ```
388
-
389
- ---
390
-
391
- ## Deployment Approvals
392
-
393
- ### Approval Configuration
394
-
395
- ```yaml
396
- deployment:
397
- environments:
398
- production:
399
- approval:
400
- required: true
401
- min_approvers: 2
402
- approvers:
403
- - group: "tech-leads"
404
- required: true
405
- - group: "devops"
406
- required: true
407
- - group: "product"
408
- required: false
409
-
410
- timeout: "24h"
411
- reminder: "4h"
412
- ```
413
-
414
- ### Approval Workflow
415
-
416
- ```bash
417
- # Request approval
418
- proagents workspace deploy production --request-approval
419
-
420
- # View pending approvals
421
- proagents workspace approvals list
422
-
423
- # Approve deployment
424
- proagents workspace approve deploy-123
425
-
426
- # Reject deployment
427
- proagents workspace reject deploy-123 --reason "Not ready"
428
- ```
429
-
430
- ### Approval Notification
431
-
432
- ```
433
- 🔔 Deployment Approval Requested
434
-
435
- Deployment: production v2.0.0
436
- Requested by: developer@company.com
437
- Projects: shared-ui, api-gateway, web-app
438
-
439
- Changes:
440
- • shared-ui: 5 commits, 12 files
441
- • api-gateway: 3 commits, 8 files
442
- • web-app: 7 commits, 15 files
443
-
444
- [Approve] [Reject] [View Changes]
445
- ```
446
-
447
- ---
448
-
449
- ## Monitoring Deployments
450
-
451
- ### Deployment Dashboard
452
-
453
- ```
454
- ┌─────────────────────────────────────────────────────────────┐
455
- │ Deployment Monitor │
456
- ├─────────────────────────────────────────────────────────────┤
457
- │ │
458
- │ Current Deployment: production v2.0.0 │
459
- │ Status: In Progress │
460
- │ Started: 10:30 AM (15 minutes ago) │
461
- │ │
462
- │ Progress: │
463
- │ ████████████░░░░░░░░ 60% │
464
- │ │
465
- │ Metrics: │
466
- │ • Error Rate: 0.1% (normal) │
467
- │ • Response Time: 150ms (normal) │
468
- │ • Traffic: 1,234 req/min │
469
- │ │
470
- │ Stages: │
471
- │ ✅ Pre-deploy checks │
472
- │ ✅ Deploy: shared-utils │
473
- │ ✅ Deploy: shared-ui │
474
- │ 🔄 Deploy: api-gateway (in progress) │
475
- │ ⏳ Deploy: clients │
476
- │ ⏳ Post-deploy verification │
477
- │ │
478
- └─────────────────────────────────────────────────────────────┘
479
- ```
480
-
481
- ### Real-time Alerts
482
-
483
- ```yaml
484
- deployment:
485
- alerts:
486
- - type: "error_rate"
487
- threshold: 5
488
- action: "pause_and_notify"
489
-
490
- - type: "deployment_stuck"
491
- timeout: "15m"
492
- action: "notify"
493
-
494
- - type: "health_check_failure"
495
- consecutive: 3
496
- action: "rollback"
497
- ```
498
-
499
- ---
500
-
501
- ## Best Practices
502
-
503
- 1. **Test Before Deploy**: Always run tests before deployment
504
- 2. **Deploy to Staging First**: Never deploy directly to production
505
- 3. **Use Canary**: Gradually roll out changes
506
- 4. **Monitor Closely**: Watch metrics during deployment
507
- 5. **Have Rollback Plan**: Always be ready to rollback
508
- 6. **Document Changes**: Keep deployment changelog
509
- 7. **Communicate**: Notify teams before/after deployment
510
- 8. **Schedule Wisely**: Deploy during low-traffic periods