proagents 1.6.20 → 1.6.22

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 (136) hide show
  1. package/.claude/settings.local.json +3 -1
  2. package/.proagents/.cursorrules +1 -1
  3. package/.proagents/.windsurfrules +1 -1
  4. package/.proagents/AGENTS.md +1 -1
  5. package/.proagents/AI_INSTRUCTIONS.md +29 -1
  6. package/.proagents/BOLT.md +1 -1
  7. package/.proagents/CLAUDE.md +1 -1
  8. package/.proagents/GEMINI.md +1 -1
  9. package/.proagents/KIRO.md +1 -1
  10. package/.proagents/LOVABLE.md +1 -1
  11. package/.proagents/REPLIT.md +1 -1
  12. package/.proagents/custom-commands.yaml +1 -2
  13. package/.proagents/docs/command-details.md +1 -2
  14. package/.proagents/getting-started/ai-training-setup.md +0 -1
  15. package/.proagents/performance/README.md +59 -0
  16. package/.proagents/performance/bundle-analysis.md +375 -0
  17. package/.proagents/performance/load-testing.md +563 -0
  18. package/.proagents/performance/runtime-metrics.md +489 -0
  19. package/.proagents/performance/web-vitals.md +425 -0
  20. package/.proagents/proagents.config.yaml +55 -1
  21. package/.proagents/prompts/11-session-tracking.md +100 -0
  22. package/.proagents/prompts/13-commit.md +426 -0
  23. package/.proagents/workflow-modes/entry-modes.md +1 -6
  24. package/COMMANDS.md +19 -0
  25. package/lib/commands/init.js +62 -11
  26. package/package.json +1 -1
  27. package/.proagents/api-versioning/README.md +0 -257
  28. package/.proagents/api-versioning/changelog-template.md +0 -225
  29. package/.proagents/api-versioning/deprecation-workflow.md +0 -470
  30. package/.proagents/api-versioning/versioning-strategy.md +0 -291
  31. package/.proagents/automation/README.md +0 -38
  32. package/.proagents/automation/ai-behavior-rules.md +0 -339
  33. package/.proagents/automation/ai-prompt-injection.md +0 -331
  34. package/.proagents/automation/auto-decisions.md +0 -535
  35. package/.proagents/automation/decision-defaults.yaml +0 -317
  36. package/.proagents/cache/README.md +0 -110
  37. package/.proagents/cache/analysis-metadata.json +0 -76
  38. package/.proagents/cache/conventions.json +0 -125
  39. package/.proagents/cache/dependencies.json +0 -85
  40. package/.proagents/cache/features.json +0 -115
  41. package/.proagents/cache/patterns.json +0 -105
  42. package/.proagents/cache/schemas/conventions-schema.json +0 -138
  43. package/.proagents/cache/schemas/dependencies-schema.json +0 -95
  44. package/.proagents/cache/schemas/features-schema.json +0 -104
  45. package/.proagents/cache/schemas/metadata-schema.json +0 -83
  46. package/.proagents/cache/schemas/patterns-schema.json +0 -136
  47. package/.proagents/cache/schemas/structure-schema.json +0 -72
  48. package/.proagents/cache/structure.json +0 -109
  49. package/.proagents/checklists/README.md +0 -261
  50. package/.proagents/checklists/code-quality.md +0 -137
  51. package/.proagents/checklists/code-review.md +0 -148
  52. package/.proagents/checklists/pr-checklist.md +0 -78
  53. package/.proagents/checklists/pre-deployment.md +0 -132
  54. package/.proagents/checklists/pre-implementation.md +0 -80
  55. package/.proagents/checklists/testing.md +0 -120
  56. package/.proagents/checkpoints.json +0 -13
  57. package/.proagents/cicd/README.md +0 -338
  58. package/.proagents/cicd/azure-devops.md +0 -267
  59. package/.proagents/cicd/github-actions.md +0 -375
  60. package/.proagents/cicd/gitlab-ci.md +0 -278
  61. package/.proagents/cicd/jenkins.md +0 -317
  62. package/.proagents/collaboration/README.md +0 -143
  63. package/.proagents/collaboration/roles.md +0 -248
  64. package/.proagents/collaboration/sessions.md +0 -390
  65. package/.proagents/collaboration/sync.md +0 -358
  66. package/.proagents/cost/README.md +0 -48
  67. package/.proagents/cost/cost-template.md +0 -283
  68. package/.proagents/cost/estimation-framework.md +0 -287
  69. package/.proagents/database/README.md +0 -72
  70. package/.proagents/database/examples/001-create-users.sql +0 -129
  71. package/.proagents/database/examples/002-add-preferences.sql +0 -94
  72. package/.proagents/database/examples/003-add-index.sql +0 -105
  73. package/.proagents/database/examples/004-rename-column.sql +0 -122
  74. package/.proagents/database/examples/005-add-foreign-key.sql +0 -142
  75. package/.proagents/database/examples/006-data-migration.sql +0 -196
  76. package/.proagents/database/examples/007-drop-column.sql +0 -163
  77. package/.proagents/database/examples/README.md +0 -89
  78. package/.proagents/database/migration-workflow.md +0 -478
  79. package/.proagents/database/rollback-scripts.md +0 -487
  80. package/.proagents/database/safety-checks.md +0 -447
  81. package/.proagents/git/README.md +0 -68
  82. package/.proagents/git/branch-strategy.md +0 -164
  83. package/.proagents/git/commit-conventions.md +0 -241
  84. package/.proagents/git/pr-workflow.md +0 -286
  85. package/.proagents/git/rollback-procedures.md +0 -416
  86. package/.proagents/ide-integration/README.md +0 -124
  87. package/.proagents/ide-integration/cline-config.md +0 -429
  88. package/.proagents/ide-integration/continue-config.md +0 -380
  89. package/.proagents/ide-integration/cursor-rules.md +0 -280
  90. package/.proagents/ide-integration/github-copilot.md +0 -384
  91. package/.proagents/ide-integration/windsurf-rules.md +0 -314
  92. package/.proagents/integrations/README.md +0 -97
  93. package/.proagents/integrations/pm/README.md +0 -344
  94. package/.proagents/learning/README.md +0 -136
  95. package/.proagents/learning/adaptation.md +0 -305
  96. package/.proagents/learning/data-collection.md +0 -283
  97. package/.proagents/learning/implementation-guide.md +0 -865
  98. package/.proagents/learning/reports.md +0 -306
  99. package/.proagents/mcp/README.md +0 -133
  100. package/.proagents/mcp/context-providers.md +0 -442
  101. package/.proagents/mcp/server-config.md +0 -306
  102. package/.proagents/mcp/tools-definition.md +0 -513
  103. package/.proagents/pm-integration/README.md +0 -151
  104. package/.proagents/pm-integration/asana.md +0 -346
  105. package/.proagents/pm-integration/github-issues.md +0 -308
  106. package/.proagents/pm-integration/gitlab-issues.md +0 -482
  107. package/.proagents/pm-integration/jira.md +0 -364
  108. package/.proagents/pm-integration/linear.md +0 -409
  109. package/.proagents/pm-integration/notion.md +0 -275
  110. package/.proagents/pm-integration/sync-config.md +0 -533
  111. package/.proagents/pm-integration/trello.md +0 -159
  112. package/.proagents/rules/README.md +0 -179
  113. package/.proagents/rules/custom-rules-template.yaml +0 -286
  114. package/.proagents/rules/custom-rules.md +0 -754
  115. package/.proagents/rules/validation-rules-template.yaml +0 -517
  116. package/.proagents/runbooks/README.md +0 -219
  117. package/.proagents/runbooks/dependency-vulnerability.md +0 -505
  118. package/.proagents/runbooks/incident-response.md +0 -451
  119. package/.proagents/runbooks/performance-degradation.md +0 -584
  120. package/.proagents/runbooks/production-debugging.md +0 -489
  121. package/.proagents/sessions/README.md +0 -5
  122. package/.proagents/sprints/README.md +0 -58
  123. package/.proagents/team/README.md +0 -256
  124. package/.proagents/team/code-ownership.md +0 -306
  125. package/.proagents/team/communication-templates.md +0 -441
  126. package/.proagents/team/handoff-protocol.md +0 -380
  127. package/.proagents/team/ide-setup/README.md +0 -103
  128. package/.proagents/team/ide-setup/cursor.md +0 -276
  129. package/.proagents/team/ide-setup/jetbrains.md +0 -330
  130. package/.proagents/team/ide-setup/neovim.md +0 -640
  131. package/.proagents/team/ide-setup/vscode.md +0 -348
  132. package/.proagents/team/onboarding.md +0 -278
  133. package/.proagents/time-tracking.json +0 -19
  134. package/.proagents/troubleshooting/README.md +0 -730
  135. package/.proagents/troubleshooting/ai-issues.md +0 -601
  136. package/.proagents/troubleshooting/workflow-issues.md +0 -571
