bmad-method 4.44.0 → 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/README.md +0 -2
- package/bmad-core/agents/analyst.md +1 -1
- package/bmad-core/agents/architect.md +1 -1
- package/bmad-core/agents/bmad-master.md +7 -7
- 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 +6 -6
- package/dist/agents/analyst.txt +1 -1
- package/dist/agents/architect.txt +6 -6
- package/dist/agents/bmad-master.txt +16 -16
- 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 +21 -25
- package/dist/teams/team-fullstack.txt +10 -10
- package/dist/teams/team-ide-minimal.txt +15 -19
- package/dist/teams/team-no-ui.txt +10 -10
- 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 +8 -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
|
package/README.md
CHANGED
|
@@ -75,8 +75,6 @@ This makes it easy to benefit from the latest improvements, bug fixes, and new a
|
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
77
|
npx bmad-method install
|
|
78
|
-
# OR explicitly use stable tag:
|
|
79
|
-
npx bmad-method@stable install
|
|
80
78
|
# OR if you already have BMad installed:
|
|
81
79
|
git pull
|
|
82
80
|
npm run install:bmad
|
|
@@ -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
|
|
@@ -101,10 +101,10 @@ dependencies:
|
|
|
101
101
|
- project-brief-tmpl.yaml
|
|
102
102
|
- story-tmpl.yaml
|
|
103
103
|
workflows:
|
|
104
|
-
- brownfield-fullstack.
|
|
105
|
-
- brownfield-service.
|
|
106
|
-
- brownfield-ui.
|
|
107
|
-
- greenfield-fullstack.
|
|
108
|
-
- greenfield-service.
|
|
109
|
-
- greenfield-ui.
|
|
104
|
+
- brownfield-fullstack.yaml
|
|
105
|
+
- brownfield-service.yaml
|
|
106
|
+
- brownfield-ui.yaml
|
|
107
|
+
- greenfield-fullstack.yaml
|
|
108
|
+
- greenfield-service.yaml
|
|
109
|
+
- greenfield-ui.yaml
|
|
110
110
|
```
|
|
@@ -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
|
|
|
@@ -109,8 +109,8 @@ sections:
|
|
|
109
109
|
- **UI/UX Consistency:** {{ui_compatibility}}
|
|
110
110
|
- **Performance Impact:** {{performance_constraints}}
|
|
111
111
|
|
|
112
|
-
- id: tech-stack
|
|
113
|
-
title: Tech Stack
|
|
112
|
+
- id: tech-stack
|
|
113
|
+
title: Tech Stack
|
|
114
114
|
instruction: |
|
|
115
115
|
Ensure new components align with existing technology choices:
|
|
116
116
|
|
|
@@ -272,8 +272,8 @@ sections:
|
|
|
272
272
|
|
|
273
273
|
**Error Handling:** {{error_handling_strategy}}
|
|
274
274
|
|
|
275
|
-
- id: source-tree
|
|
276
|
-
title: Source Tree
|
|
275
|
+
- id: source-tree
|
|
276
|
+
title: Source Tree
|
|
277
277
|
instruction: |
|
|
278
278
|
Define how new code will integrate with existing project structure:
|
|
279
279
|
|
|
@@ -342,7 +342,7 @@ sections:
|
|
|
342
342
|
**Monitoring:** {{monitoring_approach}}
|
|
343
343
|
|
|
344
344
|
- id: coding-standards
|
|
345
|
-
title: Coding Standards
|
|
345
|
+
title: Coding Standards
|
|
346
346
|
instruction: |
|
|
347
347
|
Ensure new code follows existing project conventions:
|
|
348
348
|
|
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
|
|
|
@@ -1698,8 +1698,8 @@ sections:
|
|
|
1698
1698
|
- **UI/UX Consistency:** {{ui_compatibility}}
|
|
1699
1699
|
- **Performance Impact:** {{performance_constraints}}
|
|
1700
1700
|
|
|
1701
|
-
- id: tech-stack
|
|
1702
|
-
title: Tech Stack
|
|
1701
|
+
- id: tech-stack
|
|
1702
|
+
title: Tech Stack
|
|
1703
1703
|
instruction: |
|
|
1704
1704
|
Ensure new components align with existing technology choices:
|
|
1705
1705
|
|
|
@@ -1861,8 +1861,8 @@ sections:
|
|
|
1861
1861
|
|
|
1862
1862
|
**Error Handling:** {{error_handling_strategy}}
|
|
1863
1863
|
|
|
1864
|
-
- id: source-tree
|
|
1865
|
-
title: Source Tree
|
|
1864
|
+
- id: source-tree
|
|
1865
|
+
title: Source Tree
|
|
1866
1866
|
instruction: |
|
|
1867
1867
|
Define how new code will integrate with existing project structure:
|
|
1868
1868
|
|
|
@@ -1931,7 +1931,7 @@ sections:
|
|
|
1931
1931
|
**Monitoring:** {{monitoring_approach}}
|
|
1932
1932
|
|
|
1933
1933
|
- id: coding-standards
|
|
1934
|
-
title: Coding Standards
|
|
1934
|
+
title: Coding Standards
|
|
1935
1935
|
instruction: |
|
|
1936
1936
|
Ensure new code follows existing project conventions:
|
|
1937
1937
|
|
|
@@ -117,12 +117,12 @@ dependencies:
|
|
|
117
117
|
- project-brief-tmpl.yaml
|
|
118
118
|
- story-tmpl.yaml
|
|
119
119
|
workflows:
|
|
120
|
-
- brownfield-fullstack.
|
|
121
|
-
- brownfield-service.
|
|
122
|
-
- brownfield-ui.
|
|
123
|
-
- greenfield-fullstack.
|
|
124
|
-
- greenfield-service.
|
|
125
|
-
- greenfield-ui.
|
|
120
|
+
- brownfield-fullstack.yaml
|
|
121
|
+
- brownfield-service.yaml
|
|
122
|
+
- brownfield-ui.yaml
|
|
123
|
+
- greenfield-fullstack.yaml
|
|
124
|
+
- greenfield-service.yaml
|
|
125
|
+
- greenfield-ui.yaml
|
|
126
126
|
```
|
|
127
127
|
==================== END: .bmad-core/agents/bmad-master.md ====================
|
|
128
128
|
|
|
@@ -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
|
|
|
@@ -2916,8 +2916,8 @@ sections:
|
|
|
2916
2916
|
- **UI/UX Consistency:** {{ui_compatibility}}
|
|
2917
2917
|
- **Performance Impact:** {{performance_constraints}}
|
|
2918
2918
|
|
|
2919
|
-
- id: tech-stack
|
|
2920
|
-
title: Tech Stack
|
|
2919
|
+
- id: tech-stack
|
|
2920
|
+
title: Tech Stack
|
|
2921
2921
|
instruction: |
|
|
2922
2922
|
Ensure new components align with existing technology choices:
|
|
2923
2923
|
|
|
@@ -3079,8 +3079,8 @@ sections:
|
|
|
3079
3079
|
|
|
3080
3080
|
**Error Handling:** {{error_handling_strategy}}
|
|
3081
3081
|
|
|
3082
|
-
- id: source-tree
|
|
3083
|
-
title: Source Tree
|
|
3082
|
+
- id: source-tree
|
|
3083
|
+
title: Source Tree
|
|
3084
3084
|
instruction: |
|
|
3085
3085
|
Define how new code will integrate with existing project structure:
|
|
3086
3086
|
|
|
@@ -3149,7 +3149,7 @@ sections:
|
|
|
3149
3149
|
**Monitoring:** {{monitoring_approach}}
|
|
3150
3150
|
|
|
3151
3151
|
- id: coding-standards
|
|
3152
|
-
title: Coding Standards
|
|
3152
|
+
title: Coding Standards
|
|
3153
3153
|
instruction: |
|
|
3154
3154
|
Ensure new code follows existing project conventions:
|
|
3155
3155
|
|
|
@@ -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
|