bmad-method 4.44.0 → 4.44.2

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 (68) hide show
  1. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  2. package/.github/workflows/manual-release.yaml +1 -1
  3. package/PR-opencode-agents-generator.md +40 -0
  4. package/README.md +38 -44
  5. package/bmad-core/agents/analyst.md +1 -1
  6. package/bmad-core/agents/architect.md +1 -1
  7. package/bmad-core/agents/bmad-master.md +7 -7
  8. package/bmad-core/agents/bmad-orchestrator.md +2 -2
  9. package/bmad-core/agents/dev.md +1 -1
  10. package/bmad-core/agents/pm.md +1 -1
  11. package/bmad-core/agents/po.md +1 -1
  12. package/bmad-core/agents/qa.md +2 -6
  13. package/bmad-core/agents/sm.md +1 -1
  14. package/bmad-core/agents/ux-expert.md +1 -1
  15. package/bmad-core/checklists/po-master-checklist.md +3 -3
  16. package/bmad-core/data/bmad-kb.md +1 -1
  17. package/bmad-core/tasks/apply-qa-fixes.md +4 -4
  18. package/bmad-core/tasks/nfr-assess.md +3 -3
  19. package/bmad-core/tasks/qa-gate.md +2 -2
  20. package/bmad-core/tasks/review-story.md +1 -1
  21. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +6 -6
  22. package/dist/agents/analyst.txt +3 -11
  23. package/dist/agents/architect.txt +1 -7
  24. package/dist/agents/bmad-master.txt +7 -31
  25. package/dist/agents/bmad-orchestrator.txt +1 -8
  26. package/dist/agents/dev.txt +5 -10
  27. package/dist/agents/pm.txt +0 -10
  28. package/dist/agents/po.txt +4 -10
  29. package/dist/agents/qa.txt +7 -15
  30. package/dist/agents/sm.txt +0 -4
  31. package/dist/agents/ux-expert.txt +0 -4
  32. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -6
  33. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -3
  34. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -3
  35. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +2 -25
  36. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +0 -9
  37. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +0 -8
  38. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +1 -4
  39. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +0 -4
  40. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +3 -35
  41. package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +0 -9
  42. package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +0 -8
  43. package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +0 -7
  44. package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +0 -8
  45. package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +0 -10
  46. package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +0 -8
  47. package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +0 -7
  48. package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +0 -9
  49. package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +0 -85
  50. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-developer.txt +2 -2
  51. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-qa.txt +1 -2
  52. package/dist/expansion-packs/bmad-godot-game-dev/teams/godot-game-team.txt +5 -6
  53. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -5
  54. package/dist/teams/team-all.txt +34 -69
  55. package/dist/teams/team-fullstack.txt +23 -46
  56. package/dist/teams/team-ide-minimal.txt +16 -42
  57. package/dist/teams/team-no-ui.txt +12 -34
  58. package/docs/user-guide.md +48 -1
  59. package/expansion-packs/bmad-godot-game-dev/agents/bmad-orchestrator.md +1 -1
  60. package/expansion-packs/bmad-godot-game-dev/agents/game-qa.md +1 -2
  61. package/expansion-packs/bmad-godot-game-dev/tasks/apply-qa-fixes.md +2 -2
  62. package/package.json +2 -1
  63. package/tools/installer/bin/bmad.js +46 -1
  64. package/tools/installer/config/install.config.yaml +18 -7
  65. package/tools/installer/lib/ide-setup.js +709 -77
  66. package/tools/installer/lib/installer.js +17 -4
  67. package/tools/installer/package.json +1 -1
  68. package/release_notes.md +0 -48
@@ -437,7 +437,6 @@ dependencies:
437
437
 
438
438
  ==================== START: .bmad-core/tasks/advanced-elicitation.md ====================
439
439
  <!-- Powered by BMAD™ Core -->
440
-
441
440
  # Advanced Elicitation Task
442
441
 
443
442
  ## Purpose
@@ -559,7 +558,6 @@ Choose a number (0-8) or 9 to proceed:
559
558
 
560
559
  ==================== START: .bmad-core/tasks/create-doc.md ====================
561
560
  <!-- Powered by BMAD™ Core -->
562
-
563
561
  # Create Document from Template (YAML Driven)
564
562
 
