bmad-method 4.43.1 โ†’ 4.44.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 (43) hide show
  1. package/PR-opencode-agents-generator.md +40 -0
  2. package/bmad-core/agents/analyst.md +1 -1
  3. package/bmad-core/agents/architect.md +1 -1
  4. package/bmad-core/agents/bmad-master.md +1 -1
  5. package/bmad-core/agents/bmad-orchestrator.md +2 -2
  6. package/bmad-core/agents/dev.md +1 -1
  7. package/bmad-core/agents/pm.md +1 -1
  8. package/bmad-core/agents/po.md +1 -1
  9. package/bmad-core/agents/qa.md +2 -6
  10. package/bmad-core/agents/sm.md +1 -1
  11. package/bmad-core/agents/ux-expert.md +1 -1
  12. package/bmad-core/checklists/po-master-checklist.md +3 -3
  13. package/bmad-core/data/bmad-kb.md +1 -1
  14. package/bmad-core/tasks/apply-qa-fixes.md +4 -4
  15. package/bmad-core/tasks/nfr-assess.md +3 -3
  16. package/bmad-core/tasks/qa-gate.md +2 -2
  17. package/bmad-core/tasks/review-story.md +1 -1
  18. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +1 -1
  19. package/dist/agents/analyst.txt +1 -1
  20. package/dist/agents/architect.txt +1 -1
  21. package/dist/agents/bmad-master.txt +5 -5
  22. package/dist/agents/bmad-orchestrator.txt +1 -1
  23. package/dist/agents/dev.txt +4 -4
  24. package/dist/agents/po.txt +3 -3
  25. package/dist/agents/qa.txt +7 -11
  26. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-developer.txt +2 -2
  27. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-qa.txt +1 -5
  28. package/dist/expansion-packs/bmad-godot-game-dev/teams/godot-game-team.txt +5 -9
  29. package/dist/teams/team-all.txt +16 -20
  30. package/dist/teams/team-fullstack.txt +5 -5
  31. package/dist/teams/team-ide-minimal.txt +15 -19
  32. package/dist/teams/team-no-ui.txt +5 -5
  33. package/docs/user-guide.md +48 -1
  34. package/expansion-packs/bmad-godot-game-dev/agents/bmad-orchestrator.md +1 -1
  35. package/expansion-packs/bmad-godot-game-dev/agents/game-qa.md +1 -2
  36. package/expansion-packs/bmad-godot-game-dev/tasks/apply-qa-fixes.md +2 -2
  37. package/package.json +2 -1
  38. package/release_notes.md +5 -2
  39. package/tools/installer/bin/bmad.js +39 -1
  40. package/tools/installer/config/install.config.yaml +11 -0
  41. package/tools/installer/lib/ide-setup.js +641 -1
  42. package/tools/installer/lib/installer.js +17 -4
  43. package/tools/installer/package.json +1 -1
@@ -506,11 +506,7 @@ agent:
506
506
  id: qa
507
507
  title: Test Architect & Quality Advisor
508
508
  icon: ๐Ÿงช
509
- whenToUse: |
510
- Use for comprehensive test architecture review, quality gate decisions,
511
- and code improvement. Provides thorough analysis including requirements
512
- traceability, risk assessment, and test strategy.
513
- Advisory only - teams choose their quality bar.
509
+ whenToUse: Use for comprehensive test architecture review, quality gate decisions, and code improvement. Provides thorough analysis including requirements traceability, risk assessment, and test strategy. Advisory only - teams choose their quality bar.
514
510
  customization: null
515
511
  persona:
516
512
  role: Test Architect with Quality Advisory Authority
@@ -1147,7 +1143,7 @@ npx bmad-method install
1147
1143
 
1148
1144
  ## Core Configuration (core-config.yaml)
1149
1145
 
1150
- **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.
1146
+ **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.
1151
1147
 
1152
1148
  ### What is core-config.yaml?
1153
1149
 
@@ -4542,7 +4538,7 @@ sections:
4542
4538
  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."
4543
4539
 
4544
4540
  2. **REQUIRED INPUTS**:
