bmad-method 5.0.0-beta.2 → 5.0.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.
Files changed (131) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +3 -3
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +3 -3
  3. package/.github/workflows/discord.yaml +11 -2
  4. package/.github/workflows/format-check.yaml +42 -0
  5. package/.github/workflows/manual-release.yaml +173 -0
  6. package/.husky/pre-commit +3 -0
  7. package/.vscode/settings.json +26 -1
  8. package/CHANGELOG.md +0 -11
  9. package/README.md +2 -0
  10. package/bmad-core/agent-teams/team-all.yaml +1 -1
  11. package/bmad-core/agents/bmad-orchestrator.md +1 -1
  12. package/bmad-core/agents/dev.md +4 -4
  13. package/bmad-core/data/bmad-kb.md +1 -1
  14. package/bmad-core/data/test-levels-framework.md +12 -12
  15. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  16. package/bmad-core/tasks/nfr-assess.md +10 -10
  17. package/bmad-core/tasks/qa-gate.md +23 -23
  18. package/bmad-core/tasks/review-story.md +18 -18
  19. package/bmad-core/tasks/risk-profile.md +25 -25
  20. package/bmad-core/tasks/test-design.md +9 -9
  21. package/bmad-core/tasks/trace-requirements.md +21 -21
  22. package/bmad-core/templates/architecture-tmpl.yaml +49 -49
  23. package/bmad-core/templates/brainstorming-output-tmpl.yaml +5 -5
  24. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +31 -31
  25. package/bmad-core/templates/brownfield-prd-tmpl.yaml +13 -13
  26. package/bmad-core/templates/competitor-analysis-tmpl.yaml +19 -6
  27. package/bmad-core/templates/front-end-architecture-tmpl.yaml +21 -9
  28. package/bmad-core/templates/front-end-spec-tmpl.yaml +24 -24
  29. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +122 -104
  30. package/bmad-core/templates/market-research-tmpl.yaml +2 -2
  31. package/bmad-core/templates/prd-tmpl.yaml +9 -9
  32. package/bmad-core/templates/project-brief-tmpl.yaml +4 -4
  33. package/bmad-core/templates/qa-gate-tmpl.yaml +9 -9
  34. package/bmad-core/templates/story-tmpl.yaml +12 -12
  35. package/bmad-core/workflows/brownfield-fullstack.yaml +9 -9
  36. package/bmad-core/workflows/brownfield-service.yaml +1 -1
  37. package/bmad-core/workflows/brownfield-ui.yaml +1 -1
  38. package/bmad-core/workflows/greenfield-fullstack.yaml +1 -1
  39. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  40. package/bmad-core/workflows/greenfield-ui.yaml +1 -1
  41. package/common/utils/bmad-doc-template.md +5 -5
  42. package/dist/agents/analyst.txt +28 -15
  43. package/dist/agents/architect.txt +220 -190
  44. package/dist/agents/bmad-master.txt +298 -255
  45. package/dist/agents/bmad-orchestrator.txt +1 -1
  46. package/dist/agents/pm.txt +20 -20
  47. package/dist/agents/po.txt +11 -11
  48. package/dist/agents/qa.txt +275 -618
  49. package/dist/agents/sm.txt +11 -11
  50. package/dist/agents/ux-expert.txt +23 -23
  51. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +109 -109
  52. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +75 -77
  53. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +41 -41
  54. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +483 -474
  55. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +1 -1
  56. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +149 -149
  57. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +20 -20
  58. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +371 -358
  59. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +25 -25
  60. package/dist/teams/team-all.txt +581 -881
  61. package/dist/teams/team-fullstack.txt +316 -273
  62. package/dist/teams/team-ide-minimal.txt +276 -619
  63. package/dist/teams/team-no-ui.txt +281 -238
  64. package/docs/versioning-and-releases.md +114 -44
  65. package/eslint.config.mjs +119 -0
  66. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +26 -26
  67. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +4 -4
  68. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +1 -1
  69. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +26 -28
  70. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +50 -50
  71. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +23 -23
  72. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +24 -24
  73. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +42 -42
  74. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  75. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  76. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +1 -1
  77. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +3 -3
  78. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +1 -1
  79. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +23 -23
  80. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +63 -63
  81. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +20 -20
  82. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  83. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  84. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +1 -1
  85. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +20 -20
  86. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +7 -7
  87. package/package.json +62 -39
  88. package/prettier.config.mjs +32 -0
  89. package/release_notes.md +30 -0
  90. package/tools/bmad-npx-wrapper.js +10 -10
  91. package/tools/builders/web-builder.js +124 -130
  92. package/tools/bump-all-versions.js +42 -33
  93. package/tools/bump-expansion-version.js +23 -16
  94. package/tools/cli.js +10 -12
  95. package/tools/flattener/aggregate.js +10 -10
  96. package/tools/flattener/binary.js +44 -17
  97. package/tools/flattener/discovery.js +19 -18
  98. package/tools/flattener/files.js +6 -6
  99. package/tools/flattener/ignoreRules.js +125 -125
  100. package/tools/flattener/main.js +201 -304
  101. package/tools/flattener/projectRoot.js +75 -73
  102. package/tools/flattener/prompts.js +9 -9
  103. package/tools/flattener/stats.helpers.js +131 -67
  104. package/tools/flattener/stats.js +3 -3
  105. package/tools/flattener/test-matrix.js +201 -193
  106. package/tools/flattener/xml.js +33 -31
  107. package/tools/installer/bin/bmad.js +130 -89
  108. package/tools/installer/config/ide-agent-config.yaml +1 -1
  109. package/tools/installer/config/install.config.yaml +2 -2
  110. package/tools/installer/lib/config-loader.js +46 -42
  111. package/tools/installer/lib/file-manager.js +91 -113
  112. package/tools/installer/lib/ide-base-setup.js +57 -56
  113. package/tools/installer/lib/ide-setup.js +375 -343
  114. package/tools/installer/lib/installer.js +875 -714
  115. package/tools/installer/lib/memory-profiler.js +54 -53
  116. package/tools/installer/lib/module-manager.js +19 -15
  117. package/tools/installer/lib/resource-locator.js +26 -28
  118. package/tools/installer/package.json +19 -19
  119. package/tools/lib/dependency-resolver.js +26 -30
  120. package/tools/lib/yaml-utils.js +7 -7
  121. package/tools/preview-release-notes.js +66 -0
  122. package/tools/shared/bannerArt.js +3 -3
  123. package/tools/sync-installer-version.js +7 -9
  124. package/tools/update-expansion-version.js +14 -15
  125. package/tools/upgraders/v3-to-v4-upgrader.js +203 -294
  126. package/tools/version-bump.js +41 -26
  127. package/tools/yaml-format.js +56 -43
  128. package/.github/workflows/promote-to-stable.yml +0 -144
  129. package/.github/workflows/release.yaml +0 -60
  130. package/.releaserc.json +0 -21
  131. package/tools/semantic-release-sync-installer.js +0 -30