565
563
  ## ⚠️ CRITICAL EXECUTION NOTICE ⚠️
@@ -665,7 +663,6 @@ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
665
663
 
666
664
  ==================== START: .bmad-core/tasks/kb-mode-interaction.md ====================
667
665
  <!-- Powered by BMAD™ Core -->
668
-
669
666
  # KB Mode Interaction Task
670
667
 
671
668
  ## Purpose
@@ -745,7 +742,6 @@ Or ask me about anything else related to BMad-Method!
745
742
 
746
743
  ==================== START: .bmad-core/data/bmad-kb.md ====================
747
744
  <!-- Powered by BMAD™ Core -->
748
-
749
745
  # BMAD™ Knowledge Base
750
746
 
751
747
  ## Overview
@@ -848,7 +844,6 @@ npx bmad-method install
848
844
  - **Cline**: VS Code extension with AI features
849
845
  - **Roo Code**: Web-based IDE with agent support
850
846
  - **GitHub Copilot**: VS Code extension with AI peer programming assistant
851
- - **Auggie CLI (Augment Code)**: AI-powered development environment
852
847
 
853
848
  **Note for VS Code Users**: BMAD-METHOD™ assumes when you mention "VS Code" that you're using it with an AI-powered extension like GitHub Copilot, Cline, or Roo. Standard VS Code without AI capabilities cannot run BMad agents. The installer includes built-in support for Cline and Roo.
854
849
 
@@ -927,7 +922,7 @@ npx bmad-method install
927
922
 
928
923
  ## Core Configuration (core-config.yaml)
929
924
 
930
- **New in V4**: The `bmad-core/core-config.yaml` file is a critical innovation that enables BMad to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
925
+ **New in V4**: The `.bmad-core/core-config.yaml` file is a critical innovation that enables BMad to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
931
926
 
932
927
  ### What is core-config.yaml?
933
928
 
@@ -1557,7 +1552,6 @@ Use the **expansion-creator** pack to build your own:
1557
1552
 
1558
1553
  ==================== START: .bmad-core/data/elicitation-methods.md ====================
1559
1554
  <!-- Powered by BMAD™ Core -->
1560
-
1561
1555
  # Elicitation Methods Data
1562
1556
 
1563
1557
  ## Core Reflective Methods
@@ -1716,7 +1710,6 @@ Use the **expansion-creator** pack to build your own:
1716
1710
 
1717
1711
  ==================== START: .bmad-core/utils/workflow-management.md ====================
1718
1712
  <!-- Powered by BMAD™ Core -->
1719
-
1720
1713
  # Workflow Management
1721
1714
 
1722
1715
  Enables BMad orchestrator to manage and execute team workflows.
@@ -1790,7 +1783,6 @@ Agents should be workflow-aware: know active workflow, their role, access artifa
1790
1783
 
1791
1784
  ==================== START: .bmad-core/tasks/create-deep-research-prompt.md ====================
1792
1785
  <!-- Powered by BMAD™ Core -->
1793
-
1794
1786
  # Create Deep Research Prompt Task
1795
1787
 
1796
1788
  This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
@@ -2073,7 +2065,6 @@ CRITICAL: collaborate with the user to develop specific, actionable research que
2073
2065
 
2074
2066
  ==================== START: .bmad-core/tasks/document-project.md ====================
2075
2067
  <!-- Powered by BMAD™ Core -->
2076
-
2077
2068
  # Document an Existing Project
2078
2069
 
2079
2070
  ## Purpose
@@ -2420,11 +2411,10 @@ Apply the advanced elicitation task after major sections to refine based on user
2420
2411
  ==================== END: .bmad-core/tasks/document-project.md ====================
2421
2412
 
2422
2413
  ==================== START: .bmad-core/tasks/facilitate-brainstorming-session.md ====================
2423
- ## <!-- Powered by BMAD™ Core -->
2424
-
2414
+ <!-- Powered by BMAD™ Core -->
2415
+ ---
2425
2416
  docOutputLocation: docs/brainstorming-session-results.md
2426
2417
  template: '.bmad-core/templates/brainstorming-output-tmpl.yaml'
2427
-
2428
2418
  ---
2429
2419
 
2430
2420
  # Facilitate Brainstorming Session Task
@@ -3512,7 +3502,6 @@ sections:
3512
3502
 