4545
- - Completed brownfield-prd.md
4541
+ - Completed prd.md
4546
4542
  - Existing project technical documentation (from docs folder or user-provided)
4547
4543
  - Access to existing project structure (IDE or uploaded files)
4548
4544
 
@@ -6515,8 +6511,8 @@ Implement fixes based on QA results (gate and assessments) for a specific story.
6515
6511
  ```yaml
6516
6512
  required:
6517
6513
  - story_id: '{epic}.{story}' # e.g., "2.2"
6518
- - qa_root: from `bmad-core/core-config.yaml` key `qa.qaLocation` (e.g., `docs/project/qa`)
6519
- - story_root: from `bmad-core/core-config.yaml` key `devStoryLocation` (e.g., `docs/project/stories`)
6514
+ - qa_root: from `.bmad-core/core-config.yaml` key `qa.qaLocation` (e.g., `docs/project/qa`)
6515
+ - story_root: from `.bmad-core/core-config.yaml` key `devStoryLocation` (e.g., `docs/project/stories`)
6520
6516
 
6521
6517
  optional:
6522
6518
  - story_title: '{title}' # derive from story H1 if missing
@@ -6544,7 +6540,7 @@ optional:
6544
6540
 
6545
6541
  ### 0) Load Core Config & Locate Story
6546
6542
 
6547
- - Read `bmad-core/core-config.yaml` and resolve `qa_root` and `story_root`
6543
+ - Read `.bmad-core/core-config.yaml` and resolve `qa_root` and `story_root`
6548
6544
  - Locate story file in `{story_root}/{epic}.{story}.*.md`
6549
6545
  - HALT if missing and ask for correct story id/path
6550
6546
 
@@ -6612,7 +6608,7 @@ Status Rule:
6612
6608
 
6613
6609
  ## Blocking Conditions
6614
6610
 
6615
- - Missing `bmad-core/core-config.yaml`
6611
+ - Missing `.bmad-core/core-config.yaml`
6616
6612
  - Story file not found for `story_id`
6617
6613
  - No QA artifacts found (neither gate nor assessments)
6618
6614
  - HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
@@ -8680,7 +8676,7 @@ First, determine the project type by checking:
8680
8676
 
8681
8677
  2. Is this a BROWNFIELD project (enhancing existing system)?
8682
8678
  - Look for: References to existing codebase, enhancement/modification language
8683
- - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
8679
+ - Check for: prd.md, architecture.md, existing system analysis
8684
8680
 
8685
8681
  3. Does the project include UI/UX components?
8686
8682
  - Check for: frontend-architecture.md, UI/UX specifications, design files
@@ -8698,8 +8694,8 @@ For GREENFIELD projects:
8698
8694
 
8699
8695
  For BROWNFIELD projects:
8700
8696
 
8701
- - brownfield-prd.md - The brownfield enhancement requirements
8702
- - brownfield-architecture.md - The enhancement architecture
8697
+ - prd.md - The brownfield enhancement requirements
8698
+ - architecture.md - The enhancement architecture
8703
8699
  - Existing project codebase access (CRITICAL - cannot proceed without this)
8704
8700
  - Current deployment configuration and infrastructure details
8705
8701
  - Database schemas, API documentation, monitoring setup
@@ -9111,11 +9107,11 @@ Quick NFR validation focused on the core four: security, performance, reliabilit
9111
9107
  ```yaml
9112
9108
  required:
9113
9109
  - story_id: '{epic}.{story}' # e.g., "1.3"
9114
- - story_path: `bmad-core/core-config.yaml` for the `devStoryLocation`
9110
+ - story_path: `.bmad-core/core-config.yaml` for the `devStoryLocation`
9115
9111
 
9116
9112
  optional:
9117
- - architecture_refs: `bmad-core/core-config.yaml` for the `architecture.architectureFile`
9118
- - technical_preferences: `bmad-core/core-config.yaml` for the `technicalPreferences`
9113
+ - architecture_refs: `.bmad-core/core-config.yaml` for the `architecture.architectureFile`
9114
+ - technical_preferences: `.bmad-core/core-config.yaml` for the `technicalPreferences`
9119
9115
  - acceptance_criteria: From story file