@@ -376,7 +376,7 @@ workflow:
376
376
  elicitation: advanced-elicitation
377
377
 
378
378
  agent_config:
379
- editable_sections:
379
+ editable_sections:
380
380
  - Status
381
381
  - Story
382
382
  - Acceptance Criteria
@@ -393,7 +393,7 @@ sections:
393
393
  instruction: Select the current status of the story
394
394
  owner: scrum-master
395
395
  editors: [scrum-master, dev-agent]
396
-
396
+
397
397
  - id: story
398
398
  title: Story
399
399
  type: template-text
@@ -405,7 +405,7 @@ sections:
405
405
  elicit: true
406
406
  owner: scrum-master
407
407
  editors: [scrum-master]
408
-
408
+
409
409
  - id: acceptance-criteria
410
410
  title: Acceptance Criteria
411
411
  type: numbered-list
@@ -413,7 +413,7 @@ sections:
413
413
  elicit: true
414
414
  owner: scrum-master
415
415
  editors: [scrum-master]
416
-
416
+
417
417
  - id: tasks-subtasks
418
418
  title: Tasks / Subtasks
419
419
  type: bullet-list
@@ -430,7 +430,7 @@ sections:
430
430
  elicit: true
431
431
  owner: scrum-master
432
432
  editors: [scrum-master, dev-agent]