3513
3503
  ==================== START: .bmad-core/data/brainstorming-techniques.md ====================
3514
3504
  <!-- Powered by BMAD™ Core -->
3515
-
3516
3505
  # Brainstorming Techniques Data
3517
3506
 
3518
3507
  ## Creative Expansion
@@ -3553,7 +3542,6 @@ sections:
3553
3542
 
3554
3543
  ==================== START: .bmad-core/tasks/brownfield-create-epic.md ====================
3555
3544
  <!-- Powered by BMAD™ Core -->
3556
-
3557
3545
  # Create Brownfield Epic Task
3558
3546
 
3559
3547
  ## Purpose
@@ -3718,7 +3706,6 @@ The epic creation is successful when:
3718
3706
 
3719
3707
  ==================== START: .bmad-core/tasks/brownfield-create-story.md ====================
3720
3708
  <!-- Powered by BMAD™ Core -->
3721
-
3722
3709
  # Create Brownfield Story Task
3723
3710
 
3724
3711
  ## Purpose
@@ -3870,7 +3857,6 @@ The story creation is successful when:
3870
3857
 
3871
3858
  ==================== START: .bmad-core/tasks/correct-course.md ====================
3872
3859
  <!-- Powered by BMAD™ Core -->
3873
-
3874
3860
  # Correct Course Task
3875
3861
 
3876
3862
  ## Purpose
@@ -3945,7 +3931,6 @@ The story creation is successful when:
3945
3931
 
3946
3932
  ==================== START: .bmad-core/tasks/execute-checklist.md ====================
3947
3933
  <!-- Powered by BMAD™ Core -->
3948
-
3949
3934
  # Checklist Validation Task
3950
3935
 
3951
3936
  This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
@@ -4036,7 +4021,6 @@ The LLM will:
4036
4021
 
4037
4022
  ==================== START: .bmad-core/tasks/shard-doc.md ====================
4038
4023
  <!-- Powered by BMAD™ Core -->
4039
-
4040
4024
  # Document Sharding Task
4041
4025
 
4042
4026
  ## Purpose
@@ -4716,7 +4700,6 @@ sections:
4716
4700
 
4717
4701
  ==================== START: .bmad-core/checklists/change-checklist.md ====================
4718
4702
  <!-- Powered by BMAD™ Core -->
4719
-
4720
4703
  # Change Navigation Checklist
4721
4704
 
4722
4705
  **Purpose:** To systematically guide the selected Agent and user through the analysis and planning required when a significant change (pivot, tech issue, missing requirement, failed story) is identified during the BMad workflow.
@@ -4903,7 +4886,6 @@ Keep it action-oriented and forward-looking.]]
4903
4886
 
4904
4887
  ==================== START: .bmad-core/checklists/pm-checklist.md ====================
4905
4888
  <!-- Powered by BMAD™ Core -->
4906
-
4907
4889
  # Product Manager (PM) Requirements Checklist
4908
4890
 
4909
4891
  This checklist serves as a comprehensive framework to ensure the Product Requirements Document (PRD) and Epic definitions are complete, well-structured, and appropriately scoped for MVP development. The PM should systematically work through each item during the product definition process.
@@ -5278,7 +5260,6 @@ After presenting the report, ask if the user wants:
5278
5260
 
5279
5261
  ==================== START: .bmad-core/data/technical-preferences.md ====================
5280
5262
  <!-- Powered by BMAD™ Core -->
5281
-
5282
5263
  # User-Defined Preferred Patterns and Preferences
5283
5264
 
5284
5265
  None Listed
@@ -5964,7 +5945,7 @@ sections:
5964
5945
  1. **Verify Complexity**: Confirm this enhancement requires architectural planning. For simple additions, recommend: "For simpler changes that don't require architectural planning, consider using the brownfield-create-epic or brownfield-create-story task with the Product Owner instead."
5965
5946
 
5966
5947
  2. **REQUIRED INPUTS**:
5967
- - Completed brownfield-prd.md
5948
+ - Completed prd.md
5968
5949
  - Existing project technical documentation (from docs folder or user-provided)
5969
5950
  - Access to existing project structure (IDE or uploaded files)
5970
5951
 
@@ -7469,7 +7450,6 @@ sections:
7469
7450
 