9120
9116
  ```
9121
9117
 
@@ -9466,7 +9462,7 @@ Generate a standalone quality gate file that provides a clear pass/fail decision
9466
9462
 
9467
9463
  ## Gate File Location
9468
9464
 
9469
- **ALWAYS** check the `bmad-core/core-config.yaml` for the `qa.qaLocation/gates`
9465
+ **ALWAYS** check the `.bmad-core/core-config.yaml` for the `qa.qaLocation/gates`
9470
9466
 
9471
9467
  Slug rules:
9472
9468
 
@@ -9576,7 +9572,7 @@ waiver:
9576
9572
 
9577
9573
  ## Output Requirements
9578
9574
 
9579
- 1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from `bmad-core/core-config.yaml`
9575
+ 1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from `.bmad-core/core-config.yaml`
9580
9576
  2. **ALWAYS** append this exact format to story's QA Results section:
9581
9577
 
9582
9578
  ```text
@@ -9802,7 +9798,7 @@ NFR assessment: qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
9802
9798
  **Template and Directory:**
9803
9799
 
9804
9800
  - Render from `../templates/qa-gate-tmpl.yaml`
9805
- - Create directory defined in `qa.qaLocation/gates` (see `bmad-core/core-config.yaml`) if missing
9801
+ - Create directory defined in `qa.qaLocation/gates` (see `.bmad-core/core-config.yaml`) if missing
9806
9802
  - Save to: `qa.qaLocation/gates/{epic}.{story}-{slug}.yml`
9807
9803
 
9808
9804
  Gate file structure:
@@ -981,7 +981,7 @@ npx bmad-method install
981
981
 
982
982
  ## Core Configuration (core-config.yaml)
983
983
 
984
- **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.
984
+ **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.
985
985
 
986
986
  ### What is core-config.yaml?
987
987
 
@@ -6427,7 +6427,7 @@ sections:
6427
6427
  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."
6428
6428
 
6429
6429
  2. **REQUIRED INPUTS**:
6430
- - Completed brownfield-prd.md
6430
+ - Completed prd.md
6431
6431
  - Existing project technical documentation (from docs folder or user-provided)
6432
6432
  - Access to existing project structure (IDE or uploaded files)
6433
6433
 
@@ -8671,7 +8671,7 @@ First, determine the project type by checking:
8671
8671
 
8672
8672
  2. Is this a BROWNFIELD project (enhancing existing system)?
8673
8673
  - Look for: References to existing codebase, enhancement/modification language
8674
- - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
8674
+ - Check for: prd.md, architecture.md, existing system analysis
8675
8675
 
8676
8676
  3. Does the project include UI/UX components?
8677
8677
  - Check for: frontend-architecture.md, UI/UX specifications, design files
@@ -8689,8 +8689,8 @@ For GREENFIELD projects:
8689
8689
 
8690
8690
  For BROWNFIELD projects:
8691
8691
 
8692
- - brownfield-prd.md - The brownfield enhancement requirements
8693
- - brownfield-architecture.md - The enhancement architecture
8692
+ - prd.md - The brownfield enhancement requirements
8693
+ - architecture.md - The enhancement architecture
8694
8694
  - Existing project codebase access (CRITICAL - cannot proceed without this)
8695
8695
  - Current deployment configuration and infrastructure details
8696
8696
  - Database schemas, API documentation, monitoring setup
@@ -354,11 +354,7 @@ agent:
354
354
  id: qa
355
355
  title: Test Architect & Quality Advisor
356
356
  icon: ๐Ÿงช
357
- whenToUse: |
358
- Use for comprehensive test architecture review, quality gate decisions,
359
- and code improvement. Provides thorough analysis including requirements
360
- traceability, risk assessment, and test strategy.
361
- Advisory only - teams choose their quality bar.
357
+ whenToUse: Use for comprehensive test architecture review, quality gate decisions, and code improvement. Provides thorough analysis including requirements traceability, risk assessment, and test strategy. Advisory only - teams choose their quality bar.
362
358
  customization: null
