bmad-method 4.37.0 → 5.0.0-beta.1
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/.github/workflows/promote-to-stable.yml +144 -0
- package/CHANGELOG.md +16 -9
- package/bmad-core/agents/qa.md +37 -18
- package/bmad-core/data/test-levels-framework.md +146 -0
- package/bmad-core/data/test-priorities-matrix.md +172 -0
- package/bmad-core/tasks/nfr-assess.md +343 -0
- package/bmad-core/tasks/qa-gate.md +159 -0
- package/bmad-core/tasks/review-story.md +234 -74
- package/bmad-core/tasks/risk-profile.md +353 -0
- package/bmad-core/tasks/test-design.md +174 -0
- package/bmad-core/tasks/trace-requirements.md +264 -0
- package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
- package/dist/agents/analyst.txt +20 -26
- package/dist/agents/architect.txt +14 -35
- package/dist/agents/bmad-master.txt +40 -70
- package/dist/agents/bmad-orchestrator.txt +28 -5
- package/dist/agents/dev.txt +0 -14
- package/dist/agents/pm.txt +0 -25
- package/dist/agents/po.txt +0 -18
- package/dist/agents/qa.txt +2079 -135
- package/dist/agents/sm.txt +0 -10
- package/dist/agents/ux-expert.txt +0 -7
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -37
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +3 -12
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -7
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +44 -90
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +14 -49
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +0 -46
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -15
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +0 -17
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +38 -142
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2
- package/dist/teams/team-all.txt +2181 -261
- package/dist/teams/team-fullstack.txt +43 -57
- package/dist/teams/team-ide-minimal.txt +2064 -125
- package/dist/teams/team-no-ui.txt +43 -57
- package/docs/enhanced-ide-development-workflow.md +220 -15
- package/docs/user-guide.md +271 -18
- package/docs/working-in-the-brownfield.md +264 -31
- package/package.json +1 -1
- package/tools/installer/bin/bmad.js +33 -32
- package/tools/installer/config/install.config.yaml +11 -1
- package/tools/installer/lib/file-manager.js +1 -1
- package/tools/installer/lib/ide-base-setup.js +1 -1
- package/tools/installer/lib/ide-setup.js +197 -83
- package/tools/installer/lib/installer.js +3 -3
- package/tools/installer/package.json +1 -1
|
@@ -233,63 +233,54 @@ CRITICAL: First, help the user select the most appropriate research focus based
|
|
|
233
233
|
Present these numbered options to the user:
|
|
234
234
|
|
|
235
235
|
1. **Product Validation Research**
|
|
236
|
-
|
|
237
236
|
- Validate product hypotheses and market fit
|
|
238
237
|
- Test assumptions about user needs and solutions
|
|
239
238
|
- Assess technical and business feasibility
|
|
240
239
|
- Identify risks and mitigation strategies
|
|
241
240
|
|
|
242
241
|
2. **Market Opportunity Research**
|
|
243
|
-
|
|
244
242
|
- Analyze market size and growth potential
|
|
245
243
|
- Identify market segments and dynamics
|
|
246
244
|
- Assess market entry strategies
|
|
247
245
|
- Evaluate timing and market readiness
|
|
248
246
|
|
|
249
247
|
3. **User & Customer Research**
|
|
250
|
-
|
|
251
248
|
- Deep dive into user personas and behaviors
|
|
252
249
|
- Understand jobs-to-be-done and pain points
|
|
253
250
|
- Map customer journeys and touchpoints
|
|
254
251
|
- Analyze willingness to pay and value perception
|
|
255
252
|
|
|
256
253
|
4. **Competitive Intelligence Research**
|
|
257
|
-
|
|
258
254
|
- Detailed competitor analysis and positioning
|
|
259
255
|
- Feature and capability comparisons
|
|
260
256
|
- Business model and strategy analysis
|
|
261
257
|
- Identify competitive advantages and gaps
|
|
262
258
|
|
|
263
259
|
5. **Technology & Innovation Research**
|
|
264
|
-
|
|
265
260
|
- Assess technology trends and possibilities
|
|
266
261
|
- Evaluate technical approaches and architectures
|
|
267
262
|
- Identify emerging technologies and disruptions
|
|
268
263
|
- Analyze build vs. buy vs. partner options
|
|
269
264
|
|
|
270
265
|
6. **Industry & Ecosystem Research**
|
|
271
|
-
|
|
272
266
|
- Map industry value chains and dynamics
|
|
273
267
|
- Identify key players and relationships
|
|
274
268
|
- Analyze regulatory and compliance factors
|
|
275
269
|
- Understand partnership opportunities
|
|
276
270
|
|
|
277
271
|
7. **Strategic Options Research**
|
|
278
|
-
|
|
279
272
|
- Evaluate different strategic directions
|
|
280
273
|
- Assess business model alternatives
|
|
281
274
|
- Analyze go-to-market strategies
|
|
282
275
|
- Consider expansion and scaling paths
|
|
283
276
|
|
|
284
277
|
8. **Risk & Feasibility Research**
|
|
285
|
-
|
|
286
278
|
- Identify and assess various risk factors
|
|
287
279
|
- Evaluate implementation challenges
|
|
288
280
|
- Analyze resource requirements
|
|
289
281
|
- Consider regulatory and legal implications
|
|
290
282
|
|
|
291
283
|
9. **Custom Research Focus**
|
|
292
|
-
|
|
293
284
|
- User-defined research objectives
|
|
294
285
|
- Specialized domain investigation
|
|
295
286
|
- Cross-functional research needs
|
|
@@ -458,13 +449,11 @@ CRITICAL: collaborate with the user to develop specific, actionable research que
|
|
|
458
449
|
### 5. Review and Refinement
|
|
459
450
|
|
|
460
451
|
1. **Present Complete Prompt**
|
|
461
|
-
|
|
462
452
|
- Show the full research prompt
|
|
463
453
|
- Explain key elements and rationale
|
|
464
454
|
- Highlight any assumptions made
|
|
465
455
|
|
|
466
456
|
2. **Gather Feedback**
|
|
467
|
-
|
|
468
457
|
- Are the objectives clear and correct?
|
|
469
458
|
- Do the questions address all concerns?
|
|
470
459
|
- Is the scope appropriate?
|
|
@@ -615,9 +604,9 @@ This document captures the CURRENT STATE of the [Project Name] codebase, includi
|
|
|
615
604
|
|
|
616
605
|
### Change Log
|
|
617
606
|
|
|
618
|
-
| Date
|
|
619
|
-
|
|
620
|
-
| [Date] | 1.0
|
|
607
|
+
| Date | Version | Description | Author |
|
|
608
|
+
| ------ | ------- | --------------------------- | --------- |
|
|
609
|
+
| [Date] | 1.0 | Initial brownfield analysis | [Analyst] |
|
|
621
610
|
|
|
622
611
|
## Quick Reference - Key Files and Entry Points
|
|
623
612
|
|
|
@@ -640,11 +629,11 @@ This document captures the CURRENT STATE of the [Project Name] codebase, includi
|
|
|
640
629
|
|
|
641
630
|
### Actual Tech Stack (from package.json/requirements.txt)
|
|
642
631
|
|
|
643
|
-
| Category
|
|
644
|
-
|
|
645
|
-
| Runtime
|
|
646
|
-
| Framework | Express
|
|
647
|
-
| Database
|
|
632
|
+
| Category | Technology | Version | Notes |
|
|
633
|
+
| --------- | ---------- | ------- | -------------------------- |
|
|
634
|
+
| Runtime | Node.js | 16.x | [Any constraints] |
|
|
635
|
+
| Framework | Express | 4.18.2 | [Custom middleware?] |
|
|
636
|
+
| Database | PostgreSQL | 13 | [Connection pooling setup] |
|
|
648
637
|
|
|
649
638
|
etc...
|
|
650
639
|
|
|
@@ -683,6 +672,7 @@ project-root/
|
|
|
683
672
|
### Data Models
|
|
684
673
|
|
|
685
674
|
Instead of duplicating, reference actual model files:
|
|
675
|
+
|
|
686
676
|
- **User Model**: See `src/models/User.js`
|
|
687
677
|
- **Order Model**: See `src/models/Order.js`
|
|
688
678
|
- **Related Types**: TypeScript definitions in `src/types/`
|
|
@@ -712,10 +702,10 @@ Instead of duplicating, reference actual model files:
|
|
|
712
702
|
|
|
713
703
|
### External Services
|
|
714
704
|
|
|
715
|
-
| Service
|
|
716
|
-
|
|
717
|
-
| Stripe
|
|
718
|
-
| SendGrid | Emails
|
|
705
|
+
| Service | Purpose | Integration Type | Key Files |
|
|
706
|
+
| -------- | -------- | ---------------- | ------------------------------ |
|
|
707
|
+
| Stripe | Payments | REST API | `src/integrations/stripe/` |
|
|
708
|
+
| SendGrid | Emails | SDK | `src/services/emailService.js` |
|
|
719
709
|
|
|
720
710
|
etc...
|
|
721
711
|
|
|
@@ -760,6 +750,7 @@ npm run test:integration # Runs integration tests (requires local DB)
|
|
|
760
750
|
### Files That Will Need Modification
|
|
761
751
|
|
|
762
752
|
Based on the enhancement requirements, these files will be affected:
|
|
753
|
+
|
|
763
754
|
- `src/services/userService.js` - Add new user fields
|
|
764
755
|
- `src/models/User.js` - Update schema
|
|
765
756
|
- `src/routes/userRoutes.js` - New endpoints
|
|
@@ -857,7 +848,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
857
848
|
## Instructions
|
|
858
849
|
|
|
859
850
|
1. **Initial Assessment**
|
|
860
|
-
|
|
861
851
|
- If user or the task being run provides a checklist name:
|
|
862
852
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
863
853
|
- If multiple matches found, ask user to clarify
|
|
@@ -870,14 +860,12 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
870
860
|
- All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
|
|
871
861
|
|
|
872
862
|
2. **Document and Artifact Gathering**
|
|
873
|
-
|
|
874
863
|
- Each checklist will specify its required documents/artifacts at the beginning
|
|
875
864
|
- Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
|
|
876
865
|
|
|
877
866
|
3. **Checklist Processing**
|
|
878
867
|
|
|
879
868
|
If in interactive mode:
|
|
880
|
-
|
|
881
869
|
- Work through each section of the checklist one at a time
|
|
882
870
|
- For each section:
|
|
883
871
|
- Review all items in the section following instructions for that section embedded in the checklist
|
|
@@ -886,7 +874,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
886
874
|
- Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
|
|
887
875
|
|
|
888
876
|
If in YOLO mode:
|
|
889
|
-
|
|
890
877
|
- Process all sections at once
|
|
891
878
|
- Create a comprehensive report of all findings
|
|
892
879
|
- Present the complete analysis to the user
|
|
@@ -894,7 +881,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
894
881
|
4. **Validation Approach**
|
|
895
882
|
|
|
896
883
|
For each checklist item:
|
|
897
|
-
|
|
898
884
|
- Read and understand the requirement
|
|
899
885
|
- Look for evidence in the documentation that satisfies the requirement
|
|
900
886
|
- Consider both explicit mentions and implicit coverage
|
|
@@ -908,7 +894,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
908
894
|
5. **Section Analysis**
|
|
909
895
|
|
|
910
896
|
For each section:
|
|
911
|
-
|
|
912
897
|
- think step by step to calculate pass rate
|
|
913
898
|
- Identify common themes in failed items
|
|
914
899
|
- Provide specific recommendations for improvement
|
|
@@ -918,7 +903,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
918
903
|
6. **Final Report**
|
|
919
904
|
|
|
920
905
|
Prepare a summary that includes:
|
|
921
|
-
|
|
922
906
|
- Overall checklist completion status
|
|
923
907
|
- Pass rates by section
|
|
924
908
|
- List of failed items with context
|
|
@@ -3496,33 +3480,28 @@ Ask the user if they want to work through the checklist:
|
|
|
3496
3480
|
Now that you've completed the checklist, generate a comprehensive validation report that includes:
|
|
3497
3481
|
|
|
3498
3482
|
1. Executive Summary
|
|
3499
|
-
|
|
3500
3483
|
- Overall architecture readiness (High/Medium/Low)
|
|
3501
3484
|
- Critical risks identified
|
|
3502
3485
|
- Key strengths of the architecture
|
|
3503
3486
|
- Project type (Full-stack/Frontend/Backend) and sections evaluated
|
|
3504
3487
|
|
|
3505
3488
|
2. Section Analysis
|
|
3506
|
-
|
|
3507
3489
|
- Pass rate for each major section (percentage of items passed)
|
|
3508
3490
|
- Most concerning failures or gaps
|
|
3509
3491
|
- Sections requiring immediate attention
|
|
3510
3492
|
- Note any sections skipped due to project type
|
|
3511
3493
|
|
|
3512
3494
|
3. Risk Assessment
|
|
3513
|
-
|
|
3514
3495
|
- Top 5 risks by severity
|
|
3515
3496
|
- Mitigation recommendations for each
|
|
3516
3497
|
- Timeline impact of addressing issues
|
|
3517
3498
|
|
|
3518
3499
|
4. Recommendations
|
|
3519
|
-
|
|
3520
3500
|
- Must-fix items before development
|
|
3521
3501
|
- Should-fix items for better quality
|
|
3522
3502
|
- Nice-to-have improvements
|
|
3523
3503
|
|
|
3524
3504
|
5. AI Implementation Readiness
|
|
3525
|
-
|
|
3526
3505
|
- Specific concerns for AI agent implementation
|
|
3527
3506
|
- Areas needing additional clarification
|
|
3528
3507
|
- Complexity hotspots to address
|