proagents 1.6.17 → 1.6.19
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/.proagents/AGENTS.md +2 -0
- package/.proagents/AI_INSTRUCTIONS.md +13 -0
- package/.proagents/ANTIGRAVITY.md +2 -0
- package/.proagents/BOLT.md +2 -0
- package/.proagents/CHATGPT.md +2 -0
- package/.proagents/CLAUDE.md +2 -0
- package/.proagents/GEMINI.md +2 -0
- package/.proagents/GROQ.md +2 -0
- package/.proagents/KIRO.md +2 -0
- package/.proagents/LOVABLE.md +2 -0
- package/.proagents/PROAGENTS.md +2 -0
- package/.proagents/REPLIT.md +2 -0
- package/.proagents/prompts/00-project-setup.md +878 -0
- package/.proagents/prompts/04-planning.md +38 -0
- package/.proagents/prompts/12-rnd.md +957 -0
- package/.proagents/workflow-modes/entry-modes.md +27 -0
- package/.proagents/worklog/_context.template.md +47 -0
- package/COMMANDS.md +654 -0
- package/README.md +16 -24
- 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
|
@@ -0,0 +1,957 @@
|
|
|
1
|
+
# Phase 12: Research & Development (R&D)
|
|
2
|
+
|
|
3
|
+
Interactive R&D workflow with comparison tables, POC generation, and research documentation.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Trigger
|
|
8
|
+
|
|
9
|
+
User runs `pa:rnd`, `pa:research`, or any variant:
|
|
10
|
+
- `pa:rnd-compare` - Direct to comparison mode
|
|
11
|
+
- `pa:rnd-poc` - Direct to prototype mode
|
|
12
|
+
- `pa:rnd-explore` - Direct to exploration mode
|
|
13
|
+
- `pa:rnd --quick` - Quick 5-minute research
|
|
14
|
+
- `pa:rnd --resume` - Resume interrupted session
|
|
15
|
+
- `pa:rnd --clear` - Clear saved progress
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Purpose
|
|
20
|
+
|
|
21
|
+
This command helps with research and development decisions:
|
|
22
|
+
- **Compare Options** - Side-by-side library/framework/tool comparison
|
|
23
|
+
- **Build Prototype** - Quick proof-of-concept in isolated folder
|
|
24
|
+
- **Explore Solutions** - Research and document findings
|
|
25
|
+
- **Full R&D Cycle** - Research → Prototype → Document
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Entry Point
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
🔬 R&D Workflow
|
|
33
|
+
|
|
34
|
+
What would you like to do?
|
|
35
|
+
|
|
36
|
+
1. 🔍 Compare Options - Compare libraries, frameworks, or tools
|
|
37
|
+
2. 🧪 Build Prototype - Create a proof-of-concept
|
|
38
|
+
3. 📚 Explore Solutions - Research and document findings
|
|
39
|
+
4. 🔄 Full R&D Cycle - Research → Prototype → Document
|
|
40
|
+
5. ⚡ Quick Research - Fast 5-minute answer
|
|
41
|
+
6. 📋 Resume Previous - Continue interrupted session
|
|
42
|
+
|
|
43
|
+
Select (1-6):
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Option 1: Compare Options
|
|
49
|
+
|
|
50
|
+
### Step 1: Research Subject
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
🔍 What are you comparing?
|
|
54
|
+
|
|
55
|
+
1. Libraries (npm, pip, cargo packages)
|
|
56
|
+
2. Frameworks (React vs Vue, Django vs FastAPI)
|
|
57
|
+
3. Tools (build tools, test runners, linters)
|
|
58
|
+
4. Services (cloud providers, APIs, SaaS)
|
|
59
|
+
5. Approaches (architecture patterns, design patterns)
|
|
60
|
+
6. Other (describe)
|
|
61
|
+
|
|
62
|
+
Select or describe:
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Step 2: Define Comparison
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
What specifically are you comparing?
|
|
69
|
+
|
|
70
|
+
Example: "State management libraries for React"
|
|
71
|
+
Example: "Authentication solutions for mobile apps"
|
|
72
|
+
|
|
73
|
+
Your comparison topic: _______________
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Step 3: Check Past Decisions
|
|
77
|
+
|
|
78
|
+
Before proceeding, search for relevant history:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
📚 Checking past decisions...
|
|
82
|
+
|
|
83
|
+
┌─────────────────────────────────────────────────────────┐
|
|
84
|
+
│ 2023-08: State Management Research │
|
|
85
|
+
│ Decision: Redux │
|
|
86
|
+
│ Outcome: Switched to Zustand after 3 months │
|
|
87
|
+
│ Reason: "Too much boilerplate, slowed development" │
|
|
88
|
+
└─────────────────────────────────────────────────────────┘
|
|
89
|
+
|
|
90
|
+
⚠️ You researched this topic before.
|
|
91
|
+
Previous experience may be relevant.
|
|
92
|
+
|
|
93
|
+
Factor this into your current decision? (yes/no)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Step 4: Gather Context
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
Help me understand your requirements:
|
|
100
|
+
|
|
101
|
+
1. What's the use case/problem?
|
|
102
|
+
> _______________
|
|
103
|
+
|
|
104
|
+
2. What are your constraints?
|
|
105
|
+
[ ] Budget (free/paid acceptable)
|
|
106
|
+
[ ] Team experience (specify tech familiarity)
|
|
107
|
+
[ ] Timeline (MVP vs production)
|
|
108
|
+
[ ] Scale (users, data volume)
|
|
109
|
+
[ ] Integration (existing tech stack)
|
|
110
|
+
|
|
111
|
+
3. Any specific options you want compared?
|
|
112
|
+
> _______________ (or "suggest options")
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Step 5: Weight Criteria
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
Rate importance (1-5) for your decision:
|
|
119
|
+
|
|
120
|
+
- Performance: [___]
|
|
121
|
+
- Learning Curve: [___]
|
|
122
|
+
- Cost: [___]
|
|
123
|
+
- Community: [___]
|
|
124
|
+
- Documentation: [___]
|
|
125
|
+
- Type Safety: [___]
|
|
126
|
+
- Bundle Size: [___]
|
|
127
|
+
- Maintenance: [___]
|
|
128
|
+
|
|
129
|
+
(Enter numbers 1-5 for each, or "skip" for equal weights)
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Step 6: Web Search & Data Gathering
|
|
133
|
+
|
|
134
|
+
AI uses web search to gather current data:
|
|
135
|
+
- GitHub stars and recent activity
|
|
136
|
+
- npm/pip download counts
|
|
137
|
+
- Latest release date
|
|
138
|
+
- Known security issues
|
|
139
|
+
- Deprecation status
|
|
140
|
+
|
|
141
|
+
### Step 7: Check Deprecation
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
⚠️ DEPRECATION WARNING
|
|
145
|
+
|
|
146
|
+
Package: moment.js
|
|
147
|
+
Status: In maintenance mode (no new features)
|
|
148
|
+
Recommendation: Consider dayjs or date-fns instead
|
|
149
|
+
Security: No known vulnerabilities
|
|
150
|
+
|
|
151
|
+
Continue with moment.js anyway? (yes/no/compare alternatives)
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Step 8: Generate Comparison
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
📊 Comparison: [Topic]
|
|
158
|
+
|
|
159
|
+
Based on your requirements, here are the top options:
|
|
160
|
+
|
|
161
|
+
┌─────────────────┬────────────────────┬────────────────────┬────────────────────┐
|
|
162
|
+
│ │ OPTION 1 ⭐ │ OPTION 2 │ OPTION 3 │
|
|
163
|
+
│ │ [Name] │ [Name] │ [Name] │
|
|
164
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
165
|
+
│ Best for │ [Use case] │ [Use case] │ [Use case] │
|
|
166
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
167
|
+
│ Learning curve │ ⬤⬤○○○ Easy │ ⬤⬤⬤○○ Medium │ ⬤⬤⬤⬤○ Steep │
|
|
168
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
169
|
+
│ Performance │ ⬤⬤⬤⬤⬤ Excellent │ ⬤⬤⬤⬤○ Good │ ⬤⬤⬤○○ Moderate │
|
|
170
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
171
|
+
│ Bundle size │ [X]kb │ [X]kb │ [X]kb │
|
|
172
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
173
|
+
│ GitHub stars │ [X]k │ [X]k │ [X]k │
|
|
174
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
175
|
+
│ Last release │ [date] │ [date] │ [date] │
|
|
176
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
177
|
+
│ TypeScript │ ✅ Native │ ⚠️ @types │ ✅ Native │
|
|
178
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
179
|
+
│ Monthly cost │ $[X]-[Y] │ $[X]-[Y] │ $[X]-[Y] │
|
|
180
|
+
│ (at 1K users) │ │ │ │
|
|
181
|
+
├─────────────────┼────────────────────┼────────────────────┼────────────────────┤
|
|
182
|
+
│ [Criterion 1] │ ✅/⚠️/❌ │ ✅/⚠️/❌ │ ✅/⚠️/❌ │
|
|
183
|
+
└─────────────────┴────────────────────┴────────────────────┴────────────────────┘
|
|
184
|
+
|
|
185
|
+
Legend: ✅ Excellent ⚠️ Acceptable ❌ Poor/Missing
|
|
186
|
+
|
|
187
|
+
────────────────────────────────────
|
|
188
|
+
WEIGHTED SCORES (based on your priorities)
|
|
189
|
+
────────────────────────────────────
|
|
190
|
+
|
|
191
|
+
┌────────────┬───────┬────────┬───────┬───────┬─────────┐
|
|
192
|
+
│ Option │ Perf │ Learn │ Cost │ Comm │ TOTAL │
|
|
193
|
+
│ │ (×4) │ (×3) │ (×5) │ (×2) │ │
|
|
194
|
+
├────────────┼───────┼────────┼───────┼───────┼─────────┤
|
|
195
|
+
│ [Option 1] │ 16 │ 15 │ 25 │ 8 │ 64 ⭐ │
|
|
196
|
+
│ [Option 2] │ 16 │ 12 │ 25 │ 6 │ 59 │
|
|
197
|
+
│ [Option 3] │ 12 │ 6 │ 25 │ 10 │ 53 │
|
|
198
|
+
└────────────┴───────┴────────┴───────┴───────┴─────────┘
|
|
199
|
+
|
|
200
|
+
💡 RECOMMENDATION: [Option X]
|
|
201
|
+
|
|
202
|
+
Why? [Detailed reasoning based on user's specific requirements]
|
|
203
|
+
|
|
204
|
+
────────────────────────────────────
|
|
205
|
+
DETAILED ANALYSIS
|
|
206
|
+
────────────────────────────────────
|
|
207
|
+
|
|
208
|
+
### Option 1: [Name] ⭐ Recommended
|
|
209
|
+
|
|
210
|
+
**Pros:**
|
|
211
|
+
- [Pro 1]
|
|
212
|
+
- [Pro 2]
|
|
213
|
+
- [Pro 3]
|
|
214
|
+
|
|
215
|
+
**Cons:**
|
|
216
|
+
- [Con 1]
|
|
217
|
+
- [Con 2]
|
|
218
|
+
|
|
219
|
+
**When to choose:** [Scenario description]
|
|
220
|
+
|
|
221
|
+
**Migration path (if replacing existing):**
|
|
222
|
+
- Effort: [Low/Medium/High]
|
|
223
|
+
- Time estimate: [X days/weeks]
|
|
224
|
+
- Risk: [Low/Medium/High]
|
|
225
|
+
|
|
226
|
+
### Option 2: [Name]
|
|
227
|
+
[Same structure]
|
|
228
|
+
|
|
229
|
+
### Option 3: [Name]
|
|
230
|
+
[Same structure]
|
|
231
|
+
|
|
232
|
+
────────────────────────────────────
|
|
233
|
+
|
|
234
|
+
What next?
|
|
235
|
+
1. Save this comparison to docs
|
|
236
|
+
2. Build a prototype with [Recommended]
|
|
237
|
+
3. Compare more options
|
|
238
|
+
4. Ask follow-up questions
|
|
239
|
+
|
|
240
|
+
Select (1-4):
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Option 2: Build Prototype (POC)
|
|
246
|
+
|
|
247
|
+
### Step 1: POC Type
|
|
248
|
+
|
|
249
|
+
```
|
|
250
|
+
🧪 What kind of prototype?
|
|
251
|
+
|
|
252
|
+
1. Integration Test - Test a library/API works as expected
|
|
253
|
+
2. Feasibility Check - Verify approach is technically possible
|
|
254
|
+
3. Performance Test - Benchmark different approaches
|
|
255
|
+
4. UI Prototype - Quick visual mockup
|
|
256
|
+
5. Architecture Spike - Test system design
|
|
257
|
+
6. Custom (describe)
|
|
258
|
+
|
|
259
|
+
Select (1-6):
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### Step 2: POC Scope
|
|
263
|
+
|
|
264
|
+
```
|
|
265
|
+
Define your prototype:
|
|
266
|
+
|
|
267
|
+
What are you testing?
|
|
268
|
+
> _______________
|
|
269
|
+
|
|
270
|
+
Success criteria (how do we know it works)?
|
|
271
|
+
> _______________
|
|
272
|
+
|
|
273
|
+
Time budget?
|
|
274
|
+
1. 15 minutes - Quick validation
|
|
275
|
+
2. 1 hour - Basic implementation
|
|
276
|
+
3. 2-4 hours - Comprehensive test
|
|
277
|
+
4. Custom: ___
|
|
278
|
+
|
|
279
|
+
Select:
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
### Step 3: POC Implementation
|
|
283
|
+
|
|
284
|
+
AI creates the prototype:
|
|
285
|
+
|
|
286
|
+
```
|
|
287
|
+
🧪 Building Prototype: [Name]
|
|
288
|
+
|
|
289
|
+
Creating in: ./poc/[name]/
|
|
290
|
+
|
|
291
|
+
Files:
|
|
292
|
+
✓ poc/[name]/README.md - POC documentation
|
|
293
|
+
✓ poc/[name]/index.ts - Main implementation
|
|
294
|
+
✓ poc/[name]/test.ts - Test/validation
|
|
295
|
+
✓ poc/[name]/package.json - Dependencies
|
|
296
|
+
|
|
297
|
+
Installing dependencies...
|
|
298
|
+
✓ [package1] installed
|
|
299
|
+
✓ [package2] installed
|
|
300
|
+
|
|
301
|
+
Running validation...
|
|
302
|
+
[Output of test run]
|
|
303
|
+
|
|
304
|
+
════════════════════════════════════
|
|
305
|
+
POC RESULTS
|
|
306
|
+
════════════════════════════════════
|
|
307
|
+
|
|
308
|
+
Status: ✅ SUCCESS / ⚠️ PARTIAL / ❌ FAILED
|
|
309
|
+
|
|
310
|
+
Findings:
|
|
311
|
+
- [Finding 1]
|
|
312
|
+
- [Finding 2]
|
|
313
|
+
|
|
314
|
+
Performance:
|
|
315
|
+
- [Metric 1]: [Value]
|
|
316
|
+
- [Metric 2]: [Value]
|
|
317
|
+
|
|
318
|
+
Recommendation:
|
|
319
|
+
[Based on POC results, recommended next steps]
|
|
320
|
+
|
|
321
|
+
────────────────────────────────────
|
|
322
|
+
|
|
323
|
+
What next?
|
|
324
|
+
1. Save findings to research docs
|
|
325
|
+
2. Iterate on prototype
|
|
326
|
+
3. Compare with alternative
|
|
327
|
+
4. Move to implementation
|
|
328
|
+
|
|
329
|
+
Select (1-4):
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
---
|
|
333
|
+
|
|
334
|
+
## Option 3: Explore Solutions
|
|
335
|
+
|
|
336
|
+
### Step 1: Research Topic
|
|
337
|
+
|
|
338
|
+
```
|
|
339
|
+
📚 What are you researching?
|
|
340
|
+
|
|
341
|
+
Topic: _______________
|
|
342
|
+
|
|
343
|
+
Research type:
|
|
344
|
+
1. Best practices - How to do X properly
|
|
345
|
+
2. Trade-offs - Understanding options for X
|
|
346
|
+
3. Deep dive - Comprehensive understanding of X
|
|
347
|
+
4. Problem solving - Find solution for specific issue
|
|
348
|
+
5. Custom
|
|
349
|
+
|
|
350
|
+
Select:
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
### Step 2: Research Scope
|
|
354
|
+
|
|
355
|
+
```
|
|
356
|
+
Research parameters:
|
|
357
|
+
|
|
358
|
+
Focus areas (select all that apply):
|
|
359
|
+
[ ] Official documentation
|
|
360
|
+
[ ] Community patterns
|
|
361
|
+
[ ] Performance considerations
|
|
362
|
+
[ ] Security implications
|
|
363
|
+
[ ] Real-world examples
|
|
364
|
+
[ ] Common pitfalls
|
|
365
|
+
[ ] Migration paths
|
|
366
|
+
[ ] Alternatives
|
|
367
|
+
|
|
368
|
+
Output format:
|
|
369
|
+
1. Summary - Quick reference (1-2 pages)
|
|
370
|
+
2. Detailed - Comprehensive guide (5+ pages)
|
|
371
|
+
3. ADR - Architecture Decision Record format
|
|
372
|
+
|
|
373
|
+
Select:
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
### Step 3: Research Output
|
|
377
|
+
|
|
378
|
+
AI generates research document:
|
|
379
|
+
|
|
380
|
+
```
|
|
381
|
+
📚 Research Complete: [Topic]
|
|
382
|
+
|
|
383
|
+
Created: docs/research/findings/[topic]-[date].md
|
|
384
|
+
|
|
385
|
+
Document structure:
|
|
386
|
+
├── Overview
|
|
387
|
+
├── Key Findings
|
|
388
|
+
├── Recommendations
|
|
389
|
+
├── Trade-offs Analysis
|
|
390
|
+
├── Implementation Notes
|
|
391
|
+
├── References
|
|
392
|
+
└── Next Steps
|
|
393
|
+
|
|
394
|
+
Preview:
|
|
395
|
+
────────────────────────────────────
|
|
396
|
+
# Research: [Topic]
|
|
397
|
+
|
|
398
|
+
## Overview
|
|
399
|
+
[Summary of research topic]
|
|
400
|
+
|
|
401
|
+
## Key Findings
|
|
402
|
+
1. [Finding 1]
|
|
403
|
+
2. [Finding 2]
|
|
404
|
+
3. [Finding 3]
|
|
405
|
+
|
|
406
|
+
## Recommendation
|
|
407
|
+
[Primary recommendation with reasoning]
|
|
408
|
+
────────────────────────────────────
|
|
409
|
+
|
|
410
|
+
What next?
|
|
411
|
+
1. View full document
|
|
412
|
+
2. Create ADR from findings
|
|
413
|
+
3. Build prototype based on findings
|
|
414
|
+
4. Share with team
|
|
415
|
+
|
|
416
|
+
Select (1-4):
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
---
|
|
420
|
+
|
|
421
|
+
## Option 4: Full R&D Cycle
|
|
422
|
+
|
|
423
|
+
Combines all three phases sequentially:
|
|
424
|
+
1. Research/Compare options
|
|
425
|
+
2. Build POC with recommended option
|
|
426
|
+
3. Document findings
|
|
427
|
+
|
|
428
|
+
AI guides through each phase automatically.
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
## Option 5: Quick Research
|
|
433
|
+
|
|
434
|
+
```
|
|
435
|
+
⚡ Quick Research Mode
|
|
436
|
+
|
|
437
|
+
What's your question?
|
|
438
|
+
> _______________
|
|
439
|
+
|
|
440
|
+
[AI searches web and provides concise answer]
|
|
441
|
+
|
|
442
|
+
────────────────────────────────────
|
|
443
|
+
ANSWER
|
|
444
|
+
|
|
445
|
+
[Concise answer with key points]
|
|
446
|
+
|
|
447
|
+
Sources:
|
|
448
|
+
- [Source 1](url)
|
|
449
|
+
- [Source 2](url)
|
|
450
|
+
|
|
451
|
+
────────────────────────────────────
|
|
452
|
+
|
|
453
|
+
Save to bookmarks? (yes/no)
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
---
|
|
457
|
+
|
|
458
|
+
## Option 6: Resume Previous
|
|
459
|
+
|
|
460
|
+
```
|
|
461
|
+
📋 Previous R&D session found!
|
|
462
|
+
|
|
463
|
+
Session: [Topic]
|
|
464
|
+
Started: [Time ago]
|
|
465
|
+
Progress: ████████░░░░ 60% ([X]/[Y] steps)
|
|
466
|
+
Phase: [Current phase]
|
|
467
|
+
|
|
468
|
+
What you've done:
|
|
469
|
+
- Compared: [Options]
|
|
470
|
+
- Recommended: [Option]
|
|
471
|
+
- POC: [Status]
|
|
472
|
+
|
|
473
|
+
Options:
|
|
474
|
+
1. Resume from where you left off
|
|
475
|
+
2. Start fresh (discard progress)
|
|
476
|
+
3. View session details
|
|
477
|
+
|
|
478
|
+
Select (1-3):
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
---
|
|
482
|
+
|
|
483
|
+
## Scope Guard
|
|
484
|
+
|
|
485
|
+
Track original research question and alert on drift:
|
|
486
|
+
|
|
487
|
+
```
|
|
488
|
+
⚠️ Scope Alert
|
|
489
|
+
|
|
490
|
+
Original question: "Which state management library?"
|
|
491
|
+
You're now researching: "database options"
|
|
492
|
+
|
|
493
|
+
This seems off-topic. Options:
|
|
494
|
+
1. Continue (it's related)
|
|
495
|
+
2. Save for later research
|
|
496
|
+
3. Go back to original topic
|
|
497
|
+
|
|
498
|
+
Select (1-3):
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
---
|
|
502
|
+
|
|
503
|
+
## Output Files
|
|
504
|
+
|
|
505
|
+
### Output Locations
|
|
506
|
+
|
|
507
|
+
| Type | Location |
|
|
508
|
+
|------|----------|
|
|
509
|
+
| Comparisons | `docs/research/comparisons/` |
|
|
510
|
+
| Research findings | `docs/research/findings/` |
|
|
511
|
+
| Research index | `docs/research/INDEX.md` |
|
|
512
|
+
| Bookmarks | `docs/research/BOOKMARKS.md` |
|
|
513
|
+
| Archive | `docs/research/archive/` |
|
|
514
|
+
| POC code | `./poc/[name]/` |
|
|
515
|
+
| Progress file | `.proagents/rnd-progress.json` |
|
|
516
|
+
|
|
517
|
+
### Comparison Document Template
|
|
518
|
+
|
|
519
|
+
File: `docs/research/comparisons/[topic]-[date].md`
|
|
520
|
+
|
|
521
|
+
```markdown
|
|
522
|
+
---
|
|
523
|
+
tags: [tag1, tag2, tag3]
|
|
524
|
+
category: Comparison
|
|
525
|
+
date: [DATE]
|
|
526
|
+
status: active
|
|
527
|
+
review_date: [DATE + 6 months]
|
|
528
|
+
---
|
|
529
|
+
|
|
530
|
+
# Comparison: [Topic]
|
|
531
|
+
|
|
532
|
+
> Generated by ProAgents `pa:rnd-compare`
|
|
533
|
+
> Date: [DATE]
|
|
534
|
+
|
|
535
|
+
## Context
|
|
536
|
+
|
|
537
|
+
**Use Case:** [What problem are we solving?]
|
|
538
|
+
**Constraints:** [Budget, team skills, timeline, etc.]
|
|
539
|
+
|
|
540
|
+
## Options Compared
|
|
541
|
+
|
|
542
|
+
### Summary Matrix
|
|
543
|
+
|
|
544
|
+
| Criteria | [Option 1] | [Option 2] | [Option 3] |
|
|
545
|
+
|----------|------------|------------|------------|
|
|
546
|
+
| Overall Score | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐ |
|
|
547
|
+
| [Criterion 1] | ✅ | ⚠️ | ❌ |
|
|
548
|
+
|
|
549
|
+
### Weighted Scores
|
|
550
|
+
|
|
551
|
+
[Weighted scoring table]
|
|
552
|
+
|
|
553
|
+
### Detailed Analysis
|
|
554
|
+
|
|
555
|
+
[Per-option analysis with pros/cons]
|
|
556
|
+
|
|
557
|
+
## Recommendation
|
|
558
|
+
|
|
559
|
+
**Winner:** [Option Name]
|
|
560
|
+
**Reasoning:** [Why]
|
|
561
|
+
|
|
562
|
+
## Related Research
|
|
563
|
+
|
|
564
|
+
- [Link to related research]
|
|
565
|
+
|
|
566
|
+
## Review Reminder
|
|
567
|
+
|
|
568
|
+
This decision should be reviewed by: [DATE]
|
|
569
|
+
```
|
|
570
|
+
|
|
571
|
+
### Research Findings Template
|
|
572
|
+
|
|
573
|
+
File: `docs/research/findings/[topic]-[date].md`
|
|
574
|
+
|
|
575
|
+
```markdown
|
|
576
|
+
---
|
|
577
|
+
tags: [tag1, tag2, tag3]
|
|
578
|
+
category: Findings
|
|
579
|
+
date: [DATE]
|
|
580
|
+
status: active
|
|
581
|
+
review_date: [DATE + 6 months]
|
|
582
|
+
---
|
|
583
|
+
|
|
584
|
+
# Research: [Topic]
|
|
585
|
+
|
|
586
|
+
> Generated by ProAgents `pa:rnd-explore`
|
|
587
|
+
> Date: [DATE]
|
|
588
|
+
|
|
589
|
+
## Overview
|
|
590
|
+
|
|
591
|
+
**Research Question:** [What are we trying to answer?]
|
|
592
|
+
**Context:** [Why is this research needed?]
|
|
593
|
+
|
|
594
|
+
## Key Findings
|
|
595
|
+
|
|
596
|
+
### Finding 1: [Title]
|
|
597
|
+
[Detailed explanation]
|
|
598
|
+
|
|
599
|
+
### Finding 2: [Title]
|
|
600
|
+
[Detailed explanation]
|
|
601
|
+
|
|
602
|
+
## Recommendation
|
|
603
|
+
|
|
604
|
+
**Primary:** [Recommended approach]
|
|
605
|
+
**Reasoning:** [Why]
|
|
606
|
+
**Confidence:** [High/Medium/Low]
|
|
607
|
+
|
|
608
|
+
## Implementation Notes
|
|
609
|
+
|
|
610
|
+
[Practical notes]
|
|
611
|
+
|
|
612
|
+
## References
|
|
613
|
+
|
|
614
|
+
- [Reference 1](url)
|
|
615
|
+
- [Reference 2](url)
|
|
616
|
+
|
|
617
|
+
## Related Research
|
|
618
|
+
|
|
619
|
+
- [Link to related research]
|
|
620
|
+
|
|
621
|
+
## Next Steps
|
|
622
|
+
|
|
623
|
+
- [ ] [Action 1]
|
|
624
|
+
- [ ] [Action 2]
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
### Research Index Template
|
|
628
|
+
|
|
629
|
+
File: `docs/research/INDEX.md`
|
|
630
|
+
|
|
631
|
+
```markdown
|
|
632
|
+
# Research Index
|
|
633
|
+
|
|
634
|
+
> Auto-maintained by ProAgents `pa:rnd`
|
|
635
|
+
|
|
636
|
+
## Comparisons
|
|
637
|
+
|
|
638
|
+
| Date | Topic | Decision | Tags | Link |
|
|
639
|
+
|------|-------|----------|------|------|
|
|
640
|
+
| [DATE] | [Topic] | [Decision] | #tag1 #tag2 | [View](comparisons/[file].md) |
|
|
641
|
+
|
|
642
|
+
## Findings
|
|
643
|
+
|
|
644
|
+
| Date | Topic | Tags | Link |
|
|
645
|
+
|------|-------|------|------|
|
|
646
|
+
| [DATE] | [Topic] | #tag1 #tag2 | [View](findings/[file].md) |
|
|
647
|
+
|
|
648
|
+
## By Tag
|
|
649
|
+
|
|
650
|
+
- #state-management (3 docs)
|
|
651
|
+
- #react (5 docs)
|
|
652
|
+
- #authentication (2 docs)
|
|
653
|
+
|
|
654
|
+
## Bookmarks
|
|
655
|
+
|
|
656
|
+
[View saved bookmarks](BOOKMARKS.md)
|
|
657
|
+
|
|
658
|
+
## Archive
|
|
659
|
+
|
|
660
|
+
[View archived research](archive/)
|
|
661
|
+
```
|
|
662
|
+
|
|
663
|
+
### Bookmarks Template
|
|
664
|
+
|
|
665
|
+
File: `docs/research/BOOKMARKS.md`
|
|
666
|
+
|
|
667
|
+
```markdown
|
|
668
|
+
# Research Bookmarks
|
|
669
|
+
|
|
670
|
+
> Useful links saved during research
|
|
671
|
+
|
|
672
|
+
## [Category 1]
|
|
673
|
+
|
|
674
|
+
- [Title](url) - Added [DATE]
|
|
675
|
+
- [Title](url) - Added [DATE]
|
|
676
|
+
|
|
677
|
+
## [Category 2]
|
|
678
|
+
|
|
679
|
+
- [Title](url) - Added [DATE]
|
|
680
|
+
```
|
|
681
|
+
|
|
682
|
+
### POC README Template
|
|
683
|
+
|
|
684
|
+
File: `./poc/[name]/README.md`
|
|
685
|
+
|
|
686
|
+
```markdown
|
|
687
|
+
# POC: [Name]
|
|
688
|
+
|
|
689
|
+
> Generated by ProAgents `pa:rnd-poc`
|
|
690
|
+
> Date: [DATE]
|
|
691
|
+
|
|
692
|
+
## Objective
|
|
693
|
+
|
|
694
|
+
**Testing:** [What we're validating]
|
|
695
|
+
**Success Criteria:** [How we know it works]
|
|
696
|
+
|
|
697
|
+
## Setup
|
|
698
|
+
|
|
699
|
+
\`\`\`bash
|
|
700
|
+
cd poc/[name]
|
|
701
|
+
npm install
|
|
702
|
+
npm test
|
|
703
|
+
\`\`\`
|
|
704
|
+
|
|
705
|
+
## Results
|
|
706
|
+
|
|
707
|
+
### Status: ✅ SUCCESS / ⚠️ PARTIAL / ❌ FAILED
|
|
708
|
+
|
|
709
|
+
### Metrics
|
|
710
|
+
|
|
711
|
+
| Metric | Expected | Actual | Pass/Fail |
|
|
712
|
+
|--------|----------|--------|-----------|
|
|
713
|
+
| [Metric] | [Expected] | [Actual] | ✅/❌ |
|
|
714
|
+
|
|
715
|
+
## Findings
|
|
716
|
+
|
|
717
|
+
[Key learnings]
|
|
718
|
+
|
|
719
|
+
## Recommendation
|
|
720
|
+
|
|
721
|
+
[Next steps based on POC results]
|
|
722
|
+
|
|
723
|
+
## Cleanup
|
|
724
|
+
|
|
725
|
+
\`\`\`bash
|
|
726
|
+
rm -rf poc/[name]
|
|
727
|
+
\`\`\`
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
---
|
|
731
|
+
|
|
732
|
+
## Progress File
|
|
733
|
+
|
|
734
|
+
Save to: `.proagents/rnd-progress.json`
|
|
735
|
+
|
|
736
|
+
```json
|
|
737
|
+
{
|
|
738
|
+
"session_id": "rnd-2024-01-15-001",
|
|
739
|
+
"started_at": "2024-01-15T10:30:00Z",
|
|
740
|
+
"last_updated": "2024-01-15T10:45:00Z",
|
|
741
|
+
"original_question": "Which state management library?",
|
|
742
|
+
"type": "compare",
|
|
743
|
+
"status": "in_progress",
|
|
744
|
+
"topic": "State management libraries for React",
|
|
745
|
+
"phase": "comparing",
|
|
746
|
+
"completed_steps": 3,
|
|
747
|
+
"total_steps": 7,
|
|
748
|
+
"answers": {
|
|
749
|
+
"research_type": "libraries",
|
|
750
|
+
"constraints": {
|
|
751
|
+
"budget": "free",
|
|
752
|
+
"team_experience": "react"
|
|
753
|
+
},
|
|
754
|
+
"criteria_weights": {
|
|
755
|
+
"performance": 4,
|
|
756
|
+
"learning_curve": 3,
|
|
757
|
+
"cost": 5
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"findings": {
|
|
761
|
+
"options_considered": ["zustand", "jotai", "redux-toolkit"],
|
|
762
|
+
"recommendation": "zustand"
|
|
763
|
+
},
|
|
764
|
+
"past_decisions_checked": true,
|
|
765
|
+
"deprecation_checked": true
|
|
766
|
+
}
|
|
767
|
+
```
|
|
768
|
+
|
|
769
|
+
---
|
|
770
|
+
|
|
771
|
+
## Archive System
|
|
772
|
+
|
|
773
|
+
Auto-archive old research after 6 months:
|
|
774
|
+
|
|
775
|
+
```
|
|
776
|
+
📦 Archive Notice
|
|
777
|
+
|
|
778
|
+
The following research is over 6 months old:
|
|
779
|
+
- state-management-2023-06-15.md
|
|
780
|
+
- auth-comparison-2023-05-20.md
|
|
781
|
+
|
|
782
|
+
Options:
|
|
783
|
+
1. Archive now (move to docs/research/archive/)
|
|
784
|
+
2. Mark as still relevant (reset timer)
|
|
785
|
+
3. Delete (no longer needed)
|
|
786
|
+
4. Skip for now
|
|
787
|
+
|
|
788
|
+
Select (1-4):
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
When archived:
|
|
792
|
+
- Move file to `docs/research/archive/[year]/`
|
|
793
|
+
- Update INDEX.md
|
|
794
|
+
- Keep reference for past decision recall
|
|
795
|
+
|
|
796
|
+
---
|
|
797
|
+
|
|
798
|
+
## Review Reminders
|
|
799
|
+
|
|
800
|
+
After important decisions:
|
|
801
|
+
|
|
802
|
+
```
|
|
803
|
+
⏰ Set Review Reminder?
|
|
804
|
+
|
|
805
|
+
This decision may need revisiting as technology evolves.
|
|
806
|
+
|
|
807
|
+
1. Review in 3 months
|
|
808
|
+
2. Review in 6 months (recommended)
|
|
809
|
+
3. Review in 12 months
|
|
810
|
+
4. No reminder
|
|
811
|
+
|
|
812
|
+
Select (1-4):
|
|
813
|
+
|
|
814
|
+
→ Added to backlog: "Review state-management decision" (due: 2024-07-15)
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
---
|
|
818
|
+
|
|
819
|
+
## Export Options
|
|
820
|
+
|
|
821
|
+
After research completion:
|
|
822
|
+
|
|
823
|
+
```
|
|
824
|
+
📤 Export Research?
|
|
825
|
+
|
|
826
|
+
1. Keep as Markdown only
|
|
827
|
+
2. Generate PDF summary
|
|
828
|
+
3. Generate HTML (shareable link)
|
|
829
|
+
4. All formats
|
|
830
|
+
|
|
831
|
+
Select (1-4):
|
|
832
|
+
```
|
|
833
|
+
|
|
834
|
+
---
|
|
835
|
+
|
|
836
|
+
## Next Phase Options
|
|
837
|
+
|
|
838
|
+
After RND completion:
|
|
839
|
+
|
|
840
|
+
```
|
|
841
|
+
✅ Research Complete!
|
|
842
|
+
|
|
843
|
+
📄 Saved to: docs/research/comparisons/state-management-2024-01-15.md
|
|
844
|
+
📑 Updated: docs/research/INDEX.md
|
|
845
|
+
🔖 Added [X] bookmarks
|
|
846
|
+
|
|
847
|
+
What's next?
|
|
848
|
+
|
|
849
|
+
1. 🚀 Start feature with chosen tech → pa:feature "[name]"
|
|
850
|
+
2. 📋 Create implementation plan → pa:plan
|
|
851
|
+
3. 📝 Create ADR (decision record)
|
|
852
|
+
4. 📌 Add to backlog for later
|
|
853
|
+
5. 🔖 Save more bookmarks
|
|
854
|
+
6. ✓ Done for now
|
|
855
|
+
|
|
856
|
+
Select (1-6):
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
If user selects 1, trigger `pa:feature` with context from research.
|
|
860
|
+
If user selects 2, trigger `pa:plan` with context from research.
|
|
861
|
+
|
|
862
|
+
---
|
|
863
|
+
|
|
864
|
+
## AI Behavior Rules
|
|
865
|
+
|
|
866
|
+
1. **Execute, don't instruct** - Run comparisons, build POCs, don't tell user to do it
|
|
867
|
+
2. **Use web search** - Verify current package data (stars, downloads, last release)
|
|
868
|
+
3. **Ask ONE question at a time** - Unless user prefers batch
|
|
869
|
+
4. **Show recommendations with ⭐** - Always highlight recommended option
|
|
870
|
+
5. **Explain WHY** - Always explain reasoning behind recommendations
|
|
871
|
+
6. **Use comparison tables** - Visual comparisons for 2+ options
|
|
872
|
+
7. **Include costs** - When comparing services/tools, include pricing
|
|
873
|
+
8. **Consider migration** - When replacing existing tech, include migration path
|
|
874
|
+
9. **Save progress automatically** - Resume support like pa:project-setup
|
|
875
|
+
10. **Update INDEX.md** - After every research document
|
|
876
|
+
11. **Offer bookmarks** - For useful links found during research
|
|
877
|
+
12. **Offer next phase** - After completion, trigger pa:feature or pa:plan
|
|
878
|
+
13. **Merge existing docs** - Don't overwrite previous research
|
|
879
|
+
14. **Add tags** - To every research document for organization
|
|
880
|
+
15. **Link related research** - When topics overlap
|
|
881
|
+
16. **Calculate weighted scores** - Based on user's priority criteria
|
|
882
|
+
17. **Check deprecation** - Warn about deprecated/insecure packages
|
|
883
|
+
18. **Offer review reminder** - For important decisions
|
|
884
|
+
19. **Archive old research** - Move to archive after 6 months
|
|
885
|
+
20. **Guard scope** - Alert if research drifts off-topic
|
|
886
|
+
21. **Recall past decisions** - Search history for similar topics
|
|
887
|
+
22. **Log all actions** - To activity.log
|
|
888
|
+
|
|
889
|
+
---
|
|
890
|
+
|
|
891
|
+
## Commands Reference
|
|
892
|
+
|
|
893
|
+
| Command | Description |
|
|
894
|
+
|---------|-------------|
|
|
895
|
+
| `pa:rnd` | Full interactive R&D workflow |
|
|
896
|
+
| `pa:research` | Alias for pa:rnd |
|
|
897
|
+
| `pa:rnd-compare` | Direct to comparison mode |
|
|
898
|
+
| `pa:rnd-poc` | Direct to prototype mode |
|
|
899
|
+
| `pa:rnd-explore` | Direct to exploration mode |
|
|
900
|
+
| `pa:rnd --quick` | Quick 5-minute research |
|
|
901
|
+
| `pa:rnd --resume` | Resume interrupted session |
|
|
902
|
+
| `pa:rnd --clear` | Clear saved progress |
|
|
903
|
+
|
|
904
|
+
---
|
|
905
|
+
|
|
906
|
+
## Logging
|
|
907
|
+
|
|
908
|
+
After completion, log to `.proagents/activity.log`:
|
|
909
|
+
|
|
910
|
+
```
|
|
911
|
+
[DATE TIME] [AI:model] [pa:rnd] Started R&D session: [topic]
|
|
912
|
+
[DATE TIME] [AI:model] [pa:rnd] Mode: compare
|
|
913
|
+
[DATE TIME] [AI:model] [pa:rnd] Options compared: [option1], [option2], [option3]
|
|
914
|
+
[DATE TIME] [AI:model] [pa:rnd] Recommendation: [option]
|
|
915
|
+
[DATE TIME] [AI:model] [pa:rnd] Created: docs/research/comparisons/[file].md
|
|
916
|
+
[DATE TIME] [AI:model] [pa:rnd] Updated: docs/research/INDEX.md
|
|
917
|
+
[DATE TIME] [AI:model] [pa:rnd] R&D session complete
|
|
918
|
+
```
|
|
919
|
+
|
|
920
|
+
Update `.proagents/worklog/_context.md`:
|
|
921
|
+
|
|
922
|
+
```markdown
|
|
923
|
+
## Quick Summary
|
|
924
|
+
Last: [AI] ran R&D workflow
|
|
925
|
+
Topic: [research topic]
|
|
926
|
+
Decision: [recommendation]
|
|
927
|
+
Output: docs/research/comparisons/[file].md
|
|
928
|
+
|
|
929
|
+
## Flow Context
|
|
930
|
+
```
|
|
931
|
+
Current Flow: rnd
|
|
932
|
+
Last Command: pa:rnd-compare
|
|
933
|
+
Decision: [recommendation]
|
|
934
|
+
Context: [use case description]
|
|
935
|
+
Next Suggested: pa:feature "[feature name based on decision]"
|
|
936
|
+
Data: {"tech": "[chosen tech]", "use_case": "[use case]", "research_doc": "[doc path]"}
|
|
937
|
+
```
|
|
938
|
+
```
|
|
939
|
+
|
|
940
|
+
### Flow Context Integration
|
|
941
|
+
|
|
942
|
+
When user selects "Start feature" from Next Phase Options:
|
|
943
|
+
|
|
944
|
+
1. **Write Flow Context** with decision data
|
|
945
|
+
2. **Trigger pa:feature** with context
|
|
946
|
+
3. **pa:feature reads** Flow Context and offers to use it
|
|
947
|
+
|
|
948
|
+
Example continuation prompt in pa:feature:
|
|
949
|
+
|
|
950
|
+
```
|
|
951
|
+
📋 Continuing from R&D...
|
|
952
|
+
|
|
953
|
+
You recently decided on [tech] for [use case].
|
|
954
|
+
Research: [doc path]
|
|
955
|
+
|
|
956
|
+
Use this context for the feature? (yes/no/modify)
|
|
957
|
+
```
|