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,310 +0,0 @@
1
- # Access Control
2
-
3
- Role-based access control for development workflows.
4
-
5
- ---
6
-
7
- ## Access Levels
8
-
9
- | Level | Description | Typical Roles |
10
- |-------|-------------|---------------|
11
- | `viewer` | Read-only access | Stakeholders, auditors |
12
- | `developer` | Code changes, feature development | Engineers |
13
- | `reviewer` | Code review, approval rights | Senior engineers, tech leads |
14
- | `deployer` | Deployment permissions | DevOps, SRE |
15
- | `admin` | Full system access | Team leads, managers |
16
-
17
- ---
18
-
19
- ## Configuration
20
-
21
- ### Role Definition
22
-
23
- ```yaml
24
- # proagents.config.yaml
25
- access_control:
26
- enabled: true
27
-
28
- roles:
29
- viewer:
30
- permissions:
31
- - "read:code"
32
- - "read:docs"
33
- - "read:reports"
34
-
35
- developer:
36
- inherits: viewer
37
- permissions:
38
- - "write:code"
39
- - "write:tests"
40
- - "create:branch"
41
- - "create:pr"
42
-
43
- reviewer:
44
- inherits: developer
45
- permissions:
46
- - "approve:pr"
47
- - "review:code"
48
- - "comment:pr"
49
-
50
- deployer:
51
- inherits: reviewer
52
- permissions:
53
- - "deploy:staging"
54
- - "deploy:production"
55
- - "rollback:any"
56
-
57
- admin:
58
- permissions:
59
- - "*" # All permissions
60
- ```
61
-
62
- ### User Assignment
63
-
64
- ```yaml
65
- access_control:
66
- users:
67
- # Individual assignments
68
- "user@company.com":
69
- role: developer
70
- teams: ["frontend"]
71
-
72
- "lead@company.com":
73
- role: reviewer
74
- teams: ["frontend", "backend"]
75
-
76
- # Team-based assignments
77
- teams:
78
- frontend:
79
- members:
80
- - "dev1@company.com"
81
- - "dev2@company.com"
82
- default_role: developer
83
-
84
- devops:
85
- members:
86
- - "ops@company.com"
87
- default_role: deployer
88
- ```
89
-
90
- ---
91
-
92
- ## Resource-Level Permissions
93
-
94
- ### Path-Based Access
95
-
96
- ```yaml
97
- access_control:
98
- resources:
99
- # Restrict sensitive paths
100
- "src/auth/**":
101
- allowed_roles: ["reviewer", "admin"]
102
- require_review: true
103
-
104
- "src/payments/**":
105
- allowed_roles: ["admin"]
106
- require_approval: ["security-team"]
107
-
108
- # Production configs
109
- "config/production/**":
110
- allowed_roles: ["deployer", "admin"]
111
- audit_all_changes: true
112
-
113
- # Documentation - open access
114
- "docs/**":
115
- allowed_roles: ["*"]
116
- ```
117
-
118
- ### Environment Permissions
119
-
120
- ```yaml
121
- access_control:
122
- environments:
123
- development:
124
- deploy: ["developer", "reviewer", "deployer", "admin"]
125
- rollback: ["developer", "reviewer", "deployer", "admin"]
126
-
127
- staging:
128
- deploy: ["reviewer", "deployer", "admin"]
129
- rollback: ["deployer", "admin"]
130
-
131
- production:
132
- deploy: ["deployer", "admin"]
133
- rollback: ["admin"]
134
- require_approval: true
135
- approval_count: 2
136
- ```
137
-
138
- ---
139
-
140
- ## Approval Workflows
141
-
142
- ### Multi-Level Approval
143
-
144
- ```yaml
145
- access_control:
146
- approvals:
147
- code_review:
148
- required_approvers: 1
149
- allowed_approvers: ["reviewer", "admin"]
150
- exclude_author: true
151
-
152
- production_deploy:
153
- required_approvers: 2
154
- allowed_approvers: ["deployer", "admin"]
155
- require_different_teams: true
156
-
157
- security_change:
158
- required_approvers: 1
159
- required_teams: ["security-team"]
160
- timeout: "48h"
161
- ```
162
-
163
- ### Emergency Access
164
-
165
- ```yaml
166
- access_control:
167
- emergency:
168
- enabled: true
169
-
170
- # Break-glass procedure
171
- break_glass:
172
- allowed_users: ["cto@company.com", "vp-eng@company.com"]
173
- requires_reason: true
174
- auto_audit: true
175
- expires_after: "4h"
176
-
177
- # Notification on emergency access
178
- notify:
179
- - "security-team"
180
- - "management"
181
- ```
182
-
183
- ---
184
-
185
- ## Audit & Compliance
186
-
187
- ### Access Logging
188
-
189
- ```yaml
190
- access_control:
191
- audit:
192
- enabled: true
193
-
194
- # What to log
195
- log_events:
196
- - "permission_granted"
197
- - "permission_denied"
198
- - "role_changed"
199
- - "emergency_access"
200
- - "deployment"
201
- - "rollback"
202
-
203
- # Where to send logs
204
- destinations:
205
- - type: "file"
206
- path: "./logs/access.log"
207
- - type: "siem"
208
- endpoint: "${SIEM_ENDPOINT}"
209
-
210
- # Retention
211
- retention: "2 years"
212
- ```
213
-
214
- ### Compliance Reports
215
-
216
- ```yaml
217
- access_control:
218
- compliance:
219
- # Generate reports
220
- reports:
221
- - type: "access_review"
222
- schedule: "monthly"
223
- recipients: ["security-team", "management"]
224
-
225
- - type: "permission_audit"
226
- schedule: "quarterly"
227
- recipients: ["compliance-team"]
228
-
229
- # Alerts
230
- alerts:
231
- unusual_access:
232
- enabled: true
233
- notify: ["security-team"]
234
-
235
- failed_auth:
236
- threshold: 5
237
- window: "5m"
238
- notify: ["security-team"]
239
- ```
240
-
241
- ---
242
-
243
- ## Integration
244
-
245
- ### SSO Integration
246
-
247
- ```yaml
248
- access_control:
249
- sso:
250
- provider: "okta" # okta, auth0, azure-ad
251
-
252
- # Map SSO groups to roles
253
- group_mapping:
254
- "Engineering": "developer"
255
- "Tech Leads": "reviewer"
256
- "DevOps": "deployer"
257
- "Admins": "admin"
258
-
259
- # Auto-provision users
260
- auto_provision: true
261
- default_role: "viewer"
262
- ```
263
-
264
- ### LDAP/Active Directory
265
-
266
- ```yaml
267
- access_control:
268
- ldap:
269
- server: "ldap://ldap.company.com"
270
- base_dn: "dc=company,dc=com"
271
-
272
- group_mapping:
273
- "cn=developers,ou=groups": "developer"
274
- "cn=leads,ou=groups": "reviewer"
275
- ```
276
-
277
- ---
278
-
279
- ## Commands
280
-
281
- ```bash
282
- # View current permissions
283
- proagents access list
284
-
285
- # Check user permissions
286
- proagents access check user@company.com
287
-
288
- # Grant role
289
- proagents access grant user@company.com --role reviewer
290
-
291
- # Revoke role
292
- proagents access revoke user@company.com --role admin
293
-
294
- # View audit log
295
- proagents access audit --last 7d
296
-
297
- # Emergency access
298
- proagents access emergency --reason "Production incident P1"
299
- ```
300
-
301
- ---
302
-
303
- ## Best Practices
304
-
305
- 1. **Least Privilege**: Grant minimum necessary permissions
306
- 2. **Regular Reviews**: Audit access quarterly
307
- 3. **Separation of Duties**: Different approvers for critical changes
308
- 4. **Audit Everything**: Log all access events
309
- 5. **Time-Bound Access**: Use expiring permissions for elevated access
310
- 6. **Emergency Procedures**: Document and test break-glass process