proagents 1.6.16 → 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 (170) hide show
  1. package/.claude/settings.local.json +169 -0
  2. package/COMMANDS.md +595 -0
  3. package/README.md +22 -64
  4. package/bin/proagents.js +0 -2
  5. package/lib/commands/init.js +4 -174
  6. package/package.json +2 -7
  7. package/.proagents/ai-models/README.md +0 -141
  8. package/.proagents/ai-models/cost-management.md +0 -362
  9. package/.proagents/ai-models/fallbacks.md +0 -342
  10. package/.proagents/ai-models/model-config.md +0 -318
  11. package/.proagents/ai-models/task-routing.md +0 -503
  12. package/.proagents/ai-training/README.md +0 -155
  13. package/.proagents/ai-training/continuous-learning.md +0 -413
  14. package/.proagents/ai-training/domain-knowledge.md +0 -378
  15. package/.proagents/ai-training/pattern-learning.md +0 -455
  16. package/.proagents/ai-training/training-data.md +0 -337
  17. package/.proagents/ai-training/user-preferences.md +0 -346
  18. package/.proagents/approval-workflows/README.md +0 -146
  19. package/.proagents/approval-workflows/approval-config.md +0 -332
  20. package/.proagents/approval-workflows/approval-stages.md +0 -503
  21. package/.proagents/approval-workflows/emergency-bypass.md +0 -351
  22. package/.proagents/approval-workflows/examples.md +0 -859
  23. package/.proagents/approval-workflows/notifications.md +0 -320
  24. package/.proagents/compliance/README.md +0 -206
  25. package/.proagents/compliance/access-control.md +0 -310
  26. package/.proagents/compliance/audit-logging.md +0 -444
  27. package/.proagents/compliance/compliance-frameworks.md +0 -429
  28. package/.proagents/compliance/reports.md +0 -491
  29. package/.proagents/compliance/retention-policies.md +0 -454
  30. package/.proagents/config-versioning/README.md +0 -120
  31. package/.proagents/config-versioning/changelog.md +0 -300
  32. package/.proagents/config-versioning/rollback.md +0 -283
  33. package/.proagents/config-versioning/versioning.md +0 -330
  34. package/.proagents/contract-testing/README.md +0 -223
  35. package/.proagents/contract-testing/contract-testing.md +0 -614
  36. package/.proagents/contract-testing/pact-integration.md +0 -507
  37. package/.proagents/contract-testing/schema-validation.md +0 -565
  38. package/.proagents/dependency-management/README.md +0 -140
  39. package/.proagents/dependency-management/automation.md +0 -363
  40. package/.proagents/dependency-management/compatibility.md +0 -319
  41. package/.proagents/dependency-management/security-scanning.md +0 -413
  42. package/.proagents/dependency-management/update-policies.md +0 -374
  43. package/.proagents/disaster-recovery/README.md +0 -247
  44. package/.proagents/disaster-recovery/automation.md +0 -366
  45. package/.proagents/disaster-recovery/backup-recovery.md +0 -571
  46. package/.proagents/disaster-recovery/incident-response.md +0 -565
  47. package/.proagents/disaster-recovery/rollback-procedures.md +0 -499
  48. package/.proagents/disaster-recovery/runbooks.md +0 -603
  49. package/.proagents/disaster-recovery/scenarios.md +0 -892
  50. package/.proagents/disaster-recovery/testing.md +0 -438
  51. package/.proagents/environments/README.md +0 -244
  52. package/.proagents/environments/configuration.md +0 -437
  53. package/.proagents/environments/promotion.md +0 -434
  54. package/.proagents/environments/setup.md +0 -420
  55. package/.proagents/examples/README.md +0 -55
  56. package/.proagents/examples/backend-nodejs/README.md +0 -188
  57. package/.proagents/examples/backend-nodejs/complete-conversation.md +0 -601
  58. package/.proagents/examples/backend-nodejs/proagents.config.yaml +0 -415
  59. package/.proagents/examples/backend-nodejs/workflow-example.md +0 -909
  60. package/.proagents/examples/fullstack-nextjs/README.md +0 -155
  61. package/.proagents/examples/fullstack-nextjs/complete-conversation.md +0 -604
  62. package/.proagents/examples/fullstack-nextjs/proagents.config.yaml +0 -287
  63. package/.proagents/examples/fullstack-nextjs/workflow-example.md +0 -553
  64. package/.proagents/examples/mobile-react-native/README.md +0 -171
  65. package/.proagents/examples/mobile-react-native/complete-conversation.md +0 -825
  66. package/.proagents/examples/mobile-react-native/proagents.config.yaml +0 -330
  67. package/.proagents/examples/mobile-react-native/workflow-example.md +0 -723
  68. package/.proagents/examples/web-frontend-react/README.md +0 -125
  69. package/.proagents/examples/web-frontend-react/complete-conversation.md +0 -556
  70. package/.proagents/examples/web-frontend-react/proagents.config.yaml +0 -183
  71. package/.proagents/examples/web-frontend-react/workflow-example.md +0 -603
  72. package/.proagents/existing-projects/README.md +0 -65
  73. package/.proagents/existing-projects/challenges.md +0 -861
  74. package/.proagents/existing-projects/coexistence-mode.md +0 -483
  75. package/.proagents/existing-projects/compatibility-assessment.md +0 -541
  76. package/.proagents/existing-projects/gradual-adoption.md +0 -515
  77. package/.proagents/existing-projects/migration-strategies.md +0 -788
  78. package/.proagents/existing-projects/pattern-reconciliation.md +0 -489
  79. package/.proagents/existing-projects/team-onboarding.md +0 -617
  80. package/.proagents/existing-projects/technical-debt-handling.md +0 -644
  81. package/.proagents/feature-flags/README.md +0 -263
  82. package/.proagents/feature-flags/ab-testing.md +0 -413
  83. package/.proagents/feature-flags/configuration.md +0 -420
  84. package/.proagents/feature-flags/kill-switches.md +0 -444
  85. package/.proagents/feature-flags/rollout-strategies.md +0 -392
  86. package/.proagents/history.log +0 -12
  87. package/.proagents/i18n/README.md +0 -133
  88. package/.proagents/i18n/extraction.md +0 -433
  89. package/.proagents/i18n/tms-integration.md +0 -332
  90. package/.proagents/i18n/translation-workflow.md +0 -413
  91. package/.proagents/i18n/validation.md +0 -355
  92. package/.proagents/logging/README.md +0 -276
  93. package/.proagents/logging/aggregation.md +0 -475
  94. package/.proagents/logging/log-levels.md +0 -376
  95. package/.proagents/logging/sensitive-data.md +0 -423
  96. package/.proagents/logging/structured-logging.md +0 -406
  97. package/.proagents/metrics/README.md +0 -69
  98. package/.proagents/metrics/code-quality-kpis.md +0 -461
  99. package/.proagents/metrics/deployment-metrics.md +0 -517
  100. package/.proagents/metrics/developer-productivity.md +0 -368
  101. package/.proagents/metrics/learning-effectiveness.md +0 -478
  102. package/.proagents/migrations/README.md +0 -77
  103. package/.proagents/migrations/from-claude-projects.md +0 -313
  104. package/.proagents/migrations/from-cursor-rules.md +0 -345
  105. package/.proagents/migrations/from-custom-workflows.md +0 -410
  106. package/.proagents/monitoring/README.md +0 -308
  107. package/.proagents/monitoring/alerting.md +0 -449
  108. package/.proagents/monitoring/dashboards.md +0 -454
  109. package/.proagents/monitoring/health-checks.md +0 -436
  110. package/.proagents/monitoring/metrics.md +0 -434
  111. package/.proagents/multi-project/README.md +0 -170
  112. package/.proagents/multi-project/coordinated-deploy.md +0 -510
  113. package/.proagents/multi-project/cross-project-deps.md +0 -395
  114. package/.proagents/multi-project/unified-changelog.md +0 -477
  115. package/.proagents/multi-project/walkthroughs/monorepo-setup.md +0 -787
  116. package/.proagents/multi-project/workspace-config.md +0 -408
  117. package/.proagents/notifications/README.md +0 -151
  118. package/.proagents/notifications/channels.md +0 -457
  119. package/.proagents/notifications/preferences.md +0 -415
  120. package/.proagents/notifications/routing.md +0 -449
  121. package/.proagents/notifications/scheduling.md +0 -425
  122. package/.proagents/notifications/templates.md +0 -446
  123. package/.proagents/offline-mode/README.md +0 -145
  124. package/.proagents/offline-mode/caching.md +0 -344
  125. package/.proagents/offline-mode/offline-operations.md +0 -312
  126. package/.proagents/offline-mode/queue-specifications.md +0 -679
  127. package/.proagents/offline-mode/sync.md +0 -475
  128. package/.proagents/parallel-features/README.md +0 -85
  129. package/.proagents/parallel-features/conflict-detection.md +0 -226
  130. package/.proagents/parallel-features/dependency-management.md +0 -392
  131. package/.proagents/parallel-features/merge-coordination.md +0 -506
  132. package/.proagents/parallel-features/tracking-system.md +0 -416
  133. package/.proagents/performance/README.md +0 -59
  134. package/.proagents/performance/bundle-analysis.md +0 -375
  135. package/.proagents/performance/load-testing.md +0 -563
  136. package/.proagents/performance/runtime-metrics.md +0 -489
  137. package/.proagents/performance/web-vitals.md +0 -425
  138. package/.proagents/plugins/README.md +0 -139
  139. package/.proagents/plugins/creating-plugins.md +0 -504
  140. package/.proagents/plugins/plugin-api.md +0 -467
  141. package/.proagents/plugins/plugin-registry.md +0 -276
  142. package/.proagents/reporting/README.md +0 -158
  143. package/.proagents/reporting/dashboards.md +0 -366
  144. package/.proagents/reporting/exports.md +0 -524
  145. package/.proagents/reporting/quality-metrics.md +0 -385
  146. package/.proagents/reporting/templates/README.md +0 -56
  147. package/.proagents/reporting/templates/dashboard-config.json +0 -187
  148. package/.proagents/reporting/templates/metrics-queries.md +0 -427
  149. package/.proagents/reporting/templates/react-dashboard.tsx +0 -544
  150. package/.proagents/reporting/templates/widgets.md +0 -451
  151. package/.proagents/reporting/velocity-metrics.md +0 -340
  152. package/.proagents/reverse-engineering/README.md +0 -151
  153. package/.proagents/reverse-engineering/architecture-extraction.md +0 -325
  154. package/.proagents/reverse-engineering/code-analysis.md +0 -377
  155. package/.proagents/reverse-engineering/dependency-mapping.md +0 -567
  156. package/.proagents/reverse-engineering/diagram-generation.md +0 -586
  157. package/.proagents/reverse-engineering/documentation-generation.md +0 -468
  158. package/.proagents/reverse-engineering/pattern-detection.md +0 -569
  159. package/.proagents/reverse-engineering/quality-assessment.md +0 -733
  160. package/.proagents/secrets/README.md +0 -278
  161. package/.proagents/secrets/access-control.md +0 -443
  162. package/.proagents/secrets/rotation.md +0 -403
  163. package/.proagents/secrets/scanning.md +0 -487
  164. package/.proagents/secrets/storage.md +0 -394
  165. package/.proagents/webhooks/README.md +0 -126
  166. package/.proagents/webhooks/endpoints.md +0 -298
  167. package/.proagents/webhooks/events.md +0 -316
  168. package/.proagents/webhooks/payloads.md +0 -325
  169. package/.proagents/webhooks/reliability.md +0 -363
  170. package/.proagents/webhooks/security.md +0 -380
