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,320 +0,0 @@
|
|
|
1
|
-
# Approval Notifications
|
|
2
|
-
|
|
3
|
-
Configure notifications for approval workflow events.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Notification Events
|
|
8
|
-
|
|
9
|
-
| Event | Description | Default |
|
|
10
|
-
|-------|-------------|---------|
|
|
11
|
-
| `approval_requested` | New approval needed | Notify approvers |
|
|
12
|
-
| `approval_granted` | Approval given | Notify requester |
|
|
13
|
-
| `approval_rejected` | Approval denied | Notify requester |
|
|
14
|
-
| `approval_reminder` | Pending reminder | Notify approvers |
|
|
15
|
-
| `approval_escalated` | Escalated to next level | Notify escalation target |
|
|
16
|
-
| `approval_expired` | Timeout reached | Notify all parties |
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## Configuration
|
|
21
|
-
|
|
22
|
-
### Notification Setup
|
|
23
|
-
|
|
24
|
-
```yaml
|
|
25
|
-
approvals:
|
|
26
|
-
notifications:
|
|
27
|
-
enabled: true
|
|
28
|
-
|
|
29
|
-
# Default channels
|
|
30
|
-
default_channels:
|
|
31
|
-
- "email"
|
|
32
|
-
- "slack"
|
|
33
|
-
|
|
34
|
-
# Event-specific settings
|
|
35
|
-
events:
|
|
36
|
-
approval_requested:
|
|
37
|
-
channels: ["slack", "email"]
|
|
38
|
-
template: "approval_request"
|
|
39
|
-
priority: "high"
|
|
40
|
-
|
|
41
|
-
approval_granted:
|
|
42
|
-
channels: ["slack"]
|
|
43
|
-
template: "approval_granted"
|
|
44
|
-
priority: "normal"
|
|
45
|
-
|
|
46
|
-
approval_rejected:
|
|
47
|
-
channels: ["slack", "email"]
|
|
48
|
-
template: "approval_rejected"
|
|
49
|
-
priority: "high"
|
|
50
|
-
|
|
51
|
-
approval_reminder:
|
|
52
|
-
channels: ["slack"]
|
|
53
|
-
template: "approval_reminder"
|
|
54
|
-
schedule:
|
|
55
|
-
- after: "4h"
|
|
56
|
-
- after: "12h"
|
|
57
|
-
- after: "20h"
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### Channel Configuration
|
|
61
|
-
|
|
62
|
-
```yaml
|
|
63
|
-
approvals:
|
|
64
|
-
notifications:
|
|
65
|
-
channels:
|
|
66
|
-
slack:
|
|
67
|
-
webhook_url_env: "SLACK_WEBHOOK_URL"
|
|
68
|
-
default_channel: "#approvals"
|
|
69
|
-
|
|
70
|
-
# Channel routing
|
|
71
|
-
routing:
|
|
72
|
-
security_review: "#security-approvals"
|
|
73
|
-
production_deploy: "#prod-approvals"
|
|
74
|
-
|
|
75
|
-
email:
|
|
76
|
-
smtp:
|
|
77
|
-
host: "smtp.company.com"
|
|
78
|
-
port: 587
|
|
79
|
-
from: "approvals@company.com"
|
|
80
|
-
|
|
81
|
-
teams:
|
|
82
|
-
webhook_url_env: "TEAMS_WEBHOOK_URL"
|
|
83
|
-
|
|
84
|
-
pagerduty:
|
|
85
|
-
api_key_env: "PAGERDUTY_API_KEY"
|
|
86
|
-
service_id: "P123ABC"
|
|
87
|
-
# Only for urgent approvals
|
|
88
|
-
events: ["approval_escalated"]
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
## Notification Templates
|
|
94
|
-
|
|
95
|
-
### Slack Templates
|
|
96
|
-
|
|
97
|
-
```yaml
|
|
98
|
-
approvals:
|
|
99
|
-
notifications:
|
|
100
|
-
templates:
|
|
101
|
-
approval_request:
|
|
102
|
-
slack:
|
|
103
|
-
blocks:
|
|
104
|
-
- type: "header"
|
|
105
|
-
text: "🔔 Approval Required"
|
|
106
|
-
- type: "section"
|
|
107
|
-
fields:
|
|
108
|
-
- "*Feature:*\n{{feature.name}}"
|
|
109
|
-
- "*Requester:*\n{{requester.name}}"
|
|
110
|
-
- "*Stage:*\n{{stage.name}}"
|
|
111
|
-
- type: "section"
|
|
112
|
-
text: "{{description}}"
|
|
113
|
-
- type: "actions"
|
|
114
|
-
elements:
|
|
115
|
-
- type: "button"
|
|
116
|
-
text: "Review"
|
|
117
|
-
url: "{{review_url}}"
|
|
118
|
-
style: "primary"
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### Email Templates
|
|
122
|
-
|
|
123
|
-
```yaml
|
|
124
|
-
approvals:
|
|
125
|
-
notifications:
|
|
126
|
-
templates:
|
|
127
|
-
approval_request:
|
|
128
|
-
email:
|
|
129
|
-
subject: "[Action Required] Approval needed: {{feature.name}}"
|
|
130
|
-
body: |
|
|
131
|
-
Hi {{approver.name}},
|
|
132
|
-
|
|
133
|
-
Your approval is required for:
|
|
134
|
-
|
|
135
|
-
**Feature:** {{feature.name}}
|
|
136
|
-
**Requester:** {{requester.name}}
|
|
137
|
-
**Stage:** {{stage.name}}
|
|
138
|
-
|
|
139
|
-
**Description:**
|
|
140
|
-
{{description}}
|
|
141
|
-
|
|
142
|
-
Please review and approve at:
|
|
143
|
-
{{review_url}}
|
|
144
|
-
|
|
145
|
-
This request will expire in {{timeout}}.
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
ProAgents Approval System
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
---
|
|
152
|
-
|
|
153
|
-
## Reminder Configuration
|
|
154
|
-
|
|
155
|
-
### Reminder Schedule
|
|
156
|
-
|
|
157
|
-
```yaml
|
|
158
|
-
approvals:
|
|
159
|
-
notifications:
|
|
160
|
-
reminders:
|
|
161
|
-
enabled: true
|
|
162
|
-
|
|
163
|
-
schedule:
|
|
164
|
-
# First reminder
|
|
165
|
-
- after: "4h"
|
|
166
|
-
message: "Reminder: Approval pending for {{feature.name}}"
|
|
167
|
-
|
|
168
|
-
# Second reminder
|
|
169
|
-
- after: "12h"
|
|
170
|
-
message: "Second reminder: Approval still pending"
|
|
171
|
-
escalate: false
|
|
172
|
-
|
|
173
|
-
# Final reminder before escalation
|
|
174
|
-
- after: "20h"
|
|
175
|
-
message: "Final reminder: Will escalate in 4 hours"
|
|
176
|
-
escalate_warning: true
|
|
177
|
-
|
|
178
|
-
# Business hours only
|
|
179
|
-
business_hours:
|
|
180
|
-
enabled: true
|
|
181
|
-
start: "09:00"
|
|
182
|
-
end: "18:00"
|
|
183
|
-
timezone: "America/New_York"
|
|
184
|
-
skip_weekends: true
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
---
|
|
188
|
-
|
|
189
|
-
## Escalation Notifications
|
|
190
|
-
|
|
191
|
-
### Escalation Setup
|
|
192
|
-
|
|
193
|
-
```yaml
|
|
194
|
-
approvals:
|
|
195
|
-
notifications:
|
|
196
|
-
escalation:
|
|
197
|
-
# Notify when escalating
|
|
198
|
-
notify_original_approvers: true
|
|
199
|
-
notify_escalation_target: true
|
|
200
|
-
notify_requester: true
|
|
201
|
-
|
|
202
|
-
template:
|
|
203
|
-
subject: "⚠️ Escalated: {{feature.name}} approval"
|
|
204
|
-
message: |
|
|
205
|
-
This approval has been escalated due to timeout.
|
|
206
|
-
|
|
207
|
-
Original approvers: {{original_approvers}}
|
|
208
|
-
Escalated to: {{escalation_target}}
|
|
209
|
-
Pending since: {{pending_duration}}
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
---
|
|
213
|
-
|
|
214
|
-
## Recipient Configuration
|
|
215
|
-
|
|
216
|
-
### Dynamic Recipients
|
|
217
|
-
|
|
218
|
-
```yaml
|
|
219
|
-
approvals:
|
|
220
|
-
notifications:
|
|
221
|
-
recipients:
|
|
222
|
-
# Always notify
|
|
223
|
-
always:
|
|
224
|
-
- "{{requester.email}}"
|
|
225
|
-
|
|
226
|
-
# Based on stage
|
|
227
|
-
by_stage:
|
|
228
|
-
code_review:
|
|
229
|
-
- "{{codeowners}}"
|
|
230
|
-
- "@tech-leads"
|
|
231
|
-
|
|
232
|
-
security_review:
|
|
233
|
-
- "@security-team"
|
|
234
|
-
|
|
235
|
-
production_deploy:
|
|
236
|
-
- "@devops"
|
|
237
|
-
- "{{manager.email}}"
|
|
238
|
-
|
|
239
|
-
# Escalation chain
|
|
240
|
-
escalation:
|
|
241
|
-
- level: 1
|
|
242
|
-
recipients: ["@tech-leads"]
|
|
243
|
-
- level: 2
|
|
244
|
-
recipients: ["@engineering-managers"]
|
|
245
|
-
- level: 3
|
|
246
|
-
recipients: ["@directors"]
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
---
|
|
250
|
-
|
|
251
|
-
## Notification Preferences
|
|
252
|
-
|
|
253
|
-
### User Preferences
|
|
254
|
-
|
|
255
|
-
```yaml
|
|
256
|
-
approvals:
|
|
257
|
-
notifications:
|
|
258
|
-
user_preferences:
|
|
259
|
-
enabled: true
|
|
260
|
-
|
|
261
|
-
# Users can configure
|
|
262
|
-
configurable:
|
|
263
|
-
- channels # Which channels to use
|
|
264
|
-
- frequency # Immediate vs digest
|
|
265
|
-
- quiet_hours # Do not disturb
|
|
266
|
-
|
|
267
|
-
defaults:
|
|
268
|
-
channels: ["slack", "email"]
|
|
269
|
-
frequency: "immediate"
|
|
270
|
-
quiet_hours:
|
|
271
|
-
enabled: false
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### Digest Mode
|
|
275
|
-
|
|
276
|
-
```yaml
|
|
277
|
-
approvals:
|
|
278
|
-
notifications:
|
|
279
|
-
digest:
|
|
280
|
-
enabled: true
|
|
281
|
-
|
|
282
|
-
# Combine notifications
|
|
283
|
-
schedule: "0 9 * * *" # Daily at 9 AM
|
|
284
|
-
|
|
285
|
-
template:
|
|
286
|
-
subject: "Daily Approval Summary"
|
|
287
|
-
include:
|
|
288
|
-
- pending_approvals
|
|
289
|
-
- completed_approvals
|
|
290
|
-
- upcoming_deadlines
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
---
|
|
294
|
-
|
|
295
|
-
## Commands
|
|
296
|
-
|
|
297
|
-
```bash
|
|
298
|
-
# Test notification
|
|
299
|
-
proagents approvals test-notification --event approval_requested
|
|
300
|
-
|
|
301
|
-
# View notification history
|
|
302
|
-
proagents approvals notifications --last 24h
|
|
303
|
-
|
|
304
|
-
# Configure preferences
|
|
305
|
-
proagents approvals preferences set --channel slack --frequency immediate
|
|
306
|
-
|
|
307
|
-
# Mute notifications temporarily
|
|
308
|
-
proagents approvals mute --duration 2h
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
---
|
|
312
|
-
|
|
313
|
-
## Best Practices
|
|
314
|
-
|
|
315
|
-
1. **Don't Over-Notify**: Balance urgency with noise
|
|
316
|
-
2. **Use Right Channels**: Urgent → Slack/PagerDuty, Normal → Email
|
|
317
|
-
3. **Clear Templates**: Include all needed context
|
|
318
|
-
4. **Respect Time Zones**: Send during business hours
|
|
319
|
-
5. **Allow Preferences**: Let users configure their notifications
|
|
320
|
-
6. **Track Delivery**: Monitor notification delivery rates
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
# Audit Trail & Compliance
|
|
2
|
-
|
|
3
|
-
Complete audit logging and compliance features for regulated environments.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
ProAgents provides comprehensive audit logging and compliance features for organizations requiring regulatory compliance (SOC 2, GDPR, HIPAA, PCI-DSS).
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
13
|
-
│ Compliance System │
|
|
14
|
-
├─────────────────────────────────────────────────────────────┤
|
|
15
|
-
│ │
|
|
16
|
-
│ Audit Logging ────────────────────────────────────────── │
|
|
17
|
-
│ ├── All code changes tracked │
|
|
18
|
-
│ ├── All access logged │
|
|
19
|
-
│ ├── All deployments recorded │
|
|
20
|
-
│ └── All approvals documented │
|
|
21
|
-
│ │
|
|
22
|
-
│ Compliance Features ──────────────────────────────────── │
|
|
23
|
-
│ ├── Immutable audit logs │
|
|
24
|
-
│ ├── Retention policies │
|
|
25
|
-
│ ├── Access control tracking │
|
|
26
|
-
│ └── Compliance reports │
|
|
27
|
-
│ │
|
|
28
|
-
│ Supported Standards ──────────────────────────────────── │
|
|
29
|
-
│ ├── SOC 2 Type II │
|
|
30
|
-
│ ├── GDPR │
|
|
31
|
-
│ ├── HIPAA │
|
|
32
|
-
│ ├── PCI-DSS │
|
|
33
|
-
│ └── ISO 27001 │
|
|
34
|
-
│ │
|
|
35
|
-
└─────────────────────────────────────────────────────────────┘
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Quick Start
|
|
41
|
-
|
|
42
|
-
### Enable Compliance Mode
|
|
43
|
-
|
|
44
|
-
```yaml
|
|
45
|
-
# proagents.config.yaml
|
|
46
|
-
|
|
47
|
-
compliance:
|
|
48
|
-
enabled: true
|
|
49
|
-
level: "standard" # basic, standard, strict
|
|
50
|
-
|
|
51
|
-
frameworks:
|
|
52
|
-
- "soc2"
|
|
53
|
-
- "gdpr"
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### View Audit Trail
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
# View recent audit events
|
|
60
|
-
proagents audit list
|
|
61
|
-
|
|
62
|
-
# View specific event
|
|
63
|
-
proagents audit show event-123
|
|
64
|
-
|
|
65
|
-
# Generate compliance report
|
|
66
|
-
proagents compliance report --framework soc2
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## Features
|
|
72
|
-
|
|
73
|
-
| Feature | Description |
|
|
74
|
-
|---------|-------------|
|
|
75
|
-
| **Immutable Logs** | Write-once audit logs with cryptographic verification |
|
|
76
|
-
| **Complete Tracking** | All changes, access, and actions logged |
|
|
77
|
-
| **Retention Policies** | Configurable data retention by event type |
|
|
78
|
-
| **Access Control** | Track all access to code and systems |
|
|
79
|
-
| **Compliance Reports** | Generate reports for auditors |
|
|
80
|
-
| **Evidence Collection** | Automated evidence gathering |
|
|
81
|
-
|
|
82
|
-
---
|
|
83
|
-
|
|
84
|
-
## Documentation Files
|
|
85
|
-
|
|
86
|
-
| File | Description |
|
|
87
|
-
|------|-------------|
|
|
88
|
-
| [audit-logging.md](./audit-logging.md) | Audit log structure and events |
|
|
89
|
-
| [compliance-frameworks.md](./compliance-frameworks.md) | Supported compliance frameworks |
|
|
90
|
-
| [retention-policies.md](./retention-policies.md) | Data retention configuration |
|
|
91
|
-
| [reports.md](./reports.md) | Compliance report generation |
|
|
92
|
-
| [access-control.md](./access-control.md) | Access tracking and control |
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
## Audit Event Types
|
|
97
|
-
|
|
98
|
-
### Code Changes
|
|
99
|
-
- File modifications
|
|
100
|
-
- Commits and merges
|
|
101
|
-
- Branch operations
|
|
102
|
-
- PR activity
|
|
103
|
-
|
|
104
|
-
### Access Events
|
|
105
|
-
- Repository access
|
|
106
|
-
- Secrets access
|
|
107
|
-
- Production access
|
|
108
|
-
- Admin operations
|
|
109
|
-
|
|
110
|
-
### Deployment Events
|
|
111
|
-
- Staging deployments
|
|
112
|
-
- Production deployments
|
|
113
|
-
- Rollbacks
|
|
114
|
-
- Configuration changes
|
|
115
|
-
|
|
116
|
-
### Security Events
|
|
117
|
-
- Failed login attempts
|
|
118
|
-
- Permission changes
|
|
119
|
-
- Security scan results
|
|
120
|
-
- Vulnerability findings
|
|
121
|
-
|
|
122
|
-
---
|
|
123
|
-
|
|
124
|
-
## Compliance Dashboard
|
|
125
|
-
|
|
126
|
-
```
|
|
127
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
128
|
-
│ Compliance Dashboard │
|
|
129
|
-
├─────────────────────────────────────────────────────────────┤
|
|
130
|
-
│ │
|
|
131
|
-
│ Frameworks: │
|
|
132
|
-
│ ├── SOC 2: ✅ Compliant (Last audit: Jan 15) │
|
|
133
|
-
│ ├── GDPR: ✅ Compliant │
|
|
134
|
-
│ └── PCI-DSS: ⚠️ Review needed (2 items) │
|
|
135
|
-
│ │
|
|
136
|
-
│ Audit Events (Last 30 days): │
|
|
137
|
-
│ ├── Total: 1,234 │
|
|
138
|
-
│ ├── Code Changes: 892 │
|
|
139
|
-
│ ├── Access Events: 297 │
|
|
140
|
-
│ └── Deployments: 45 │
|
|
141
|
-
│ │
|
|
142
|
-
│ Pending Actions: │
|
|
143
|
-
│ ├── 2 access reviews due │
|
|
144
|
-
│ └── 1 policy update required │
|
|
145
|
-
│ │
|
|
146
|
-
└─────────────────────────────────────────────────────────────┘
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
---
|
|
150
|
-
|
|
151
|
-
## Configuration
|
|
152
|
-
|
|
153
|
-
```yaml
|
|
154
|
-
# proagents.config.yaml
|
|
155
|
-
|
|
156
|
-
compliance:
|
|
157
|
-
enabled: true
|
|
158
|
-
|
|
159
|
-
# Compliance level
|
|
160
|
-
level: "strict" # basic, standard, strict
|
|
161
|
-
|
|
162
|
-
# Active frameworks
|
|
163
|
-
frameworks:
|
|
164
|
-
- "soc2"
|
|
165
|
-
- "gdpr"
|
|
166
|
-
- "hipaa"
|
|
167
|
-
|
|
168
|
-
# Audit settings
|
|
169
|
-
audit:
|
|
170
|
-
enabled: true
|
|
171
|
-
immutable: true
|
|
172
|
-
signed: true # Cryptographic signing
|
|
173
|
-
|
|
174
|
-
# Retention (days)
|
|
175
|
-
retention:
|
|
176
|
-
security_events: 2555 # 7 years
|
|
177
|
-
code_changes: 1825 # 5 years
|
|
178
|
-
deployments: 1095 # 3 years
|
|
179
|
-
access_logs: 365 # 1 year
|
|
180
|
-
|
|
181
|
-
# Notifications
|
|
182
|
-
alerts:
|
|
183
|
-
compliance_violation: true
|
|
184
|
-
retention_expiry: true
|
|
185
|
-
access_anomaly: true
|
|
186
|
-
|
|
187
|
-
# Reports
|
|
188
|
-
reports:
|
|
189
|
-
auto_generate: true
|
|
190
|
-
schedule: "monthly"
|
|
191
|
-
recipients:
|
|
192
|
-
- "compliance@company.com"
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
|
-
## Commands
|
|
198
|
-
|
|
199
|
-
| Command | Description |
|
|
200
|
-
|---------|-------------|
|
|
201
|
-
| `proagents audit list` | List audit events |
|
|
202
|
-
| `proagents audit show <id>` | Show event details |
|
|
203
|
-
| `proagents audit export` | Export audit logs |
|
|
204
|
-
| `proagents compliance status` | Show compliance status |
|
|
205
|
-
| `proagents compliance report` | Generate compliance report |
|
|
206
|
-
| `proagents compliance check` | Run compliance check |
|