433
-
433
+
434
434
  - id: dev-notes
435
435
  title: Dev Notes
436
436
  instruction: |
@@ -454,7 +454,7 @@ sections:
454
454
  elicit: true
455
455
  owner: scrum-master
456
456
  editors: [scrum-master]
457
-
457
+
458
458
  - id: change-log
459
459
  title: Change Log
460
460
  type: table
@@ -462,7 +462,7 @@ sections:
462
462
  instruction: Track changes made to this story document
463
463
  owner: scrum-master
464
464
  editors: [scrum-master, dev-agent, qa-agent]
465
-
465
+
466
466
  - id: dev-agent-record
467
467
  title: Dev Agent Record
468
468
  instruction: This section is populated by the development agent during implementation
@@ -475,25 +475,25 @@ sections:
475
475
  instruction: Record the specific AI agent model and version used for development
476
476
  owner: dev-agent
477
477
  editors: [dev-agent]
478
-
478
+
479
479
  - id: debug-log-references
480
480
  title: Debug Log References
481
481
  instruction: Reference any debug logs or traces generated during development
482
482
  owner: dev-agent
483
483
  editors: [dev-agent]
484
-
484
+
485
485
  - id: completion-notes
486
486
  title: Completion Notes List
487
487
  instruction: Notes about the completion of tasks and any issues encountered
488
488
  owner: dev-agent
489
489
  editors: [dev-agent]
490
-
490
+
491
491
  - id: file-list
492
492
  title: File List
493
493
  instruction: List all files created, modified, or affected during story implementation
494
494
  owner: dev-agent
495
495
  editors: [dev-agent]
496
-
496
+
497
497
  - id: qa-results
498
498
  title: QA Results
499
499
  instruction: Results from QA Agent QA review of the completed story implementation
@@ -354,7 +354,7 @@ sections:
354
354
  title: Introduction
355
355
  instruction: |
356
356
  Review provided documents including Project Brief, PRD, and any user research to gather context. Focus on understanding user needs, pain points, and desired outcomes before beginning the specification.
357
-
357
+
358
358
  Establish the document's purpose and scope. Keep the content below but ensure project name is properly substituted.
359
359
  content: |
360
360
  This document defines the user experience goals, information architecture, user flows, and visual design specifications for {{project_name}}'s user interface. It serves as the foundation for visual design and frontend development, ensuring a cohesive and user-centered experience.
@@ -363,7 +363,7 @@ sections:
363
363
  title: Overall UX Goals & Principles
364
364
  instruction: |
365
365
  Work with the user to establish and document the following. If not already defined, facilitate a discussion to determine:
366
-
366
+
367
367
  1. Target User Personas - elicit details or confirm existing ones from PRD
368
368
  2. Key Usability Goals - understand what success looks like for users
369
369
  3. Core Design Principles - establish 3-5 guiding principles
@@ -404,7 +404,7 @@ sections:
404
404
  title: Information Architecture (IA)
405
405
  instruction: |
406
406
  Collaborate with the user to create a comprehensive information architecture:
407
-
407
+
408
408
  1. Build a Site Map or Screen Inventory showing all major areas
409
409
  2. Define the Navigation Structure (primary, secondary, breadcrumbs)
410
410
  3. Use Mermaid diagrams for visual representation
@@ -434,22 +434,22 @@ sections:
434
434
  title: Navigation Structure
435
435
  template: |
436
436
  **Primary Navigation:** {{primary_nav_description}}
437
-
437
+
438
438
  **Secondary Navigation:** {{secondary_nav_description}}
439
-
439
+
440
440
  **Breadcrumb Strategy:** {{breadcrumb_strategy}}