363
359
  persona:
364
360
  role: Test Architect with Quality Advisory Authority
@@ -901,7 +897,7 @@ npx bmad-method install
901
897
 
902
898
  ## Core Configuration (core-config.yaml)
903
899
 
904
- **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.
900
+ **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.
905
901
 
906
902
  ### What is core-config.yaml?
907
903
 
@@ -2603,7 +2599,7 @@ First, determine the project type by checking:
2603
2599
 
2604
2600
  2. Is this a BROWNFIELD project (enhancing existing system)?
2605
2601
  - Look for: References to existing codebase, enhancement/modification language
2606
- - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
2602
+ - Check for: prd.md, architecture.md, existing system analysis
2607
2603
 
2608
2604
  3. Does the project include UI/UX components?
2609
2605
  - Check for: frontend-architecture.md, UI/UX specifications, design files
@@ -2621,8 +2617,8 @@ For GREENFIELD projects:
2621
2617
 
2622
2618
  For BROWNFIELD projects:
2623
2619
 
2624
- - brownfield-prd.md - The brownfield enhancement requirements
2625
- - brownfield-architecture.md - The enhancement architecture
2620
+ - prd.md - The brownfield enhancement requirements
2621
+ - architecture.md - The enhancement architecture
2626
2622
  - Existing project codebase access (CRITICAL - cannot proceed without this)
2627
2623
  - Current deployment configuration and infrastructure details
2628
2624
  - Database schemas, API documentation, monitoring setup
@@ -3316,8 +3312,8 @@ Implement fixes based on QA results (gate and assessments) for a specific story.
3316
3312
  ```yaml
3317
3313
  required:
3318
3314
  - story_id: '{epic}.{story}' # e.g., "2.2"
3319
- - qa_root: from `bmad-core/core-config.yaml` key `qa.qaLocation` (e.g., `docs/project/qa`)
3320
- - story_root: from `bmad-core/core-config.yaml` key `devStoryLocation` (e.g., `docs/project/stories`)
3315
+ - qa_root: from `.bmad-core/core-config.yaml` key `qa.qaLocation` (e.g., `docs/project/qa`)
3316
+ - story_root: from `.bmad-core/core-config.yaml` key `devStoryLocation` (e.g., `docs/project/stories`)
3321
3317
 
3322
3318
  optional:
3323
3319
  - story_title: '{title}' # derive from story H1 if missing
@@ -3345,7 +3341,7 @@ optional:
3345
3341
 
3346
3342
  ### 0) Load Core Config & Locate Story
3347
3343
 
3348
- - Read `bmad-core/core-config.yaml` and resolve `qa_root` and `story_root`
3344
+ - Read `.bmad-core/core-config.yaml` and resolve `qa_root` and `story_root`
3349
3345
  - Locate story file in `{story_root}/{epic}.{story}.*.md`
3350
3346
  - HALT if missing and ask for correct story id/path
3351
3347
 
@@ -3413,7 +3409,7 @@ Status Rule:
3413
3409
 
3414
3410
  ## Blocking Conditions
3415
3411
 
3416
- - Missing `bmad-core/core-config.yaml`
3412
+ - Missing `.bmad-core/core-config.yaml`
3417
3413
  - Story file not found for `story_id`
3418
3414
  - No QA artifacts found (neither gate nor assessments)
3419
3415
  - HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
@@ -3561,11 +3557,11 @@ Quick NFR validation focused on the core four: security, performance, reliabilit
3561
3557
  ```yaml
3562
3558
  required:
3563
3559
  - story_id: '{epic}.{story}' # e.g., "1.3"
3564
- - story_path: `bmad-core/core-config.yaml` for the `devStoryLocation`
3560
+ - story_path: `.bmad-core/core-config.yaml` for the `devStoryLocation`
3565
3561
 
3566
3562
  optional:
