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,571 +0,0 @@
1
- # Troubleshooting Workflow Issues
2
-
3
- Solutions for workflow, feature, and phase-related problems.
4
-
5
- ---
6
-
7
- ## Feature Management Issues
8
-
9
- ### Cannot Start New Feature
10
-
11
- **Symptom:**
12
- ```
13
- Error: Cannot start new feature
14
- Reason: Feature 'user-auth' already in progress
15
- ```
16
-
17
- **Solutions:**
18
-
19
- ```bash
20
- # Check current feature status
21
- proagents status
22
-
23
- # Option 1: Resume current feature
24
- proagents feature resume
25
-
26
- # Option 2: Complete current feature
27
- proagents feature complete
28
-
29
- # Option 3: Abandon current feature (if stuck)
30
- proagents feature abandon --confirm
31
-
32
- # Option 4: Enable parallel features
33
- parallel_features:
34
- enabled: true
35
- max_concurrent: 3
36
-
37
- # Then start parallel feature
38
- proagents feature start "new-feature" --parallel
39
- ```
40
-
41
- ---
42
-
43
- ### Feature State Corrupted
44
-
45
- **Symptom:**
46
- - Feature shows wrong phase
47
- - Feature data doesn't match reality
48
- - Inconsistent state messages
49
-
50
- **Solutions:**
51
-
52
- ```bash
53
- # Diagnose feature state
54
- proagents feature diagnose user-auth
55
-
56
- # Repair feature state
57
- proagents feature repair user-auth
58
-
59
- # Manual state reset
60
- proagents feature reset-phase user-auth --to implementation
61
-
62
- # If severely corrupted, recreate
63
- proagents feature export user-auth > backup.json
64
- proagents feature delete user-auth --force
65
- proagents feature import backup.json --fix
66
- ```
67
-
68
- ---
69
-
70
- ### Lost Feature Context
71
-
72
- **Symptom:**
73
- - AI doesn't remember previous discussions
74
- - Requirements seem forgotten
75
- - Starting over each session
76
-
77
- **Solutions:**
78
-
79
- ```bash
80
- # Check if context is saved
81
- proagents feature context show
82
-
83
- # Reload context
84
- proagents feature context reload
85
-
86
- # Manually add context
87
- proagents feature context add "Key requirement: must support SSO"
88
-
89
- # Configure context persistence
90
- feature_context:
91
- persist: true
92
- save_frequency: "on_phase_complete"
93
- include:
94
- - "requirements"
95
- - "decisions"
96
- - "ai_conversations"
97
- ```
98
-
99
- ---
100
-
101
- ## Phase Issues
102
-
103
- ### Phase Won't Complete
104
-
105
- **Symptom:**
106
- ```
107
- Error: Phase 'testing' cannot complete
108
- Missing requirements:
109
- - Test coverage below 80%
110
- - 2 failing tests
111
- ```
112
-
113
- **Solutions:**
114
-
115
- ```bash
116
- # Check phase requirements
117
- proagents phase requirements testing
118
-
119
- # View detailed status
120
- proagents phase status testing --verbose
121
-
122
- # Fix the issues
123
- npm test -- --coverage
124
- # Fix failing tests
125
-
126
- # Or override requirements (with justification)
127
- proagents phase complete testing --override --reason "Tests verified externally"
128
-
129
- # Or adjust thresholds
130
- workflow:
131
- phases:
132
- testing:
133
- coverage_threshold: 70 # Lower temporarily
134
- ```
135
-
136
- ---
137
-
138
- ### Phase Stuck/Hanging
139
-
140
- **Symptom:**
141
- - Phase started but never completes
142
- - No progress indicators
143
- - System unresponsive
144
-
145
- **Solutions:**
146
-
147
- ```bash
148
- # Check for background processes
149
- proagents phase status --processes
150
-
151
- # Cancel stuck operation
152
- proagents phase cancel
153
-
154
- # Resume from last checkpoint
155
- proagents phase resume --from-checkpoint
156
-
157
- # Force restart phase
158
- proagents phase restart implementation --force
159
-
160
- # Set timeout to prevent future hangs
161
- workflow:
162
- phases:
163
- implementation:
164
- timeout: 3600 # 1 hour max
165
- checkpoint_interval: 300 # Save every 5 min
166
- ```
167
-
168
- ---
169
-
170
- ### Wrong Phase Sequence
171
-
172
- **Symptom:**
173
- - Phases running out of order
174
- - Skipped phases unexpectedly
175
- - Dependencies not respected
176
-
177
- **Solutions:**
178
-
179
- ```bash
180
- # View phase order
181
- proagents phase list --order
182
-
183
- # Check dependencies
184
- proagents phase dependencies
185
-
186
- # Reset to correct phase
187
- proagents phase goto requirements
188
-
189
- # Fix configuration
190
- workflow:
191
- phases:
192
- # Define correct order
193
- order:
194
- - "init"
195
- - "analysis"
196
- - "requirements"
197
- - "design"
198
- - "implementation"
199
- - "testing"
200
- - "review"
201
- - "documentation"
202
- - "deployment"
203
-
204
- # Define dependencies
205
- dependencies:
206
- testing:
207
- requires: ["implementation"]
208
- deployment:
209
- requires: ["testing", "review"]
210
- ```
211
-
212
- ---
213
-
214
- ## Checkpoint Issues
215
-
216
- ### Checkpoint Not Triggering
217
-
218
- **Symptom:**
219
- - Expected checkpoint didn't appear
220
- - Automatic approvals when manual expected
221
- - Missing review opportunities
222
-
223
- **Solutions:**
224
-
225
- ```bash
226
- # Check checkpoint configuration
227
- proagents checkpoint list
228
-
229
- # Verify checkpoint is enabled
230
- checkpoints:
231
- after_design: true # Should be true
232
-
233
- # Check conditions
234
- proagents checkpoint status after_design
235
-
236
- # Force checkpoint
237
- proagents checkpoint trigger after_design
238
-
239
- # Debug checkpoint conditions
240
- proagents checkpoint debug after_design
241
- ```
242
-
243
- ---
244
-
245
- ### Stuck at Checkpoint
246
-
247
- **Symptom:**
248
- ```
249
- Waiting for approval: before_deployment
250
- Status: Pending for 48 hours
251
- ```
252
-
253
- **Solutions:**
254
-
255
- ```bash
256
- # Check who can approve
257
- proagents approval who-can-approve
258
-
259
- # Send reminder
260
- proagents approval remind
261
-
262
- # Check if approver is available
263
- proagents team status
264
-
265
- # Use delegate approver
266
- proagents approval delegate @backup-approver
267
-
268
- # Emergency bypass (if authorized)
269
- proagents approval bypass --reason "Approver unavailable, tested externally"
270
- ```
271
-
272
- ---
273
-
274
- ### Checkpoint Data Lost
275
-
276
- **Symptom:**
277
- - Previous checkpoint decisions not saved
278
- - Need to re-approve completed checkpoints
279
- - Review comments missing
280
-
281
- **Solutions:**
282
-
283
- ```bash
284
- # Check checkpoint history
285
- proagents checkpoint history
286
-
287
- # Restore from backup
288
- proagents checkpoint restore before_deployment --from backup
289
-
290
- # Re-record decision manually
291
- proagents checkpoint record before_deployment --approved --by @tech-lead --date "2024-01-15"
292
-
293
- # Enable checkpoint persistence
294
- checkpoints:
295
- persistence:
296
- enabled: true
297
- backup: true
298
- retention_days: 90
299
- ```
300
-
301
- ---
302
-
303
- ## Parallel Feature Issues
304
-
305
- ### Feature Conflicts
306
-
307
- **Symptom:**
308
- ```
309
- Warning: Conflict detected
310
- Features: user-auth, user-profile
311
- Conflicting files: src/types/user.ts
312
- ```
313
-
314
- **Solutions:**
315
-
316
- ```bash
317
- # View conflict details
318
- proagents conflict show user-auth user-profile
319
-
320
- # Resolve manually
321
- proagents conflict resolve --strategy manual
322
-
323
- # Use merge strategy
324
- proagents conflict resolve --strategy auto-merge
325
-
326
- # Coordinate with other developer
327
- proagents feature lock src/types/user.ts --message "Modifying user types"
328
-
329
- # Sequential development
330
- proagents feature pause user-profile --until user-auth-complete
331
- ```
332
-
333
- ---
334
-
335
- ### Feature Dependencies Not Respected
336
-
337
- **Symptom:**
338
- - Dependent feature started before dependency complete
339
- - Missing functionality from incomplete dependency
340
- - Integration errors
341
-
342
- **Solutions:**
343
-
344
- ```bash
345
- # Check dependencies
346
- proagents feature dependencies user-profile
347
-
348
- # Set explicit dependency
349
- proagents feature depends user-profile --on user-auth
350
-
351
- # Wait for dependency
352
- proagents feature wait user-profile --for user-auth
353
-
354
- # Configuration
355
- parallel_features:
356
- dependency_check: strict # Block until dependencies met
357
- warn_on_conflict: true
358
- ```
359
-
360
- ---
361
-
362
- ### Merge Order Wrong
363
-
364
- **Symptom:**
365
- - Features merged in wrong order
366
- - Dependent code merged before dependency
367
- - Integration issues after merge
368
-
369
- **Solutions:**
370
-
371
- ```bash
372
- # View recommended merge order
373
- proagents feature merge-order
374
-
375
- # Set merge priority
376
- proagents feature priority user-auth --level 1
377
- proagents feature priority user-profile --level 2
378
-
379
- # Force merge order
380
- parallel_features:
381
- merge_order:
382
- strategy: "dependency_first"
383
- allow_override: false
384
-
385
- # Rollback and re-merge
386
- git revert HEAD~2
387
- proagents feature merge user-auth
388
- proagents feature merge user-profile
389
- ```
390
-
391
- ---
392
-
393
- ## Mode Issues
394
-
395
- ### Wrong Mode Detected
396
-
397
- **Symptom:**
398
- - Bug fix detected as full feature
399
- - Quick change requiring full workflow
400
- - Mode switch not working
401
-
402
- **Solutions:**
403
-
404
- ```bash
405
- # Check detected mode
406
- proagents mode current
407
-
408
- # Override mode
409
- proagents mode set bug_fix
410
-
411
- # Force mode for current operation
412
- proagents fix "issue" --mode quick_change
413
-
414
- # Configure detection
415
- workflow:
416
- mode_detection:
417
- bug_fix:
418
- indicators:
419
- - "fix"
420
- - "bug"
421
- - "issue"
422
- max_files: 5
423
-
424
- quick_change:
425
- indicators:
426
- - "update"
427
- - "config"
428
- - "typo"
429
- max_files: 2
430
- ```
431
-
432
- ---
433
-
434
- ### Cannot Change Modes
435
-
436
- **Symptom:**
437
- ```
438
- Error: Cannot switch to full_workflow mode
439
- Reason: In progress work would be lost
440
- ```
441
-
442
- **Solutions:**
443
-
444
- ```bash
445
- # Save current progress
446
- proagents progress save
447
-
448
- # Then switch
449
- proagents mode switch full_workflow
450
-
451
- # Or force switch (may lose progress)
452
- proagents mode switch full_workflow --force --reason "Need full analysis"
453
-
454
- # Configuration for smoother switching
455
- workflow:
456
- mode_switching:
457
- auto_save: true
458
- confirm_on_data_loss: true
459
- preserve_context: true
460
- ```
461
-
462
- ---
463
-
464
- ## Recovery Procedures
465
-
466
- ### Reset Workflow State
467
-
468
- ```bash
469
- # Soft reset (preserve work)
470
- proagents workflow reset --soft
471
-
472
- # Hard reset (start fresh)
473
- proagents workflow reset --hard
474
-
475
- # Reset specific feature
476
- proagents feature reset user-auth
477
-
478
- # Reset to specific phase
479
- proagents feature reset user-auth --to analysis
480
- ```
481
-
482
- ### Export/Import Feature State
483
-
484
- ```bash
485
- # Export current state
486
- proagents feature export user-auth > feature-backup.json
487
-
488
- # Import state
489
- proagents feature import feature-backup.json
490
-
491
- # Transfer to another machine
492
- scp feature-backup.json other-machine:/path/
493
- # On other machine:
494
- proagents feature import feature-backup.json
495
- ```
496
-
497
- ### Recover from Corruption
498
-
499
- ```bash
500
- # Diagnose issues
501
- proagents doctor --workflow
502
-
503
- # Auto-repair
504
- proagents repair --workflow
505
-
506
- # Manual recovery
507
- cd .proagents/features/user-auth
508
- # Review and fix JSON files manually
509
-
510
- # Rebuild from git history
511
- proagents feature rebuild user-auth --from-git
512
- ```
513
-
514
- ---
515
-
516
- ## Prevention
517
-
518
- ### Enable Auto-Save
519
-
520
- ```yaml
521
- workflow:
522
- auto_save:
523
- enabled: true
524
- interval: 300 # Every 5 minutes
525
- on_phase_complete: true
526
- on_checkpoint: true
527
-
528
- backup:
529
- enabled: true
530
- frequency: "daily"
531
- retention: 30
532
- ```
533
-
534
- ### Configure Health Checks
535
-
536
- ```yaml
537
- workflow:
538
- health_check:
539
- enabled: true
540
- interval: 3600 # Hourly
541
- auto_repair: true
542
- notify_on_issues: true
543
- ```
544
-
545
- ### Set Up Monitoring
546
-
547
- ```bash
548
- # Enable workflow monitoring
549
- proagents monitor enable workflow
550
-
551
- # View workflow metrics
552
- proagents monitor dashboard workflow
553
-
554
- # Set up alerts
555
- monitoring:
556
- workflow:
557
- alerts:
558
- - condition: "feature_stuck > 24h"
559
- action: "notify"
560
- - condition: "phase_timeout"
561
- action: "auto_checkpoint"
562
- ```
563
-
564
- ---
565
-
566
- ## Related Documentation
567
-
568
- - [Workflow Guide](../WORKFLOW.md)
569
- - [Parallel Features](../parallel-features/README.md)
570
- - [Checkpoints](../WORKFLOW.md#checkpoints)
571
- - [Approval Workflows](../approval-workflows/README.md)