proagents 1.6.17 → 1.6.18

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 (168) hide show
  1. package/.claude/settings.local.json +169 -0
  2. package/COMMANDS.md +595 -0
  3. package/README.md +13 -23
  4. package/package.json +2 -7
  5. package/.proagents/ai-models/README.md +0 -141
  6. package/.proagents/ai-models/cost-management.md +0 -362
  7. package/.proagents/ai-models/fallbacks.md +0 -342
  8. package/.proagents/ai-models/model-config.md +0 -318
  9. package/.proagents/ai-models/task-routing.md +0 -503
  10. package/.proagents/ai-training/README.md +0 -155
  11. package/.proagents/ai-training/continuous-learning.md +0 -413
  12. package/.proagents/ai-training/domain-knowledge.md +0 -378
  13. package/.proagents/ai-training/pattern-learning.md +0 -455
  14. package/.proagents/ai-training/training-data.md +0 -337
  15. package/.proagents/ai-training/user-preferences.md +0 -346
  16. package/.proagents/approval-workflows/README.md +0 -146
  17. package/.proagents/approval-workflows/approval-config.md +0 -332
  18. package/.proagents/approval-workflows/approval-stages.md +0 -503
  19. package/.proagents/approval-workflows/emergency-bypass.md +0 -351
  20. package/.proagents/approval-workflows/examples.md +0 -859
  21. package/.proagents/approval-workflows/notifications.md +0 -320
  22. package/.proagents/compliance/README.md +0 -206
  23. package/.proagents/compliance/access-control.md +0 -310
  24. package/.proagents/compliance/audit-logging.md +0 -444
  25. package/.proagents/compliance/compliance-frameworks.md +0 -429
  26. package/.proagents/compliance/reports.md +0 -491
  27. package/.proagents/compliance/retention-policies.md +0 -454
  28. package/.proagents/config-versioning/README.md +0 -120
  29. package/.proagents/config-versioning/changelog.md +0 -300
  30. package/.proagents/config-versioning/rollback.md +0 -283
  31. package/.proagents/config-versioning/versioning.md +0 -330
  32. package/.proagents/contract-testing/README.md +0 -223
  33. package/.proagents/contract-testing/contract-testing.md +0 -614
  34. package/.proagents/contract-testing/pact-integration.md +0 -507
  35. package/.proagents/contract-testing/schema-validation.md +0 -565
  36. package/.proagents/dependency-management/README.md +0 -140
  37. package/.proagents/dependency-management/automation.md +0 -363
  38. package/.proagents/dependency-management/compatibility.md +0 -319
  39. package/.proagents/dependency-management/security-scanning.md +0 -413
  40. package/.proagents/dependency-management/update-policies.md +0 -374
  41. package/.proagents/disaster-recovery/README.md +0 -247
  42. package/.proagents/disaster-recovery/automation.md +0 -366
  43. package/.proagents/disaster-recovery/backup-recovery.md +0 -571
  44. package/.proagents/disaster-recovery/incident-response.md +0 -565
  45. package/.proagents/disaster-recovery/rollback-procedures.md +0 -499
  46. package/.proagents/disaster-recovery/runbooks.md +0 -603
  47. package/.proagents/disaster-recovery/scenarios.md +0 -892
  48. package/.proagents/disaster-recovery/testing.md +0 -438
  49. package/.proagents/environments/README.md +0 -244
  50. package/.proagents/environments/configuration.md +0 -437
  51. package/.proagents/environments/promotion.md +0 -434
  52. package/.proagents/environments/setup.md +0 -420
  53. package/.proagents/examples/README.md +0 -55
  54. package/.proagents/examples/backend-nodejs/README.md +0 -188
  55. package/.proagents/examples/backend-nodejs/complete-conversation.md +0 -601
  56. package/.proagents/examples/backend-nodejs/proagents.config.yaml +0 -415
  57. package/.proagents/examples/backend-nodejs/workflow-example.md +0 -909
  58. package/.proagents/examples/fullstack-nextjs/README.md +0 -155
  59. package/.proagents/examples/fullstack-nextjs/complete-conversation.md +0 -604
  60. package/.proagents/examples/fullstack-nextjs/proagents.config.yaml +0 -287
  61. package/.proagents/examples/fullstack-nextjs/workflow-example.md +0 -553
  62. package/.proagents/examples/mobile-react-native/README.md +0 -171
  63. package/.proagents/examples/mobile-react-native/complete-conversation.md +0 -825
  64. package/.proagents/examples/mobile-react-native/proagents.config.yaml +0 -330
  65. package/.proagents/examples/mobile-react-native/workflow-example.md +0 -723
  66. package/.proagents/examples/web-frontend-react/README.md +0 -125
  67. package/.proagents/examples/web-frontend-react/complete-conversation.md +0 -556
  68. package/.proagents/examples/web-frontend-react/proagents.config.yaml +0 -183
  69. package/.proagents/examples/web-frontend-react/workflow-example.md +0 -603
  70. package/.proagents/existing-projects/README.md +0 -65
  71. package/.proagents/existing-projects/challenges.md +0 -861
  72. package/.proagents/existing-projects/coexistence-mode.md +0 -483
  73. package/.proagents/existing-projects/compatibility-assessment.md +0 -541
  74. package/.proagents/existing-projects/gradual-adoption.md +0 -515
  75. package/.proagents/existing-projects/migration-strategies.md +0 -788
  76. package/.proagents/existing-projects/pattern-reconciliation.md +0 -489
  77. package/.proagents/existing-projects/team-onboarding.md +0 -617
  78. package/.proagents/existing-projects/technical-debt-handling.md +0 -644
  79. package/.proagents/feature-flags/README.md +0 -263
  80. package/.proagents/feature-flags/ab-testing.md +0 -413
  81. package/.proagents/feature-flags/configuration.md +0 -420
  82. package/.proagents/feature-flags/kill-switches.md +0 -444
  83. package/.proagents/feature-flags/rollout-strategies.md +0 -392
  84. package/.proagents/history.log +0 -12
  85. package/.proagents/i18n/README.md +0 -133
  86. package/.proagents/i18n/extraction.md +0 -433
  87. package/.proagents/i18n/tms-integration.md +0 -332
  88. package/.proagents/i18n/translation-workflow.md +0 -413
  89. package/.proagents/i18n/validation.md +0 -355
  90. package/.proagents/logging/README.md +0 -276
  91. package/.proagents/logging/aggregation.md +0 -475
  92. package/.proagents/logging/log-levels.md +0 -376
  93. package/.proagents/logging/sensitive-data.md +0 -423
  94. package/.proagents/logging/structured-logging.md +0 -406
  95. package/.proagents/metrics/README.md +0 -69
  96. package/.proagents/metrics/code-quality-kpis.md +0 -461
  97. package/.proagents/metrics/deployment-metrics.md +0 -517
  98. package/.proagents/metrics/developer-productivity.md +0 -368
  99. package/.proagents/metrics/learning-effectiveness.md +0 -478
  100. package/.proagents/migrations/README.md +0 -77
  101. package/.proagents/migrations/from-claude-projects.md +0 -313
  102. package/.proagents/migrations/from-cursor-rules.md +0 -345
  103. package/.proagents/migrations/from-custom-workflows.md +0 -410
  104. package/.proagents/monitoring/README.md +0 -308
  105. package/.proagents/monitoring/alerting.md +0 -449
  106. package/.proagents/monitoring/dashboards.md +0 -454
  107. package/.proagents/monitoring/health-checks.md +0 -436
  108. package/.proagents/monitoring/metrics.md +0 -434
  109. package/.proagents/multi-project/README.md +0 -170
  110. package/.proagents/multi-project/coordinated-deploy.md +0 -510
  111. package/.proagents/multi-project/cross-project-deps.md +0 -395
  112. package/.proagents/multi-project/unified-changelog.md +0 -477
  113. package/.proagents/multi-project/walkthroughs/monorepo-setup.md +0 -787
  114. package/.proagents/multi-project/workspace-config.md +0 -408
  115. package/.proagents/notifications/README.md +0 -151
  116. package/.proagents/notifications/channels.md +0 -457
  117. package/.proagents/notifications/preferences.md +0 -415
  118. package/.proagents/notifications/routing.md +0 -449
  119. package/.proagents/notifications/scheduling.md +0 -425
  120. package/.proagents/notifications/templates.md +0 -446
  121. package/.proagents/offline-mode/README.md +0 -145
  122. package/.proagents/offline-mode/caching.md +0 -344
  123. package/.proagents/offline-mode/offline-operations.md +0 -312
  124. package/.proagents/offline-mode/queue-specifications.md +0 -679
  125. package/.proagents/offline-mode/sync.md +0 -475
  126. package/.proagents/parallel-features/README.md +0 -85
  127. package/.proagents/parallel-features/conflict-detection.md +0 -226
  128. package/.proagents/parallel-features/dependency-management.md +0 -392
  129. package/.proagents/parallel-features/merge-coordination.md +0 -506
  130. package/.proagents/parallel-features/tracking-system.md +0 -416
  131. package/.proagents/performance/README.md +0 -59
  132. package/.proagents/performance/bundle-analysis.md +0 -375
  133. package/.proagents/performance/load-testing.md +0 -563
  134. package/.proagents/performance/runtime-metrics.md +0 -489
  135. package/.proagents/performance/web-vitals.md +0 -425
  136. package/.proagents/plugins/README.md +0 -139
  137. package/.proagents/plugins/creating-plugins.md +0 -504
  138. package/.proagents/plugins/plugin-api.md +0 -467
  139. package/.proagents/plugins/plugin-registry.md +0 -276
  140. package/.proagents/reporting/README.md +0 -158
  141. package/.proagents/reporting/dashboards.md +0 -366
  142. package/.proagents/reporting/exports.md +0 -524
  143. package/.proagents/reporting/quality-metrics.md +0 -385
  144. package/.proagents/reporting/templates/README.md +0 -56
  145. package/.proagents/reporting/templates/dashboard-config.json +0 -187
  146. package/.proagents/reporting/templates/metrics-queries.md +0 -427
  147. package/.proagents/reporting/templates/react-dashboard.tsx +0 -544
  148. package/.proagents/reporting/templates/widgets.md +0 -451
  149. package/.proagents/reporting/velocity-metrics.md +0 -340
  150. package/.proagents/reverse-engineering/README.md +0 -151
  151. package/.proagents/reverse-engineering/architecture-extraction.md +0 -325
  152. package/.proagents/reverse-engineering/code-analysis.md +0 -377
  153. package/.proagents/reverse-engineering/dependency-mapping.md +0 -567
  154. package/.proagents/reverse-engineering/diagram-generation.md +0 -586
  155. package/.proagents/reverse-engineering/documentation-generation.md +0 -468
  156. package/.proagents/reverse-engineering/pattern-detection.md +0 -569
  157. package/.proagents/reverse-engineering/quality-assessment.md +0 -733
  158. package/.proagents/secrets/README.md +0 -278
  159. package/.proagents/secrets/access-control.md +0 -443
  160. package/.proagents/secrets/rotation.md +0 -403
  161. package/.proagents/secrets/scanning.md +0 -487
  162. package/.proagents/secrets/storage.md +0 -394
  163. package/.proagents/webhooks/README.md +0 -126
  164. package/.proagents/webhooks/endpoints.md +0 -298
  165. package/.proagents/webhooks/events.md +0 -316
  166. package/.proagents/webhooks/payloads.md +0 -325
  167. package/.proagents/webhooks/reliability.md +0 -363
  168. package/.proagents/webhooks/security.md +0 -380