7470
7451
  ==================== START: .bmad-core/checklists/architect-checklist.md ====================
7471
7452
  <!-- Powered by BMAD™ Core -->
7472
-
7473
7453
  # Architect Solution Validation Checklist
7474
7454
 
7475
7455
  This checklist serves as a comprehensive framework for the Architect to validate the technical design and architecture before development execution. The Architect should systematically work through each item, ensuring the architecture is robust, scalable, secure, and aligned with the product requirements.
@@ -7912,7 +7892,6 @@ After presenting the report, ask the user if they would like detailed analysis o
7912
7892
 
7913
7893
  ==================== START: .bmad-core/tasks/validate-next-story.md ====================
7914
7894
  <!-- Powered by BMAD™ Core -->
7915
-
7916
7895
  # Validate Next Story Task
7917
7896
 
7918
7897
  ## Purpose
@@ -7934,7 +7913,7 @@ To comprehensively validate a story draft before implementation begins, ensuring
7934
7913
 
7935
7914
  ### 1. Template Completeness Validation
7936
7915
 
7937
- - Load `.bmad-core/templates/story-tmpl.yaml` and extract all section headings from the template
7916
+ - Load `bmad-core/templates/story-tmpl.md` and extract all section headings from the template
7938
7917
  - **Missing sections check**: Compare story sections against template sections to verify all required sections are present
7939
7918
  - **Placeholder validation**: Ensure no template placeholders remain unfilled (e.g., `{{EpicNum}}`, `{{role}}`, `_TBD_`)
7940
7919
  - **Agent section verification**: Confirm all sections from template exist for future agent use
@@ -8192,7 +8171,6 @@ sections:
8192
8171
 
8193
8172
  ==================== START: .bmad-core/checklists/po-master-checklist.md ====================
8194
8173
  <!-- Powered by BMAD™ Core -->
8195
-
8196
8174
  # Product Owner (PO) Master Validation Checklist
8197
8175
 
8198
8176
  This checklist serves as a comprehensive framework for the Product Owner to validate project plans before development execution. It adapts intelligently based on project type (greenfield vs brownfield) and includes UI/UX considerations when applicable.
@@ -8208,7 +8186,7 @@ First, determine the project type by checking:
8208
8186
 
8209
8187
  2. Is this a BROWNFIELD project (enhancing existing system)?
8210
8188
  - Look for: References to existing codebase, enhancement/modification language
8211
- - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
8189
+ - Check for: prd.md, architecture.md, existing system analysis
8212
8190
 
8213
8191
  3. Does the project include UI/UX components?
8214
8192
  - Check for: frontend-architecture.md, UI/UX specifications, design files
@@ -8226,8 +8204,8 @@ For GREENFIELD projects:
8226
8204
 
8227
8205
  For BROWNFIELD projects:
8228
8206
 
8229
- - brownfield-prd.md - The brownfield enhancement requirements
8230
- - brownfield-architecture.md - The enhancement architecture
8207
+ - prd.md - The brownfield enhancement requirements
8208
+ - architecture.md - The enhancement architecture
8231
8209
  - Existing project codebase access (CRITICAL - cannot proceed without this)
8232
8210
  - Current deployment configuration and infrastructure details
8233
8211
  - Database schemas, API documentation, monitoring setup
@@ -8744,7 +8722,7 @@ workflow:
8744
8722
  - Dev Agent (New Chat): Address remaining items
8745
8723
  - Return to QA for final approval
8746
8724
 
8747
- - step: repeat_development_cycle
8725
+ - repeat_development_cycle:
8748
8726
  action: continue_for_all_stories
8749
8727
  notes: |
8750
8728
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -8761,7 +8739,7 @@ workflow:
8761
8739
  - Validate epic was completed correctly
8762
8740
  - Document learnings and improvements
8763
8741
 
8764
- - step: workflow_end
8742
+ - workflow_end:
8765
8743
  action: project_complete
8766
8744
  notes: |
8767
8745
  All stories implemented and reviewed!
@@ -8946,7 +8924,7 @@ workflow:
8946
8924
  - Dev Agent (New Chat): Address remaining items
8947
8925
  - Return to QA for final approval
8948
8926
 
8949
- - step: repeat_development_cycle
8927
+ - repeat_development_cycle:
8950
8928
  action: continue_for_all_stories
