bmad-method 4.10.1 → 4.10.3
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/CHANGELOG.md +14 -0
- package/bmad-core/tasks/create-next-story.md +32 -4
- package/dist/agents/analyst.txt +58 -0
- package/dist/agents/bmad-master.txt +90 -4
- package/dist/agents/bmad-orchestrator.txt +137 -0
- package/dist/agents/sm.txt +32 -4
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +79 -0
- package/dist/teams/team-all.txt +170 -5
- package/dist/teams/team-fullstack.txt +138 -1
- package/dist/teams/team-ide-minimal.txt +169 -4
- package/dist/teams/team-no-ui.txt +138 -1
- package/package.json +1 -1
- package/tools/installer/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.10.3](https://github.com/bmadcode/BMAD-METHOD/compare/v4.10.2...v4.10.3) (2025-06-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bundle update ([2cf3ba1](https://github.com/bmadcode/BMAD-METHOD/commit/2cf3ba1ab8dd7e52584bef16a96e65e7d2513c4f))
|
|
7
|
+
|
|
8
|
+
## [4.10.2](https://github.com/bmadcode/BMAD-METHOD/compare/v4.10.1...v4.10.2) (2025-06-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* file formatting ([c78a35f](https://github.com/bmadcode/BMAD-METHOD/commit/c78a35f547459b07a15d94c827ec05921cd21571))
|
|
14
|
+
|
|
1
15
|
## [4.10.1](https://github.com/bmadcode/BMAD-METHOD/compare/v4.10.0...v4.10.1) (2025-06-20)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -57,12 +57,40 @@ To identify the next logical story based on project progress and epic definition
|
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
- Proceed only if user selects option 3 (Override) or if the last story was 'Done'.
|
|
60
|
-
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and parse it to find ALL stories in that epic.
|
|
61
|
-
-
|
|
60
|
+
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and parse it to find ALL stories in that epic. **ALWAYS select the next sequential story** (e.g., if last was 2.2, next MUST be 2.3).
|
|
61
|
+
- If the next sequential story has unmet prerequisites, present this to the user:
|
|
62
|
+
|
|
63
|
+
```plaintext
|
|
64
|
+
ALERT: Next story has unmet prerequisites:
|
|
65
|
+
Story: {epicNum}.{storyNum} - {Story Title}
|
|
66
|
+
Prerequisites not met: [list specific prerequisites]
|
|
67
|
+
|
|
68
|
+
Would you like to:
|
|
69
|
+
1. Create the story anyway (mark prerequisites as pending)
|
|
70
|
+
2. Skip to a different story (requires your specific instruction)
|
|
71
|
+
3. Cancel story creation
|
|
72
|
+
|
|
73
|
+
Please choose an option (1/2/3):
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
- If there are no more stories in the current epic (e.g., 2.9 was done and there is no 2.10):
|
|
77
|
+
|
|
78
|
+
```plaintext
|
|
79
|
+
Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed.
|
|
80
|
+
|
|
81
|
+
Would you like to:
|
|
82
|
+
1. Begin Epic {epicNum + 1} with story {epicNum + 1}.1
|
|
83
|
+
2. Select a specific story to work on
|
|
84
|
+
3. Cancel story creation
|
|
85
|
+
|
|
86
|
+
Please choose an option (1/2/3):
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
- **CRITICAL**: NEVER automatically skip to another epic or non-sequential story. The user MUST explicitly instruct which story to create if skipping the sequential order.
|
|
62
90
|
|
|
63
91
|
- **If no story files exist in `docs/stories/`:**
|
|
64
|
-
- The next story is the first story
|
|
65
|
-
- If
|
|
92
|
+
- The next story is ALWAYS 1.1 (the first story of the first epic).
|
|
93
|
+
- If story 1.1 has unmet prerequisites, follow the same alert process as above.
|
|
66
94
|
- Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}".
|
|
67
95
|
|
|
68
96
|
### 2. Gather Core Story Requirements (from Epic)
|
package/dist/agents/analyst.txt
CHANGED
|
@@ -1679,6 +1679,64 @@ npx bmad-method install
|
|
|
1679
1679
|
|
|
1680
1680
|
**Cost-Saving Tip**: Create large documents (PRDs, architecture) in web UI, then copy to `docs/prd.md` and `docs/architecture.md` in your project before switching to IDE for development.
|
|
1681
1681
|
|
|
1682
|
+
## Core Configuration (core-config.yml)
|
|
1683
|
+
|
|
1684
|
+
**New in V4**: The `bmad-core/core-config.yml` file is a critical innovation that enables BMAD to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
|
|
1685
|
+
|
|
1686
|
+
### What is core-config.yml?
|
|
1687
|
+
|
|
1688
|
+
This configuration file acts as a map for BMAD agents, telling them exactly where to find your project documents and how they're structured. It enables:
|
|
1689
|
+
|
|
1690
|
+
- **Version Flexibility**: Work with V3, V4, or custom document structures
|
|
1691
|
+
- **Custom Locations**: Define where your documents and shards live
|
|
1692
|
+
- **Developer Context**: Specify which files the dev agent should always load
|
|
1693
|
+
- **Debug Support**: Built-in logging for troubleshooting
|
|
1694
|
+
|
|
1695
|
+
### Key Configuration Areas
|
|
1696
|
+
|
|
1697
|
+
#### PRD Configuration
|
|
1698
|
+
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
1699
|
+
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
1700
|
+
- **prdShardedLocation**: Where to find sharded epic files
|
|
1701
|
+
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
1702
|
+
|
|
1703
|
+
#### Architecture Configuration
|
|
1704
|
+
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
1705
|
+
- **architectureSharded**: Whether architecture is split into components
|
|
1706
|
+
- **architectureShardedLocation**: Where sharded architecture files live
|
|
1707
|
+
|
|
1708
|
+
#### Developer Files
|
|
1709
|
+
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
1710
|
+
- **devDebugLog**: Where dev agent logs repeated failures
|
|
1711
|
+
- **agentCoreDump**: Export location for chat conversations
|
|
1712
|
+
|
|
1713
|
+
### Why It Matters
|
|
1714
|
+
|
|
1715
|
+
1. **No Forced Migrations**: Keep your existing document structure
|
|
1716
|
+
2. **Gradual Adoption**: Start with V3 and migrate to V4 at your pace
|
|
1717
|
+
3. **Custom Workflows**: Configure BMAD to match your team's process
|
|
1718
|
+
4. **Intelligent Agents**: Agents automatically adapt to your configuration
|
|
1719
|
+
|
|
1720
|
+
### Common Configurations
|
|
1721
|
+
|
|
1722
|
+
**Legacy V3 Project**:
|
|
1723
|
+
```yaml
|
|
1724
|
+
prdVersion: v3
|
|
1725
|
+
prdSharded: false
|
|
1726
|
+
architectureVersion: v3
|
|
1727
|
+
architectureSharded: false
|
|
1728
|
+
```
|
|
1729
|
+
|
|
1730
|
+
**V4 Optimized Project**:
|
|
1731
|
+
```yaml
|
|
1732
|
+
prdVersion: v4
|
|
1733
|
+
prdSharded: true
|
|
1734
|
+
prdShardedLocation: docs/prd
|
|
1735
|
+
architectureVersion: v4
|
|
1736
|
+
architectureSharded: true
|
|
1737
|
+
architectureShardedLocation: docs/architecture
|
|
1738
|
+
```
|
|
1739
|
+
|
|
1682
1740
|
## Core Philosophy
|
|
1683
1741
|
|
|
1684
1742
|
### Vibe CEO'ing
|
|
@@ -1774,12 +1774,40 @@ To identify the next logical story based on project progress and epic definition
|
|
|
1774
1774
|
```
|
|
1775
1775
|
|
|
1776
1776
|
- Proceed only if user selects option 3 (Override) or if the last story was 'Done'.
|
|
1777
|
-
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and
|
|
1778
|
-
-
|
|
1777
|
+
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and parse it to find ALL stories in that epic. **ALWAYS select the next sequential story** (e.g., if last was 2.2, next MUST be 2.3).
|
|
1778
|
+
- If the next sequential story has unmet prerequisites, present this to the user:
|
|
1779
|
+
|
|
1780
|
+
```plaintext
|
|
1781
|
+
ALERT: Next story has unmet prerequisites:
|
|
1782
|
+
Story: {epicNum}.{storyNum} - {Story Title}
|
|
1783
|
+
Prerequisites not met: [list specific prerequisites]
|
|
1784
|
+
|
|
1785
|
+
Would you like to:
|
|
1786
|
+
1. Create the story anyway (mark prerequisites as pending)
|
|
1787
|
+
2. Skip to a different story (requires your specific instruction)
|
|
1788
|
+
3. Cancel story creation
|
|
1789
|
+
|
|
1790
|
+
Please choose an option (1/2/3):
|
|
1791
|
+
```
|
|
1792
|
+
|
|
1793
|
+
- If there are no more stories in the current epic (e.g., 2.9 was done and there is no 2.10):
|
|
1794
|
+
|
|
1795
|
+
```plaintext
|
|
1796
|
+
Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed.
|
|
1797
|
+
|
|
1798
|
+
Would you like to:
|
|
1799
|
+
1. Begin Epic {epicNum + 1} with story {epicNum + 1}.1
|
|
1800
|
+
2. Select a specific story to work on
|
|
1801
|
+
3. Cancel story creation
|
|
1802
|
+
|
|
1803
|
+
Please choose an option (1/2/3):
|
|
1804
|
+
```
|
|
1805
|
+
|
|
1806
|
+
- **CRITICAL**: NEVER automatically skip to another epic or non-sequential story. The user MUST explicitly instruct which story to create if skipping the sequential order.
|
|
1779
1807
|
|
|
1780
1808
|
- **If no story files exist in `docs/stories/`:**
|
|
1781
|
-
- The next story is the first story
|
|
1782
|
-
- If
|
|
1809
|
+
- The next story is ALWAYS 1.1 (the first story of the first epic).
|
|
1810
|
+
- If story 1.1 has unmet prerequisites, follow the same alert process as above.
|
|
1783
1811
|
- Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}".
|
|
1784
1812
|
|
|
1785
1813
|
### 2. Gather Core Story Requirements (from Epic)
|
|
@@ -8486,6 +8514,64 @@ npx bmad-method install
|
|
|
8486
8514
|
|
|
8487
8515
|
**Cost-Saving Tip**: Create large documents (PRDs, architecture) in web UI, then copy to `docs/prd.md` and `docs/architecture.md` in your project before switching to IDE for development.
|
|
8488
8516
|
|
|
8517
|
+
## Core Configuration (core-config.yml)
|
|
8518
|
+
|
|
8519
|
+
**New in V4**: The `bmad-core/core-config.yml` file is a critical innovation that enables BMAD to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
|
|
8520
|
+
|
|
8521
|
+
### What is core-config.yml?
|
|
8522
|
+
|
|
8523
|
+
This configuration file acts as a map for BMAD agents, telling them exactly where to find your project documents and how they're structured. It enables:
|
|
8524
|
+
|
|
8525
|
+
- **Version Flexibility**: Work with V3, V4, or custom document structures
|
|
8526
|
+
- **Custom Locations**: Define where your documents and shards live
|
|
8527
|
+
- **Developer Context**: Specify which files the dev agent should always load
|
|
8528
|
+
- **Debug Support**: Built-in logging for troubleshooting
|
|
8529
|
+
|
|
8530
|
+
### Key Configuration Areas
|
|
8531
|
+
|
|
8532
|
+
#### PRD Configuration
|
|
8533
|
+
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
8534
|
+
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
8535
|
+
- **prdShardedLocation**: Where to find sharded epic files
|
|
8536
|
+
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
8537
|
+
|
|
8538
|
+
#### Architecture Configuration
|
|
8539
|
+
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
8540
|
+
- **architectureSharded**: Whether architecture is split into components
|
|
8541
|
+
- **architectureShardedLocation**: Where sharded architecture files live
|
|
8542
|
+
|
|
8543
|
+
#### Developer Files
|
|
8544
|
+
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
8545
|
+
- **devDebugLog**: Where dev agent logs repeated failures
|
|
8546
|
+
- **agentCoreDump**: Export location for chat conversations
|
|
8547
|
+
|
|
8548
|
+
### Why It Matters
|
|
8549
|
+
|
|
8550
|
+
1. **No Forced Migrations**: Keep your existing document structure
|
|
8551
|
+
2. **Gradual Adoption**: Start with V3 and migrate to V4 at your pace
|
|
8552
|
+
3. **Custom Workflows**: Configure BMAD to match your team's process
|
|
8553
|
+
4. **Intelligent Agents**: Agents automatically adapt to your configuration
|
|
8554
|
+
|
|
8555
|
+
### Common Configurations
|
|
8556
|
+
|
|
8557
|
+
**Legacy V3 Project**:
|
|
8558
|
+
```yaml
|
|
8559
|
+
prdVersion: v3
|
|
8560
|
+
prdSharded: false
|
|
8561
|
+
architectureVersion: v3
|
|
8562
|
+
architectureSharded: false
|
|
8563
|
+
```
|
|
8564
|
+
|
|
8565
|
+
**V4 Optimized Project**:
|
|
8566
|
+
```yaml
|
|
8567
|
+
prdVersion: v4
|
|
8568
|
+
prdSharded: true
|
|
8569
|
+
prdShardedLocation: docs/prd
|
|
8570
|
+
architectureVersion: v4
|
|
8571
|
+
architectureSharded: true
|
|
8572
|
+
architectureShardedLocation: docs/architecture
|
|
8573
|
+
```
|
|
8574
|
+
|
|
8489
8575
|
## Core Philosophy
|
|
8490
8576
|
|
|
8491
8577
|
### Vibe CEO'ing
|
|
@@ -136,6 +136,11 @@ loading:
|
|
|
136
136
|
- Agents: Only when transforming
|
|
137
137
|
- Templates/Tasks: Only when executing
|
|
138
138
|
- Always indicate loading
|
|
139
|
+
kb-mode-behavior:
|
|
140
|
+
- When *kb-mode is invoked, use kb-mode-interaction task
|
|
141
|
+
- Don't dump all KB content immediately
|
|
142
|
+
- Present topic areas and wait for user selection
|
|
143
|
+
- Provide focused, contextual responses
|
|
139
144
|
workflow-guidance:
|
|
140
145
|
- Discover available workflows in the bundle at runtime
|
|
141
146
|
- Understand each workflow's purpose, options, and decision points
|
|
@@ -149,6 +154,7 @@ dependencies:
|
|
|
149
154
|
tasks:
|
|
150
155
|
- advanced-elicitation
|
|
151
156
|
- create-doc
|
|
157
|
+
- kb-mode-interaction
|
|
152
158
|
data:
|
|
153
159
|
- bmad-kb
|
|
154
160
|
utils:
|
|
@@ -329,6 +335,79 @@ If template specifies a checklist:
|
|
|
329
335
|
- Template markup is for AI processing only - never expose to users
|
|
330
336
|
==================== END: tasks#create-doc ====================
|
|
331
337
|
|
|
338
|
+
==================== START: tasks#kb-mode-interaction ====================
|
|
339
|
+
# KB Mode Interaction Task
|
|
340
|
+
|
|
341
|
+
## Purpose
|
|
342
|
+
Provide a user-friendly interface to the BMAD knowledge base without overwhelming users with information upfront.
|
|
343
|
+
|
|
344
|
+
## Instructions
|
|
345
|
+
|
|
346
|
+
When entering KB mode (*kb-mode), follow these steps:
|
|
347
|
+
|
|
348
|
+
### 1. Welcome and Guide
|
|
349
|
+
Announce entering KB mode with a brief, friendly introduction:
|
|
350
|
+
|
|
351
|
+
"I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD."
|
|
352
|
+
|
|
353
|
+
### 2. Present Topic Areas
|
|
354
|
+
Offer a concise list of main topic areas the user might want to explore:
|
|
355
|
+
|
|
356
|
+
**What would you like to know more about?**
|
|
357
|
+
|
|
358
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
359
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
360
|
+
3. **Web vs IDE** - When to use each environment
|
|
361
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
362
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
363
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
364
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
365
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
366
|
+
|
|
367
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
368
|
+
|
|
369
|
+
### 3. Respond Contextually
|
|
370
|
+
- Wait for user's specific question or topic selection
|
|
371
|
+
- Provide focused, relevant information from the knowledge base
|
|
372
|
+
- Offer to dive deeper or explore related topics
|
|
373
|
+
- Keep responses concise unless user asks for detailed explanations
|
|
374
|
+
|
|
375
|
+
### 4. Interactive Exploration
|
|
376
|
+
- After answering, suggest related topics they might find helpful
|
|
377
|
+
- Maintain conversational flow rather than data dumping
|
|
378
|
+
- Use examples when appropriate
|
|
379
|
+
- Reference specific documentation sections when relevant
|
|
380
|
+
|
|
381
|
+
### 5. Exit Gracefully
|
|
382
|
+
When user is done or wants to exit KB mode:
|
|
383
|
+
- Summarize key points discussed if helpful
|
|
384
|
+
- Remind them they can return to KB mode anytime with *kb-mode
|
|
385
|
+
- Suggest next steps based on what was discussed
|
|
386
|
+
|
|
387
|
+
## Example Interaction
|
|
388
|
+
|
|
389
|
+
**User**: *kb-mode
|
|
390
|
+
|
|
391
|
+
**Assistant**: I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD.
|
|
392
|
+
|
|
393
|
+
**What would you like to know more about?**
|
|
394
|
+
|
|
395
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
396
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
397
|
+
3. **Web vs IDE** - When to use each environment
|
|
398
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
399
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
400
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
401
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
402
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
403
|
+
|
|
404
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
405
|
+
|
|
406
|
+
**User**: Tell me about workflows
|
|
407
|
+
|
|
408
|
+
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
409
|
+
==================== END: tasks#kb-mode-interaction ====================
|
|
410
|
+
|
|
332
411
|
==================== START: data#bmad-kb ====================
|
|
333
412
|
# BMAD Knowledge Base
|
|
334
413
|
|
|
@@ -398,6 +477,64 @@ npx bmad-method install
|
|
|
398
477
|
|
|
399
478
|
**Cost-Saving Tip**: Create large documents (PRDs, architecture) in web UI, then copy to `docs/prd.md` and `docs/architecture.md` in your project before switching to IDE for development.
|
|
400
479
|
|
|
480
|
+
## Core Configuration (core-config.yml)
|
|
481
|
+
|
|
482
|
+
**New in V4**: The `bmad-core/core-config.yml` file is a critical innovation that enables BMAD to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
|
|
483
|
+
|
|
484
|
+
### What is core-config.yml?
|
|
485
|
+
|
|
486
|
+
This configuration file acts as a map for BMAD agents, telling them exactly where to find your project documents and how they're structured. It enables:
|
|
487
|
+
|
|
488
|
+
- **Version Flexibility**: Work with V3, V4, or custom document structures
|
|
489
|
+
- **Custom Locations**: Define where your documents and shards live
|
|
490
|
+
- **Developer Context**: Specify which files the dev agent should always load
|
|
491
|
+
- **Debug Support**: Built-in logging for troubleshooting
|
|
492
|
+
|
|
493
|
+
### Key Configuration Areas
|
|
494
|
+
|
|
495
|
+
#### PRD Configuration
|
|
496
|
+
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
497
|
+
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
498
|
+
- **prdShardedLocation**: Where to find sharded epic files
|
|
499
|
+
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
500
|
+
|
|
501
|
+
#### Architecture Configuration
|
|
502
|
+
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
503
|
+
- **architectureSharded**: Whether architecture is split into components
|
|
504
|
+
- **architectureShardedLocation**: Where sharded architecture files live
|
|
505
|
+
|
|
506
|
+
#### Developer Files
|
|
507
|
+
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
508
|
+
- **devDebugLog**: Where dev agent logs repeated failures
|
|
509
|
+
- **agentCoreDump**: Export location for chat conversations
|
|
510
|
+
|
|
511
|
+
### Why It Matters
|
|
512
|
+
|
|
513
|
+
1. **No Forced Migrations**: Keep your existing document structure
|
|
514
|
+
2. **Gradual Adoption**: Start with V3 and migrate to V4 at your pace
|
|
515
|
+
3. **Custom Workflows**: Configure BMAD to match your team's process
|
|
516
|
+
4. **Intelligent Agents**: Agents automatically adapt to your configuration
|
|
517
|
+
|
|
518
|
+
### Common Configurations
|
|
519
|
+
|
|
520
|
+
**Legacy V3 Project**:
|
|
521
|
+
```yaml
|
|
522
|
+
prdVersion: v3
|
|
523
|
+
prdSharded: false
|
|
524
|
+
architectureVersion: v3
|
|
525
|
+
architectureSharded: false
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
**V4 Optimized Project**:
|
|
529
|
+
```yaml
|
|
530
|
+
prdVersion: v4
|
|
531
|
+
prdSharded: true
|
|
532
|
+
prdShardedLocation: docs/prd
|
|
533
|
+
architectureVersion: v4
|
|
534
|
+
architectureSharded: true
|
|
535
|
+
architectureShardedLocation: docs/architecture
|
|
536
|
+
```
|
|
537
|
+
|
|
401
538
|
## Core Philosophy
|
|
402
539
|
|
|
403
540
|
### Vibe CEO'ing
|
package/dist/agents/sm.txt
CHANGED
|
@@ -149,12 +149,40 @@ To identify the next logical story based on project progress and epic definition
|
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
- Proceed only if user selects option 3 (Override) or if the last story was 'Done'.
|
|
152
|
-
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and
|
|
153
|
-
-
|
|
152
|
+
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and parse it to find ALL stories in that epic. **ALWAYS select the next sequential story** (e.g., if last was 2.2, next MUST be 2.3).
|
|
153
|
+
- If the next sequential story has unmet prerequisites, present this to the user:
|
|
154
|
+
|
|
155
|
+
```plaintext
|
|
156
|
+
ALERT: Next story has unmet prerequisites:
|
|
157
|
+
Story: {epicNum}.{storyNum} - {Story Title}
|
|
158
|
+
Prerequisites not met: [list specific prerequisites]
|
|
159
|
+
|
|
160
|
+
Would you like to:
|
|
161
|
+
1. Create the story anyway (mark prerequisites as pending)
|
|
162
|
+
2. Skip to a different story (requires your specific instruction)
|
|
163
|
+
3. Cancel story creation
|
|
164
|
+
|
|
165
|
+
Please choose an option (1/2/3):
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
- If there are no more stories in the current epic (e.g., 2.9 was done and there is no 2.10):
|
|
169
|
+
|
|
170
|
+
```plaintext
|
|
171
|
+
Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed.
|
|
172
|
+
|
|
173
|
+
Would you like to:
|
|
174
|
+
1. Begin Epic {epicNum + 1} with story {epicNum + 1}.1
|
|
175
|
+
2. Select a specific story to work on
|
|
176
|
+
3. Cancel story creation
|
|
177
|
+
|
|
178
|
+
Please choose an option (1/2/3):
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
- **CRITICAL**: NEVER automatically skip to another epic or non-sequential story. The user MUST explicitly instruct which story to create if skipping the sequential order.
|
|
154
182
|
|
|
155
183
|
- **If no story files exist in `docs/stories/`:**
|
|
156
|
-
- The next story is the first story
|
|
157
|
-
- If
|
|
184
|
+
- The next story is ALWAYS 1.1 (the first story of the first epic).
|
|
185
|
+
- If story 1.1 has unmet prerequisites, follow the same alert process as above.
|
|
158
186
|
- Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}".
|
|
159
187
|
|
|
160
188
|
### 2. Gather Core Story Requirements (from Epic)
|
|
@@ -214,6 +214,11 @@ loading:
|
|
|
214
214
|
- Agents: Only when transforming
|
|
215
215
|
- Templates/Tasks: Only when executing
|
|
216
216
|
- Always indicate loading
|
|
217
|
+
kb-mode-behavior:
|
|
218
|
+
- When *kb-mode is invoked, use kb-mode-interaction task
|
|
219
|
+
- Don't dump all KB content immediately
|
|
220
|
+
- Present topic areas and wait for user selection
|
|
221
|
+
- Provide focused, contextual responses
|
|
217
222
|
workflow-guidance:
|
|
218
223
|
- Discover available workflows in the bundle at runtime
|
|
219
224
|
- Understand each workflow's purpose, options, and decision points
|
|
@@ -227,6 +232,7 @@ dependencies:
|
|
|
227
232
|
tasks:
|
|
228
233
|
- advanced-elicitation
|
|
229
234
|
- create-doc
|
|
235
|
+
- kb-mode-interaction
|
|
230
236
|
data:
|
|
231
237
|
- bmad-kb
|
|
232
238
|
utils:
|
|
@@ -2234,6 +2240,79 @@ Templates in the BMAD method use standardized markup for AI processing. These co
|
|
|
2234
2240
|
- All template-specific instructions are embedded within templates
|
|
2235
2241
|
==================== END: utils#template-format ====================
|
|
2236
2242
|
|
|
2243
|
+
==================== START: tasks#kb-mode-interaction ====================
|
|
2244
|
+
# KB Mode Interaction Task
|
|
2245
|
+
|
|
2246
|
+
## Purpose
|
|
2247
|
+
Provide a user-friendly interface to the BMAD knowledge base without overwhelming users with information upfront.
|
|
2248
|
+
|
|
2249
|
+
## Instructions
|
|
2250
|
+
|
|
2251
|
+
When entering KB mode (*kb-mode), follow these steps:
|
|
2252
|
+
|
|
2253
|
+
### 1. Welcome and Guide
|
|
2254
|
+
Announce entering KB mode with a brief, friendly introduction:
|
|
2255
|
+
|
|
2256
|
+
"I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD."
|
|
2257
|
+
|
|
2258
|
+
### 2. Present Topic Areas
|
|
2259
|
+
Offer a concise list of main topic areas the user might want to explore:
|
|
2260
|
+
|
|
2261
|
+
**What would you like to know more about?**
|
|
2262
|
+
|
|
2263
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
2264
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
2265
|
+
3. **Web vs IDE** - When to use each environment
|
|
2266
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
2267
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
2268
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
2269
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
2270
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
2271
|
+
|
|
2272
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
2273
|
+
|
|
2274
|
+
### 3. Respond Contextually
|
|
2275
|
+
- Wait for user's specific question or topic selection
|
|
2276
|
+
- Provide focused, relevant information from the knowledge base
|
|
2277
|
+
- Offer to dive deeper or explore related topics
|
|
2278
|
+
- Keep responses concise unless user asks for detailed explanations
|
|
2279
|
+
|
|
2280
|
+
### 4. Interactive Exploration
|
|
2281
|
+
- After answering, suggest related topics they might find helpful
|
|
2282
|
+
- Maintain conversational flow rather than data dumping
|
|
2283
|
+
- Use examples when appropriate
|
|
2284
|
+
- Reference specific documentation sections when relevant
|
|
2285
|
+
|
|
2286
|
+
### 5. Exit Gracefully
|
|
2287
|
+
When user is done or wants to exit KB mode:
|
|
2288
|
+
- Summarize key points discussed if helpful
|
|
2289
|
+
- Remind them they can return to KB mode anytime with *kb-mode
|
|
2290
|
+
- Suggest next steps based on what was discussed
|
|
2291
|
+
|
|
2292
|
+
## Example Interaction
|
|
2293
|
+
|
|
2294
|
+
**User**: *kb-mode
|
|
2295
|
+
|
|
2296
|
+
**Assistant**: I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD.
|
|
2297
|
+
|
|
2298
|
+
**What would you like to know more about?**
|
|
2299
|
+
|
|
2300
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
2301
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
2302
|
+
3. **Web vs IDE** - When to use each environment
|
|
2303
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
2304
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
2305
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
2306
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
2307
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
2308
|
+
|
|
2309
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
2310
|
+
|
|
2311
|
+
**User**: Tell me about workflows
|
|
2312
|
+
|
|
2313
|
+
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
2314
|
+
==================== END: tasks#kb-mode-interaction ====================
|
|
2315
|
+
|
|
2237
2316
|
==================== START: utils#workflow-management ====================
|
|
2238
2317
|
# Workflow Management
|
|
2239
2318
|
|
package/dist/teams/team-all.txt
CHANGED
|
@@ -153,6 +153,11 @@ loading:
|
|
|
153
153
|
- Agents: Only when transforming
|
|
154
154
|
- Templates/Tasks: Only when executing
|
|
155
155
|
- Always indicate loading
|
|
156
|
+
kb-mode-behavior:
|
|
157
|
+
- When *kb-mode is invoked, use kb-mode-interaction task
|
|
158
|
+
- Don't dump all KB content immediately
|
|
159
|
+
- Present topic areas and wait for user selection
|
|
160
|
+
- Provide focused, contextual responses
|
|
156
161
|
workflow-guidance:
|
|
157
162
|
- Discover available workflows in the bundle at runtime
|
|
158
163
|
- Understand each workflow's purpose, options, and decision points
|
|
@@ -166,6 +171,7 @@ dependencies:
|
|
|
166
171
|
tasks:
|
|
167
172
|
- advanced-elicitation
|
|
168
173
|
- create-doc
|
|
174
|
+
- kb-mode-interaction
|
|
169
175
|
data:
|
|
170
176
|
- bmad-kb
|
|
171
177
|
utils:
|
|
@@ -816,6 +822,79 @@ If template specifies a checklist:
|
|
|
816
822
|
- Template markup is for AI processing only - never expose to users
|
|
817
823
|
==================== END: tasks#create-doc ====================
|
|
818
824
|
|
|
825
|
+
==================== START: tasks#kb-mode-interaction ====================
|
|
826
|
+
# KB Mode Interaction Task
|
|
827
|
+
|
|
828
|
+
## Purpose
|
|
829
|
+
Provide a user-friendly interface to the BMAD knowledge base without overwhelming users with information upfront.
|
|
830
|
+
|
|
831
|
+
## Instructions
|
|
832
|
+
|
|
833
|
+
When entering KB mode (*kb-mode), follow these steps:
|
|
834
|
+
|
|
835
|
+
### 1. Welcome and Guide
|
|
836
|
+
Announce entering KB mode with a brief, friendly introduction:
|
|
837
|
+
|
|
838
|
+
"I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD."
|
|
839
|
+
|
|
840
|
+
### 2. Present Topic Areas
|
|
841
|
+
Offer a concise list of main topic areas the user might want to explore:
|
|
842
|
+
|
|
843
|
+
**What would you like to know more about?**
|
|
844
|
+
|
|
845
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
846
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
847
|
+
3. **Web vs IDE** - When to use each environment
|
|
848
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
849
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
850
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
851
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
852
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
853
|
+
|
|
854
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
855
|
+
|
|
856
|
+
### 3. Respond Contextually
|
|
857
|
+
- Wait for user's specific question or topic selection
|
|
858
|
+
- Provide focused, relevant information from the knowledge base
|
|
859
|
+
- Offer to dive deeper or explore related topics
|
|
860
|
+
- Keep responses concise unless user asks for detailed explanations
|
|
861
|
+
|
|
862
|
+
### 4. Interactive Exploration
|
|
863
|
+
- After answering, suggest related topics they might find helpful
|
|
864
|
+
- Maintain conversational flow rather than data dumping
|
|
865
|
+
- Use examples when appropriate
|
|
866
|
+
- Reference specific documentation sections when relevant
|
|
867
|
+
|
|
868
|
+
### 5. Exit Gracefully
|
|
869
|
+
When user is done or wants to exit KB mode:
|
|
870
|
+
- Summarize key points discussed if helpful
|
|
871
|
+
- Remind them they can return to KB mode anytime with *kb-mode
|
|
872
|
+
- Suggest next steps based on what was discussed
|
|
873
|
+
|
|
874
|
+
## Example Interaction
|
|
875
|
+
|
|
876
|
+
**User**: *kb-mode
|
|
877
|
+
|
|
878
|
+
**Assistant**: I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD.
|
|
879
|
+
|
|
880
|
+
**What would you like to know more about?**
|
|
881
|
+
|
|
882
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
883
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
884
|
+
3. **Web vs IDE** - When to use each environment
|
|
885
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
886
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
887
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
888
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
889
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
890
|
+
|
|
891
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
892
|
+
|
|
893
|
+
**User**: Tell me about workflows
|
|
894
|
+
|
|
895
|
+
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
896
|
+
==================== END: tasks#kb-mode-interaction ====================
|
|
897
|
+
|
|
819
898
|
==================== START: data#bmad-kb ====================
|
|
820
899
|
# BMAD Knowledge Base
|
|
821
900
|
|
|
@@ -885,6 +964,64 @@ npx bmad-method install
|
|
|
885
964
|
|
|
886
965
|
**Cost-Saving Tip**: Create large documents (PRDs, architecture) in web UI, then copy to `docs/prd.md` and `docs/architecture.md` in your project before switching to IDE for development.
|
|
887
966
|
|
|
967
|
+
## Core Configuration (core-config.yml)
|
|
968
|
+
|
|
969
|
+
**New in V4**: The `bmad-core/core-config.yml` file is a critical innovation that enables BMAD to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
|
|
970
|
+
|
|
971
|
+
### What is core-config.yml?
|
|
972
|
+
|
|
973
|
+
This configuration file acts as a map for BMAD agents, telling them exactly where to find your project documents and how they're structured. It enables:
|
|
974
|
+
|
|
975
|
+
- **Version Flexibility**: Work with V3, V4, or custom document structures
|
|
976
|
+
- **Custom Locations**: Define where your documents and shards live
|
|
977
|
+
- **Developer Context**: Specify which files the dev agent should always load
|
|
978
|
+
- **Debug Support**: Built-in logging for troubleshooting
|
|
979
|
+
|
|
980
|
+
### Key Configuration Areas
|
|
981
|
+
|
|
982
|
+
#### PRD Configuration
|
|
983
|
+
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
984
|
+
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
985
|
+
- **prdShardedLocation**: Where to find sharded epic files
|
|
986
|
+
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
987
|
+
|
|
988
|
+
#### Architecture Configuration
|
|
989
|
+
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
990
|
+
- **architectureSharded**: Whether architecture is split into components
|
|
991
|
+
- **architectureShardedLocation**: Where sharded architecture files live
|
|
992
|
+
|
|
993
|
+
#### Developer Files
|
|
994
|
+
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
995
|
+
- **devDebugLog**: Where dev agent logs repeated failures
|
|
996
|
+
- **agentCoreDump**: Export location for chat conversations
|
|
997
|
+
|
|
998
|
+
### Why It Matters
|
|
999
|
+
|
|
1000
|
+
1. **No Forced Migrations**: Keep your existing document structure
|
|
1001
|
+
2. **Gradual Adoption**: Start with V3 and migrate to V4 at your pace
|
|
1002
|
+
3. **Custom Workflows**: Configure BMAD to match your team's process
|
|
1003
|
+
4. **Intelligent Agents**: Agents automatically adapt to your configuration
|
|
1004
|
+
|
|
1005
|
+
### Common Configurations
|
|
1006
|
+
|
|
1007
|
+
**Legacy V3 Project**:
|
|
1008
|
+
```yaml
|
|
1009
|
+
prdVersion: v3
|
|
1010
|
+
prdSharded: false
|
|
1011
|
+
architectureVersion: v3
|
|
1012
|
+
architectureSharded: false
|
|
1013
|
+
```
|
|
1014
|
+
|
|
1015
|
+
**V4 Optimized Project**:
|
|
1016
|
+
```yaml
|
|
1017
|
+
prdVersion: v4
|
|
1018
|
+
prdSharded: true
|
|
1019
|
+
prdShardedLocation: docs/prd
|
|
1020
|
+
architectureVersion: v4
|
|
1021
|
+
architectureSharded: true
|
|
1022
|
+
architectureShardedLocation: docs/architecture
|
|
1023
|
+
```
|
|
1024
|
+
|
|
888
1025
|
## Core Philosophy
|
|
889
1026
|
|
|
890
1027
|
### Vibe CEO'ing
|
|
@@ -8559,12 +8696,40 @@ To identify the next logical story based on project progress and epic definition
|
|
|
8559
8696
|
```
|
|
8560
8697
|
|
|
8561
8698
|
- Proceed only if user selects option 3 (Override) or if the last story was 'Done'.
|
|
8562
|
-
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and
|
|
8563
|
-
-
|
|
8699
|
+
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and parse it to find ALL stories in that epic. **ALWAYS select the next sequential story** (e.g., if last was 2.2, next MUST be 2.3).
|
|
8700
|
+
- If the next sequential story has unmet prerequisites, present this to the user:
|
|
8701
|
+
|
|
8702
|
+
```plaintext
|
|
8703
|
+
ALERT: Next story has unmet prerequisites:
|
|
8704
|
+
Story: {epicNum}.{storyNum} - {Story Title}
|
|
8705
|
+
Prerequisites not met: [list specific prerequisites]
|
|
8706
|
+
|
|
8707
|
+
Would you like to:
|
|
8708
|
+
1. Create the story anyway (mark prerequisites as pending)
|
|
8709
|
+
2. Skip to a different story (requires your specific instruction)
|
|
8710
|
+
3. Cancel story creation
|
|
8711
|
+
|
|
8712
|
+
Please choose an option (1/2/3):
|
|
8713
|
+
```
|
|
8714
|
+
|
|
8715
|
+
- If there are no more stories in the current epic (e.g., 2.9 was done and there is no 2.10):
|
|
8716
|
+
|
|
8717
|
+
```plaintext
|
|
8718
|
+
Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed.
|
|
8719
|
+
|
|
8720
|
+
Would you like to:
|
|
8721
|
+
1. Begin Epic {epicNum + 1} with story {epicNum + 1}.1
|
|
8722
|
+
2. Select a specific story to work on
|
|
8723
|
+
3. Cancel story creation
|
|
8724
|
+
|
|
8725
|
+
Please choose an option (1/2/3):
|
|
8726
|
+
```
|
|
8727
|
+
|
|
8728
|
+
- **CRITICAL**: NEVER automatically skip to another epic or non-sequential story. The user MUST explicitly instruct which story to create if skipping the sequential order.
|
|
8564
8729
|
|
|
8565
8730
|
- **If no story files exist in `docs/stories/`:**
|
|
8566
|
-
- The next story is the first story
|
|
8567
|
-
- If
|
|
8731
|
+
- The next story is ALWAYS 1.1 (the first story of the first epic).
|
|
8732
|
+
- If story 1.1 has unmet prerequisites, follow the same alert process as above.
|
|
8568
8733
|
- Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}".
|
|
8569
8734
|
|
|
8570
8735
|
### 2. Gather Core Story Requirements (from Epic)
|
|
@@ -9452,7 +9617,7 @@ workflow:
|
|
|
9452
9617
|
|
|
9453
9618
|
sequence:
|
|
9454
9619
|
- step: service_analysis
|
|
9455
|
-
|
|
9620
|
+
agent: architect
|
|
9456
9621
|
action: analyze existing project and use task document-project
|
|
9457
9622
|
creates: multiple documents per the document-project template
|
|
9458
9623
|
notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
|
|
@@ -157,6 +157,11 @@ loading:
|
|
|
157
157
|
- Agents: Only when transforming
|
|
158
158
|
- Templates/Tasks: Only when executing
|
|
159
159
|
- Always indicate loading
|
|
160
|
+
kb-mode-behavior:
|
|
161
|
+
- When *kb-mode is invoked, use kb-mode-interaction task
|
|
162
|
+
- Don't dump all KB content immediately
|
|
163
|
+
- Present topic areas and wait for user selection
|
|
164
|
+
- Provide focused, contextual responses
|
|
160
165
|
workflow-guidance:
|
|
161
166
|
- Discover available workflows in the bundle at runtime
|
|
162
167
|
- Understand each workflow's purpose, options, and decision points
|
|
@@ -170,6 +175,7 @@ dependencies:
|
|
|
170
175
|
tasks:
|
|
171
176
|
- advanced-elicitation
|
|
172
177
|
- create-doc
|
|
178
|
+
- kb-mode-interaction
|
|
173
179
|
data:
|
|
174
180
|
- bmad-kb
|
|
175
181
|
utils:
|
|
@@ -663,6 +669,79 @@ If template specifies a checklist:
|
|
|
663
669
|
- Template markup is for AI processing only - never expose to users
|
|
664
670
|
==================== END: tasks#create-doc ====================
|
|
665
671
|
|
|
672
|
+
==================== START: tasks#kb-mode-interaction ====================
|
|
673
|
+
# KB Mode Interaction Task
|
|
674
|
+
|
|
675
|
+
## Purpose
|
|
676
|
+
Provide a user-friendly interface to the BMAD knowledge base without overwhelming users with information upfront.
|
|
677
|
+
|
|
678
|
+
## Instructions
|
|
679
|
+
|
|
680
|
+
When entering KB mode (*kb-mode), follow these steps:
|
|
681
|
+
|
|
682
|
+
### 1. Welcome and Guide
|
|
683
|
+
Announce entering KB mode with a brief, friendly introduction:
|
|
684
|
+
|
|
685
|
+
"I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD."
|
|
686
|
+
|
|
687
|
+
### 2. Present Topic Areas
|
|
688
|
+
Offer a concise list of main topic areas the user might want to explore:
|
|
689
|
+
|
|
690
|
+
**What would you like to know more about?**
|
|
691
|
+
|
|
692
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
693
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
694
|
+
3. **Web vs IDE** - When to use each environment
|
|
695
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
696
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
697
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
698
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
699
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
700
|
+
|
|
701
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
702
|
+
|
|
703
|
+
### 3. Respond Contextually
|
|
704
|
+
- Wait for user's specific question or topic selection
|
|
705
|
+
- Provide focused, relevant information from the knowledge base
|
|
706
|
+
- Offer to dive deeper or explore related topics
|
|
707
|
+
- Keep responses concise unless user asks for detailed explanations
|
|
708
|
+
|
|
709
|
+
### 4. Interactive Exploration
|
|
710
|
+
- After answering, suggest related topics they might find helpful
|
|
711
|
+
- Maintain conversational flow rather than data dumping
|
|
712
|
+
- Use examples when appropriate
|
|
713
|
+
- Reference specific documentation sections when relevant
|
|
714
|
+
|
|
715
|
+
### 5. Exit Gracefully
|
|
716
|
+
When user is done or wants to exit KB mode:
|
|
717
|
+
- Summarize key points discussed if helpful
|
|
718
|
+
- Remind them they can return to KB mode anytime with *kb-mode
|
|
719
|
+
- Suggest next steps based on what was discussed
|
|
720
|
+
|
|
721
|
+
## Example Interaction
|
|
722
|
+
|
|
723
|
+
**User**: *kb-mode
|
|
724
|
+
|
|
725
|
+
**Assistant**: I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD.
|
|
726
|
+
|
|
727
|
+
**What would you like to know more about?**
|
|
728
|
+
|
|
729
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
730
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
731
|
+
3. **Web vs IDE** - When to use each environment
|
|
732
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
733
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
734
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
735
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
736
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
737
|
+
|
|
738
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
739
|
+
|
|
740
|
+
**User**: Tell me about workflows
|
|
741
|
+
|
|
742
|
+
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
743
|
+
==================== END: tasks#kb-mode-interaction ====================
|
|
744
|
+
|
|
666
745
|
==================== START: data#bmad-kb ====================
|
|
667
746
|
# BMAD Knowledge Base
|
|
668
747
|
|
|
@@ -732,6 +811,64 @@ npx bmad-method install
|
|
|
732
811
|
|
|
733
812
|
**Cost-Saving Tip**: Create large documents (PRDs, architecture) in web UI, then copy to `docs/prd.md` and `docs/architecture.md` in your project before switching to IDE for development.
|
|
734
813
|
|
|
814
|
+
## Core Configuration (core-config.yml)
|
|
815
|
+
|
|
816
|
+
**New in V4**: The `bmad-core/core-config.yml` file is a critical innovation that enables BMAD to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
|
|
817
|
+
|
|
818
|
+
### What is core-config.yml?
|
|
819
|
+
|
|
820
|
+
This configuration file acts as a map for BMAD agents, telling them exactly where to find your project documents and how they're structured. It enables:
|
|
821
|
+
|
|
822
|
+
- **Version Flexibility**: Work with V3, V4, or custom document structures
|
|
823
|
+
- **Custom Locations**: Define where your documents and shards live
|
|
824
|
+
- **Developer Context**: Specify which files the dev agent should always load
|
|
825
|
+
- **Debug Support**: Built-in logging for troubleshooting
|
|
826
|
+
|
|
827
|
+
### Key Configuration Areas
|
|
828
|
+
|
|
829
|
+
#### PRD Configuration
|
|
830
|
+
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
831
|
+
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
832
|
+
- **prdShardedLocation**: Where to find sharded epic files
|
|
833
|
+
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
834
|
+
|
|
835
|
+
#### Architecture Configuration
|
|
836
|
+
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
837
|
+
- **architectureSharded**: Whether architecture is split into components
|
|
838
|
+
- **architectureShardedLocation**: Where sharded architecture files live
|
|
839
|
+
|
|
840
|
+
#### Developer Files
|
|
841
|
+
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
842
|
+
- **devDebugLog**: Where dev agent logs repeated failures
|
|
843
|
+
- **agentCoreDump**: Export location for chat conversations
|
|
844
|
+
|
|
845
|
+
### Why It Matters
|
|
846
|
+
|
|
847
|
+
1. **No Forced Migrations**: Keep your existing document structure
|
|
848
|
+
2. **Gradual Adoption**: Start with V3 and migrate to V4 at your pace
|
|
849
|
+
3. **Custom Workflows**: Configure BMAD to match your team's process
|
|
850
|
+
4. **Intelligent Agents**: Agents automatically adapt to your configuration
|
|
851
|
+
|
|
852
|
+
### Common Configurations
|
|
853
|
+
|
|
854
|
+
**Legacy V3 Project**:
|
|
855
|
+
```yaml
|
|
856
|
+
prdVersion: v3
|
|
857
|
+
prdSharded: false
|
|
858
|
+
architectureVersion: v3
|
|
859
|
+
architectureSharded: false
|
|
860
|
+
```
|
|
861
|
+
|
|
862
|
+
**V4 Optimized Project**:
|
|
863
|
+
```yaml
|
|
864
|
+
prdVersion: v4
|
|
865
|
+
prdSharded: true
|
|
866
|
+
prdShardedLocation: docs/prd
|
|
867
|
+
architectureVersion: v4
|
|
868
|
+
architectureSharded: true
|
|
869
|
+
architectureShardedLocation: docs/architecture
|
|
870
|
+
```
|
|
871
|
+
|
|
735
872
|
## Core Philosophy
|
|
736
873
|
|
|
737
874
|
### Vibe CEO'ing
|
|
@@ -8809,7 +8946,7 @@ workflow:
|
|
|
8809
8946
|
|
|
8810
8947
|
sequence:
|
|
8811
8948
|
- step: service_analysis
|
|
8812
|
-
|
|
8949
|
+
agent: architect
|
|
8813
8950
|
action: analyze existing project and use task document-project
|
|
8814
8951
|
creates: multiple documents per the document-project template
|
|
8815
8952
|
notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
|
|
@@ -149,6 +149,11 @@ loading:
|
|
|
149
149
|
- Agents: Only when transforming
|
|
150
150
|
- Templates/Tasks: Only when executing
|
|
151
151
|
- Always indicate loading
|
|
152
|
+
kb-mode-behavior:
|
|
153
|
+
- When *kb-mode is invoked, use kb-mode-interaction task
|
|
154
|
+
- Don't dump all KB content immediately
|
|
155
|
+
- Present topic areas and wait for user selection
|
|
156
|
+
- Provide focused, contextual responses
|
|
152
157
|
workflow-guidance:
|
|
153
158
|
- Discover available workflows in the bundle at runtime
|
|
154
159
|
- Understand each workflow's purpose, options, and decision points
|
|
@@ -162,6 +167,7 @@ dependencies:
|
|
|
162
167
|
tasks:
|
|
163
168
|
- advanced-elicitation
|
|
164
169
|
- create-doc
|
|
170
|
+
- kb-mode-interaction
|
|
165
171
|
data:
|
|
166
172
|
- bmad-kb
|
|
167
173
|
utils:
|
|
@@ -562,6 +568,79 @@ If template specifies a checklist:
|
|
|
562
568
|
- Template markup is for AI processing only - never expose to users
|
|
563
569
|
==================== END: tasks#create-doc ====================
|
|
564
570
|
|
|
571
|
+
==================== START: tasks#kb-mode-interaction ====================
|
|
572
|
+
# KB Mode Interaction Task
|
|
573
|
+
|
|
574
|
+
## Purpose
|
|
575
|
+
Provide a user-friendly interface to the BMAD knowledge base without overwhelming users with information upfront.
|
|
576
|
+
|
|
577
|
+
## Instructions
|
|
578
|
+
|
|
579
|
+
When entering KB mode (*kb-mode), follow these steps:
|
|
580
|
+
|
|
581
|
+
### 1. Welcome and Guide
|
|
582
|
+
Announce entering KB mode with a brief, friendly introduction:
|
|
583
|
+
|
|
584
|
+
"I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD."
|
|
585
|
+
|
|
586
|
+
### 2. Present Topic Areas
|
|
587
|
+
Offer a concise list of main topic areas the user might want to explore:
|
|
588
|
+
|
|
589
|
+
**What would you like to know more about?**
|
|
590
|
+
|
|
591
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
592
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
593
|
+
3. **Web vs IDE** - When to use each environment
|
|
594
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
595
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
596
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
597
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
598
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
599
|
+
|
|
600
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
601
|
+
|
|
602
|
+
### 3. Respond Contextually
|
|
603
|
+
- Wait for user's specific question or topic selection
|
|
604
|
+
- Provide focused, relevant information from the knowledge base
|
|
605
|
+
- Offer to dive deeper or explore related topics
|
|
606
|
+
- Keep responses concise unless user asks for detailed explanations
|
|
607
|
+
|
|
608
|
+
### 4. Interactive Exploration
|
|
609
|
+
- After answering, suggest related topics they might find helpful
|
|
610
|
+
- Maintain conversational flow rather than data dumping
|
|
611
|
+
- Use examples when appropriate
|
|
612
|
+
- Reference specific documentation sections when relevant
|
|
613
|
+
|
|
614
|
+
### 5. Exit Gracefully
|
|
615
|
+
When user is done or wants to exit KB mode:
|
|
616
|
+
- Summarize key points discussed if helpful
|
|
617
|
+
- Remind them they can return to KB mode anytime with *kb-mode
|
|
618
|
+
- Suggest next steps based on what was discussed
|
|
619
|
+
|
|
620
|
+
## Example Interaction
|
|
621
|
+
|
|
622
|
+
**User**: *kb-mode
|
|
623
|
+
|
|
624
|
+
**Assistant**: I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD.
|
|
625
|
+
|
|
626
|
+
**What would you like to know more about?**
|
|
627
|
+
|
|
628
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
629
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
630
|
+
3. **Web vs IDE** - When to use each environment
|
|
631
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
632
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
633
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
634
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
635
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
636
|
+
|
|
637
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
638
|
+
|
|
639
|
+
**User**: Tell me about workflows
|
|
640
|
+
|
|
641
|
+
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
642
|
+
==================== END: tasks#kb-mode-interaction ====================
|
|
643
|
+
|
|
565
644
|
==================== START: data#bmad-kb ====================
|
|
566
645
|
# BMAD Knowledge Base
|
|
567
646
|
|
|
@@ -631,6 +710,64 @@ npx bmad-method install
|
|
|
631
710
|
|
|
632
711
|
**Cost-Saving Tip**: Create large documents (PRDs, architecture) in web UI, then copy to `docs/prd.md` and `docs/architecture.md` in your project before switching to IDE for development.
|
|
633
712
|
|
|
713
|
+
## Core Configuration (core-config.yml)
|
|
714
|
+
|
|
715
|
+
**New in V4**: The `bmad-core/core-config.yml` file is a critical innovation that enables BMAD to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
|
|
716
|
+
|
|
717
|
+
### What is core-config.yml?
|
|
718
|
+
|
|
719
|
+
This configuration file acts as a map for BMAD agents, telling them exactly where to find your project documents and how they're structured. It enables:
|
|
720
|
+
|
|
721
|
+
- **Version Flexibility**: Work with V3, V4, or custom document structures
|
|
722
|
+
- **Custom Locations**: Define where your documents and shards live
|
|
723
|
+
- **Developer Context**: Specify which files the dev agent should always load
|
|
724
|
+
- **Debug Support**: Built-in logging for troubleshooting
|
|
725
|
+
|
|
726
|
+
### Key Configuration Areas
|
|
727
|
+
|
|
728
|
+
#### PRD Configuration
|
|
729
|
+
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
730
|
+
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
731
|
+
- **prdShardedLocation**: Where to find sharded epic files
|
|
732
|
+
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
733
|
+
|
|
734
|
+
#### Architecture Configuration
|
|
735
|
+
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
736
|
+
- **architectureSharded**: Whether architecture is split into components
|
|
737
|
+
- **architectureShardedLocation**: Where sharded architecture files live
|
|
738
|
+
|
|
739
|
+
#### Developer Files
|
|
740
|
+
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
741
|
+
- **devDebugLog**: Where dev agent logs repeated failures
|
|
742
|
+
- **agentCoreDump**: Export location for chat conversations
|
|
743
|
+
|
|
744
|
+
### Why It Matters
|
|
745
|
+
|
|
746
|
+
1. **No Forced Migrations**: Keep your existing document structure
|
|
747
|
+
2. **Gradual Adoption**: Start with V3 and migrate to V4 at your pace
|
|
748
|
+
3. **Custom Workflows**: Configure BMAD to match your team's process
|
|
749
|
+
4. **Intelligent Agents**: Agents automatically adapt to your configuration
|
|
750
|
+
|
|
751
|
+
### Common Configurations
|
|
752
|
+
|
|
753
|
+
**Legacy V3 Project**:
|
|
754
|
+
```yaml
|
|
755
|
+
prdVersion: v3
|
|
756
|
+
prdSharded: false
|
|
757
|
+
architectureVersion: v3
|
|
758
|
+
architectureSharded: false
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
**V4 Optimized Project**:
|
|
762
|
+
```yaml
|
|
763
|
+
prdVersion: v4
|
|
764
|
+
prdSharded: true
|
|
765
|
+
prdShardedLocation: docs/prd
|
|
766
|
+
architectureVersion: v4
|
|
767
|
+
architectureSharded: true
|
|
768
|
+
architectureShardedLocation: docs/architecture
|
|
769
|
+
```
|
|
770
|
+
|
|
634
771
|
## Core Philosophy
|
|
635
772
|
|
|
636
773
|
### Vibe CEO'ing
|
|
@@ -2666,12 +2803,40 @@ To identify the next logical story based on project progress and epic definition
|
|
|
2666
2803
|
```
|
|
2667
2804
|
|
|
2668
2805
|
- Proceed only if user selects option 3 (Override) or if the last story was 'Done'.
|
|
2669
|
-
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and
|
|
2670
|
-
-
|
|
2806
|
+
- If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and parse it to find ALL stories in that epic. **ALWAYS select the next sequential story** (e.g., if last was 2.2, next MUST be 2.3).
|
|
2807
|
+
- If the next sequential story has unmet prerequisites, present this to the user:
|
|
2808
|
+
|
|
2809
|
+
```plaintext
|
|
2810
|
+
ALERT: Next story has unmet prerequisites:
|
|
2811
|
+
Story: {epicNum}.{storyNum} - {Story Title}
|
|
2812
|
+
Prerequisites not met: [list specific prerequisites]
|
|
2813
|
+
|
|
2814
|
+
Would you like to:
|
|
2815
|
+
1. Create the story anyway (mark prerequisites as pending)
|
|
2816
|
+
2. Skip to a different story (requires your specific instruction)
|
|
2817
|
+
3. Cancel story creation
|
|
2818
|
+
|
|
2819
|
+
Please choose an option (1/2/3):
|
|
2820
|
+
```
|
|
2821
|
+
|
|
2822
|
+
- If there are no more stories in the current epic (e.g., 2.9 was done and there is no 2.10):
|
|
2823
|
+
|
|
2824
|
+
```plaintext
|
|
2825
|
+
Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed.
|
|
2826
|
+
|
|
2827
|
+
Would you like to:
|
|
2828
|
+
1. Begin Epic {epicNum + 1} with story {epicNum + 1}.1
|
|
2829
|
+
2. Select a specific story to work on
|
|
2830
|
+
3. Cancel story creation
|
|
2831
|
+
|
|
2832
|
+
Please choose an option (1/2/3):
|
|
2833
|
+
```
|
|
2834
|
+
|
|
2835
|
+
- **CRITICAL**: NEVER automatically skip to another epic or non-sequential story. The user MUST explicitly instruct which story to create if skipping the sequential order.
|
|
2671
2836
|
|
|
2672
2837
|
- **If no story files exist in `docs/stories/`:**
|
|
2673
|
-
- The next story is the first story
|
|
2674
|
-
- If
|
|
2838
|
+
- The next story is ALWAYS 1.1 (the first story of the first epic).
|
|
2839
|
+
- If story 1.1 has unmet prerequisites, follow the same alert process as above.
|
|
2675
2840
|
- Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}".
|
|
2676
2841
|
|
|
2677
2842
|
### 2. Gather Core Story Requirements (from Epic)
|
|
@@ -152,6 +152,11 @@ loading:
|
|
|
152
152
|
- Agents: Only when transforming
|
|
153
153
|
- Templates/Tasks: Only when executing
|
|
154
154
|
- Always indicate loading
|
|
155
|
+
kb-mode-behavior:
|
|
156
|
+
- When *kb-mode is invoked, use kb-mode-interaction task
|
|
157
|
+
- Don't dump all KB content immediately
|
|
158
|
+
- Present topic areas and wait for user selection
|
|
159
|
+
- Provide focused, contextual responses
|
|
155
160
|
workflow-guidance:
|
|
156
161
|
- Discover available workflows in the bundle at runtime
|
|
157
162
|
- Understand each workflow's purpose, options, and decision points
|
|
@@ -165,6 +170,7 @@ dependencies:
|
|
|
165
170
|
tasks:
|
|
166
171
|
- advanced-elicitation
|
|
167
172
|
- create-doc
|
|
173
|
+
- kb-mode-interaction
|
|
168
174
|
data:
|
|
169
175
|
- bmad-kb
|
|
170
176
|
utils:
|
|
@@ -595,6 +601,79 @@ If template specifies a checklist:
|
|
|
595
601
|
- Template markup is for AI processing only - never expose to users
|
|
596
602
|
==================== END: tasks#create-doc ====================
|
|
597
603
|
|
|
604
|
+
==================== START: tasks#kb-mode-interaction ====================
|
|
605
|
+
# KB Mode Interaction Task
|
|
606
|
+
|
|
607
|
+
## Purpose
|
|
608
|
+
Provide a user-friendly interface to the BMAD knowledge base without overwhelming users with information upfront.
|
|
609
|
+
|
|
610
|
+
## Instructions
|
|
611
|
+
|
|
612
|
+
When entering KB mode (*kb-mode), follow these steps:
|
|
613
|
+
|
|
614
|
+
### 1. Welcome and Guide
|
|
615
|
+
Announce entering KB mode with a brief, friendly introduction:
|
|
616
|
+
|
|
617
|
+
"I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD."
|
|
618
|
+
|
|
619
|
+
### 2. Present Topic Areas
|
|
620
|
+
Offer a concise list of main topic areas the user might want to explore:
|
|
621
|
+
|
|
622
|
+
**What would you like to know more about?**
|
|
623
|
+
|
|
624
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
625
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
626
|
+
3. **Web vs IDE** - When to use each environment
|
|
627
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
628
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
629
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
630
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
631
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
632
|
+
|
|
633
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
634
|
+
|
|
635
|
+
### 3. Respond Contextually
|
|
636
|
+
- Wait for user's specific question or topic selection
|
|
637
|
+
- Provide focused, relevant information from the knowledge base
|
|
638
|
+
- Offer to dive deeper or explore related topics
|
|
639
|
+
- Keep responses concise unless user asks for detailed explanations
|
|
640
|
+
|
|
641
|
+
### 4. Interactive Exploration
|
|
642
|
+
- After answering, suggest related topics they might find helpful
|
|
643
|
+
- Maintain conversational flow rather than data dumping
|
|
644
|
+
- Use examples when appropriate
|
|
645
|
+
- Reference specific documentation sections when relevant
|
|
646
|
+
|
|
647
|
+
### 5. Exit Gracefully
|
|
648
|
+
When user is done or wants to exit KB mode:
|
|
649
|
+
- Summarize key points discussed if helpful
|
|
650
|
+
- Remind them they can return to KB mode anytime with *kb-mode
|
|
651
|
+
- Suggest next steps based on what was discussed
|
|
652
|
+
|
|
653
|
+
## Example Interaction
|
|
654
|
+
|
|
655
|
+
**User**: *kb-mode
|
|
656
|
+
|
|
657
|
+
**Assistant**: I've entered KB mode and have access to the full BMAD knowledge base. I can help you with detailed information about any aspect of BMAD-METHOD.
|
|
658
|
+
|
|
659
|
+
**What would you like to know more about?**
|
|
660
|
+
|
|
661
|
+
1. **Setup & Installation** - Getting started with BMAD
|
|
662
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
663
|
+
3. **Web vs IDE** - When to use each environment
|
|
664
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
665
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
666
|
+
6. **Agile Process** - How BMAD implements Agile methodologies
|
|
667
|
+
7. **Configuration** - Customizing BMAD for your needs
|
|
668
|
+
8. **Best Practices** - Tips for effective BMAD usage
|
|
669
|
+
|
|
670
|
+
Or ask me about anything else related to BMAD-METHOD!
|
|
671
|
+
|
|
672
|
+
**User**: Tell me about workflows
|
|
673
|
+
|
|
674
|
+
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
675
|
+
==================== END: tasks#kb-mode-interaction ====================
|
|
676
|
+
|
|
598
677
|
==================== START: data#bmad-kb ====================
|
|
599
678
|
# BMAD Knowledge Base
|
|
600
679
|
|
|
@@ -664,6 +743,64 @@ npx bmad-method install
|
|
|
664
743
|
|
|
665
744
|
**Cost-Saving Tip**: Create large documents (PRDs, architecture) in web UI, then copy to `docs/prd.md` and `docs/architecture.md` in your project before switching to IDE for development.
|
|
666
745
|
|
|
746
|
+
## Core Configuration (core-config.yml)
|
|
747
|
+
|
|
748
|
+
**New in V4**: The `bmad-core/core-config.yml` file is a critical innovation that enables BMAD to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
|
|
749
|
+
|
|
750
|
+
### What is core-config.yml?
|
|
751
|
+
|
|
752
|
+
This configuration file acts as a map for BMAD agents, telling them exactly where to find your project documents and how they're structured. It enables:
|
|
753
|
+
|
|
754
|
+
- **Version Flexibility**: Work with V3, V4, or custom document structures
|
|
755
|
+
- **Custom Locations**: Define where your documents and shards live
|
|
756
|
+
- **Developer Context**: Specify which files the dev agent should always load
|
|
757
|
+
- **Debug Support**: Built-in logging for troubleshooting
|
|
758
|
+
|
|
759
|
+
### Key Configuration Areas
|
|
760
|
+
|
|
761
|
+
#### PRD Configuration
|
|
762
|
+
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
763
|
+
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
764
|
+
- **prdShardedLocation**: Where to find sharded epic files
|
|
765
|
+
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
766
|
+
|
|
767
|
+
#### Architecture Configuration
|
|
768
|
+
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
769
|
+
- **architectureSharded**: Whether architecture is split into components
|
|
770
|
+
- **architectureShardedLocation**: Where sharded architecture files live
|
|
771
|
+
|
|
772
|
+
#### Developer Files
|
|
773
|
+
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
774
|
+
- **devDebugLog**: Where dev agent logs repeated failures
|
|
775
|
+
- **agentCoreDump**: Export location for chat conversations
|
|
776
|
+
|
|
777
|
+
### Why It Matters
|
|
778
|
+
|
|
779
|
+
1. **No Forced Migrations**: Keep your existing document structure
|
|
780
|
+
2. **Gradual Adoption**: Start with V3 and migrate to V4 at your pace
|
|
781
|
+
3. **Custom Workflows**: Configure BMAD to match your team's process
|
|
782
|
+
4. **Intelligent Agents**: Agents automatically adapt to your configuration
|
|
783
|
+
|
|
784
|
+
### Common Configurations
|
|
785
|
+
|
|
786
|
+
**Legacy V3 Project**:
|
|
787
|
+
```yaml
|
|
788
|
+
prdVersion: v3
|
|
789
|
+
prdSharded: false
|
|
790
|
+
architectureVersion: v3
|
|
791
|
+
architectureSharded: false
|
|
792
|
+
```
|
|
793
|
+
|
|
794
|
+
**V4 Optimized Project**:
|
|
795
|
+
```yaml
|
|
796
|
+
prdVersion: v4
|
|
797
|
+
prdSharded: true
|
|
798
|
+
prdShardedLocation: docs/prd
|
|
799
|
+
architectureVersion: v4
|
|
800
|
+
architectureSharded: true
|
|
801
|
+
architectureShardedLocation: docs/architecture
|
|
802
|
+
```
|
|
803
|
+
|
|
667
804
|
## Core Philosophy
|
|
668
805
|
|
|
669
806
|
### Vibe CEO'ing
|
|
@@ -8291,7 +8428,7 @@ workflow:
|
|
|
8291
8428
|
|
|
8292
8429
|
sequence:
|
|
8293
8430
|
- step: service_analysis
|
|
8294
|
-
|
|
8431
|
+
agent: architect
|
|
8295
8432
|
action: analyze existing project and use task document-project
|
|
8296
8433
|
creates: multiple documents per the document-project template
|
|
8297
8434
|
notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
|
package/package.json
CHANGED