441
441
 
442
442
  - id: user-flows
443
443
  title: User Flows
444
444
  instruction: |
445
445
  For each critical user task identified in the PRD:
446
-
446
+
447
447
  1. Define the user's goal clearly
448
448
  2. Map out all steps including decision points
449
449
  3. Consider edge cases and error states
450
450
  4. Use Mermaid flow diagrams for clarity
451
451
  5. Link to external tools (Figma/Miro) if detailed flows exist there
452
-
452
+
453
453
  Create subsections for each major flow.
454
454
  elicit: true
455
455
  repeatable: true
@@ -458,9 +458,9 @@ sections:
458
458
  title: "{{flow_name}}"
459
459
  template: |
460
460
  **User Goal:** {{flow_goal}}
461
-
461
+
462
462
  **Entry Points:** {{entry_points}}
463
-
463
+
464
464
  **Success Criteria:** {{success_criteria}}
465
465
  sections:
466
466
  - id: flow-diagram
@@ -491,14 +491,14 @@ sections:
491
491
  title: "{{screen_name}}"
492
492
  template: |
493
493
  **Purpose:** {{screen_purpose}}
494
-
494
+
495
495
  **Key Elements:**
496
496
  - {{element_1}}
497
497
  - {{element_2}}
498
498
  - {{element_3}}
499
-
499
+
500
500
  **Interaction Notes:** {{interaction_notes}}
501
-
501
+
502
502
  **Design File Reference:** {{specific_frame_link}}
503
503
 
504
504
  - id: component-library
@@ -517,11 +517,11 @@ sections:
517
517
  title: "{{component_name}}"
518
518
  template: |
519
519
  **Purpose:** {{component_purpose}}
520
-
520
+
521
521
  **Variants:** {{component_variants}}
522
-
522
+
523
523
  **States:** {{component_states}}
524
-
524
+
525
525
  **Usage Guidelines:** {{usage_guidelines}}
526
526
 
527
527
  - id: branding-style
@@ -567,13 +567,13 @@ sections:
567
567
  title: Iconography
568
568
  template: |
569
569
  **Icon Library:** {{icon_library}}
570
-
570
+
571
571
  **Usage Guidelines:** {{icon_guidelines}}
572
572
  - id: spacing-layout
573
573
  title: Spacing & Layout
574
574
  template: |
575
575
  **Grid System:** {{grid_system}}
576
-
576
+
577
577
  **Spacing Scale:** {{spacing_scale}}
578
578
 
579
579
  - id: accessibility
@@ -591,12 +591,12 @@ sections:
591
591
  - Color contrast ratios: {{contrast_requirements}}
592
592
  - Focus indicators: {{focus_requirements}}
593
593
  - Text sizing: {{text_requirements}}
594
-
594
+
595
595
  **Interaction:**
596
596
  - Keyboard navigation: {{keyboard_requirements}}
597
597
  - Screen reader support: {{screen_reader_requirements}}
598
598
  - Touch targets: {{touch_requirements}}
599
-
599
+
600
600
  **Content:**
601
601
  - Alternative text: {{alt_text_requirements}}
602
602
  - Heading structure: {{heading_requirements}}
@@ -623,11 +623,11 @@ sections:
623
623
  title: Adaptation Patterns
624
624
  template: |
625
625
  **Layout Changes:** {{layout_adaptations}}
626
-
626
+
627
627
  **Navigation Changes:** {{nav_adaptations}}
628
-
628
+
629
629
  **Content Priority:** {{content_adaptations}}
630
-
630
+
631
631
  **Interaction Changes:** {{interaction_adaptations}}
632
632
 
633
633
  - id: animation
@@ -661,7 +661,7 @@ sections:
661
661
  title: Next Steps
662
662
  instruction: |
663
663
  After completing the UI/UX specification:
664
-
664
+
665
665
  1. Recommend review with stakeholders
666
666
  2. Suggest creating/updating visual designs in design tool
667
667
  3. Prepare for handoff to Design Architect for frontend architecture