proagents 1.6.20 → 1.6.21

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 (121) hide show
  1. package/.proagents/custom-commands.yaml +0 -1
  2. package/.proagents/docs/command-details.md +1 -2
  3. package/.proagents/getting-started/ai-training-setup.md +0 -1
  4. package/.proagents/performance/README.md +59 -0
  5. package/.proagents/performance/bundle-analysis.md +375 -0
  6. package/.proagents/performance/load-testing.md +563 -0
  7. package/.proagents/performance/runtime-metrics.md +489 -0
  8. package/.proagents/performance/web-vitals.md +425 -0
  9. package/.proagents/proagents.config.yaml +0 -1
  10. package/.proagents/workflow-modes/entry-modes.md +1 -6
  11. package/lib/commands/init.js +57 -8
  12. package/package.json +1 -1
  13. package/.proagents/api-versioning/README.md +0 -257
  14. package/.proagents/api-versioning/changelog-template.md +0 -225
  15. package/.proagents/api-versioning/deprecation-workflow.md +0 -470
  16. package/.proagents/api-versioning/versioning-strategy.md +0 -291
  17. package/.proagents/automation/README.md +0 -38
  18. package/.proagents/automation/ai-behavior-rules.md +0 -339
  19. package/.proagents/automation/ai-prompt-injection.md +0 -331
  20. package/.proagents/automation/auto-decisions.md +0 -535
  21. package/.proagents/automation/decision-defaults.yaml +0 -317
  22. package/.proagents/cache/README.md +0 -110
  23. package/.proagents/cache/analysis-metadata.json +0 -76
  24. package/.proagents/cache/conventions.json +0 -125
  25. package/.proagents/cache/dependencies.json +0 -85
  26. package/.proagents/cache/features.json +0 -115
  27. package/.proagents/cache/patterns.json +0 -105
  28. package/.proagents/cache/schemas/conventions-schema.json +0 -138
  29. package/.proagents/cache/schemas/dependencies-schema.json +0 -95
  30. package/.proagents/cache/schemas/features-schema.json +0 -104
  31. package/.proagents/cache/schemas/metadata-schema.json +0 -83
  32. package/.proagents/cache/schemas/patterns-schema.json +0 -136
  33. package/.proagents/cache/schemas/structure-schema.json +0 -72
  34. package/.proagents/cache/structure.json +0 -109
  35. package/.proagents/checklists/README.md +0 -261
  36. package/.proagents/checklists/code-quality.md +0 -137
  37. package/.proagents/checklists/code-review.md +0 -148
  38. package/.proagents/checklists/pr-checklist.md +0 -78
  39. package/.proagents/checklists/pre-deployment.md +0 -132
  40. package/.proagents/checklists/pre-implementation.md +0 -80
  41. package/.proagents/checklists/testing.md +0 -120
  42. package/.proagents/checkpoints.json +0 -13
  43. package/.proagents/cicd/README.md +0 -338
  44. package/.proagents/cicd/azure-devops.md +0 -267
  45. package/.proagents/cicd/github-actions.md +0 -375
  46. package/.proagents/cicd/gitlab-ci.md +0 -278
  47. package/.proagents/cicd/jenkins.md +0 -317
  48. package/.proagents/collaboration/README.md +0 -143
  49. package/.proagents/collaboration/roles.md +0 -248
  50. package/.proagents/collaboration/sessions.md +0 -390
  51. package/.proagents/collaboration/sync.md +0 -358
  52. package/.proagents/cost/README.md +0 -48
  53. package/.proagents/cost/cost-template.md +0 -283
  54. package/.proagents/cost/estimation-framework.md +0 -287
  55. package/.proagents/database/README.md +0 -72
  56. package/.proagents/database/examples/001-create-users.sql +0 -129
  57. package/.proagents/database/examples/002-add-preferences.sql +0 -94
  58. package/.proagents/database/examples/003-add-index.sql +0 -105
  59. package/.proagents/database/examples/004-rename-column.sql +0 -122
  60. package/.proagents/database/examples/005-add-foreign-key.sql +0 -142
  61. package/.proagents/database/examples/006-data-migration.sql +0 -196
  62. package/.proagents/database/examples/007-drop-column.sql +0 -163
  63. package/.proagents/database/examples/README.md +0 -89
  64. package/.proagents/database/migration-workflow.md +0 -478
  65. package/.proagents/database/rollback-scripts.md +0 -487
  66. package/.proagents/database/safety-checks.md +0 -447
  67. package/.proagents/git/README.md +0 -68
  68. package/.proagents/git/branch-strategy.md +0 -164
  69. package/.proagents/git/commit-conventions.md +0 -241
  70. package/.proagents/git/pr-workflow.md +0 -286
  71. package/.proagents/git/rollback-procedures.md +0 -416
  72. package/.proagents/ide-integration/README.md +0 -124
  73. package/.proagents/ide-integration/cline-config.md +0 -429
  74. package/.proagents/ide-integration/continue-config.md +0 -380
  75. package/.proagents/ide-integration/cursor-rules.md +0 -280
  76. package/.proagents/ide-integration/github-copilot.md +0 -384
  77. package/.proagents/ide-integration/windsurf-rules.md +0 -314
  78. package/.proagents/integrations/README.md +0 -97
  79. package/.proagents/integrations/pm/README.md +0 -344
  80. package/.proagents/learning/README.md +0 -136
  81. package/.proagents/learning/adaptation.md +0 -305
  82. package/.proagents/learning/data-collection.md +0 -283
  83. package/.proagents/learning/implementation-guide.md +0 -865
  84. package/.proagents/learning/reports.md +0 -306
  85. package/.proagents/mcp/README.md +0 -133
  86. package/.proagents/mcp/context-providers.md +0 -442
  87. package/.proagents/mcp/server-config.md +0 -306
  88. package/.proagents/mcp/tools-definition.md +0 -513
  89. package/.proagents/pm-integration/README.md +0 -151
  90. package/.proagents/pm-integration/asana.md +0 -346
  91. package/.proagents/pm-integration/github-issues.md +0 -308
  92. package/.proagents/pm-integration/gitlab-issues.md +0 -482
  93. package/.proagents/pm-integration/jira.md +0 -364
  94. package/.proagents/pm-integration/linear.md +0 -409
  95. package/.proagents/pm-integration/notion.md +0 -275
  96. package/.proagents/pm-integration/sync-config.md +0 -533
  97. package/.proagents/pm-integration/trello.md +0 -159
  98. package/.proagents/rules/README.md +0 -179
  99. package/.proagents/rules/custom-rules-template.yaml +0 -286
  100. package/.proagents/rules/custom-rules.md +0 -754
  101. package/.proagents/rules/validation-rules-template.yaml +0 -517
  102. package/.proagents/runbooks/README.md +0 -219
  103. package/.proagents/runbooks/dependency-vulnerability.md +0 -505
  104. package/.proagents/runbooks/incident-response.md +0 -451
  105. package/.proagents/runbooks/performance-degradation.md +0 -584
  106. package/.proagents/runbooks/production-debugging.md +0 -489
  107. package/.proagents/sprints/README.md +0 -58
  108. package/.proagents/team/README.md +0 -256
  109. package/.proagents/team/code-ownership.md +0 -306
  110. package/.proagents/team/communication-templates.md +0 -441
  111. package/.proagents/team/handoff-protocol.md +0 -380
  112. package/.proagents/team/ide-setup/README.md +0 -103
  113. package/.proagents/team/ide-setup/cursor.md +0 -276
  114. package/.proagents/team/ide-setup/jetbrains.md +0 -330
  115. package/.proagents/team/ide-setup/neovim.md +0 -640
  116. package/.proagents/team/ide-setup/vscode.md +0 -348
  117. package/.proagents/team/onboarding.md +0 -278
  118. package/.proagents/time-tracking.json +0 -19
  119. package/.proagents/troubleshooting/README.md +0 -730
  120. package/.proagents/troubleshooting/ai-issues.md +0 -601
  121. package/.proagents/troubleshooting/workflow-issues.md +0 -571