3567
- - architecture_refs: `bmad-core/core-config.yaml` for the `architecture.architectureFile`
3568
- - technical_preferences: `bmad-core/core-config.yaml` for the `technicalPreferences`
3563
+ - architecture_refs: `.bmad-core/core-config.yaml` for the `architecture.architectureFile`
3564
+ - technical_preferences: `.bmad-core/core-config.yaml` for the `technicalPreferences`
3569
3565
  - acceptance_criteria: From story file
3570
3566
  ```
3571
3567
 
@@ -3916,7 +3912,7 @@ Generate a standalone quality gate file that provides a clear pass/fail decision
3916
3912
 
3917
3913
  ## Gate File Location
3918
3914
 
3919
- **ALWAYS** check the `bmad-core/core-config.yaml` for the `qa.qaLocation/gates`
3915
+ **ALWAYS** check the `.bmad-core/core-config.yaml` for the `qa.qaLocation/gates`
3920
3916
 
3921
3917
  Slug rules:
3922
3918
 
@@ -4026,7 +4022,7 @@ waiver:
4026
4022
 
4027
4023
  ## Output Requirements
4028
4024
 
4029
- 1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from `bmad-core/core-config.yaml`
4025
+ 1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from `.bmad-core/core-config.yaml`
4030
4026
  2. **ALWAYS** append this exact format to story's QA Results section:
4031
4027
 
4032
4028
  ```text
@@ -4252,7 +4248,7 @@ NFR assessment: qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
4252
4248
  **Template and Directory:**
4253
4249
 
4254
4250
  - Render from `../templates/qa-gate-tmpl.yaml`
4255
- - Create directory defined in `qa.qaLocation/gates` (see `bmad-core/core-config.yaml`) if missing
4251
+ - Create directory defined in `qa.qaLocation/gates` (see `.bmad-core/core-config.yaml`) if missing
4256
4252
  - Save to: `qa.qaLocation/gates/{epic}.{story}-{slug}.yml`
4257
4253
 
4258
4254
  Gate file structure:
@@ -927,7 +927,7 @@ npx bmad-method install
927
927
 
928
928
  ## Core Configuration (core-config.yaml)
929
929
 
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.
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.
931
931
 
932
932
  ### What is core-config.yaml?
933
933
 
@@ -5964,7 +5964,7 @@ sections:
5964
5964
  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
5965
 
5966
5966
  2. **REQUIRED INPUTS**:
5967
- - Completed brownfield-prd.md
5967
+ - Completed prd.md
5968
5968
  - Existing project technical documentation (from docs folder or user-provided)
5969
5969
  - Access to existing project structure (IDE or uploaded files)
5970
5970
 
@@ -8208,7 +8208,7 @@ First, determine the project type by checking:
8208
8208
 
8209
8209
  2. Is this a BROWNFIELD project (enhancing existing system)?
8210
8210
  - Look for: References to existing codebase, enhancement/modification language
8211
- - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
8211
+ - Check for: prd.md, architecture.md, existing system analysis
8212
8212
 
8213
8213
  3. Does the project include UI/UX components?
8214
8214
  - Check for: frontend-architecture.md, UI/UX specifications, design files
@@ -8226,8 +8226,8 @@ For GREENFIELD projects:
8226
8226
 
8227
8227
  For BROWNFIELD projects:
8228
8228
 
8229
- - brownfield-prd.md - The brownfield enhancement requirements
8230
- - brownfield-architecture.md - The enhancement architecture
8229
+ - prd.md - The brownfield enhancement requirements
8230
+ - architecture.md - The enhancement architecture
8231
8231
  - Existing project codebase access (CRITICAL - cannot proceed without this)
8232
8232
  - Current deployment configuration and infrastructure details
8233
8233
  - Database schemas, API documentation, monitoring setup
@@ -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.43.1",
4
+ "version": "4.44.1",
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",
package/release_notes.md CHANGED
@@ -1,4 +1,4 @@
1
- ## ๐Ÿš€ What's New in v4.43.1
1
+ ## ๐Ÿš€ What's New in v4.44.1
2
2
 
3
3
  ### โœจ New Features
