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.
- package/PR-opencode-agents-generator.md +40 -0
- package/bmad-core/agents/analyst.md +1 -1
- package/bmad-core/agents/architect.md +1 -1
- package/bmad-core/agents/bmad-master.md +1 -1
- package/bmad-core/agents/bmad-orchestrator.md +2 -2
- package/bmad-core/agents/dev.md +1 -1
- package/bmad-core/agents/pm.md +1 -1
- package/bmad-core/agents/po.md +1 -1
- package/bmad-core/agents/qa.md +2 -6
- package/bmad-core/agents/sm.md +1 -1
- package/bmad-core/agents/ux-expert.md +1 -1
- package/bmad-core/checklists/po-master-checklist.md +3 -3
- package/bmad-core/data/bmad-kb.md +1 -1
- package/bmad-core/tasks/apply-qa-fixes.md +4 -4
- package/bmad-core/tasks/nfr-assess.md +3 -3
- package/bmad-core/tasks/qa-gate.md +2 -2
- package/bmad-core/tasks/review-story.md +1 -1
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +1 -1
- package/dist/agents/analyst.txt +1 -1
- package/dist/agents/architect.txt +1 -1
- package/dist/agents/bmad-master.txt +5 -5
- package/dist/agents/bmad-orchestrator.txt +1 -1
- package/dist/agents/dev.txt +4 -4
- package/dist/agents/po.txt +3 -3
- package/dist/agents/qa.txt +7 -11
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-developer.txt +2 -2
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-qa.txt +1 -5
- package/dist/expansion-packs/bmad-godot-game-dev/teams/godot-game-team.txt +5 -9
- package/dist/teams/team-all.txt +16 -20
- package/dist/teams/team-fullstack.txt +5 -5
- package/dist/teams/team-ide-minimal.txt +15 -19
- package/dist/teams/team-no-ui.txt +5 -5
- package/docs/user-guide.md +48 -1
- package/expansion-packs/bmad-godot-game-dev/agents/bmad-orchestrator.md +1 -1
- package/expansion-packs/bmad-godot-game-dev/agents/game-qa.md +1 -2
- package/expansion-packs/bmad-godot-game-dev/tasks/apply-qa-fixes.md +2 -2
- package/package.json +2 -1
- package/release_notes.md +5 -2
- package/tools/installer/bin/bmad.js +39 -1
- package/tools/installer/config/install.config.yaml +11 -0
- package/tools/installer/lib/ide-setup.js +641 -1
- package/tools/installer/lib/installer.js +17 -4
- package/tools/installer/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# feat(opencode): compact AGENTS.md generator and JSON-only integration
|
|
2
|
+
|
|
3
|
+
## What
|
|
4
|
+
|
|
5
|
+
Add JSON-only OpenCode integration and a compact AGENTS.md generator (no large embeds; clickable file links) with idempotent merges for BMAD instructions, agents, and commands.
|
|
6
|
+
|
|
7
|
+
## Why
|
|
8
|
+
|
|
9
|
+
Keep OpenCode config schema‑compliant and small, avoid key collisions, and provide a readable agents/tasks index without inflating AGENTS.md.
|
|
10
|
+
|
|
11
|
+
## How
|
|
12
|
+
|
|
13
|
+
- Ensure `.bmad-core/core-config.yaml` in `instructions`
|
|
14
|
+
- Merge only selected packages’ agents/commands into opencode.json file
|
|
15
|
+
- Orchestrators `mode: primary`; all agents enable `write`, `edit`, `bash`
|
|
16
|
+
- Descriptions from `whenToUse`/task `Purpose` with sanitization + fallbacks
|
|
17
|
+
- Explicit warnings for non‑BMAD collisions; AGENTS.md uses a strict 3‑column table with links
|
|
18
|
+
|
|
19
|
+
## Testing
|
|
20
|
+
|
|
21
|
+
- Run: `npx bmad-method install -f -i opencode`
|
|
22
|
+
- Verify: `opencode.json[c]` updated/created as expected, `AGENTS.md` OpenCode section is compact with links
|
|
23
|
+
- Pre‑push checks:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm run pre-release
|
|
27
|
+
# or individually
|
|
28
|
+
npm run validate
|
|
29
|
+
npm run format:check
|
|
30
|
+
npm run lint
|
|
31
|
+
# if anything fails
|
|
32
|
+
npm run fix
|
|
33
|
+
# or
|
|
34
|
+
npm run format
|
|
35
|
+
npm run lint:fix
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Fixes #<issue-number>
|
|
39
|
+
|
|
40
|
+
Targets: `next` branch
|
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
@@ -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
|
|
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
|
package/bmad-core/agents/dev.md
CHANGED
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
package/bmad-core/agents/pm.md
CHANGED
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
package/bmad-core/agents/po.md
CHANGED
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
package/bmad-core/agents/qa.md
CHANGED
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
@@ -35,11 +35,7 @@ agent:
|
|
|
35
35
|
id: qa
|
|
36
36
|
title: Test Architect & Quality Advisor
|
|
37
37
|
icon: 🧪
|
|
38
|
-
whenToUse:
|
|
39
|
-
Use for comprehensive test architecture review, quality gate decisions,
|
|
40
|
-
and code improvement. Provides thorough analysis including requirements
|
|
41
|
-
traceability, risk assessment, and test strategy.
|
|
42
|
-
Advisory only - teams choose their quality bar.
|
|
38
|
+
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.
|
|
43
39
|
customization: null
|
|
44
40
|
persona:
|
|
45
41
|
role: Test Architect with Quality Advisory Authority
|
package/bmad-core/agents/sm.md
CHANGED
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
@@ -19,7 +19,7 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
19
19
|
activation-instructions:
|
|
20
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
21
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
|
-
- STEP 3: Load and read
|
|
22
|
+
- STEP 3: Load and read `.bmad-core/core-config.yaml` (project configuration) before any greeting
|
|
23
23
|
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
24
24
|
- DO NOT: Load any other agent files during activation
|
|
25
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
@@ -15,7 +15,7 @@ First, determine the project type by checking:
|
|
|
15
15
|
|
|
16
16
|
2. Is this a BROWNFIELD project (enhancing existing system)?
|
|
17
17
|
- Look for: References to existing codebase, enhancement/modification language
|
|
18
|
-
- Check for:
|
|
18
|
+
- Check for: prd.md, architecture.md, existing system analysis
|
|
19
19
|
|
|
20
20
|
3. Does the project include UI/UX components?
|
|
21
21
|
- Check for: frontend-architecture.md, UI/UX specifications, design files
|
|
@@ -33,8 +33,8 @@ For GREENFIELD projects:
|
|
|
33
33
|
|
|
34
34
|
For BROWNFIELD projects:
|
|
35
35
|
|
|
36
|
-
-
|
|
37
|
-
-
|
|
36
|
+
- prd.md - The brownfield enhancement requirements
|
|
37
|
+
- architecture.md - The enhancement architecture
|
|
38
38
|
- Existing project codebase access (CRITICAL - cannot proceed without this)
|
|
39
39
|
- Current deployment configuration and infrastructure details
|
|
40
40
|
- Database schemas, API documentation, monitoring setup
|
|
@@ -181,7 +181,7 @@ npx bmad-method install
|
|
|
181
181
|
|
|
182
182
|
## Core Configuration (core-config.yaml)
|
|
183
183
|
|
|
184
|
-
**New in V4**: The
|
|
184
|
+
**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.
|
|
185
185
|
|
|
186
186
|
### What is core-config.yaml?
|
|
187
187
|
|
|
@@ -16,8 +16,8 @@ Implement fixes based on QA results (gate and assessments) for a specific story.
|
|
|
16
16
|
```yaml
|
|
17
17
|
required:
|
|
18
18
|
- story_id: '{epic}.{story}' # e.g., "2.2"
|
|
19
|
-
- qa_root: from
|
|
20
|
-
- story_root: from
|
|
19
|
+
- qa_root: from `.bmad-core/core-config.yaml` key `qa.qaLocation` (e.g., `docs/project/qa`)
|
|
20
|
+
- story_root: from `.bmad-core/core-config.yaml` key `devStoryLocation` (e.g., `docs/project/stories`)
|
|
21
21
|
|
|
22
22
|
optional:
|
|
23
23
|
- story_title: '{title}' # derive from story H1 if missing
|
|
@@ -45,7 +45,7 @@ optional:
|
|
|
45
45
|
|
|
46
46
|
### 0) Load Core Config & Locate Story
|
|
47
47
|
|
|
48
|
-
- Read
|
|
48
|
+
- Read `.bmad-core/core-config.yaml` and resolve `qa_root` and `story_root`
|
|
49
49
|
- Locate story file in `{story_root}/{epic}.{story}.*.md`
|
|
50
50
|
- HALT if missing and ask for correct story id/path
|
|
51
51
|
|
|
@@ -113,7 +113,7 @@ Status Rule:
|
|
|
113
113
|
|
|
114
114
|
## Blocking Conditions
|
|
115
115
|
|
|
116
|
-
- Missing
|
|
116
|
+
- Missing `.bmad-core/core-config.yaml`
|
|
117
117
|
- Story file not found for `story_id`
|
|
118
118
|
- No QA artifacts found (neither gate nor assessments)
|
|
119
119
|
- HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
|
|
@@ -9,11 +9,11 @@ Quick NFR validation focused on the core four: security, performance, reliabilit
|
|
|
9
9
|
```yaml
|
|
10
10
|
required:
|
|
11
11
|
- story_id: '{epic}.{story}' # e.g., "1.3"
|
|
12
|
-
- story_path:
|
|
12
|
+
- story_path: `.bmad-core/core-config.yaml` for the `devStoryLocation`
|
|
13
13
|
|
|
14
14
|
optional:
|
|
15
|
-
- architecture_refs:
|
|
16
|
-
- technical_preferences:
|
|
15
|
+
- architecture_refs: `.bmad-core/core-config.yaml` for the `architecture.architectureFile`
|
|
16
|
+
- technical_preferences: `.bmad-core/core-config.yaml` for the `technicalPreferences`
|
|
17
17
|
- acceptance_criteria: From story file
|
|
18
18
|
```
|
|
19
19
|
|
|
@@ -16,7 +16,7 @@ Generate a standalone quality gate file that provides a clear pass/fail decision
|
|
|
16
16
|
|
|
17
17
|
## Gate File Location
|
|
18
18
|
|
|
19
|
-
**ALWAYS** check the
|
|
19
|
+
**ALWAYS** check the `.bmad-core/core-config.yaml` for the `qa.qaLocation/gates`
|
|
20
20
|
|
|
21
21
|
Slug rules:
|
|
22
22
|
|
|
@@ -126,7 +126,7 @@ waiver:
|
|
|
126
126
|
|
|
127
127
|
## Output Requirements
|
|
128
128
|
|
|
129
|
-
1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from
|
|
129
|
+
1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from `.bmad-core/core-config.yaml`
|
|
130
130
|
2. **ALWAYS** append this exact format to story's QA Results section:
|
|
131
131
|
|
|
132
132
|
```text
|
|
@@ -186,7 +186,7 @@ NFR assessment: qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
|
|
|
186
186
|
**Template and Directory:**
|
|
187
187
|
|
|
188
188
|
- Render from `../templates/qa-gate-tmpl.yaml`
|
|
189
|
-
- Create directory defined in `qa.qaLocation/gates` (see
|
|
189
|
+
- Create directory defined in `qa.qaLocation/gates` (see `.bmad-core/core-config.yaml`) if missing
|
|
190
190
|
- Save to: `qa.qaLocation/gates/{epic}.{story}-{slug}.yml`
|
|
191
191
|
|
|
192
192
|
Gate file structure:
|
|
@@ -23,7 +23,7 @@ sections:
|
|
|
23
23
|
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."
|
|
24
24
|
|
|
25
25
|
2. **REQUIRED INPUTS**:
|
|
26
|
-
- Completed
|
|
26
|
+
- Completed prd.md
|
|
27
27
|
- Existing project technical documentation (from docs folder or user-provided)
|
|
28
28
|
- Access to existing project structure (IDE or uploaded files)
|
|
29
29
|
|
package/dist/agents/analyst.txt
CHANGED
|
@@ -2237,7 +2237,7 @@ npx bmad-method install
|
|
|
2237
2237
|
|
|
2238
2238
|
## Core Configuration (core-config.yaml)
|
|
2239
2239
|
|
|
2240
|
-
**New in V4**: The
|
|
2240
|
+
**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.
|
|
2241
2241
|
|
|
2242
2242
|
### What is core-config.yaml?
|
|
2243
2243
|
|
|
@@ -1612,7 +1612,7 @@ sections:
|
|
|
1612
1612
|
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."
|
|
1613
1613
|
|
|
1614
1614
|
2. **REQUIRED INPUTS**:
|
|
1615
|
-
- Completed
|
|
1615
|
+
- Completed prd.md
|
|
1616
1616
|
- Existing project technical documentation (from docs folder or user-provided)
|
|
1617
1617
|
- Access to existing project structure (IDE or uploaded files)
|
|
1618
1618
|
|
|
@@ -2830,7 +2830,7 @@ sections:
|
|
|
2830
2830
|
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."
|
|
2831
2831
|
|
|
2832
2832
|
2. **REQUIRED INPUTS**:
|
|
2833
|
-
- Completed
|
|
2833
|
+
- Completed prd.md
|
|
2834
2834
|
- Existing project technical documentation (from docs folder or user-provided)
|
|
2835
2835
|
- Access to existing project structure (IDE or uploaded files)
|
|
2836
2836
|
|
|
@@ -7131,7 +7131,7 @@ First, determine the project type by checking:
|
|
|
7131
7131
|
|
|
7132
7132
|
2. Is this a BROWNFIELD project (enhancing existing system)?
|
|
7133
7133
|
- Look for: References to existing codebase, enhancement/modification language
|
|
7134
|
-
- Check for:
|
|
7134
|
+
- Check for: prd.md, architecture.md, existing system analysis
|
|
7135
7135
|
|
|
7136
7136
|
3. Does the project include UI/UX components?
|
|
7137
7137
|
- Check for: frontend-architecture.md, UI/UX specifications, design files
|
|
@@ -7149,8 +7149,8 @@ For GREENFIELD projects:
|
|
|
7149
7149
|
|
|
7150
7150
|
For BROWNFIELD projects:
|
|
7151
7151
|
|
|
7152
|
-
-
|
|
7153
|
-
-
|
|
7152
|
+
- prd.md - The brownfield enhancement requirements
|
|
7153
|
+
- architecture.md - The enhancement architecture
|
|
7154
7154
|
- Existing project codebase access (CRITICAL - cannot proceed without this)
|
|
7155
7155
|
- Current deployment configuration and infrastructure details
|
|
7156
7156
|
- Database schemas, API documentation, monitoring setup
|
|
@@ -7991,7 +7991,7 @@ npx bmad-method install
|
|
|
7991
7991
|
|
|
7992
7992
|
## Core Configuration (core-config.yaml)
|
|
7993
7993
|
|
|
7994
|
-
**New in V4**: The
|
|
7994
|
+
**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.
|
|
7995
7995
|
|
|
7996
7996
|
### What is core-config.yaml?
|
|
7997
7997
|
|
|
@@ -658,7 +658,7 @@ npx bmad-method install
|
|
|
658
658
|
|
|
659
659
|
## Core Configuration (core-config.yaml)
|
|
660
660
|
|
|
661
|
-
**New in V4**: The
|
|
661
|
+
**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.
|
|
662
662
|
|
|
663
663
|
### What is core-config.yaml?
|
|
664
664
|
|
package/dist/agents/dev.txt
CHANGED
|
@@ -112,8 +112,8 @@ Implement fixes based on QA results (gate and assessments) for a specific story.
|
|
|
112
112
|
```yaml
|
|
113
113
|
required:
|
|
114
114
|
- story_id: '{epic}.{story}' # e.g., "2.2"
|
|
115
|
-
- qa_root: from
|
|
116
|
-
- story_root: from
|
|
115
|
+
- qa_root: from `.bmad-core/core-config.yaml` key `qa.qaLocation` (e.g., `docs/project/qa`)
|
|
116
|
+
- story_root: from `.bmad-core/core-config.yaml` key `devStoryLocation` (e.g., `docs/project/stories`)
|
|
117
117
|
|
|
118
118
|
optional:
|
|
119
119
|
- story_title: '{title}' # derive from story H1 if missing
|
|
@@ -141,7 +141,7 @@ optional:
|
|
|
141
141
|
|
|
142
142
|
### 0) Load Core Config & Locate Story
|
|
143
143
|
|
|
144
|
-
- Read
|
|
144
|
+
- Read `.bmad-core/core-config.yaml` and resolve `qa_root` and `story_root`
|
|
145
145
|
- Locate story file in `{story_root}/{epic}.{story}.*.md`
|
|
146
146
|
- HALT if missing and ask for correct story id/path
|
|
147
147
|
|
|
@@ -209,7 +209,7 @@ Status Rule:
|
|
|
209
209
|
|
|
210
210
|
## Blocking Conditions
|
|
211
211
|
|
|
212
|
-
- Missing
|
|
212
|
+
- Missing `.bmad-core/core-config.yaml`
|
|
213
213
|
- Story file not found for `story_id`
|
|
214
214
|
- No QA artifacts found (neither gate nor assessments)
|
|
215
215
|
- HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
|
package/dist/agents/po.txt
CHANGED
|
@@ -939,7 +939,7 @@ First, determine the project type by checking:
|
|
|
939
939
|
|
|
940
940
|
2. Is this a BROWNFIELD project (enhancing existing system)?
|
|
941
941
|
- Look for: References to existing codebase, enhancement/modification language
|
|
942
|
-
- Check for:
|
|
942
|
+
- Check for: prd.md, architecture.md, existing system analysis
|
|
943
943
|
|
|
944
944
|
3. Does the project include UI/UX components?
|
|
945
945
|
- Check for: frontend-architecture.md, UI/UX specifications, design files
|
|
@@ -957,8 +957,8 @@ For GREENFIELD projects:
|
|
|
957
957
|
|
|
958
958
|
For BROWNFIELD projects:
|
|
959
959
|
|
|
960
|
-
-
|
|
961
|
-
-
|
|
960
|
+
- prd.md - The brownfield enhancement requirements
|
|
961
|
+
- architecture.md - The enhancement architecture
|
|
962
962
|
- Existing project codebase access (CRITICAL - cannot proceed without this)
|
|
963
963
|
- Current deployment configuration and infrastructure details
|
|
964
964
|
- Database schemas, API documentation, monitoring setup
|
package/dist/agents/qa.txt
CHANGED
|
@@ -55,11 +55,7 @@ agent:
|
|
|
55
55
|
id: qa
|
|
56
56
|
title: Test Architect & Quality Advisor
|
|
57
57
|
icon: 🧪
|
|
58
|
-
whenToUse:
|
|
59
|
-
Use for comprehensive test architecture review, quality gate decisions,
|
|
60
|
-
and code improvement. Provides thorough analysis including requirements
|
|
61
|
-
traceability, risk assessment, and test strategy.
|
|
62
|
-
Advisory only - teams choose their quality bar.
|
|
58
|
+
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.
|
|
63
59
|
customization: null
|
|
64
60
|
persona:
|
|
65
61
|
role: Test Architect with Quality Advisory Authority
|
|
@@ -122,11 +118,11 @@ Quick NFR validation focused on the core four: security, performance, reliabilit
|
|
|
122
118
|
```yaml
|
|
123
119
|
required:
|
|
124
120
|
- story_id: '{epic}.{story}' # e.g., "1.3"
|
|
125
|
-
- story_path:
|
|
121
|
+
- story_path: `.bmad-core/core-config.yaml` for the `devStoryLocation`
|
|
126
122
|
|
|
127
123
|
optional:
|
|
128
|
-
- architecture_refs:
|
|
129
|
-
- technical_preferences:
|
|
124
|
+
- architecture_refs: `.bmad-core/core-config.yaml` for the `architecture.architectureFile`
|
|
125
|
+
- technical_preferences: `.bmad-core/core-config.yaml` for the `technicalPreferences`
|
|
130
126
|
- acceptance_criteria: From story file
|
|
131
127
|
```
|
|
132
128
|
|
|
@@ -477,7 +473,7 @@ Generate a standalone quality gate file that provides a clear pass/fail decision
|
|
|
477
473
|
|
|
478
474
|
## Gate File Location
|
|
479
475
|
|
|
480
|
-
**ALWAYS** check the
|
|
476
|
+
**ALWAYS** check the `.bmad-core/core-config.yaml` for the `qa.qaLocation/gates`
|
|
481
477
|
|
|
482
478
|
Slug rules:
|
|
483
479
|
|
|
@@ -587,7 +583,7 @@ waiver:
|
|
|
587
583
|
|
|
588
584
|
## Output Requirements
|
|
589
585
|
|
|
590
|
-
1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from
|
|
586
|
+
1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from `.bmad-core/core-config.yaml`
|
|
591
587
|
2. **ALWAYS** append this exact format to story's QA Results section:
|
|
592
588
|
|
|
593
589
|
```text
|
|
@@ -813,7 +809,7 @@ NFR assessment: qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
|
|
|
813
809
|
**Template and Directory:**
|
|
814
810
|
|
|
815
811
|
- Render from `../templates/qa-gate-tmpl.yaml`
|
|
816
|
-
- Create directory defined in `qa.qaLocation/gates` (see
|
|
812
|
+
- Create directory defined in `qa.qaLocation/gates` (see `.bmad-core/core-config.yaml`) if missing
|
|
817
813
|
- Save to: `qa.qaLocation/gates/{epic}.{story}-{slug}.yml`
|
|
818
814
|
|
|
819
815
|
Gate file structure:
|
|
@@ -286,7 +286,7 @@ optional:
|
|
|
286
286
|
|
|
287
287
|
### 0) Load Core Config & Locate Story
|
|
288
288
|
|
|
289
|
-
- Read
|
|
289
|
+
- Read `.bmad-core/core-config.yaml` and resolve `qa_root`, `story_root`, and `project_root`
|
|
290
290
|
- Locate story file in `{story_root}/{epic}.{story}.*.md`
|
|
291
291
|
- HALT if missing and ask for correct story id/path
|
|
292
292
|
|
|
@@ -386,7 +386,7 @@ Status Rule:
|
|
|
386
386
|
|
|
387
387
|
## Blocking Conditions
|
|
388
388
|
|
|
389
|
-
- Missing
|
|
389
|
+
- Missing `.bmad-core/core-config.yaml`
|
|
390
390
|
- Story file not found for `story_id`
|
|
391
391
|
- No QA artifacts found (neither gate nor assessments)
|
|
392
392
|
- HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
|
|
@@ -55,11 +55,7 @@ agent:
|
|
|
55
55
|
id: game-qa
|
|
56
56
|
title: Game Test Architect & TDD Enforcer (Godot)
|
|
57
57
|
icon: 🎮🧪
|
|
58
|
-
whenToUse:
|
|
59
|
-
Use for Godot game testing architecture, test-driven development enforcement,
|
|
60
|
-
performance validation, and gameplay quality assurance. Ensures all code is
|
|
61
|
-
test-first, performance targets are met, and player experience is validated.
|
|
62
|
-
Enforces GUT for GDScript and GoDotTest/GodotTestDriver for C# with TDD practices.
|
|
58
|
+
whenToUse: Use for Godot game testing architecture, test-driven development enforcement, performance validation, and gameplay quality assurance. Ensures all code is test-first, performance targets are met, and player experience is validated. Enforces GUT for GDScript and GoDotTest/GodotTestDriver for C# with TDD practices.
|
|
63
59
|
customization: null
|
|
64
60
|
persona:
|
|
65
61
|
role: Game Test Architect & TDD Champion for Godot Development
|
|
@@ -558,11 +558,7 @@ agent:
|
|
|
558
558
|
id: game-qa
|
|
559
559
|
title: Game Test Architect & TDD Enforcer (Godot)
|
|
560
560
|
icon: 🎮🧪
|
|
561
|
-
whenToUse:
|
|
562
|
-
Use for Godot game testing architecture, test-driven development enforcement,
|
|
563
|
-
performance validation, and gameplay quality assurance. Ensures all code is
|
|
564
|
-
test-first, performance targets are met, and player experience is validated.
|
|
565
|
-
Enforces GUT for GDScript and GoDotTest/GodotTestDriver for C# with TDD practices.
|
|
561
|
+
whenToUse: Use for Godot game testing architecture, test-driven development enforcement, performance validation, and gameplay quality assurance. Ensures all code is test-first, performance targets are met, and player experience is validated. Enforces GUT for GDScript and GoDotTest/GodotTestDriver for C# with TDD practices.
|
|
566
562
|
customization: null
|
|
567
563
|
persona:
|
|
568
564
|
role: Game Test Architect & TDD Champion for Godot Development
|
|
@@ -8943,7 +8939,7 @@ optional:
|
|
|
8943
8939
|
|
|
8944
8940
|
### 0) Load Core Config & Locate Story
|
|
8945
8941
|
|
|
8946
|
-
- Read
|
|
8942
|
+
- Read `.bmad-core/core-config.yaml` and resolve `qa_root`, `story_root`, and `project_root`
|
|
8947
8943
|
- Locate story file in `{story_root}/{epic}.{story}.*.md`
|
|
8948
8944
|
- HALT if missing and ask for correct story id/path
|
|
8949
8945
|
|
|
@@ -9043,7 +9039,7 @@ Status Rule:
|
|
|
9043
9039
|
|
|
9044
9040
|
## Blocking Conditions
|
|
9045
9041
|
|
|
9046
|
-
- Missing
|
|
9042
|
+
- Missing `.bmad-core/core-config.yaml`
|
|
9047
9043
|
- Story file not found for `story_id`
|
|
9048
9044
|
- No QA artifacts found (neither gate nor assessments)
|
|
9049
9045
|
- HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
|
|
@@ -19903,7 +19899,7 @@ optional:
|
|
|
19903
19899
|
|
|
19904
19900
|
### 0) Load Core Config & Locate Story
|
|
19905
19901
|
|
|
19906
|
-
- Read
|
|
19902
|
+
- Read `.bmad-core/core-config.yaml` and resolve `qa_root`, `story_root`, and `project_root`
|
|
19907
19903
|
- Locate story file in `{story_root}/{epic}.{story}.*.md`
|
|
19908
19904
|
- HALT if missing and ask for correct story id/path
|
|
19909
19905
|
|
|
@@ -20003,7 +19999,7 @@ Status Rule:
|
|
|
20003
19999
|
|
|
20004
20000
|
## Blocking Conditions
|
|
20005
20001
|
|
|
20006
|
-
- Missing
|
|
20002
|
+
- Missing `.bmad-core/core-config.yaml`
|
|
20007
20003
|
- Story file not found for `story_id`
|
|
20008
20004
|
- No QA artifacts found (neither gate nor assessments)
|
|
20009
20005
|
- HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
|