@@ -1,256 +0,0 @@
1
- # Team Collaboration
2
-
3
- Code ownership, handoffs, IDE setup, and team onboarding.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- ProAgents supports multi-developer workflows with clear ownership, communication templates, and comprehensive onboarding. This directory contains everything needed for effective team collaboration.
10
-
11
- ---
12
-
13
- ## Documentation
14
-
15
- ### Collaboration
16
-
17
- | Document | Description |
18
- |----------|-------------|
19
- | [Code Ownership](./code-ownership.md) | CODEOWNERS and module ownership |
20
- | [Handoff Protocol](./handoff-protocol.md) | Transferring work between developers |
21
- | [Communication Templates](./communication-templates.md) | Standard messages and notifications |
22
-
23
- ### Onboarding
24
-
25
- | Document | Description |
26
- |----------|-------------|
27
- | [Team Onboarding](./onboarding.md) | Complete guide for new team members |
28
- | [IDE Setup](./ide-setup/README.md) | Development environment configuration |
29
-
30
- ### IDE Setup Guides
31
-
32
- | IDE | Guide |
33
- |-----|-------|
34
- | VS Code | [vscode.md](./ide-setup/vscode.md) |
35
- | Cursor | [cursor.md](./ide-setup/cursor.md) |
36
- | JetBrains | [jetbrains.md](./ide-setup/jetbrains.md) |
37
-
38
- ---
39
-
40
- ## Quick Start
41
-
42
- ### For New Team Members
43
-
44
- 1. Follow the [Onboarding Guide](./onboarding.md)
45
- 2. Set up your IDE with [IDE Setup](./ide-setup/README.md)
46
- 3. Review [Coding Standards](../standards/README.md)
47
- 4. Read the [Workflow Guide](../WORKFLOW.md)
48
-
49
- ### For Existing Team
50
-
51
- ```bash
52
- # View code owners for a path
53
- proagents team owners src/auth/
54
-
55
- # Create handoff document
56
- proagents team handoff feature-123
57
-
58
- # Notify team
59
- proagents team notify "Feature ready for review"
60
-
61
- # Check team assignments
62
- proagents team status
63
- ```
64
-
65
- ---
66
-
67
- ## Code Ownership
68
-
69
- ### CODEOWNERS Integration
70
-
71
- ```
72
- # CODEOWNERS file
73
- /src/auth/* @security-team
74
- /src/payments/* @payments-team
75
- /src/ui/* @frontend-team
76
- /src/api/* @backend-team
77
- *.md @docs-team
78
- ```
79
-
80
- ### Ownership Commands
81
-
82
- ```bash
83
- # Check who owns a file
84
- proagents team owners src/auth/login.ts
85
-
86
- # Assign reviewer based on ownership
87
- proagents team assign-reviewers
88
-
89
- # View all ownership mappings
90
- proagents team ownership-report
91
- ```
92
-
93
- ---
94
-
95
- ## Handoff Protocol
96
-
97
- When transferring work between developers:
98
-
99
- ### Handoff Checklist
100
-
101
- - [ ] Document current status (phase, progress percentage)
102
- - [ ] List remaining tasks
103
- - [ ] Note any blockers or dependencies
104
- - [ ] Provide context (decisions made, alternatives considered)
105
- - [ ] Update issue/task assignments
106
- - [ ] Notify stakeholders
107
-
108
- ### Create Handoff Document
109
-
110
- ```bash
111
- proagents team handoff feature-user-auth
112
- ```
113
-
114
- This generates a handoff document with:
115
- - Current status
116
- - Work completed
117
- - Work remaining
118
- - Important context
119
- - Known issues
120
-
121
- ---
122
-
123
- ## Communication
124
-
125
- ### Templates Available
126
-
127
- | Template | Use Case |
128
- |----------|----------|
129
- | Feature Start | Announce new feature work |
130
- | Feature Complete | Announce completion |
131
- | Blocker Alert | Report blocking issue |
132
- | Review Request | Request code review |
133
- | Deploy Notification | Announce deployment |
134
-
135
- ### Using Templates
136
-
137
- ```bash
138
- # Use a template
139
- proagents team notify --template feature-complete
140
-
141
- # Custom message
142
- proagents team notify "Custom message here"
143
- ```
144
-
145
- ---
146
-
147
- ## Configuration
148
-
149
- ```yaml
150
- # proagents.config.yaml
151
- team:
152
- # Code ownership
153
- codeowners:
154
- enabled: true
155
- file: "CODEOWNERS"
156
- enforce_reviews: true
157
-
158
- # Handoff requirements
159
- handoffs:
160
- require_document: true
161
- notify_stakeholders: true
162
- include_checklist: true
163
-
164
- # Notifications
165
- notifications:
166
- enabled: true
167
- channels:
168
- default: "slack:#dev-team"
169
- urgent: "slack:#dev-alerts"
170
- deployments: "slack:#deployments"
171
-
172
- # Onboarding
173
- onboarding:
174
- mentor_assignment: true
175
- buddy_system: true
176
- checklist_tracking: true
177
-
178
- # Collaboration settings
179
- collaboration:
180
- require_reviewers: 1
181
- auto_assign_reviewers: true
182
- use_codeowners: true
183
- ```
184
-
185
- ---
186
-
187
- ## Team Workflows
188
-
189
- ### Daily Standups
190
-
191
- ```bash
192
- # Generate standup summary
193
- proagents team standup
194
-
195
- # Shows:
196
- # - Features in progress
197
- # - Blockers
198
- # - PRs awaiting review
199
- ```
200
-
201
- ### Weekly Reports
202
-
203
- ```bash
204
- # Generate weekly report
205
- proagents team weekly-report
206
-
207
- # Shows:
208
- # - Features completed
209
- # - PRs merged
210
- # - Code coverage changes
211
- # - Velocity metrics
212
- ```
213
-
214
- ---
215
-
216
- ## Best Practices
217
-
218
- ### Code Reviews
219
-
220
- 1. Review within 24 hours
221
- 2. Provide constructive feedback
222
- 3. Use ProAgents checklists
223
- 4. Focus on patterns and standards
224
-
225
- ### Handoffs
226
-
227
- 1. Document everything
228
- 2. Schedule walkthrough if complex
229
- 3. Ensure all context is captured
230
- 4. Verify new owner has access
231
-
232
- ### Communication
233
-
234
- 1. Use templates for consistency
235
- 2. Include relevant links
236
- 3. Tag appropriate people
237
- 4. Keep updates concise
238
-
239
- ---
240
-
241
- ## Troubleshooting
242
-
243
- ### Common Issues
244
-
245
- | Issue | Solution |
246
- |-------|----------|
247
- | No reviewers assigned | Check CODEOWNERS file |
248
- | Handoff document incomplete | Use checklist template |
249
- | Notifications not sending | Check integration config |
250
- | Onboarding steps unclear | Follow step-by-step guide |
251
-
252
- ### Getting Help
253
-
254
- - **Team channel**: #dev-help
255
- - **Documentation**: This directory
256
- - **Escalation**: Tech lead
@@ -1,306 +0,0 @@
1
- # Code Ownership Guide
2
-
3
- Define and manage code ownership for effective collaboration.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- Code ownership helps:
10
- - Ensure quality through accountability
11
- - Route PRs to right reviewers
12
- - Maintain consistent standards per area
13
- - Enable faster decision making
14
-
15
- ---
16
-
17
- ## CODEOWNERS File
18
-
19
- ### Setup
20
-
21
- Create `.github/CODEOWNERS` file:
22
-
23
- ```
24
- # CODEOWNERS file
25
-
26
- # Default owners (required reviewers for all PRs)
27
- * @tech-lead
28
-
29
- # Frontend
30
- /src/components/ @frontend-team
31
- /src/pages/ @frontend-team
32
- /src/styles/ @frontend-team @design-team
33
-
34
- # Backend API
35
- /api/ @backend-team
36
- /src/services/ @backend-team
37
-
38
- # Database
39
- /migrations/ @backend-team @dba-team
40
- /prisma/ @backend-team @dba-team
41
-
42
- # Infrastructure
43
- /.github/ @devops-team
44
- /terraform/ @devops-team
45
- /docker/ @devops-team
46
- Dockerfile @devops-team
47
-
48
- # Authentication/Security
49
- /src/auth/ @security-team @backend-team
50
- /src/middleware/auth* @security-team
51
-
52
- # Documentation
53
- *.md @docs-team
54
- /docs/ @docs-team
55
-
56
- # Configuration
57
- package.json @tech-lead
58
- tsconfig.json @tech-lead
59
- .env.example @devops-team
60
-
61
- # Tests
62
- /tests/ @qa-team
63
- /__tests__/ @qa-team
64
- *.test.ts @qa-team
65
- *.spec.ts @qa-team
66
-
67
- # Critical paths (multiple approvers)
68
- /src/payments/ @backend-team @security-team @tech-lead
69
- ```
70
-
71
- ### Rules
72
-
73
- - Later rules override earlier ones
74
- - Use `@username` or `@org/team`
75
- - Each owner must approve
76
- - Empty pattern matches all files
77
-
78
- ---
79
-
80
- ## Ownership Responsibilities
81
-
82
- ### Code Owner Duties
83
-
84
- | Responsibility | Description |
85
- |---------------|-------------|
86
- | Review PRs | Review all PRs to owned area within SLA |
87
- | Maintain Quality | Ensure code meets standards |
88
- | Documentation | Keep docs for owned area current |
89
- | On-call | Be available for issues in owned area |
90
- | Mentoring | Help others understand the code |
91
-
92
- ### Review SLAs
93
-
94
- | PR Size | Review Time |
95
- |---------|-------------|
96
- | Small (< 100 lines) | 4 hours |
97
- | Medium (100-500 lines) | 1 business day |
98
- | Large (> 500 lines) | 2 business days |
99
- | Critical (security/breaking) | 2 hours |
100
-
101
- ---
102
-
103
- ## Ownership Matrix
104
-
105
- ### By Feature Area
106
-
107
- | Area | Primary Owner | Secondary | Escalation |
108
- |------|---------------|-----------|------------|
109
- | Authentication | @auth-lead | @backend-team | @security-team |
110
- | User Management | @user-lead | @backend-team | @tech-lead |
111
- | Payments | @payment-lead | @backend-team | @finance-team |
112
- | Dashboard | @frontend-lead | @frontend-team | @tech-lead |
113
- | API Gateway | @api-lead | @backend-team | @tech-lead |
114
- | Mobile App | @mobile-lead | @mobile-team | @tech-lead |
115
-
116
- ### By Service
117
-
118
- | Service | Team | Owner | Backup |
119
- |---------|------|-------|--------|
120
- | web-frontend | Frontend | @alice | @bob |
121
- | api-gateway | Backend | @carol | @dave |
122
- | user-service | Backend | @eve | @frank |
123
- | payment-service | Backend | @grace | @henry |
124
- | mobile-app | Mobile | @iris | @jack |
125
-
126
- ---
127
-
128
- ## Assigning Ownership
129
-
130
- ### New Code
131
-
132
- When creating new modules:
133
-
134
- 1. Identify appropriate team/owner
135
- 2. Add to CODEOWNERS file
136
- 3. Document ownership in README
137
- 4. Set up monitoring alerts
138
-
139
- ```markdown
140
- <!-- Module README.md -->
141
- # User Service
142
-
143
- ## Ownership
144
-
145
- | Role | Contact |
146
- |------|---------|
147
- | Owner | @user-team |
148
- | Primary Contact | @alice |
149
- | Escalation | @tech-lead |
150
-
151
- ## On-call Rotation
152
- - Week 1: @alice
153
- - Week 2: @bob
154
- - Week 3: @carol
155
- ```
156
-
157
- ### Transferring Ownership
158
-
159
- ```markdown
160
- ## Ownership Transfer Checklist
161
-
162
- **From:** @current-owner
163
- **To:** @new-owner
164
- **Area:** /src/feature/
165
-
166
- - [ ] Knowledge transfer sessions completed
167
- - [ ] Documentation reviewed and updated
168
- - [ ] Access permissions updated
169
- - [ ] CODEOWNERS file updated
170
- - [ ] On-call rotation updated
171
- - [ ] Alerts/monitoring updated
172
- - [ ] Team notified
173
- ```
174
-
175
- ---
176
-
177
- ## PR Review Process
178
-
179
- ### Automatic Assignment
180
-
181
- GitHub automatically assigns reviewers based on CODEOWNERS:
182
-
183
- ```yaml
184
- # .github/workflows/assign-reviewers.yml
185
- name: Auto Assign Reviewers
186
-
187
- on:
188
- pull_request:
189
- types: [opened, ready_for_review]
190
-
191
- jobs:
192
- assign:
193
- runs-on: ubuntu-latest
194
- steps:
195
- - uses: actions/checkout@v3
196
-
197
- - name: Assign reviewers
198
- uses: kentaro-m/auto-assign-action@v1.2.4
199
- with:
200
- configuration-path: '.github/auto-assign.yml'
201
- ```
202
-
203
- ### Review Requirements
204
-
205
- ```yaml
206
- # Branch protection rules
207
- main:
208
- required_reviews: 2
209
- require_code_owner_reviews: true
210
- dismiss_stale_reviews: true
211
- require_review_from_maintainers: true
212
- ```
213
-
214
- ---
215
-
216
- ## Conflict Resolution
217
-
218
- ### When Owners Disagree
219
-
220
- 1. **Discussion** - Owners discuss in PR comments
221
- 2. **Sync Meeting** - Schedule quick call if needed
222
- 3. **Escalation** - Tech lead makes final decision
223
- 4. **Documentation** - Document decision rationale
224
-
225
- ### Ownership Disputes
226
-
227
- | Scenario | Resolution |
228
- |----------|------------|
229
- | Unclear ownership | Tech lead decides |
230
- | Overlapping areas | Define boundaries, update CODEOWNERS |
231
- | Abandoned ownership | Reassign with knowledge transfer |
232
- | New team structure | Update all ownership docs |
233
-
234
- ---
235
-
236
- ## Metrics
237
-
238
- ### Ownership Health
239
-
240
- ```markdown
241
- ## Code Ownership Report
242
-
243
- ### Coverage
244
- - Total files: 1,234
245
- - Files with owners: 1,200 (97%)
246
- - Orphaned files: 34 (3%)
247
-
248
- ### Review Performance (Last 30 Days)
249
- | Team | Avg Review Time | Reviews Completed |
250
- |------|-----------------|-------------------|
251
- | Frontend | 6 hours | 45 |
252
- | Backend | 8 hours | 62 |
253
- | Mobile | 12 hours | 23 |
254
-
255
- ### Areas Needing Attention
256
- - /src/legacy/ - No owner assigned
257
- - /src/utils/ - Owner on leave, need backup
258
- ```
259
-
260
- ---
261
-
262
- ## Best Practices
263
-
264
- 1. **Clear Boundaries** - Define ownership precisely
265
- 2. **Backup Owners** - Always have secondary owner
266
- 3. **Regular Review** - Review ownership quarterly
267
- 4. **Documentation** - Keep ownership docs current
268
- 5. **Knowledge Sharing** - Avoid single point of failure
269
- 6. **Responsive** - Meet review SLAs
270
- 7. **Collaborative** - Work with other owners on overlap
271
-
272
- ---
273
-
274
- ## Configuration
275
-
276
- ```yaml
277
- # proagents.config.yaml
278
- ownership:
279
- enabled: true
280
- file: ".github/CODEOWNERS"
281
-
282
- review_sla:
283
- small: "4h"
284
- medium: "1d"
285
- large: "2d"
286
- critical: "2h"
287
-
288
- alerts:
289
- stale_review: true
290
- orphaned_code: true
291
- ownership_gaps: true
292
-
293
- reporting:
294
- frequency: "weekly"
295
- notify: ["tech-lead@company.com"]
296
- ```
297
-
298
- ---
299
-
300
- ## Commands
301
-
302
- | Command | Description |
303
- |---------|-------------|
304
- | `pa:owner [path]` | Show owner for path |
305
- | `pa:ownership-report` | Generate ownership report |
306
- | `pa:assign-owner` | Assign ownership |