8951
8929
  notes: |
8952
8930
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -8963,7 +8941,7 @@ workflow:
8963
8941
  - Validate epic was completed correctly
8964
8942
  - Document learnings and improvements
8965
8943
 
8966
- - step: workflow_end
8944
+ - workflow_end:
8967
8945
  action: project_complete
8968
8946
  notes: |
8969
8947
  All stories implemented and reviewed!
@@ -187,6 +187,53 @@ If you want to do the planning on the web with Claude (Sonnet 4 or Opus), Gemini
187
187
  npx bmad-method install
188
188
  ```
189
189
 
190
+ ### OpenCode
191
+
192
+ BMAD integrates with OpenCode via a project-level `opencode.jsonc`/`opencode.json` (JSON-only, no Markdown fallback).
193
+
194
+ - Installation:
195
+ - Run `npx bmad-method install` and choose `OpenCode` in the IDE list.
196
+ - The installer will detect an existing `opencode.jsonc`/`opencode.json` or create a minimal `opencode.jsonc` if missing.
197
+ - It will:
198
+ - Ensure `instructions` includes `.bmad-core/core-config.yaml` (and each selected expansion pack’s `config.yaml`).
199
+ - Merge BMAD agents and commands using file references (`{file:./.bmad-core/...}`), idempotently.
200
+ - Preserve other top-level fields and user-defined entries.
201
+
202
+ - Prefixes and collisions:
203
+ - You can opt-in to prefix agent keys with `bmad-` and command keys with `bmad:tasks:` to avoid name collisions.
204
+ - If a key already exists and is not BMAD-managed, the installer will skip it and suggest enabling prefixes.
205
+
206
+ - What gets added:
207
+ - `instructions`: `.bmad-core/core-config.yaml` plus any selected expansion pack `config.yaml` files.
208
+ - `agent`: BMAD agents from core and selected packs.
209
+ - `prompt`: `{file:./.bmad-core/agents/<id>.md}` (or pack path)
210
+ - `mode`: `primary` for orchestrators, otherwise `all`
211
+ - `tools`: `{ write: true, edit: true, bash: true }`
212
+ - `description`: extracted from the agent’s `whenToUse`
213
+ - `command`: BMAD tasks from core and selected packs.
214
+ - `template`: `{file:./.bmad-core/tasks/<id>.md}` (or pack path)
215
+ - `description`: extracted from the task’s “Purpose” section
216
+
217
+ - Selected Packages Only:
218
+ - The installer includes agents and tasks only from the packages you selected in the earlier step (core and chosen packs).
219
+
220
+ - Refresh after changes:
221
+ - Re-run:
222
+ ```bash
223
+ npx bmad-method install -f -i opencode
224
+ ```
225
+ - The installer safely updates entries without duplication and preserves your custom fields and comments.
226
+
227
+ - Optional convenience script:
228
+ - You can add a script to your project’s `package.json` for quick refreshes:
229
+ ```json
230
+ {
231
+ "scripts": {
232
+ "bmad:opencode": "bmad-method install -f -i opencode"
233
+ }
234
+ }
235
+ ```
236
+
190
237
  ### Codex (CLI & Web)
191
238
 
192
239
  BMAD integrates with OpenAI Codex via `AGENTS.md` and committed core agent files.
@@ -501,7 +548,7 @@ When creating custom web bundles or uploading to AI platforms, include your `tec
501
548
 
502
549
  ## Core Configuration
503
550
 
504
- The `bmad-core/core-config.yaml` file is a critical config that enables BMad to work seamlessly with differing project structures, more options will be made available in the future. Currently the most important is the devLoadAlwaysFiles list section in the yaml.
551
+ The `.bmad-core/core-config.yaml` file is a critical config that enables BMad to work seamlessly with differing project structures, more options will be made available in the future. Currently the most important is the devLoadAlwaysFiles list section in the yaml.
505
552
 
506
553
  ### Developer Context Files
507
554
 
@@ -31,7 +31,7 @@ activation-instructions:
31
31
  - Assess user goal against available agents and workflows in this bundle
32
32
  - If clear match to an agent's expertise, suggest transformation with *agent command
33
33
  - If project-oriented, suggest *workflow-guidance to explore options