4
4
  - feat: implement fork-friendly CI/CD with opt-in mechanism (#476)
@@ -7,6 +7,7 @@
7
7
  - feat: Add Auggie CLI (Augment Code) Integration (#520)
8
8
  - feat: enhance file exclusion capabilities with .bmad-flattenignore support (#531)
9
9
  - feat: add iflow cli support to bmad installer. (#510)
10
+ - feat(opencode): add JSON-only integration and compact AGENTS.md generator (#570)
10
11
 
11
12
  ### ๐Ÿ› Bug Fixes
12
13
  - fix: update installer version display to show 4.39.0
@@ -21,6 +22,7 @@
21
22
  - fix: update .gitignore to correct cursor file entry (#485)
22
23
  - fix: update workflow file extensions from .md to .yaml in bmad-master.md (#562)
23
24
  - fix: Changed title to coding standards section of brownfield architecture template (#564)
25
+ - fix: BMAD Brownfield Document Naming Inconsistency Bug (#627)
24
26
 
25
27
  ### ๐Ÿ“ฆ Other Changes
26
28
  - patch: move script to tools folder
@@ -34,6 +36,7 @@
34
36
  - Godot Game Dev expansion pack for BMAD (#532)
35
37
  - documentation updates
36
38
  - remove errant command from readme
39
+ - version up
37
40
 
38
41
  ### ๐Ÿ”ง Maintenance
39
42
  - chore: bump to 4.39.1 to fix installer version display
@@ -48,4 +51,4 @@
48
51
  npx bmad-method install
49
52
  ```
50
53
 
51
- **Full Changelog**: https://github.com/bmadcode/BMAD-METHOD/compare/v4.39.0...v4.43.1
54
+ **Full Changelog**: https://github.com/bmadcode/BMAD-METHOD/compare/v4.39.0...v4.44.1
@@ -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...>',
@@ -410,6 +410,7 @@ async function promptInstallation() {
410
410
  { name: 'Auggie CLI (Augment Code)', value: 'auggie-cli' },
411
411
  { name: 'Codex CLI', value: 'codex' },
412
412
  { name: 'Codex Web', value: 'codex-web' },
413
+ { name: 'OpenCode', value: 'opencode' },
413
414
  ],
414
415
  },
415
416
  ]);
@@ -478,6 +479,43 @@ async function promptInstallation() {
478
479
  answers.githubCopilotConfig = { configChoice };
479
480
  }
480
481
 
482
+ // Configure OpenCode immediately if selected
483
+ if (ides.includes('opencode')) {
484
+ console.log(chalk.cyan('\nโš™๏ธ OpenCode Configuration'));
485
+ console.log(
486
+ chalk.dim(
487
+ 'OpenCode will include agents and tasks from the packages you selected above; choose optional key prefixes (defaults: no prefixes).\n',
488
+ ),
489
+ );
490
+
491
+ const { useAgentPrefix, useCommandPrefix } = await inquirer.prompt([
492
+ {
493
+ type: 'confirm',
494
+ name: 'useAgentPrefix',
495
+ message: "Prefix agent keys with 'bmad-'? (e.g., 'bmad-dev')",
496
+ default: true,
497
+ },
498
+ {
499
+ type: 'confirm',
500
+ name: 'useCommandPrefix',
501
+ message: "Prefix command keys with 'bmad:tasks:'? (e.g., 'bmad:tasks:create-doc')",
502
+ default: true,
503
+ },
504
+ ]);
505
+
506
+ answers.openCodeConfig = {
507
+ opencode: {
508
+ useAgentPrefix,
509
+ useCommandPrefix,
510
+ },
511
+ // pass previously selected packages so IDE setup only applies those
512
+ selectedPackages: {
513
+ includeCore: selectedItems.includes('bmad-core'),
514
+ packs: answers.expansionPacks || [],
515
+ },
516
+ };
517
+ }
518
+
481
519
  // Configure Auggie CLI (Augment Code) immediately if selected
482
520
  if (ides.includes('auggie-cli')) {
483
521
  console.log(chalk.cyan('\n๐Ÿ“ Auggie CLI Location Configuration'));
@@ -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.