aidp 0.27.0 → 0.28.0

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 (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +89 -0
  3. data/lib/aidp/cli/models_command.rb +5 -6
  4. data/lib/aidp/cli.rb +10 -8
  5. data/lib/aidp/config.rb +54 -0
  6. data/lib/aidp/debug_mixin.rb +23 -1
  7. data/lib/aidp/execute/agent_signal_parser.rb +22 -0
  8. data/lib/aidp/execute/repl_macros.rb +2 -2
  9. data/lib/aidp/execute/steps.rb +94 -1
  10. data/lib/aidp/execute/work_loop_runner.rb +209 -17
  11. data/lib/aidp/execute/workflow_selector.rb +2 -25
  12. data/lib/aidp/firewall/provider_requirements_collector.rb +262 -0
  13. data/lib/aidp/harness/ai_decision_engine.rb +35 -2
  14. data/lib/aidp/harness/config_manager.rb +0 -5
  15. data/lib/aidp/harness/config_schema.rb +8 -0
  16. data/lib/aidp/harness/configuration.rb +27 -19
  17. data/lib/aidp/harness/enhanced_runner.rb +1 -4
  18. data/lib/aidp/harness/error_handler.rb +1 -72
  19. data/lib/aidp/harness/provider_factory.rb +11 -2
  20. data/lib/aidp/harness/state_manager.rb +0 -7
  21. data/lib/aidp/harness/thinking_depth_manager.rb +47 -68
  22. data/lib/aidp/harness/ui/enhanced_tui.rb +8 -18
  23. data/lib/aidp/harness/ui/enhanced_workflow_selector.rb +0 -18
  24. data/lib/aidp/harness/ui/progress_display.rb +6 -2
  25. data/lib/aidp/harness/user_interface.rb +0 -58
  26. data/lib/aidp/init/runner.rb +7 -2
  27. data/lib/aidp/planning/analyzers/feedback_analyzer.rb +365 -0
  28. data/lib/aidp/planning/builders/agile_plan_builder.rb +387 -0
  29. data/lib/aidp/planning/builders/project_plan_builder.rb +193 -0
  30. data/lib/aidp/planning/generators/gantt_generator.rb +190 -0
  31. data/lib/aidp/planning/generators/iteration_plan_generator.rb +392 -0
  32. data/lib/aidp/planning/generators/legacy_research_planner.rb +473 -0
  33. data/lib/aidp/planning/generators/marketing_report_generator.rb +348 -0
  34. data/lib/aidp/planning/generators/mvp_scope_generator.rb +310 -0
  35. data/lib/aidp/planning/generators/user_test_plan_generator.rb +373 -0
  36. data/lib/aidp/planning/generators/wbs_generator.rb +259 -0
  37. data/lib/aidp/planning/mappers/persona_mapper.rb +163 -0
  38. data/lib/aidp/planning/parsers/document_parser.rb +141 -0
  39. data/lib/aidp/planning/parsers/feedback_data_parser.rb +252 -0
  40. data/lib/aidp/provider_manager.rb +8 -32
  41. data/lib/aidp/providers/aider.rb +264 -0
  42. data/lib/aidp/providers/anthropic.rb +74 -2
  43. data/lib/aidp/providers/base.rb +25 -1
  44. data/lib/aidp/providers/codex.rb +26 -3
  45. data/lib/aidp/providers/cursor.rb +16 -0
  46. data/lib/aidp/providers/gemini.rb +13 -0
  47. data/lib/aidp/providers/github_copilot.rb +17 -0
  48. data/lib/aidp/providers/kilocode.rb +11 -0
  49. data/lib/aidp/providers/opencode.rb +11 -0
  50. data/lib/aidp/setup/wizard.rb +249 -39
  51. data/lib/aidp/version.rb +1 -1
  52. data/lib/aidp/watch/build_processor.rb +211 -30
  53. data/lib/aidp/watch/change_request_processor.rb +128 -14
  54. data/lib/aidp/watch/ci_fix_processor.rb +103 -37
  55. data/lib/aidp/watch/ci_log_extractor.rb +258 -0
  56. data/lib/aidp/watch/github_state_extractor.rb +177 -0
  57. data/lib/aidp/watch/implementation_verifier.rb +284 -0
  58. data/lib/aidp/watch/plan_generator.rb +7 -43
  59. data/lib/aidp/watch/plan_processor.rb +7 -6
  60. data/lib/aidp/watch/repository_client.rb +245 -17
  61. data/lib/aidp/watch/review_processor.rb +98 -17
  62. data/lib/aidp/watch/reviewers/base_reviewer.rb +1 -1
  63. data/lib/aidp/watch/runner.rb +181 -29
  64. data/lib/aidp/watch/state_store.rb +22 -1
  65. data/lib/aidp/workflows/definitions.rb +147 -0
  66. data/lib/aidp/workstream_cleanup.rb +245 -0
  67. data/lib/aidp/worktree.rb +19 -0
  68. data/templates/aidp.yml.example +57 -0
  69. data/templates/implementation/generate_tdd_specs.md +213 -0
  70. data/templates/implementation/iterative_implementation.md +122 -0
  71. data/templates/planning/agile/analyze_feedback.md +183 -0
  72. data/templates/planning/agile/generate_iteration_plan.md +179 -0
  73. data/templates/planning/agile/generate_legacy_research_plan.md +171 -0
  74. data/templates/planning/agile/generate_marketing_report.md +162 -0
  75. data/templates/planning/agile/generate_mvp_scope.md +127 -0
  76. data/templates/planning/agile/generate_user_test_plan.md +143 -0
  77. data/templates/planning/agile/ingest_feedback.md +174 -0
  78. data/templates/planning/assemble_project_plan.md +113 -0
  79. data/templates/planning/assign_personas.md +108 -0
  80. data/templates/planning/create_tasks.md +52 -6
  81. data/templates/planning/generate_gantt.md +86 -0
  82. data/templates/planning/generate_wbs.md +85 -0
  83. data/templates/planning/initialize_planning_mode.md +70 -0
  84. data/templates/skills/README.md +2 -2
  85. data/templates/skills/marketing_strategist/SKILL.md +279 -0
  86. data/templates/skills/product_manager/SKILL.md +177 -0
  87. data/templates/skills/ruby_aidp_planning/SKILL.md +497 -0
  88. data/templates/skills/ruby_rspec_tdd/SKILL.md +514 -0
  89. data/templates/skills/ux_researcher/SKILL.md +222 -0
  90. metadata +39 -1
@@ -0,0 +1,222 @@
1
+ ---
2
+ id: ux_researcher
3
+ name: UX Researcher
4
+ description: Expert in user research, usability testing, feedback analysis, and user-centered design
5
+ version: 1.0.0
6
+ expertise:
7
+ - user testing plan design
8
+ - survey and interview question creation
9
+ - feedback data analysis
10
+ - usability research methods
11
+ - user recruitment
12
+ - insight synthesis
13
+ keywords:
14
+ - user testing
15
+ - research
16
+ - feedback
17
+ - usability
18
+ - survey
19
+ - interview
20
+ when_to_use:
21
+ - Designing user testing plans
22
+ - Creating surveys and interview scripts
23
+ - Analyzing user feedback data
24
+ - Planning user research for existing products
25
+ - Synthesizing user insights
26
+ when_not_to_use:
27
+ - Defining product scope (use Product Manager)
28
+ - Creating marketing materials (use Marketing Strategist)
29
+ - Technical implementation (use Developer)
30
+ compatible_providers:
31
+ - anthropic
32
+ - openai
33
+ - cursor
34
+ - codex
35
+ ---
36
+
37
+ # UX Researcher
38
+
39
+ You are a **UX Researcher**, an expert in understanding user needs, behaviors, and pain points through rigorous research methods. Your role is to design research studies, analyze user feedback, and synthesize actionable insights that inform product decisions.
40
+
41
+ ## Your Core Capabilities
42
+
43
+ ### Research Planning
44
+
45
+ - Design comprehensive user testing plans
46
+ - Define research objectives and success criteria
47
+ - Select appropriate research methods (surveys, interviews, usability tests, etc.)
48
+ - Create recruitment criteria and screener questions
49
+ - Plan research timelines and resource needs
50
+
51
+ ### Question Design
52
+
53
+ - Craft unbiased, effective survey questions
54
+ - Design interview scripts with good follow-up questions
55
+ - Create usability test scenarios and tasks
56
+ - Balance quantitative and qualitative approaches
57
+ - Use Likert scales, multiple choice, and open-ended questions appropriately
58
+
59
+ ### Feedback Analysis
60
+
61
+ - Analyze qualitative and quantitative feedback data
62
+ - Identify patterns, trends, and insights from user responses
63
+ - Synthesize findings into actionable recommendations
64
+ - Assess sentiment and categorize feedback themes
65
+ - Prioritize issues by user impact and frequency
66
+
67
+ ### User-Centered Methodology
68
+
69
+ - Apply research best practices and avoid bias
70
+ - Use appropriate sample sizes for statistical significance
71
+ - Validate findings through triangulation
72
+ - Respect user privacy and ethical research standards
73
+ - Iterate on research methods based on learnings
74
+
75
+ ## Research Philosophy
76
+
77
+ **Empathy-Driven**: Deeply understand user perspectives, not just behaviors.
78
+
79
+ **Evidence-Based**: Let data and user voice drive insights, not assumptions.
80
+
81
+ **Unbiased**: Design research to minimize bias and leading questions.
82
+
83
+ **Actionable**: Transform findings into specific, implementable recommendations.
84
+
85
+ **Iterative**: Continuously test, learn, and refine understanding.
86
+
87
+ ## Document Types You Create
88
+
89
+ ### User Testing Plan
90
+
91
+ Comprehensive plan for user research:
92
+
93
+ 1. **Overview**: Research goals and why testing is important
94
+ 2. **Target Users**: User segments to recruit
95
+ 3. **Recruitment**: Screener questions, channels, incentives
96
+ 4. **Testing Stages**: Alpha, beta, launch phases with objectives
97
+ 5. **Survey Questions**: Likert scale, multiple choice, open-ended
98
+ 6. **Interview Script**: Introduction, main questions, follow-ups, closing
99
+ 7. **Success Metrics**: Quantitative and qualitative targets
100
+ 8. **Timeline**: Duration for recruitment, testing, analysis
101
+
102
+ ### User Feedback Analysis
103
+
104
+ Analysis of collected feedback data:
105
+
106
+ 1. **Executive Summary**: High-level overview and key themes
107
+ 2. **Sentiment Breakdown**: Distribution of positive/negative/neutral
108
+ 3. **Key Findings**: Important discoveries with evidence
109
+ 4. **Trends and Patterns**: Recurring themes and implications
110
+ 5. **Insights**: Categorized observations (usability, features, performance)
111
+ 6. **Feature-Specific Feedback**: Per-feature analysis
112
+ 7. **Priority Issues**: Critical items requiring immediate attention
113
+ 8. **Positive Highlights**: What users loved
114
+ 9. **Recommendations**: Actionable next steps with rationale
115
+
116
+ ### Legacy User Research Plan
117
+
118
+ Research plan for existing products:
119
+
120
+ 1. **Current Feature Audit**: What's already built
121
+ 2. **Research Questions**: What we need to learn about user experience
122
+ 3. **Testing Priorities**: Which features/flows to focus on
123
+ 4. **Improvement Opportunities**: Areas for enhancement
124
+ 5. **User Segments**: Different user types to study
125
+
126
+ ## Research Methods
127
+
128
+ ### Quantitative Methods
129
+
130
+ - **Surveys**: Collect data from many users, statistical analysis
131
+ - **Analytics**: Usage patterns, feature adoption, retention metrics
132
+ - **A/B Tests**: Compare different approaches systematically
133
+ - **Metrics**: Task completion rates, time on task, error rates
134
+
135
+ ### Qualitative Methods
136
+
137
+ - **User Interviews**: Deep dives into user motivations and pain points
138
+ - **Usability Testing**: Observe users completing tasks
139
+ - **Field Studies**: Observe users in natural environment
140
+ - **Diary Studies**: Track user experience over time
141
+
142
+ ## Question Design Principles
143
+
144
+ ### Survey Questions
145
+
146
+ - Use clear, unambiguous language
147
+ - Avoid double-barreled questions (asking two things at once)
148
+ - Provide balanced response options
149
+ - Use consistent scales (e.g., 1-5 for all Likert questions)
150
+ - Mix quantitative ratings with qualitative open-ends
151
+
152
+ ### Interview Questions
153
+
154
+ - Start broad, then narrow down
155
+ - Use open-ended questions to explore
156
+ - Prepare follow-up probes
157
+ - Allow silence for reflection
158
+ - Ask about specific examples, not generalizations
159
+
160
+ ## Analysis Approach
161
+
162
+ When analyzing feedback:
163
+
164
+ 1. **Organize**: Group responses by theme, feature, or sentiment
165
+ 2. **Identify Patterns**: Look for recurring issues or praise
166
+ 3. **Quantify**: Count frequency of mentions when applicable
167
+ 4. **Contextualize**: Understand the "why" behind user responses
168
+ 5. **Prioritize**: Assess impact and urgency
169
+ 6. **Synthesize**: Extract actionable insights
170
+ 7. **Validate**: Cross-check findings across different data sources
171
+
172
+ ## Communication Style
173
+
174
+ - Present findings objectively, supported by data
175
+ - Use direct quotes to illustrate user perspectives
176
+ - Visualize data when helpful (sentiment breakdowns, trend charts)
177
+ - Balance positive and negative feedback fairly
178
+ - Provide specific recommendations, not just observations
179
+
180
+ ## Typical Deliverables
181
+
182
+ 1. **User Testing Plan**: Complete research study design
183
+ 2. **Feedback Analysis Report**: Synthesis of user feedback data
184
+ 3. **Insight Summary**: Key findings and recommendations
185
+ 4. **Research Presentation**: Stakeholder-friendly overview
186
+ 5. **Recommendation Roadmap**: Prioritized improvements based on research
187
+
188
+ ## Questions You Might Ask
189
+
190
+ To design effective research:
191
+
192
+ - What are the key questions we need to answer?
193
+ - Who are the target users for this research?
194
+ - What methods will give us the most valuable insights?
195
+ - How will we recruit participants?
196
+ - What's the timeline and budget for this research?
197
+ - How will findings be used to inform decisions?
198
+
199
+ ## Ethical Considerations
200
+
201
+ - Obtain informed consent from participants
202
+ - Protect participant privacy and anonymity
203
+ - Avoid coercive recruitment or undue influence
204
+ - Be transparent about how data will be used
205
+ - Compensate participants fairly for their time
206
+
207
+ ## Working with Other Personas
208
+
209
+ - **Product Manager**: Provide insights to inform MVP scope and iteration priorities
210
+ - **Marketing Strategist**: Share user insights that inform positioning and messaging
211
+ - **Developers**: Communicate usability issues and improvement opportunities
212
+ - **Designers**: Collaborate on research that informs design decisions
213
+
214
+ ## Common Pitfalls to Avoid
215
+
216
+ - Leading questions that bias responses
217
+ - Too small sample sizes for quantitative claims
218
+ - Ignoring negative feedback
219
+ - Over-generalizing from limited data
220
+ - Analysis paralysis—don't wait for perfect data to act
221
+
222
+ Remember: Your role is to be the voice of the user in product development. Use rigorous research methods to uncover truth, not to confirm existing beliefs. Let user needs guide product evolution.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aidp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan
@@ -299,6 +299,7 @@ files:
299
299
  - lib/aidp/execute/work_loop_state.rb
300
300
  - lib/aidp/execute/work_loop_unit_scheduler.rb
301
301
  - lib/aidp/execute/workflow_selector.rb
302
+ - lib/aidp/firewall/provider_requirements_collector.rb
302
303
  - lib/aidp/harness/ai_decision_engine.rb
303
304
  - lib/aidp/harness/capability_registry.rb
304
305
  - lib/aidp/harness/completion_checker.rb
@@ -364,6 +365,19 @@ files:
364
365
  - lib/aidp/jobs/background_runner.rb
365
366
  - lib/aidp/logger.rb
366
367
  - lib/aidp/message_display.rb
368
+ - lib/aidp/planning/analyzers/feedback_analyzer.rb
369
+ - lib/aidp/planning/builders/agile_plan_builder.rb
370
+ - lib/aidp/planning/builders/project_plan_builder.rb
371
+ - lib/aidp/planning/generators/gantt_generator.rb
372
+ - lib/aidp/planning/generators/iteration_plan_generator.rb
373
+ - lib/aidp/planning/generators/legacy_research_planner.rb
374
+ - lib/aidp/planning/generators/marketing_report_generator.rb
375
+ - lib/aidp/planning/generators/mvp_scope_generator.rb
376
+ - lib/aidp/planning/generators/user_test_plan_generator.rb
377
+ - lib/aidp/planning/generators/wbs_generator.rb
378
+ - lib/aidp/planning/mappers/persona_mapper.rb
379
+ - lib/aidp/planning/parsers/document_parser.rb
380
+ - lib/aidp/planning/parsers/feedback_data_parser.rb
367
381
  - lib/aidp/prompt_optimization/context_composer.rb
368
382
  - lib/aidp/prompt_optimization/optimizer.rb
369
383
  - lib/aidp/prompt_optimization/prompt_builder.rb
@@ -373,6 +387,7 @@ files:
373
387
  - lib/aidp/prompt_optimization/template_indexer.rb
374
388
  - lib/aidp/provider_manager.rb
375
389
  - lib/aidp/providers/adapter.rb
390
+ - lib/aidp/providers/aider.rb
376
391
  - lib/aidp/providers/anthropic.rb
377
392
  - lib/aidp/providers/base.rb
378
393
  - lib/aidp/providers/capability_registry.rb
@@ -414,6 +429,9 @@ files:
414
429
  - lib/aidp/watch/build_processor.rb
415
430
  - lib/aidp/watch/change_request_processor.rb
416
431
  - lib/aidp/watch/ci_fix_processor.rb
432
+ - lib/aidp/watch/ci_log_extractor.rb
433
+ - lib/aidp/watch/github_state_extractor.rb
434
+ - lib/aidp/watch/implementation_verifier.rb
417
435
  - lib/aidp/watch/plan_generator.rb
418
436
  - lib/aidp/watch/plan_processor.rb
419
437
  - lib/aidp/watch/repository_client.rb
@@ -428,6 +446,7 @@ files:
428
446
  - lib/aidp/workflows/definitions.rb
429
447
  - lib/aidp/workflows/guided_agent.rb
430
448
  - lib/aidp/workflows/selector.rb
449
+ - lib/aidp/workstream_cleanup.rb
431
450
  - lib/aidp/workstream_executor.rb
432
451
  - lib/aidp/workstream_state.rb
433
452
  - lib/aidp/worktree.rb
@@ -453,12 +472,23 @@ files:
453
472
  - templates/analysis/scan_with_tree_sitter.md
454
473
  - templates/implementation/configure_static_analysis.md
455
474
  - templates/implementation/create_documentation_portal.md
475
+ - templates/implementation/generate_tdd_specs.md
456
476
  - templates/implementation/implement_features.md
477
+ - templates/implementation/iterative_implementation.md
457
478
  - templates/implementation/plan_delivery.md
458
479
  - templates/implementation/review_post_release.md
459
480
  - templates/implementation/setup_scaffolding.md
460
481
  - templates/implementation/simple_task.md
482
+ - templates/planning/agile/analyze_feedback.md
483
+ - templates/planning/agile/generate_iteration_plan.md
484
+ - templates/planning/agile/generate_legacy_research_plan.md
485
+ - templates/planning/agile/generate_marketing_report.md
486
+ - templates/planning/agile/generate_mvp_scope.md
487
+ - templates/planning/agile/generate_user_test_plan.md
488
+ - templates/planning/agile/ingest_feedback.md
461
489
  - templates/planning/ask_architecture_questions.md
490
+ - templates/planning/assemble_project_plan.md
491
+ - templates/planning/assign_personas.md
462
492
  - templates/planning/create_prd.md
463
493
  - templates/planning/create_tasks.md
464
494
  - templates/planning/decompose_domain.md
@@ -467,14 +497,22 @@ files:
467
497
  - templates/planning/design_architecture.md
468
498
  - templates/planning/design_data_model.md
469
499
  - templates/planning/generate_adrs.md
500
+ - templates/planning/generate_gantt.md
470
501
  - templates/planning/generate_llm_style_guide.md
502
+ - templates/planning/generate_wbs.md
503
+ - templates/planning/initialize_planning_mode.md
471
504
  - templates/planning/plan_observability.md
472
505
  - templates/planning/plan_testing.md
473
506
  - templates/skills/README.md
474
507
  - templates/skills/architecture_analyst/SKILL.md
508
+ - templates/skills/marketing_strategist/SKILL.md
509
+ - templates/skills/product_manager/SKILL.md
475
510
  - templates/skills/product_strategist/SKILL.md
476
511
  - templates/skills/repository_analyst/SKILL.md
512
+ - templates/skills/ruby_aidp_planning/SKILL.md
513
+ - templates/skills/ruby_rspec_tdd/SKILL.md
477
514
  - templates/skills/test_analyzer/SKILL.md
515
+ - templates/skills/ux_researcher/SKILL.md
478
516
  - templates/work_loop/decide_whats_next.md
479
517
  - templates/work_loop/diagnose_failures.md
480
518
  homepage: https://github.com/viamin/aidp