34
- - Load resources only when needed - never pre-load (Exception: Read `bmad-core/core-config.yaml` during activation)
34
+ - Load resources only when needed - never pre-load (Exception: Read `.bmad-core/core-config.yaml` during activation)
35
35
  - CRITICAL: On activation, ONLY greet user, auto-run `*help`, and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
36
36
  agent:
37
37
  name: BMad Orchestrator
@@ -34,8 +34,7 @@ agent:
34
34
  id: game-qa
35
35
  title: Game Test Architect & TDD Enforcer (Godot)
36
36
  icon: 🎮🧪
37
- whenToUse: |
38
- Use for Godot game testing architecture, test-driven development enforcement,
37
+ whenToUse: Use for Godot game testing architecture, test-driven development enforcement,
39
38
  performance validation, and gameplay quality assurance. Ensures all code is
40
39
  test-first, performance targets are met, and player experience is validated.
41
40
  Enforces GUT for GDScript and GoDotTest/GodotTestDriver for C# with TDD practices.
@@ -50,7 +50,7 @@ optional:
50
50
 
51
51
  ### 0) Load Core Config & Locate Story
52
52
 
53
- - Read `bmad-core/core-config.yaml` and resolve `qa_root`, `story_root`, and `project_root`
53
+ - Read `.bmad-core/core-config.yaml` and resolve `qa_root`, `story_root`, and `project_root`
54
54
  - Locate story file in `{story_root}/{epic}.{story}.*.md`
55
55
  - HALT if missing and ask for correct story id/path
56
56
 
@@ -150,7 +150,7 @@ Status Rule:
150
150
 
151
151
  ## Blocking Conditions
152
152
 
153
- - Missing `bmad-core/core-config.yaml`
153
+ - Missing `.bmad-core/core-config.yaml`
154
154
  - Story file not found for `story_id`
155
155
  - No QA artifacts found (neither gate nor assessments)
156
156
  - HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-method",
4
- "version": "4.44.0",
4
+ "version": "4.44.2",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -75,6 +75,7 @@
75
75
  "@kayvan/markdown-tree-parser": "^1.6.1",
76
76
  "chalk": "^4.1.2",
77
77
  "commander": "^14.0.0",
78
+ "comment-json": "^4.2.5",
78
79
  "fs-extra": "^11.3.1",
79
80
  "glob": "^11.0.3",
80
81
  "ignore": "^7.0.5",
@@ -49,7 +49,7 @@ program
49
49
  .option('-d, --directory <path>', 'Installation directory')
50
50
  .option(
51
51
  '-i, --ide <ide...>',
52
- 'Configure for specific IDE(s) - can specify multiple (cursor, claude-code, windsurf, trae, roo, kilo, cline, gemini, qwen-code, github-copilot, codex, codex-web, auggie-cli, iflow-cli, other)',
52
+ 'Configure for specific IDE(s) - can specify multiple (cursor, claude-code, windsurf, trae, roo, kilo, cline, gemini, qwen-code, github-copilot, codex, codex-web, auggie-cli, iflow-cli, opencode, other)',
53
53
  )
54
54
  .option(
55
55
  '-e, --expansion-packs <packs...>',
@@ -208,6 +208,13 @@ async function promptInstallation() {
208
208
  console.log(chalk.bold.magenta('🚀 Universal AI Agent Framework for Any Domain'));
209
209
  console.log(chalk.bold.blue(`✨ Installer v${version}\n`));
210
210
 
211
+ // Deprecation notice for v4
212
+ console.log(chalk.yellow.bold('⚠️ You are installing BMad v4 (stable but frozen)'));
213
+ console.log(chalk.yellow(' v4 receives critical patches only - no new features\n'));
214
+ console.log(chalk.cyan('💡 Want the latest features? Try BMad v6 Alpha:'));
215
+ console.log(chalk.white(' npx bmad-method@alpha install'));
216
+ console.log(chalk.dim(' (Alpha is stable enough for testing)\n'));
217
+
211
218
  const answers = {};
212
219
 
213
220
  // Ask for installation directory first
@@ -410,6 +417,7 @@ async function promptInstallation() {
410
417
  { name: 'Auggie CLI (Augment Code)', value: 'auggie-cli' },
411
418
  { name: 'Codex CLI', value: 'codex' },
412
419
  { name: 'Codex Web', value: 'codex-web' },
420
+ { name: 'OpenCode', value: 'opencode' },
413
421
  ],
414
422
  },
415
423
  ]);
