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.
- package/.claude/settings.local.json +169 -0
- package/COMMANDS.md +595 -0
- package/README.md +13 -23
- package/package.json +2 -7
- package/.proagents/ai-models/README.md +0 -141
- package/.proagents/ai-models/cost-management.md +0 -362
- package/.proagents/ai-models/fallbacks.md +0 -342
- package/.proagents/ai-models/model-config.md +0 -318
- package/.proagents/ai-models/task-routing.md +0 -503
- package/.proagents/ai-training/README.md +0 -155
- package/.proagents/ai-training/continuous-learning.md +0 -413
- package/.proagents/ai-training/domain-knowledge.md +0 -378
- package/.proagents/ai-training/pattern-learning.md +0 -455
- package/.proagents/ai-training/training-data.md +0 -337
- package/.proagents/ai-training/user-preferences.md +0 -346
- package/.proagents/approval-workflows/README.md +0 -146
- package/.proagents/approval-workflows/approval-config.md +0 -332
- package/.proagents/approval-workflows/approval-stages.md +0 -503
- package/.proagents/approval-workflows/emergency-bypass.md +0 -351
- package/.proagents/approval-workflows/examples.md +0 -859
- package/.proagents/approval-workflows/notifications.md +0 -320
- package/.proagents/compliance/README.md +0 -206
- package/.proagents/compliance/access-control.md +0 -310
- package/.proagents/compliance/audit-logging.md +0 -444
- package/.proagents/compliance/compliance-frameworks.md +0 -429
- package/.proagents/compliance/reports.md +0 -491
- package/.proagents/compliance/retention-policies.md +0 -454
- package/.proagents/config-versioning/README.md +0 -120
- package/.proagents/config-versioning/changelog.md +0 -300
- package/.proagents/config-versioning/rollback.md +0 -283
- package/.proagents/config-versioning/versioning.md +0 -330
- package/.proagents/contract-testing/README.md +0 -223
- package/.proagents/contract-testing/contract-testing.md +0 -614
- package/.proagents/contract-testing/pact-integration.md +0 -507
- package/.proagents/contract-testing/schema-validation.md +0 -565
- package/.proagents/dependency-management/README.md +0 -140
- package/.proagents/dependency-management/automation.md +0 -363
- package/.proagents/dependency-management/compatibility.md +0 -319
- package/.proagents/dependency-management/security-scanning.md +0 -413
- package/.proagents/dependency-management/update-policies.md +0 -374
- package/.proagents/disaster-recovery/README.md +0 -247
- package/.proagents/disaster-recovery/automation.md +0 -366
- package/.proagents/disaster-recovery/backup-recovery.md +0 -571
- package/.proagents/disaster-recovery/incident-response.md +0 -565
- package/.proagents/disaster-recovery/rollback-procedures.md +0 -499
- package/.proagents/disaster-recovery/runbooks.md +0 -603
- package/.proagents/disaster-recovery/scenarios.md +0 -892
- package/.proagents/disaster-recovery/testing.md +0 -438
- package/.proagents/environments/README.md +0 -244
- package/.proagents/environments/configuration.md +0 -437
- package/.proagents/environments/promotion.md +0 -434
- package/.proagents/environments/setup.md +0 -420
- package/.proagents/examples/README.md +0 -55
- package/.proagents/examples/backend-nodejs/README.md +0 -188
- package/.proagents/examples/backend-nodejs/complete-conversation.md +0 -601
- package/.proagents/examples/backend-nodejs/proagents.config.yaml +0 -415
- package/.proagents/examples/backend-nodejs/workflow-example.md +0 -909
- package/.proagents/examples/fullstack-nextjs/README.md +0 -155
- package/.proagents/examples/fullstack-nextjs/complete-conversation.md +0 -604
- package/.proagents/examples/fullstack-nextjs/proagents.config.yaml +0 -287
- package/.proagents/examples/fullstack-nextjs/workflow-example.md +0 -553
- package/.proagents/examples/mobile-react-native/README.md +0 -171
- package/.proagents/examples/mobile-react-native/complete-conversation.md +0 -825
- package/.proagents/examples/mobile-react-native/proagents.config.yaml +0 -330
- package/.proagents/examples/mobile-react-native/workflow-example.md +0 -723
- package/.proagents/examples/web-frontend-react/README.md +0 -125
- package/.proagents/examples/web-frontend-react/complete-conversation.md +0 -556
- package/.proagents/examples/web-frontend-react/proagents.config.yaml +0 -183
- package/.proagents/examples/web-frontend-react/workflow-example.md +0 -603
- package/.proagents/existing-projects/README.md +0 -65
- package/.proagents/existing-projects/challenges.md +0 -861
- package/.proagents/existing-projects/coexistence-mode.md +0 -483
- package/.proagents/existing-projects/compatibility-assessment.md +0 -541
- package/.proagents/existing-projects/gradual-adoption.md +0 -515
- package/.proagents/existing-projects/migration-strategies.md +0 -788
- package/.proagents/existing-projects/pattern-reconciliation.md +0 -489
- package/.proagents/existing-projects/team-onboarding.md +0 -617
- package/.proagents/existing-projects/technical-debt-handling.md +0 -644
- package/.proagents/feature-flags/README.md +0 -263
- package/.proagents/feature-flags/ab-testing.md +0 -413
- package/.proagents/feature-flags/configuration.md +0 -420
- package/.proagents/feature-flags/kill-switches.md +0 -444
- package/.proagents/feature-flags/rollout-strategies.md +0 -392
- package/.proagents/history.log +0 -12
- package/.proagents/i18n/README.md +0 -133
- package/.proagents/i18n/extraction.md +0 -433
- package/.proagents/i18n/tms-integration.md +0 -332
- package/.proagents/i18n/translation-workflow.md +0 -413
- package/.proagents/i18n/validation.md +0 -355
- package/.proagents/logging/README.md +0 -276
- package/.proagents/logging/aggregation.md +0 -475
- package/.proagents/logging/log-levels.md +0 -376
- package/.proagents/logging/sensitive-data.md +0 -423
- package/.proagents/logging/structured-logging.md +0 -406
- package/.proagents/metrics/README.md +0 -69
- package/.proagents/metrics/code-quality-kpis.md +0 -461
- package/.proagents/metrics/deployment-metrics.md +0 -517
- package/.proagents/metrics/developer-productivity.md +0 -368
- package/.proagents/metrics/learning-effectiveness.md +0 -478
- package/.proagents/migrations/README.md +0 -77
- package/.proagents/migrations/from-claude-projects.md +0 -313
- package/.proagents/migrations/from-cursor-rules.md +0 -345
- package/.proagents/migrations/from-custom-workflows.md +0 -410
- package/.proagents/monitoring/README.md +0 -308
- package/.proagents/monitoring/alerting.md +0 -449
- package/.proagents/monitoring/dashboards.md +0 -454
- package/.proagents/monitoring/health-checks.md +0 -436
- package/.proagents/monitoring/metrics.md +0 -434
- package/.proagents/multi-project/README.md +0 -170
- package/.proagents/multi-project/coordinated-deploy.md +0 -510
- package/.proagents/multi-project/cross-project-deps.md +0 -395
- package/.proagents/multi-project/unified-changelog.md +0 -477
- package/.proagents/multi-project/walkthroughs/monorepo-setup.md +0 -787
- package/.proagents/multi-project/workspace-config.md +0 -408
- package/.proagents/notifications/README.md +0 -151
- package/.proagents/notifications/channels.md +0 -457
- package/.proagents/notifications/preferences.md +0 -415
- package/.proagents/notifications/routing.md +0 -449
- package/.proagents/notifications/scheduling.md +0 -425
- package/.proagents/notifications/templates.md +0 -446
- package/.proagents/offline-mode/README.md +0 -145
- package/.proagents/offline-mode/caching.md +0 -344
- package/.proagents/offline-mode/offline-operations.md +0 -312
- package/.proagents/offline-mode/queue-specifications.md +0 -679
- package/.proagents/offline-mode/sync.md +0 -475
- package/.proagents/parallel-features/README.md +0 -85
- package/.proagents/parallel-features/conflict-detection.md +0 -226
- package/.proagents/parallel-features/dependency-management.md +0 -392
- package/.proagents/parallel-features/merge-coordination.md +0 -506
- package/.proagents/parallel-features/tracking-system.md +0 -416
- package/.proagents/performance/README.md +0 -59
- package/.proagents/performance/bundle-analysis.md +0 -375
- package/.proagents/performance/load-testing.md +0 -563
- package/.proagents/performance/runtime-metrics.md +0 -489
- package/.proagents/performance/web-vitals.md +0 -425
- package/.proagents/plugins/README.md +0 -139
- package/.proagents/plugins/creating-plugins.md +0 -504
- package/.proagents/plugins/plugin-api.md +0 -467
- package/.proagents/plugins/plugin-registry.md +0 -276
- package/.proagents/reporting/README.md +0 -158
- package/.proagents/reporting/dashboards.md +0 -366
- package/.proagents/reporting/exports.md +0 -524
- package/.proagents/reporting/quality-metrics.md +0 -385
- package/.proagents/reporting/templates/README.md +0 -56
- package/.proagents/reporting/templates/dashboard-config.json +0 -187
- package/.proagents/reporting/templates/metrics-queries.md +0 -427
- package/.proagents/reporting/templates/react-dashboard.tsx +0 -544
- package/.proagents/reporting/templates/widgets.md +0 -451
- package/.proagents/reporting/velocity-metrics.md +0 -340
- package/.proagents/reverse-engineering/README.md +0 -151
- package/.proagents/reverse-engineering/architecture-extraction.md +0 -325
- package/.proagents/reverse-engineering/code-analysis.md +0 -377
- package/.proagents/reverse-engineering/dependency-mapping.md +0 -567
- package/.proagents/reverse-engineering/diagram-generation.md +0 -586
- package/.proagents/reverse-engineering/documentation-generation.md +0 -468
- package/.proagents/reverse-engineering/pattern-detection.md +0 -569
- package/.proagents/reverse-engineering/quality-assessment.md +0 -733
- package/.proagents/secrets/README.md +0 -278
- package/.proagents/secrets/access-control.md +0 -443
- package/.proagents/secrets/rotation.md +0 -403
- package/.proagents/secrets/scanning.md +0 -487
- package/.proagents/secrets/storage.md +0 -394
- package/.proagents/webhooks/README.md +0 -126
- package/.proagents/webhooks/endpoints.md +0 -298
- package/.proagents/webhooks/events.md +0 -316
- package/.proagents/webhooks/payloads.md +0 -325
- package/.proagents/webhooks/reliability.md +0 -363
- package/.proagents/webhooks/security.md +0 -380
|
@@ -1,408 +0,0 @@
|
|
|
1
|
-
# Workspace Configuration
|
|
2
|
-
|
|
3
|
-
Configure multi-project workspaces for unified management.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Workspace File
|
|
8
|
-
|
|
9
|
-
### Basic Configuration
|
|
10
|
-
|
|
11
|
-
```yaml
|
|
12
|
-
# proagents.workspace.yaml
|
|
13
|
-
|
|
14
|
-
workspace:
|
|
15
|
-
name: "My Platform"
|
|
16
|
-
version: "1.0"
|
|
17
|
-
|
|
18
|
-
# Project definitions
|
|
19
|
-
projects:
|
|
20
|
-
- name: frontend
|
|
21
|
-
path: ./apps/web
|
|
22
|
-
type: web-frontend
|
|
23
|
-
description: "React web application"
|
|
24
|
-
|
|
25
|
-
- name: backend
|
|
26
|
-
path: ./apps/api
|
|
27
|
-
type: nodejs
|
|
28
|
-
description: "Node.js REST API"
|
|
29
|
-
|
|
30
|
-
- name: mobile
|
|
31
|
-
path: ./apps/mobile
|
|
32
|
-
type: react-native
|
|
33
|
-
description: "React Native mobile app"
|
|
34
|
-
|
|
35
|
-
- name: shared
|
|
36
|
-
path: ./packages/shared
|
|
37
|
-
type: library
|
|
38
|
-
description: "Shared utilities"
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Advanced Configuration
|
|
42
|
-
|
|
43
|
-
```yaml
|
|
44
|
-
# proagents.workspace.yaml
|
|
45
|
-
|
|
46
|
-
workspace:
|
|
47
|
-
name: "Enterprise Platform"
|
|
48
|
-
version: "2.0"
|
|
49
|
-
|
|
50
|
-
# Workspace-level settings
|
|
51
|
-
settings:
|
|
52
|
-
parallel_features: true
|
|
53
|
-
max_concurrent: 5
|
|
54
|
-
unified_changelog: true
|
|
55
|
-
coordinated_deploys: true
|
|
56
|
-
|
|
57
|
-
# Projects
|
|
58
|
-
projects:
|
|
59
|
-
- name: web-app
|
|
60
|
-
path: ./apps/web
|
|
61
|
-
type: web-frontend
|
|
62
|
-
team: frontend-team
|
|
63
|
-
deploy_target: cloudfront
|
|
64
|
-
dependencies:
|
|
65
|
-
- api-gateway
|
|
66
|
-
- shared-ui
|
|
67
|
-
|
|
68
|
-
- name: api-gateway
|
|
69
|
-
path: ./apps/api
|
|
70
|
-
type: nodejs
|
|
71
|
-
team: backend-team
|
|
72
|
-
deploy_target: ecs
|
|
73
|
-
dependencies:
|
|
74
|
-
- shared-utils
|
|
75
|
-
|
|
76
|
-
- name: mobile-ios
|
|
77
|
-
path: ./apps/ios
|
|
78
|
-
type: react-native
|
|
79
|
-
team: mobile-team
|
|
80
|
-
dependencies:
|
|
81
|
-
- api-gateway
|
|
82
|
-
- shared-ui
|
|
83
|
-
|
|
84
|
-
- name: mobile-android
|
|
85
|
-
path: ./apps/android
|
|
86
|
-
type: react-native
|
|
87
|
-
team: mobile-team
|
|
88
|
-
dependencies:
|
|
89
|
-
- api-gateway
|
|
90
|
-
- shared-ui
|
|
91
|
-
|
|
92
|
-
- name: shared-ui
|
|
93
|
-
path: ./packages/ui
|
|
94
|
-
type: library
|
|
95
|
-
team: design-system-team
|
|
96
|
-
publish: true
|
|
97
|
-
|
|
98
|
-
- name: shared-utils
|
|
99
|
-
path: ./packages/utils
|
|
100
|
-
type: library
|
|
101
|
-
team: platform-team
|
|
102
|
-
publish: true
|
|
103
|
-
|
|
104
|
-
# Shared configuration
|
|
105
|
-
shared:
|
|
106
|
-
# Inherit from these configs
|
|
107
|
-
standards: ./shared/.proagents/standards/
|
|
108
|
-
rules: ./shared/.proagents/rules/
|
|
109
|
-
templates: ./shared/.proagents/templates/
|
|
110
|
-
|
|
111
|
-
# Shared environment variables
|
|
112
|
-
env:
|
|
113
|
-
- .env.shared
|
|
114
|
-
- .env.workspace
|
|
115
|
-
|
|
116
|
-
# Cross-project settings
|
|
117
|
-
cross_project:
|
|
118
|
-
# Dependency tracking
|
|
119
|
-
dependency_tracking: true
|
|
120
|
-
dependency_graph: true
|
|
121
|
-
|
|
122
|
-
# Unified changelog
|
|
123
|
-
changelog:
|
|
124
|
-
enabled: true
|
|
125
|
-
output: ./CHANGELOG.md
|
|
126
|
-
format: "keep-a-changelog"
|
|
127
|
-
|
|
128
|
-
# Shared analysis cache
|
|
129
|
-
analysis_cache:
|
|
130
|
-
enabled: true
|
|
131
|
-
path: ./.proagents/cache
|
|
132
|
-
ttl: "24h"
|
|
133
|
-
|
|
134
|
-
# Deployment coordination
|
|
135
|
-
deployment:
|
|
136
|
-
environments:
|
|
137
|
-
staging:
|
|
138
|
-
auto_deploy: true
|
|
139
|
-
order: [shared-utils, shared-ui, api-gateway, web-app, mobile-ios, mobile-android]
|
|
140
|
-
|
|
141
|
-
production:
|
|
142
|
-
auto_deploy: false
|
|
143
|
-
approval_required: true
|
|
144
|
-
order: [shared-utils, shared-ui, api-gateway, web-app, mobile-ios, mobile-android]
|
|
145
|
-
|
|
146
|
-
# Team configuration
|
|
147
|
-
teams:
|
|
148
|
-
frontend-team:
|
|
149
|
-
lead: "frontend-lead@company.com"
|
|
150
|
-
slack: "#frontend"
|
|
151
|
-
|
|
152
|
-
backend-team:
|
|
153
|
-
lead: "backend-lead@company.com"
|
|
154
|
-
slack: "#backend"
|
|
155
|
-
|
|
156
|
-
mobile-team:
|
|
157
|
-
lead: "mobile-lead@company.com"
|
|
158
|
-
slack: "#mobile"
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
---
|
|
162
|
-
|
|
163
|
-
## Project Configuration
|
|
164
|
-
|
|
165
|
-
Each project can have its own configuration that extends workspace settings:
|
|
166
|
-
|
|
167
|
-
```yaml
|
|
168
|
-
# apps/web/.proagents/proagents.config.yaml
|
|
169
|
-
|
|
170
|
-
project:
|
|
171
|
-
name: "web-app"
|
|
172
|
-
workspace: "../../" # Reference to workspace root
|
|
173
|
-
|
|
174
|
-
# Project-specific settings
|
|
175
|
-
settings:
|
|
176
|
-
checkpoints:
|
|
177
|
-
after_design: true
|
|
178
|
-
before_deployment: true
|
|
179
|
-
|
|
180
|
-
# Override workspace standards
|
|
181
|
-
overrides:
|
|
182
|
-
standards:
|
|
183
|
-
# Stricter rules for this project
|
|
184
|
-
test_coverage: 90
|
|
185
|
-
|
|
186
|
-
# Project-specific rules
|
|
187
|
-
rules:
|
|
188
|
-
- id: "require-accessibility"
|
|
189
|
-
type: "custom"
|
|
190
|
-
message: "All components must have aria labels"
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
## Configuration Inheritance
|
|
196
|
-
|
|
197
|
-
### Inheritance Hierarchy
|
|
198
|
-
|
|
199
|
-
```
|
|
200
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
201
|
-
│ Configuration Inheritance │
|
|
202
|
-
├─────────────────────────────────────────────────────────────┤
|
|
203
|
-
│ │
|
|
204
|
-
│ 1. ProAgents Defaults (lowest priority) │
|
|
205
|
-
│ └── Built-in defaults │
|
|
206
|
-
│ │
|
|
207
|
-
│ 2. Workspace Config │
|
|
208
|
-
│ └── proagents.workspace.yaml │
|
|
209
|
-
│ │
|
|
210
|
-
│ 3. Shared Config │
|
|
211
|
-
│ └── shared/.proagents/standards/ │
|
|
212
|
-
│ │
|
|
213
|
-
│ 4. Project Config │
|
|
214
|
-
│ └── apps/web/.proagents/proagents.config.yaml │
|
|
215
|
-
│ │
|
|
216
|
-
│ 5. Feature-level Override (highest priority) │
|
|
217
|
-
│ └── Command-line flags, feature-specific settings │
|
|
218
|
-
│ │
|
|
219
|
-
└─────────────────────────────────────────────────────────────┘
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
### Override Examples
|
|
223
|
-
|
|
224
|
-
```yaml
|
|
225
|
-
# Workspace level
|
|
226
|
-
workspace:
|
|
227
|
-
settings:
|
|
228
|
-
test_coverage: 80
|
|
229
|
-
|
|
230
|
-
# Project level override
|
|
231
|
-
project:
|
|
232
|
-
overrides:
|
|
233
|
-
settings:
|
|
234
|
-
test_coverage: 90 # Stricter for this project
|
|
235
|
-
|
|
236
|
-
# Feature level override
|
|
237
|
-
# proagents feature start "Critical feature" --coverage 95
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
---
|
|
241
|
-
|
|
242
|
-
## Shared Configuration
|
|
243
|
-
|
|
244
|
-
### Shared Standards
|
|
245
|
-
|
|
246
|
-
```yaml
|
|
247
|
-
# shared/.proagents/standards/coding-standards.yaml
|
|
248
|
-
|
|
249
|
-
standards:
|
|
250
|
-
naming:
|
|
251
|
-
components: "PascalCase"
|
|
252
|
-
functions: "camelCase"
|
|
253
|
-
constants: "UPPER_SNAKE_CASE"
|
|
254
|
-
|
|
255
|
-
code_style:
|
|
256
|
-
indentation: 2
|
|
257
|
-
quotes: "single"
|
|
258
|
-
semicolons: true
|
|
259
|
-
|
|
260
|
-
# Applied to all projects in workspace
|
|
261
|
-
applies_to: "all"
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
### Shared Rules
|
|
265
|
-
|
|
266
|
-
```yaml
|
|
267
|
-
# shared/.proagents/rules/security-rules.yaml
|
|
268
|
-
|
|
269
|
-
rules:
|
|
270
|
-
- id: "no-eval"
|
|
271
|
-
type: "security"
|
|
272
|
-
pattern: "eval\\("
|
|
273
|
-
message: "eval() is not allowed"
|
|
274
|
-
severity: "error"
|
|
275
|
-
applies_to: "all"
|
|
276
|
-
|
|
277
|
-
- id: "no-inline-secrets"
|
|
278
|
-
type: "security"
|
|
279
|
-
pattern: "(api_key|password|secret)\\s*=\\s*['\"][^'\"]+['\"]"
|
|
280
|
-
message: "No inline secrets"
|
|
281
|
-
severity: "error"
|
|
282
|
-
applies_to: "all"
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
### Shared Templates
|
|
286
|
-
|
|
287
|
-
```
|
|
288
|
-
shared/.proagents/templates/
|
|
289
|
-
├── component/ # React component template
|
|
290
|
-
├── api-endpoint/ # API endpoint template
|
|
291
|
-
├── test/ # Test file template
|
|
292
|
-
└── feature-spec/ # Feature specification template
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
---
|
|
296
|
-
|
|
297
|
-
## Environment Configuration
|
|
298
|
-
|
|
299
|
-
### Workspace Environments
|
|
300
|
-
|
|
301
|
-
```yaml
|
|
302
|
-
workspace:
|
|
303
|
-
environments:
|
|
304
|
-
development:
|
|
305
|
-
api_url: "http://localhost:3000"
|
|
306
|
-
features:
|
|
307
|
-
debug_mode: true
|
|
308
|
-
|
|
309
|
-
staging:
|
|
310
|
-
api_url: "https://staging-api.company.com"
|
|
311
|
-
features:
|
|
312
|
-
debug_mode: false
|
|
313
|
-
|
|
314
|
-
production:
|
|
315
|
-
api_url: "https://api.company.com"
|
|
316
|
-
features:
|
|
317
|
-
debug_mode: false
|
|
318
|
-
```
|
|
319
|
-
|
|
320
|
-
### Environment Files
|
|
321
|
-
|
|
322
|
-
```
|
|
323
|
-
.env.shared # Shared across all projects
|
|
324
|
-
.env.workspace # Workspace-specific
|
|
325
|
-
apps/web/.env # Project-specific
|
|
326
|
-
apps/web/.env.local # Local overrides (gitignored)
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
### Environment Loading Order
|
|
330
|
-
|
|
331
|
-
```
|
|
332
|
-
1. .env.shared
|
|
333
|
-
2. .env.workspace
|
|
334
|
-
3. .env.[project]
|
|
335
|
-
4. .env.[project].local
|
|
336
|
-
5. .env.[environment]
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
---
|
|
340
|
-
|
|
341
|
-
## Syncing Configuration
|
|
342
|
-
|
|
343
|
-
### Manual Sync
|
|
344
|
-
|
|
345
|
-
```bash
|
|
346
|
-
# Sync all projects with workspace config
|
|
347
|
-
proagents workspace sync
|
|
348
|
-
|
|
349
|
-
# Sync specific project
|
|
350
|
-
proagents workspace sync --project frontend
|
|
351
|
-
|
|
352
|
-
# Preview sync changes
|
|
353
|
-
proagents workspace sync --dry-run
|
|
354
|
-
```
|
|
355
|
-
|
|
356
|
-
### Auto Sync
|
|
357
|
-
|
|
358
|
-
```yaml
|
|
359
|
-
workspace:
|
|
360
|
-
settings:
|
|
361
|
-
auto_sync:
|
|
362
|
-
enabled: true
|
|
363
|
-
on_change: true # Sync when workspace config changes
|
|
364
|
-
interval: "1h" # Or periodic sync
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
---
|
|
368
|
-
|
|
369
|
-
## Validation
|
|
370
|
-
|
|
371
|
-
### Workspace Validation
|
|
372
|
-
|
|
373
|
-
```bash
|
|
374
|
-
# Validate workspace configuration
|
|
375
|
-
proagents workspace validate
|
|
376
|
-
|
|
377
|
-
# Output:
|
|
378
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
379
|
-
│ Workspace Validation │
|
|
380
|
-
├─────────────────────────────────────────────────────────────┤
|
|
381
|
-
│ ✅ Workspace file: Valid │
|
|
382
|
-
│ ✅ Projects: 4 found, all valid │
|
|
383
|
-
│ ✅ Dependencies: No circular dependencies │
|
|
384
|
-
│ ✅ Shared config: Valid │
|
|
385
|
-
│ ⚠️ Warning: mobile-android missing proagents config │
|
|
386
|
-
└─────────────────────────────────────────────────────────────┘
|
|
387
|
-
```
|
|
388
|
-
|
|
389
|
-
### Configuration Linting
|
|
390
|
-
|
|
391
|
-
```bash
|
|
392
|
-
# Lint all configuration files
|
|
393
|
-
proagents workspace lint
|
|
394
|
-
|
|
395
|
-
# Fix issues
|
|
396
|
-
proagents workspace lint --fix
|
|
397
|
-
```
|
|
398
|
-
|
|
399
|
-
---
|
|
400
|
-
|
|
401
|
-
## Best Practices
|
|
402
|
-
|
|
403
|
-
1. **Single Source of Truth**: Keep shared standards in workspace
|
|
404
|
-
2. **Minimal Overrides**: Only override when necessary
|
|
405
|
-
3. **Document Overrides**: Comment why overrides exist
|
|
406
|
-
4. **Version Control**: Keep workspace config in git
|
|
407
|
-
5. **Regular Validation**: Run validation in CI
|
|
408
|
-
6. **Sync Regularly**: Keep projects in sync with workspace
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
# Notifications System
|
|
2
|
-
|
|
3
|
-
Multi-channel notification system for ProAgents events.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
11
|
-
│ Notification Architecture │
|
|
12
|
-
├─────────────────────────────────────────────────────────────┤
|
|
13
|
-
│ │
|
|
14
|
-
│ Events Channels │
|
|
15
|
-
│ ┌─────────────────┐ ┌─────────────────┐ │
|
|
16
|
-
│ │ feature.complete│ │ Slack │ │
|
|
17
|
-
│ │ deploy.failed │ ├─────────────────┤ │
|
|
18
|
-
│ │ review.needed │───────►│ Discord │ │
|
|
19
|
-
│ │ approval.pending│ ├─────────────────┤ │
|
|
20
|
-
│ │ security.alert │ │ Email │ │
|
|
21
|
-
│ └─────────────────┘ ├─────────────────┤ │
|
|
22
|
-
│ │ │ Microsoft Teams│ │
|
|
23
|
-
│ │ ├─────────────────┤ │
|
|
24
|
-
│ ▼ │ Push/Mobile │ │
|
|
25
|
-
│ ┌─────────────────┐ └─────────────────┘ │
|
|
26
|
-
│ │ Preferences │ │
|
|
27
|
-
│ │ ┌───────────┐ │ │
|
|
28
|
-
│ │ │ User │ │ ┌─────────────────┐ │
|
|
29
|
-
│ │ │ Team │ │───────►│ Message Router │ │
|
|
30
|
-
│ │ │ Project │ │ └─────────────────┘ │
|
|
31
|
-
│ │ └───────────┘ │ │
|
|
32
|
-
│ └─────────────────┘ │
|
|
33
|
-
│ │
|
|
34
|
-
└─────────────────────────────────────────────────────────────┘
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## Quick Start
|
|
40
|
-
|
|
41
|
-
### 1. Configure Channels
|
|
42
|
-
|
|
43
|
-
```yaml
|
|
44
|
-
# proagents.config.yaml
|
|
45
|
-
notifications:
|
|
46
|
-
enabled: true
|
|
47
|
-
|
|
48
|
-
channels:
|
|
49
|
-
slack:
|
|
50
|
-
enabled: true
|
|
51
|
-
webhook_env: "SLACK_WEBHOOK_URL"
|
|
52
|
-
default_channel: "#proagents"
|
|
53
|
-
|
|
54
|
-
email:
|
|
55
|
-
enabled: true
|
|
56
|
-
smtp:
|
|
57
|
-
host_env: "SMTP_HOST"
|
|
58
|
-
port: 587
|
|
59
|
-
user_env: "SMTP_USER"
|
|
60
|
-
pass_env: "SMTP_PASS"
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### 2. Set Preferences
|
|
64
|
-
|
|
65
|
-
```yaml
|
|
66
|
-
notifications:
|
|
67
|
-
defaults:
|
|
68
|
-
feature_events: ["slack"]
|
|
69
|
-
deploy_events: ["slack", "email"]
|
|
70
|
-
security_events: ["slack", "email", "sms"]
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
### 3. Test Notifications
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
proagents notifications test slack
|
|
77
|
-
proagents notifications test email --to team@company.com
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
## Features
|
|
83
|
-
|
|
84
|
-
| Feature | Description |
|
|
85
|
-
|---------|-------------|
|
|
86
|
-
| **Multi-Channel** | Slack, Discord, Teams, Email, SMS, Push |
|
|
87
|
-
| **User Preferences** | Per-user notification settings |
|
|
88
|
-
| **Team Routing** | Route by team/role |
|
|
89
|
-
| **Templates** | Customizable message templates |
|
|
90
|
-
| **Scheduling** | Quiet hours and scheduling |
|
|
91
|
-
| **Aggregation** | Batch related notifications |
|
|
92
|
-
| **Priority** | Urgent vs normal routing |
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
## Documentation
|
|
97
|
-
|
|
98
|
-
- [Channels](./channels.md) - Configure notification channels
|
|
99
|
-
- [Templates](./templates.md) - Customize message formats
|
|
100
|
-
- [Preferences](./preferences.md) - User and team preferences
|
|
101
|
-
- [Routing](./routing.md) - Intelligent message routing
|
|
102
|
-
- [Scheduling](./scheduling.md) - Quiet hours and batching
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## Supported Channels
|
|
107
|
-
|
|
108
|
-
| Channel | Features |
|
|
109
|
-
|---------|----------|
|
|
110
|
-
| **Slack** | Channels, DMs, threads, reactions, blocks |
|
|
111
|
-
| **Discord** | Channels, DMs, embeds, reactions |
|
|
112
|
-
| **Microsoft Teams** | Channels, adaptive cards |
|
|
113
|
-
| **Email** | HTML/text, attachments, threading |
|
|
114
|
-
| **SMS** | Via Twilio, for urgent alerts |
|
|
115
|
-
| **Push** | Mobile/desktop push notifications |
|
|
116
|
-
| **Webhooks** | Custom HTTP endpoints |
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Commands
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
# List configured channels
|
|
124
|
-
proagents notifications channels
|
|
125
|
-
|
|
126
|
-
# Test notification
|
|
127
|
-
proagents notifications test <channel>
|
|
128
|
-
|
|
129
|
-
# View notification history
|
|
130
|
-
proagents notifications history
|
|
131
|
-
|
|
132
|
-
# Update preferences
|
|
133
|
-
proagents notifications preferences
|
|
134
|
-
|
|
135
|
-
# Mute notifications temporarily
|
|
136
|
-
proagents notifications mute --duration 2h
|
|
137
|
-
|
|
138
|
-
# Clear notification queue
|
|
139
|
-
proagents notifications clear-queue
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
---
|
|
143
|
-
|
|
144
|
-
## Best Practices
|
|
145
|
-
|
|
146
|
-
1. **Don't Over-Notify**: Only send important notifications
|
|
147
|
-
2. **Respect Preferences**: Honor user quiet hours
|
|
148
|
-
3. **Use Priorities**: Route urgent items differently
|
|
149
|
-
4. **Aggregate**: Batch related notifications
|
|
150
|
-
5. **Allow Muting**: Easy temporary silencing
|
|
151
|
-
6. **Track Delivery**: Monitor notification health
|