@@ -1,483 +0,0 @@
1
- # Coexistence Mode
2
-
3
- Run ProAgents alongside existing workflows without disruption.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- Coexistence mode allows:
10
- - ProAgents and existing tools to work together
11
- - Gradual feature adoption
12
- - No disruption to current processes
13
- - Team to continue normal work
14
-
15
- ---
16
-
17
- ## Coexistence Principles
18
-
19
- ```
20
- ┌─────────────────────────────────────────────────────────────┐
21
- │ Coexistence Architecture │
22
- ├─────────────────────────────────────────────────────────────┤
23
- │ │
24
- │ Existing Workflow ProAgents Layer │
25
- │ ───────────────── ────────────── │
26
- │ │
27
- │ ┌─────────────┐ ┌─────────────┐ │
28
- │ │ Git Flow │◄──────────▶│ Tracking │ │
29
- │ └─────────────┘ └─────────────┘ │
30
- │ │ │ │
31
- │ ▼ ▼ │
32
- │ ┌─────────────┐ ┌─────────────┐ │
33
- │ │ CI/CD │◄──────────▶│ Analysis │ │
34
- │ └─────────────┘ └─────────────┘ │
35
- │ │ │ │
36
- │ ▼ ▼ │
37
- │ ┌─────────────┐ ┌─────────────┐ │
38
- │ │ PR Review │◄──────────▶│ Doc Gen │ │
39
- │ └─────────────┘ └─────────────┘ │
40
- │ │
41
- │ Existing workflow continues ProAgents adds value │
42
- │ unchanged without blocking │
43
- │ │
44
- └─────────────────────────────────────────────────────────────┘
45
- ```
46
-
47
- ---
48
-
49
- ## Integration Points
50
-
51
- ### 1. Git Integration (Non-Blocking)
52
-
53
- ```yaml
54
- git_integration:
55
- mode: "observe" # observe | extend | replace
56
-
57
- observe:
58
- # ProAgents watches but doesn't enforce
59
- track_commits: true
60
- track_branches: true
61
- enforce_conventions: false
62
-
63
- actions:
64
- on_commit:
65
- - "Log change"
66
- - "Update tracking (if feature tracked)"
67
- on_branch_create:
68
- - "Detect if feature branch"
69
- - "Suggest tracking (don't require)"
70
-
71
- extend:
72
- # Add ProAgents checks alongside existing
73
- pre_commit:
74
- add_hook: true
75
- fail_on_error: false # Warn only
76
- commit_msg:
77
- validate: true
78
- fail_on_error: false # Warn only
79
-
80
- replace:
81
- # Full control (Phase 4 only)
82
- enforce_all: true
83
- ```
84
-
85
- ### 2. CI/CD Integration
86
-
87
- ```yaml
88
- cicd_integration:
89
- mode: "extend"
90
-
91
- existing_pipeline:
92
- preserve: true
93
- modify: false
94
-
95
- proagents_jobs:
96
- add_to_existing: true
97
- as_separate_workflow: true
98
- allow_failure: true # Don't block deploys
99
-
100
- jobs:
101
- - name: "proagents-analysis"
102
- trigger: "on_pr"
103
- blocking: false
104
- output: "comment_on_pr"
105
-
106
- - name: "proagents-docs"
107
- trigger: "on_merge"
108
- blocking: false
109
- output: "update_docs_folder"
110
- ```
111
-
112
- **Example GitHub Actions Addition:**
113
- ```yaml
114
- # .github/workflows/proagents.yml (separate workflow)
115
- name: ProAgents Analysis
116
-
117
- on:
118
- pull_request:
119
- types: [opened, synchronize]
120
-
121
- jobs:
122
- analyze:
123
- runs-on: ubuntu-latest
124
- continue-on-error: true # Don't block PR
125
-
126
- steps:
127
- - uses: actions/checkout@v4
128
-
129
- - name: Run ProAgents Analysis
130
- run: npx proagents analyze --pr
131
-
132
- - name: Comment on PR
133
- uses: actions/github-script@v7
134
- with:
135
- script: |
136
- // Add analysis as PR comment
137
- ```
138
-
139
- ### 3. Code Review Integration
140
-
141
- ```yaml
142
- review_integration:
143
- mode: "supplement"
144
-
145
- existing_process:
146
- required_reviewers: 2 # Keep existing
147
- codeowners: true # Keep existing
148
- checks: ["lint", "test"] # Keep existing
149
-
150
- proagents_addition:
151
- auto_comment: true
152
- sections:
153
- - "Files changed analysis"
154
- - "Pattern compliance"
155
- - "Documentation coverage"
156
- - "Suggestions"
157
-
158
- blocking: false # Don't block approval
159
- as_review: false # As comment, not review
160
- ```
161
-
162
- ---
163
-
164
- ## Feature Coexistence
165
-
166
- ### Tracked vs Untracked Features
167
-
168
- ```yaml
169
- feature_coexistence:
170
- tracked:
171
- # Features using ProAgents
172
- directory: ".proagents/active-features/"
173
- workflow: "full"
174
- tracking: true
175
-
176
- untracked:
177
- # Features not using ProAgents
178
- workflow: "existing"
179
- tracking: false
180
- interference: "none"
181
-
182
- detection:
183
- tracked_indicators:
184
- - "Has status.json in .proagents/active-features/"
185
- - "Branch matches tracked feature"
186
-
187
- untracked_behavior:
188
- - "Don't show in ProAgents dashboard"
189
- - "Don't enforce phases"
190
- - "Don't require documentation"
191
- ```
192
-
193
- ### Parallel Work
194
-
195
- ```yaml
196
- parallel_work:
197
- scenario: "Some work tracked, some not"
198
-
199
- developer_a:
200
- feature: "feature-user-auth"
201
- mode: "proagents"
202
- tracking: true
203
-
204
- developer_b:
205
- feature: "feature-legacy-fix"
206
- mode: "existing"
207
- tracking: false
208
-
209
- no_conflict:
210
- - "Each follows their workflow"
211
- - "ProAgents doesn't interfere with untracked"
212
- - "Git operations work normally"
213
- ```
214
-
215
- ---
216
-
217
- ## Tool Coexistence
218
-
219
- ### Linting & Formatting
220
-
221
- ```yaml
222
- linting_coexistence:
223
- existing:
224
- eslint: true
225
- prettier: true
226
- config: ".eslintrc.js"
227
-
228
- proagents:
229
- mode: "use_existing"
230
- additional_rules: false # Don't add rules
231
- security_rules:
232
- add: true
233
- separate_config: true # Don't modify existing
234
-
235
- result:
236
- - "Existing lint rules unchanged"
237
- - "ProAgents security rules in separate config"
238
- - "Both run, neither blocks"
239
- ```
240
-
241
- ### Testing
242
-
243
- ```yaml
244
- testing_coexistence:
245
- existing:
246
- framework: "jest"
247
- config: "jest.config.js"
248
- coverage_threshold: 60%
249
-
250
- proagents:
251
- mode: "extend"
252
- new_code_threshold: 80% # Higher for new code
253
- existing_code_threshold: null # Don't enforce
254
-
255
- result:
256
- - "Existing tests run as normal"
257
- - "New code has higher requirements"
258
- - "No changes to existing test setup"
259
- ```
260
-
261
- ### Documentation
262
-
263
- ```yaml
264
- documentation_coexistence:
265
- existing:
266
- readme: true
267
- wiki: "confluence"
268
- api_docs: "swagger"
269
-
270
- proagents:
271
- mode: "supplement"
272
- generate_to: ".proagents/docs/" # Separate location
273
- link_to_existing: true
274
-
275
- result:
276
- - "Existing docs unchanged"
277
- - "ProAgents docs in separate location"
278
- - "Links between both"
279
- ```
280
-
281
- ---
282
-
283
- ## Gradual Transition
284
-
285
- ### Level 1: Observe Only
286
-
287
- ```yaml
288
- level_1:
289
- name: "Observe Only"
290
-
291
- proagents_does:
292
- - "Analyze codebase"
293
- - "Generate reports"
294
- - "Track patterns"
295
-
296
- proagents_does_not:
297
- - "Block any operations"
298
- - "Modify any files"
299
- - "Change any workflows"
300
-
301
- team_impact: "Zero"
302
- ```
303
-
304
- ### Level 2: Suggest
305
-
306
- ```yaml
307
- level_2:
308
- name: "Suggest"
309
-
310
- proagents_does:
311
- - "All of Level 1"
312
- - "Suggest improvements"
313
- - "Comment on PRs"
314
- - "Generate documentation"
315
-
316
- proagents_does_not:
317
- - "Block operations"
318
- - "Enforce rules"
319
- - "Require tracking"
320
-
321
- team_impact: "Minimal (optional suggestions)"
322
- ```
323
-
324
- ### Level 3: Assist
325
-
326
- ```yaml
327
- level_3:
328
- name: "Assist"
329
-
330
- proagents_does:
331
- - "All of Level 2"
332
- - "Track opted-in features"
333
- - "Enforce rules for new code"
334
- - "Generate required docs"
335
-
336
- proagents_does_not:
337
- - "Enforce on existing code"
338
- - "Block untracked work"
339
-
340
- team_impact: "Moderate (for tracked work)"
341
- ```
342
-
343
- ### Level 4: Full
344
-
345
- ```yaml
346
- level_4:
347
- name: "Full Integration"
348
-
349
- proagents_does:
350
- - "Track all new features"
351
- - "Enforce all rules"
352
- - "Require documentation"
353
- - "Block non-compliant code"
354
-
355
- exceptions:
356
- - "Hotfixes"
357
- - "Legacy maintenance"
358
- - "Explicitly exempted paths"
359
-
360
- team_impact: "Full (standard process)"
361
- ```
362
-
363
- ---
364
-
365
- ## Conflict Resolution
366
-
367
- ### When Tools Conflict
368
-
369
- ```yaml
370
- conflict_scenarios:
371
- scenario_1:
372
- conflict: "ESLint rule vs ProAgents suggestion"
373
- resolution: "ESLint wins (existing takes precedence)"
374
- action: "ProAgents adapts"
375
-
376
- scenario_2:
377
- conflict: "Commit hook failure"
378
- resolution: "Provide bypass option"
379
- action: "PROAGENTS_SKIP=1 git commit"
380
-
381
- scenario_3:
382
- conflict: "CI job failure"
383
- resolution: "ProAgents jobs are non-blocking"
384
- action: "Allow merge anyway"
385
-
386
- scenario_4:
387
- conflict: "Different branch naming"
388
- resolution: "ProAgents adapts to existing"
389
- action: "Detect and use existing convention"
390
- ```
391
-
392
- ### Escape Hatches
393
-
394
- ```yaml
395
- escape_hatches:
396
- skip_commit_hook:
397
- command: "PROAGENTS_SKIP=1 git commit"
398
- when: "Hook causing issues"
399
-
400
- skip_analysis:
401
- command: "pa:disable --temp"
402
- when: "Need to move fast"
403
-
404
- exempt_file:
405
- method: "Add to .proagentsignore"
406
- when: "File should be excluded"
407
-
408
- exempt_feature:
409
- method: "pa:feature exempt [name]"
410
- when: "Feature shouldn't be tracked"
411
- ```
412
-
413
- ---
414
-
415
- ## Configuration
416
-
417
- ```yaml
418
- # proagents.config.yaml
419
-
420
- coexistence:
421
- enabled: true
422
- level: "observe" # observe | suggest | assist | full
423
-
424
- interference:
425
- blocking: false
426
- modifying: false
427
- enforcing: false
428
-
429
- integration:
430
- git:
431
- mode: "observe"
432
- cicd:
433
- mode: "extend"
434
- blocking: false
435
- review:
436
- mode: "supplement"
437
- linting:
438
- mode: "use_existing"
439
- testing:
440
- mode: "extend"
441
-
442
- escape_hatches:
443
- enabled: true
444
- log_usage: true
445
-
446
- transition:
447
- current_level: 1
448
- target_level: 4
449
- advance_trigger: "manual" # manual | time | metrics
450
- ```
451
-
452
- ---
453
-
454
- ## Monitoring Coexistence
455
-
456
- ```yaml
457
- coexistence_metrics:
458
- tracked:
459
- - "Features tracked vs untracked"
460
- - "ProAgents suggestions accepted"
461
- - "Escape hatch usage"
462
- - "Tool conflicts"
463
- - "Team adoption rate"
464
-
465
- dashboard:
466
- features_tracked: "5/12 (42%)"
467
- suggestions_accepted: "78%"
468
- escape_hatches_used: "3 this week"
469
- conflicts: "0"
470
- adoption_trend: "increasing"
471
- ```
472
-
473
- ---
474
-
475
- ## Commands
476
-
477
- | Command | Description |
478
- |---------|-------------|
479
- | `pa:coexist-status` | View coexistence status |
480
- | `pa:coexist-level [1-4]` | Set coexistence level |
481
- | `pa:coexist-exempt [path]` | Exempt path from ProAgents |
482
- | `pa:coexist-conflicts` | View any conflicts |
483
- | `pa:proagents disable --temp` | Temporarily disable |