@@ -478,6 +486,43 @@ async function promptInstallation() {
478
486
  answers.githubCopilotConfig = { configChoice };
479
487
  }
480
488
 
489
+ // Configure OpenCode immediately if selected
490
+ if (ides.includes('opencode')) {
491
+ console.log(chalk.cyan('\n⚙️ OpenCode Configuration'));
492
+ console.log(
493
+ chalk.dim(
494
+ 'OpenCode will include agents and tasks from the packages you selected above; choose optional key prefixes (defaults: no prefixes).\n',
495
+ ),
496
+ );
497
+
498
+ const { useAgentPrefix, useCommandPrefix } = await inquirer.prompt([
499
+ {
500
+ type: 'confirm',
501
+ name: 'useAgentPrefix',
502
+ message: "Prefix agent keys with 'bmad-'? (e.g., 'bmad-dev')",
503
+ default: true,
504
+ },
505
+ {
506
+ type: 'confirm',
507
+ name: 'useCommandPrefix',
508
+ message: "Prefix command keys with 'bmad:tasks:'? (e.g., 'bmad:tasks:create-doc')",
509
+ default: true,
510
+ },
511
+ ]);
512
+
513
+ answers.openCodeConfig = {
514
+ opencode: {
515
+ useAgentPrefix,
516
+ useCommandPrefix,
517
+ },
518
+ // pass previously selected packages so IDE setup only applies those
519
+ selectedPackages: {
520
+ includeCore: selectedItems.includes('bmad-core'),
521
+ packs: answers.expansionPacks || [],
522
+ },
523
+ };
524
+ }
525
+
481
526
  // Configure Auggie CLI (Augment Code) immediately if selected
482
527
  if (ides.includes('auggie-cli')) {
483
528
  console.log(chalk.cyan('\n📍 Auggie CLI Location Configuration'));
@@ -121,15 +121,15 @@ ide-configurations:
121
121
 
122
122
  qwen-code:
123
123
  name: Qwen Code
124
- rule-dir: .qwen/bmad-method/
125
- format: single-file
126
- command-suffix: .md
124
+ rule-dir: .qwen/commands/BMad/
125
+ format: multi-file
126
+ command-suffix: .toml
127
127
  instructions: |
128
128
  # To use BMad agents with Qwen Code:
129
- # 1. The installer creates a .qwen/bmad-method/ directory in your project.
130
- # 2. It concatenates all agent files into a single QWEN.md file.
131
- # 3. Simply mention the agent in your prompt (e.g., "As *dev, ...").
132
- # 4. The Qwen Code CLI will automatically have the context for that agent.
129
+ # 1. The installer creates a `BMad` folder in `.qwen/commands`.
130
+ # 2. This adds custom commands for each agent and task.
131
+ # 3. Type /BMad:agents:<agent-name> (e.g., "/BMad:agents:dev", "/BMad:agents:pm") or /BMad:tasks:<task-name> (e.g., "/BMad:tasks:create-doc").
132
+ # 4. The agent will adopt that persona for the conversation or perform the task.
133
133
 
134
134
  auggie-cli:
135
135
  name: Auggie CLI (Augment Code)
@@ -171,3 +171,14 @@ ide-configurations:
171
171
  # 2. Commit `.bmad-core/` and `AGENTS.md` to your repository.
172
172
  # 3. Open the repo in Codex Web and reference agents naturally (e.g., "As dev, ...").
173
173
  # 4. Re-run this installer to refresh agent sections when the core changes.
174
+
175
+ opencode:
176
+ name: OpenCode CLI
177
+ format: jsonc-config
178
+ file: opencode.jsonc
179
+ instructions: |
180
+ # To use BMAD agents with OpenCode CLI:
181
+ # 1. The installer creates/updates `opencode.jsonc` at your project root.
182
+ # 2. It ensures the BMAD core instructions file is referenced: `./.bmad-core/core-config.yaml`.
183
+ # 3. If an existing `opencode.json` or `opencode.jsonc` is present, it is preserved and only `instructions` are minimally merged.
184
+ # 4. Run `opencode` in this project to use your configured agents and commands.