@@ -1,449 +0,0 @@
1
- # Notification Routing
2
-
3
- Intelligent routing of notifications to the right channels and recipients.
4
-
5
- ---
6
-
7
- ## Routing Overview
8
-
9
- ```
10
- ┌─────────────────────────────────────────────────────────────┐
11
- │ Routing Pipeline │
12
- ├─────────────────────────────────────────────────────────────┤
13
- │ │
14
- │ Event │
15
- │ │ │
16
- │ ▼ │
17
- │ ┌─────────────┐ │
18
- │ │ Event Type │──► Determine base routing │
19
- │ └─────────────┘ │
20
- │ │ │
21
- │ ▼ │
22
- │ ┌─────────────┐ │
23
- │ │ Priority │──► Adjust channels by urgency │
24
- │ └─────────────┘ │
25
- │ │ │
26
- │ ▼ │
27
- │ ┌─────────────┐ │
28
- │ │ Context │──► Add team/feature context │
29
- │ └─────────────┘ │
30
- │ │ │
31
- │ ▼ │
32
- │ ┌─────────────┐ │
33
- │ │ Preferences │──► Apply user/team preferences │
34
- │ └─────────────┘ │
35
- │ │ │
36
- │ ▼ │
37
- │ ┌─────────────┐ │
38
- │ │ Delivery │──► Send to channels │
39
- │ └─────────────┘ │
40
- │ │
41
- └─────────────────────────────────────────────────────────────┘
42
- ```
43
-
44
- ---
45
-
46
- ## Event-Based Routing
47
-
48
- ### Route by Event Type
49
-
50
- ```yaml
51
- notifications:
52
- routing:
53
- rules:
54
- # Feature events
55
- - match:
56
- event: "feature.*"
57
- route:
58
- channels: ["slack"]
59
- slack_channel: "#dev-features"
60
-
61
- # Deployment events
62
- - match:
63
- event: "deploy.*"
64
- route:
65
- channels: ["slack", "email"]
66
- slack_channel: "#deployments"
67
-
68
- # Security events
69
- - match:
70
- event: "security.*"
71
- route:
72
- channels: ["slack", "email", "pagerduty"]
73
- slack_channel: "#security-alerts"
74
- priority: "high"
75
- ```
76
-
77
- ### Route by Event Attributes
78
-
79
- ```yaml
80
- notifications:
81
- routing:
82
- rules:
83
- # Failed tests in production
84
- - match:
85
- event: "test.failed"
86
- environment: "production"
87
- route:
88
- channels: ["slack", "pagerduty"]
89
- priority: "high"
90
-
91
- # Failed tests in staging (lower priority)
92
- - match:
93
- event: "test.failed"
94
- environment: "staging"
95
- route:
96
- channels: ["slack"]
97
- priority: "normal"
98
- ```
99
-
100
- ---
101
-
102
- ## Priority-Based Routing
103
-
104
- ### Priority Levels
105
-
106
- ```yaml
107
- notifications:
108
- priorities:
109
- critical:
110
- channels: ["slack", "sms", "pagerduty", "email"]
111
- immediate: true
112
- escalation: true
113
-
114
- high:
115
- channels: ["slack", "email"]
116
- immediate: true
117
-
118
- normal:
119
- channels: ["slack"]
120
- batching_allowed: true
121
-
122
- low:
123
- channels: ["email"]
124
- digest_only: true
125
- ```
126
-
127
- ### Auto Priority Detection
128
-
129
- ```yaml
130
- notifications:
131
- routing:
132
- auto_priority:
133
- enabled: true
134
-
135
- rules:
136
- # Production failures are critical
137
- - condition: "event.environment == 'production' && event.status == 'failed'"
138
- priority: "critical"
139
-
140
- # Security issues are high priority
141
- - condition: "event.type.startsWith('security.')"
142
- priority: "high"
143
-
144
- # Test failures in staging are normal
145
- - condition: "event.type == 'test.failed' && event.environment == 'staging'"
146
- priority: "normal"
147
- ```
148
-
149
- ---
150
-
151
- ## Context-Based Routing
152
-
153
- ### Route by Team
154
-
155
- ```yaml
156
- notifications:
157
- routing:
158
- rules:
159
- # Frontend team
160
- - match:
161
- paths:
162
- - "src/components/**"
163
- - "src/pages/**"
164
- - "src/styles/**"
165
- route:
166
- team: "frontend"
167
- channels: ["slack"]
168
- slack_channel: "#frontend"
169
-
170
- # Backend team
171
- - match:
172
- paths:
173
- - "src/api/**"
174
- - "src/services/**"
175
- - "src/models/**"
176
- route:
177
- team: "backend"
178
- channels: ["slack"]
179
- slack_channel: "#backend"
180
- ```
181
-
182
- ### Route by Feature
183
-
184
- ```yaml
185
- notifications:
186
- routing:
187
- rules:
188
- # Auth feature
189
- - match:
190
- feature_tags: ["auth", "authentication"]
191
- route:
192
- team: "auth-team"
193
- slack_channel: "#auth-dev"
194
-
195
- # Payment feature
196
- - match:
197
- feature_tags: ["payment", "billing"]
198
- route:
199
- team: "payments-team"
200
- slack_channel: "#payments-dev"
201
- priority: "high" # Payment issues are important
202
- ```
203
-
204
- ---
205
-
206
- ## Recipient Routing
207
-
208
- ### Route to Specific Users
209
-
210
- ```yaml
211
- notifications:
212
- routing:
213
- rules:
214
- # Route to feature owner
215
- - match:
216
- event: "review.needed"
217
- route:
218
- users:
219
- - "{{feature.owner}}"
220
- channels: ["slack", "email"]
221
-
222
- # Route to code owner
223
- - match:
224
- event: "pr.created"
225
- route:
226
- users:
227
- - "{{codeowners}}"
228
- channels: ["slack"]
229
- ```
230
-
231
- ### Escalation Routing
232
-
233
- ```yaml
234
- notifications:
235
- routing:
236
- escalation:
237
- enabled: true
238
-
239
- levels:
240
- # Level 1: Direct owner
241
- - delay: 0
242
- users: ["{{feature.owner}}"]
243
- channels: ["slack"]
244
-
245
- # Level 2: Team lead
246
- - delay: "15m"
247
- users: ["{{team.lead}}"]
248
- channels: ["slack", "email"]
249
-
250
- # Level 3: Manager
251
- - delay: "30m"
252
- users: ["{{team.manager}}"]
253
- channels: ["slack", "email", "sms"]
254
-
255
- # Level 4: On-call
256
- - delay: "1h"
257
- users: ["{{oncall}}"]
258
- channels: ["pagerduty"]
259
- ```
260
-
261
- ---
262
-
263
- ## Channel Routing
264
-
265
- ### Multi-Channel Delivery
266
-
267
- ```yaml
268
- notifications:
269
- routing:
270
- rules:
271
- - match:
272
- event: "deploy.failed"
273
- environment: "production"
274
- route:
275
- channels:
276
- - name: "slack"
277
- config:
278
- channel: "#incidents"
279
- mention: "@oncall"
280
-
281
- - name: "email"
282
- config:
283
- recipients: ["devops@company.com"]
284
- priority: "high"
285
-
286
- - name: "pagerduty"
287
- config:
288
- severity: "critical"
289
- ```
290
-
291
- ### Fallback Channels
292
-
293
- ```yaml
294
- notifications:
295
- routing:
296
- fallback:
297
- # If Slack fails, use email
298
- slack: "email"
299
-
300
- # If email fails, use SMS
301
- email: "sms"
302
-
303
- # Always fallback to
304
- default: "email"
305
- ```
306
-
307
- ---
308
-
309
- ## Conditional Routing
310
-
311
- ### Time-Based Routing
312
-
313
- ```yaml
314
- notifications:
315
- routing:
316
- rules:
317
- # Business hours: Slack
318
- - match:
319
- event: "*"
320
- conditions:
321
- time:
322
- hours: "09:00-18:00"
323
- days: ["mon", "tue", "wed", "thu", "fri"]
324
- route:
325
- channels: ["slack"]
326
-
327
- # After hours: Email
328
- - match:
329
- event: "*"
330
- conditions:
331
- time:
332
- hours: "18:00-09:00"
333
- route:
334
- channels: ["email"]
335
-
336
- # Weekends: Email digest
337
- - match:
338
- event: "*"
339
- conditions:
340
- time:
341
- days: ["sat", "sun"]
342
- route:
343
- channels: ["email"]
344
- digest: true
345
- ```
346
-
347
- ### Environment-Based Routing
348
-
349
- ```yaml
350
- notifications:
351
- routing:
352
- rules:
353
- # Development: Minimal notifications
354
- - match:
355
- environment: "development"
356
- route:
357
- channels: ["slack"]
358
- slack_channel: "#dev-noise"
359
- priority: "low"
360
-
361
- # Staging: Standard notifications
362
- - match:
363
- environment: "staging"
364
- route:
365
- channels: ["slack"]
366
- slack_channel: "#staging"
367
-
368
- # Production: Full notifications
369
- - match:
370
- environment: "production"
371
- route:
372
- channels: ["slack", "email"]
373
- slack_channel: "#production"
374
- priority: "high"
375
- ```
376
-
377
- ---
378
-
379
- ## Route Testing
380
-
381
- ### Test Routing Rules
382
-
383
- ```bash
384
- # Test how an event would be routed
385
- proagents notifications route test \
386
- --event "deploy.failed" \
387
- --environment "production"
388
-
389
- # Output:
390
- ┌─────────────────────────────────────────────────────────────┐
391
- │ Routing Test: deploy.failed (production) │
392
- ├─────────────────────────────────────────────────────────────┤
393
- │ Matched Rules: │
394
- │ • Rule: "production-failures" (priority: 100) │
395
- │ • Rule: "deploy-events" (priority: 50) │
396
- │ │
397
- │ Final Route: │
398
- │ • Channels: slack, email, pagerduty │
399
- │ • Slack: #incidents │
400
- │ • Priority: critical │
401
- │ • Escalation: enabled │
402
- │ │
403
- │ Recipients: │
404
- │ • @devops-team │
405
- │ • oncall@company.com │
406
- └─────────────────────────────────────────────────────────────┘
407
- ```
408
-
409
- ### Dry Run
410
-
411
- ```bash
412
- # Send test notification without actual delivery
413
- proagents notifications send \
414
- --event "deploy.failed" \
415
- --dry-run
416
-
417
- # Shows what would be sent without actually sending
418
- ```
419
-
420
- ---
421
-
422
- ## Commands
423
-
424
- ```bash
425
- # List routing rules
426
- proagents notifications routing list
427
-
428
- # Add routing rule
429
- proagents notifications routing add \
430
- --match "event:deploy.*" \
431
- --channels "slack,email"
432
-
433
- # Test routing
434
- proagents notifications routing test --event "deploy.failed"
435
-
436
- # View route for event
437
- proagents notifications routing show --event "security.critical"
438
- ```
439
-
440
- ---
441
-
442
- ## Best Practices
443
-
444
- 1. **Specific First**: More specific rules should have higher priority
445
- 2. **Don't Over-Route**: Not every event needs every channel
446
- 3. **Test Rules**: Verify routing before production
447
- 4. **Use Fallbacks**: Always have a backup channel
448
- 5. **Consider Time**: Route differently during off-hours
449
- 6. **Escalate Appropriately**: Don't wake everyone for low-priority issues