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,437 +0,0 @@
1
- # Environment Configuration
2
-
3
- Managing configuration across different environments.
4
-
5
- ---
6
-
7
- ## Configuration Hierarchy
8
-
9
- ```
10
- ┌─────────────────────────────────────────┐
11
- │ Default Config │ (lowest priority)
12
- ├─────────────────────────────────────────┤
13
- │ Environment Config │
14
- ├─────────────────────────────────────────┤
15
- │ Secret Manager │
16
- ├─────────────────────────────────────────┤
17
- │ Environment Variables │ (highest priority)
18
- └─────────────────────────────────────────┘
19
- ```
20
-
21
- ---
22
-
23
- ## Configuration Files
24
-
25
- ### File Structure
26
-
27
- ```
28
- /config/
29
- ├── default.yaml # Base configuration
30
- ├── development.yaml # Development overrides
31
- ├── staging.yaml # Staging overrides
32
- ├── production.yaml # Production overrides
33
- └── local.yaml # Local overrides (gitignored)
34
- ```
35
-
36
- ### Default Configuration
37
-
38
- ```yaml
39
- # config/default.yaml
40
- app:
41
- name: "MyApp"
42
- version: "${npm_package_version}"
43
- port: 3000
44
-
45
- api:
46
- timeout: 30000
47
- retries: 3
48
- retry_delay: 1000
49
-
50
- database:
51
- pool:
52
- min: 2
53
- max: 10
54
- timeout: 5000
55
-
56
- cache:
57
- ttl: 3600
58
- prefix: "app:"
59
-
60
- logging:
61
- level: "info"
62
- format: "json"
63
-
64
- features:
65
- rate_limiting: true
66
- caching: true
67
- compression: true
68
- ```
69
-
70
- ### Environment-Specific Overrides
71
-
72
- ```yaml
73
- # config/development.yaml
74
- app:
75
- port: 3001
76
-
77
- database:
78
- pool:
79
- max: 5
80
-
81
- logging:
82
- level: "debug"
83
- format: "pretty"
84
-
85
- features:
86
- mock_external_services: true
87
- debug_endpoints: true
88
- ```
89
-
90
- ```yaml
91
- # config/production.yaml
92
- app:
93
- port: 8080
94
-
95
- database:
96
- pool:
97
- min: 5
98
- max: 50
99
-
100
- cache:
101
- ttl: 7200
102
-
103
- features:
104
- rate_limiting: true
105
- strict_ssl: true
106
- hsts: true
107
- ```
108
-
109
- ---
110
-
111
- ## Environment Variables
112
-
113
- ### Variable Naming Convention
114
-
115
- ```bash
116
- # Application settings
117
- APP_NAME=MyApp
118
- APP_PORT=3000
119
- APP_ENV=production
120
-
121
- # Database
122
- DB_HOST=localhost
123
- DB_PORT=5432
124
- DB_NAME=myapp
125
- DB_USER=appuser
126
- DB_PASSWORD=secret
127
-
128
- # External services
129
- REDIS_URL=redis://localhost:6379
130
- STRIPE_API_KEY=sk_live_xxx
131
- SENDGRID_API_KEY=SG.xxx
132
-
133
- # Feature flags
134
- FEATURE_NEW_UI=true
135
- FEATURE_BETA_API=false
136
- ```
137
-
138
- ### Environment Variable Loading
139
-
140
- ```yaml
141
- # proagents.config.yaml
142
- configuration:
143
- env_loading:
144
- # Load order
145
- order:
146
- - ".env" # Base env file
147
- - ".env.${NODE_ENV}" # Environment-specific
148
- - ".env.local" # Local overrides (gitignored)
149
-
150
- # Variable expansion
151
- expand_variables: true
152
-
153
- # Required variables
154
- required:
155
- - "DATABASE_URL"
156
- - "JWT_SECRET"
157
- - "APP_ENV"
158
-
159
- # Validation
160
- validate:
161
- APP_PORT:
162
- type: "number"
163
- min: 1024
164
- max: 65535
165
-
166
- APP_ENV:
167
- enum: ["development", "staging", "production"]
168
-
169
- LOG_LEVEL:
170
- enum: ["debug", "info", "warn", "error"]
171
- ```
172
-
173
- ---
174
-
175
- ## Secret Management Integration
176
-
177
- ### AWS Secrets Manager
178
-
179
- ```yaml
180
- configuration:
181
- secrets:
182
- provider: "aws-secrets-manager"
183
-
184
- # Secret mappings
185
- mappings:
186
- DATABASE_URL: "myapp/${env}/database/url"
187
- JWT_SECRET: "myapp/${env}/auth/jwt-secret"
188
- STRIPE_KEY: "myapp/${env}/payments/stripe-key"
189
-
190
- # Caching
191
- cache:
192
- enabled: true
193
- ttl: 300 # 5 minutes
194
-
195
- # Auto-refresh
196
- refresh:
197
- enabled: true
198
- interval: 3600 # 1 hour
199
- ```
200
-
201
- ### HashiCorp Vault
202
-
203
- ```yaml
204
- configuration:
205
- secrets:
206
- provider: "vault"
207
- address: "https://vault.company.com"
208
- auth_method: "kubernetes"
209
-
210
- mappings:
211
- DATABASE_URL: "secret/data/myapp/${env}/database"
212
- API_KEYS: "secret/data/myapp/${env}/api-keys"
213
-
214
- # Dynamic secrets
215
- dynamic:
216
- database:
217
- role: "myapp-${env}"
218
- ttl: "1h"
219
- ```
220
-
221
- ### Environment-Specific Secrets
222
-
223
- ```yaml
224
- configuration:
225
- secrets:
226
- environments:
227
- development:
228
- prefix: "dev/"
229
- allow_local_override: true
230
-
231
- staging:
232
- prefix: "staging/"
233
- allow_local_override: false
234
-
235
- production:
236
- prefix: "prod/"
237
- allow_local_override: false
238
- require_approval: true
239
- ```
240
-
241
- ---
242
-
243
- ## Configuration Validation
244
-
245
- ### Schema Definition
246
-
247
- ```yaml
248
- # config/schema.yaml
249
- $schema: "http://json-schema.org/draft-07/schema#"
250
- type: object
251
- required:
252
- - app
253
- - database
254
-
255
- properties:
256
- app:
257
- type: object
258
- required: [name, port]
259
- properties:
260
- name:
261
- type: string
262
- minLength: 1
263
- port:
264
- type: integer
265
- minimum: 1024
266
- maximum: 65535
267
-
268
- database:
269
- type: object
270
- required: [pool]
271
- properties:
272
- pool:
273
- type: object
274
- properties:
275
- min:
276
- type: integer
277
- minimum: 1
278
- max:
279
- type: integer
280
- minimum: 1
281
- ```
282
-
283
- ### Validation Commands
284
-
285
- ```bash
286
- # Validate configuration
287
- proagents config validate
288
-
289
- # Validate specific environment
290
- proagents config validate --env production
291
-
292
- # Show resolved configuration
293
- proagents config show --env staging
294
-
295
- # Check for sensitive values
296
- proagents config audit
297
- ```
298
-
299
- ---
300
-
301
- ## Configuration Access Patterns
302
-
303
- ### Application Code
304
-
305
- ```typescript
306
- // config/index.ts
307
- import { loadConfig } from '@proagents/config';
308
-
309
- const config = loadConfig({
310
- env: process.env.NODE_ENV,
311
- secretsProvider: 'aws-secrets-manager',
312
- });
313
-
314
- export default config;
315
-
316
- // Usage
317
- import config from './config';
318
-
319
- const dbConnection = createConnection({
320
- host: config.get('database.host'),
321
- port: config.get('database.port'),
322
- username: config.get('database.user'),
323
- password: config.getSecret('database.password'),
324
- });
325
- ```
326
-
327
- ### Type-Safe Configuration
328
-
329
- ```typescript
330
- // config/types.ts
331
- interface AppConfig {
332
- app: {
333
- name: string;
334
- port: number;
335
- env: 'development' | 'staging' | 'production';
336
- };
337
- database: {
338
- host: string;
339
- port: number;
340
- name: string;
341
- pool: {
342
- min: number;
343
- max: number;
344
- };
345
- };
346
- features: {
347
- rateLimiting: boolean;
348
- caching: boolean;
349
- };
350
- }
351
-
352
- // config/index.ts
353
- const config = loadConfig<AppConfig>({ ... });
354
-
355
- // Type-safe access
356
- config.app.port; // number
357
- config.features.rateLimiting; // boolean
358
- ```
359
-
360
- ---
361
-
362
- ## Configuration Changes
363
-
364
- ### Change Tracking
365
-
366
- ```yaml
367
- configuration:
368
- versioning:
369
- enabled: true
370
-
371
- # Track all changes
372
- track:
373
- - config_changes
374
- - secret_rotations
375
- - env_var_updates
376
-
377
- # Audit log
378
- audit:
379
- destination: "cloudwatch"
380
- retention: "2 years"
381
- ```
382
-
383
- ### Safe Configuration Updates
384
-
385
- ```bash
386
- # Preview configuration change
387
- proagents config set app.port 8080 --dry-run
388
-
389
- # Apply with approval
390
- proagents config set app.port 8080 --require-approval
391
-
392
- # Rollback configuration
393
- proagents config rollback --to v1.2.3
394
-
395
- # View change history
396
- proagents config history --last 10
397
- ```
398
-
399
- ---
400
-
401
- ## Commands
402
-
403
- ```bash
404
- # Show configuration
405
- proagents config show
406
- proagents config show --env production
407
-
408
- # Get specific value
409
- proagents config get database.pool.max
410
-
411
- # Set configuration
412
- proagents config set logging.level debug
413
-
414
- # Compare environments
415
- proagents config diff staging production
416
-
417
- # Export configuration
418
- proagents config export --env staging > staging-config.yaml
419
-
420
- # Import configuration
421
- proagents config import staging-config.yaml --env staging
422
-
423
- # Validate all configs
424
- proagents config validate --all
425
- ```
426
-
427
- ---
428
-
429
- ## Best Practices
430
-
431
- 1. **Never Commit Secrets**: Use secret managers for sensitive data
432
- 2. **Environment Parity**: Keep configs similar across environments
433
- 3. **Validate Early**: Fail fast on invalid configuration
434
- 4. **Type Safety**: Use typed configuration access
435
- 5. **Audit Changes**: Track all configuration modifications
436
- 6. **Document Differences**: Explain why environments differ
437
- 7. **Default Sensibly**: Provide safe defaults for all values