@@ -1,482 +0,0 @@
1
- # GitLab Issues Integration
2
-
3
- Connect ProAgents with GitLab for issue tracking and merge request management.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- ```
10
- ┌─────────────────────────────────────────────────────────────┐
11
- │ GitLab Integration │
12
- ├─────────────────────────────────────────────────────────────┤
13
- │ │
14
- │ ProAgents ←──────────→ GitLab API │
15
- │ │
16
- │ ┌─────────────┐ ┌─────────────┐ │
17
- │ │ Features │ ───▶ │ Issues │ │
18
- │ └─────────────┘ └─────────────┘ │
19
- │ │
20
- │ ┌─────────────┐ ┌─────────────┐ │
21
- │ │ Commits │ ───▶ │ Commits │ │
22
- │ └─────────────┘ └─────────────┘ │
23
- │ │
24
- │ ┌─────────────┐ ┌─────────────┐ │
25
- │ │ Deploy │ ───▶ │ MRs │ │
26
- │ └─────────────┘ └─────────────┘ │
27
- │ │
28
- └─────────────────────────────────────────────────────────────┘
29
- ```
30
-
31
- ---
32
-
33
- ## Configuration
34
-
35
- ### API Setup
36
-
37
- ```yaml
38
- pm_integration:
39
- gitlab:
40
- enabled: true
41
-
42
- # GitLab connection
43
- url: "https://gitlab.com" # or self-hosted
44
- api_version: "v4"
45
-
46
- # Authentication
47
- auth:
48
- type: "token" # token, oauth
49
- token_env: "GITLAB_TOKEN"
50
- # Required scopes: api, read_repository, write_repository
51
-
52
- # Project settings
53
- project:
54
- id: "12345678" # or "group/project"
55
- default_branch: "main"
56
- ```
57
-
58
- ### Issue Configuration
59
-
60
- ```yaml
61
- pm_integration:
62
- gitlab:
63
- issues:
64
- # Labels
65
- labels:
66
- feature: "feature"
67
- bug: "bug"
68
- enhancement: "enhancement"
69
- proagents: "proagents-managed"
70
-
71
- # Milestones
72
- milestones:
73
- link_to_sprint: true
74
- create_if_missing: false
75
-
76
- # Weights
77
- use_weights: true
78
- weight_mapping:
79
- small: 1
80
- medium: 3
81
- large: 5
82
- xlarge: 8
83
-
84
- # Assignees
85
- auto_assign: true
86
- assignee_field: "assignee_ids"
87
- ```
88
-
89
- ---
90
-
91
- ## Feature Sync
92
-
93
- ### Creating Issues
94
-
95
- ```yaml
96
- # When feature starts
97
- on_feature_start:
98
- gitlab:
99
- create_issue:
100
- title: "{{feature.name}}"
101
- description: |
102
- ## Feature Description
103
- {{feature.description}}
104
-
105
- ## Requirements
106
- {{feature.requirements}}
107
-
108
- ## Acceptance Criteria
109
- {{feature.acceptance_criteria}}
110
-
111
- ---
112
- *Managed by ProAgents*
113
-
114
- labels:
115
- - "{{feature.type}}"
116
- - "proagents-managed"
117
-
118
- milestone: "{{sprint.current}}"
119
- weight: "{{feature.estimated_weight}}"
120
- assignee_ids: ["{{developer.gitlab_id}}"]
121
- ```
122
-
123
- ### Issue Templates
124
-
125
- ```yaml
126
- pm_integration:
127
- gitlab:
128
- templates:
129
- feature: |
130
- ## Summary
131
- {{summary}}
132
-
133
- ## User Story
134
- As a {{user_type}}, I want {{goal}} so that {{benefit}}.
135
-
136
- ## Acceptance Criteria
137
- {{#each criteria}}
138
- - [ ] {{this}}
139
- {{/each}}
140
-
141
- ## Technical Notes
142
- {{technical_notes}}
143
-
144
- ## Design
145
- {{#if design_link}}
146
- [View Design]({{design_link}})
147
- {{/if}}
148
-
149
- /label ~feature ~proagents-managed
150
- /milestone %"{{milestone}}"
151
-
152
- bug: |
153
- ## Bug Description
154
- {{description}}
155
-
156
- ## Steps to Reproduce
157
- {{#each steps}}
158
- {{@index}}. {{this}}
159
- {{/each}}
160
-
161
- ## Expected Behavior
162
- {{expected}}
163
-
164
- ## Actual Behavior
165
- {{actual}}
166
-
167
- ## Environment
168
- - Browser: {{environment.browser}}
169
- - OS: {{environment.os}}
170
-
171
- /label ~bug ~proagents-managed
172
- /severity {{severity}}
173
- ```
174
-
175
- ---
176
-
177
- ## Merge Requests
178
-
179
- ### Auto-Create MRs
180
-
181
- ```yaml
182
- pm_integration:
183
- gitlab:
184
- merge_requests:
185
- auto_create: true
186
-
187
- # MR settings
188
- template: |
189
- ## Summary
190
- {{feature.summary}}
191
-
192
- ## Changes
193
- {{#each changes}}
194
- - {{this}}
195
- {{/each}}
196
-
197
- ## Related Issues
198
- Closes #{{issue.iid}}
199
-
200
- ## Checklist
201
- - [ ] Tests added
202
- - [ ] Documentation updated
203
- - [ ] Code reviewed
204
-
205
- ---
206
- *Created by ProAgents*
207
-
208
- # MR options
209
- options:
210
- remove_source_branch: true
211
- squash: true
212
- allow_collaboration: true
213
-
214
- # Labels
215
- labels:
216
- - "proagents"
217
- - "{{feature.type}}"
218
-
219
- # Reviewers
220
- reviewers:
221
- auto_assign: true
222
- from_codeowners: true
223
- ```
224
-
225
- ### MR Status Updates
226
-
227
- ```yaml
228
- pm_integration:
229
- gitlab:
230
- merge_requests:
231
- status_updates:
232
- # Add notes on phase changes
233
- on_phase_change: true
234
-
235
- # Pipeline status
236
- track_pipeline: true
237
-
238
- # Approval status
239
- track_approvals: true
240
- ```
241
-
242
- ---
243
-
244
- ## GitLab CI Integration
245
-
246
- ### Pipeline Triggers
247
-
248
- ```yaml
249
- pm_integration:
250
- gitlab:
251
- ci:
252
- # Trigger pipelines
253
- trigger_on:
254
- - feature_complete
255
- - tests_pass
256
- - pre_deployment
257
-
258
- # Variables
259
- variables:
260
- PROAGENTS_FEATURE: "{{feature.id}}"
261
- PROAGENTS_PHASE: "{{phase.current}}"
262
-
263
- # Wait for pipeline
264
- wait_for_pipeline: true
265
- timeout: "30m"
266
- ```
267
-
268
- ### Pipeline Status Tracking
269
-
270
- ```yaml
271
- pm_integration:
272
- gitlab:
273
- ci:
274
- status_tracking:
275
- # Update feature status based on pipeline
276
- on_success: "pipeline_passed"
277
- on_failure: "pipeline_failed"
278
-
279
- # Notifications
280
- notify_on_failure: true
281
- notify_channel: "slack:#dev"
282
- ```
283
-
284
- ---
285
-
286
- ## Labels & Milestones
287
-
288
- ### Label Management
289
-
290
- ```yaml
291
- pm_integration:
292
- gitlab:
293
- labels:
294
- # Sync labels
295
- sync_on_start: true
296
-
297
- # Required labels
298
- required:
299
- - name: "proagents-managed"
300
- color: "#428BCA"
301
- description: "Managed by ProAgents workflow"
302
-
303
- - name: "phase::analysis"
304
- color: "#7F8C8D"
305
- - name: "phase::implementation"
306
- color: "#3498DB"
307
- - name: "phase::testing"
308
- color: "#9B59B6"
309
- - name: "phase::review"
310
- color: "#E67E22"
311
- - name: "phase::complete"
312
- color: "#27AE60"
313
-
314
- # Phase label updates
315
- update_phase_labels: true
316
- ```
317
-
318
- ### Milestone Integration
319
-
320
- ```yaml
321
- pm_integration:
322
- gitlab:
323
- milestones:
324
- # Sprint milestones
325
- sprint_format: "Sprint {{number}} - {{start_date}}"
326
-
327
- # Auto-assign to current sprint
328
- auto_assign_sprint: true
329
-
330
- # Release milestones
331
- release_milestone_prefix: "Release"
332
- ```
333
-
334
- ---
335
-
336
- ## Boards Integration
337
-
338
- ### Board Configuration
339
-
340
- ```yaml
341
- pm_integration:
342
- gitlab:
343
- boards:
344
- # Use boards for feature tracking
345
- enabled: true
346
-
347
- # Board mapping
348
- board_name: "ProAgents Board"
349
-
350
- # List mapping
351
- lists:
352
- - label: "phase::analysis"
353
- name: "Analysis"
354
- - label: "phase::implementation"
355
- name: "In Progress"
356
- - label: "phase::testing"
357
- name: "Testing"
358
- - label: "phase::review"
359
- name: "Review"
360
- - label: "phase::complete"
361
- name: "Done"
362
-
363
- # Auto-move on phase change
364
- auto_move: true
365
- ```
366
-
367
- ---
368
-
369
- ## Webhooks
370
-
371
- ### GitLab to ProAgents
372
-
373
- ```yaml
374
- pm_integration:
375
- gitlab:
376
- webhooks:
377
- # Receive events
378
- endpoint: "/webhooks/gitlab"
379
- secret_token_env: "GITLAB_WEBHOOK_SECRET"
380
-
381
- # Handle events
382
- events:
383
- issue:
384
- - action: "update"
385
- trigger: "sync_feature_status"
386
- - action: "close"
387
- trigger: "mark_complete"
388
-
389
- merge_request:
390
- - action: "merge"
391
- trigger: "on_mr_merged"
392
- - action: "close"
393
- trigger: "on_mr_closed"
394
-
395
- pipeline:
396
- - status: "success"
397
- trigger: "pipeline_passed"
398
- - status: "failed"
399
- trigger: "pipeline_failed"
400
- ```
401
-
402
- ---
403
-
404
- ## API Operations
405
-
406
- ### Issue Operations
407
-
408
- ```bash
409
- # Create issue
410
- proagents gitlab issue create \
411
- --title "Feature name" \
412
- --description "Description" \
413
- --labels "feature,proagents"
414
-
415
- # Update issue
416
- proagents gitlab issue update 123 \
417
- --add-label "phase::implementation"
418
-
419
- # Close issue
420
- proagents gitlab issue close 123 \
421
- --comment "Completed via ProAgents"
422
-
423
- # Link MR to issue
424
- proagents gitlab issue link 123 --mr 456
425
- ```
426
-
427
- ### MR Operations
428
-
429
- ```bash
430
- # Create MR
431
- proagents gitlab mr create \
432
- --source "feature/user-auth" \
433
- --target "main" \
434
- --title "Add user authentication"
435
-
436
- # Approve MR
437
- proagents gitlab mr approve 456
438
-
439
- # Merge MR
440
- proagents gitlab mr merge 456 --squash
441
- ```
442
-
443
- ---
444
-
445
- ## Sync Status
446
-
447
- ```
448
- ┌─────────────────────────────────────────────────────────────┐
449
- │ GitLab Sync Status │
450
- ├─────────────────────────────────────────────────────────────┤
451
- │ │
452
- │ Last Sync: 2 minutes ago │
453
- │ Status: Connected ✅ │
454
- │ │
455
- │ Issues: │
456
- │ ├── Synced: 45 │
457
- │ ├── Pending: 2 │
458
- │ └── Errors: 0 │
459
- │ │
460
- │ Merge Requests: │
461
- │ ├── Open: 3 │
462
- │ ├── Merged Today: 5 │
463
- │ └── Awaiting Review: 2 │
464
- │ │
465
- │ Pipelines: │
466
- │ ├── Running: 1 │
467
- │ ├── Passed: 12 │
468
- │ └── Failed: 0 │
469
- │ │
470
- └─────────────────────────────────────────────────────────────┘
471
- ```
472
-
473
- ---
474
-
475
- ## Best Practices
476
-
477
- 1. **Use Labels**: Leverage GitLab labels for status tracking
478
- 2. **Link Issues**: Always link MRs to issues
479
- 3. **Pipeline Integration**: Use CI/CD for automated testing
480
- 4. **Milestones**: Organize work with milestones
481
- 5. **Code Review**: Require approvals before merging
482
- 6. **Branch Protection**: Protect main branch