bmad-method 4.37.0 → 4.39.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/.github/ISSUE_TEMPLATE/bug_report.md +3 -3
- package/.github/ISSUE_TEMPLATE/feature_request.md +3 -3
- package/.github/workflows/discord.yaml +11 -2
- package/.github/workflows/format-check.yaml +42 -0
- package/.github/workflows/manual-release.yaml +173 -0
- package/.husky/pre-commit +3 -0
- package/.vscode/settings.json +26 -1
- package/CHANGELOG.md +2 -23
- package/README.md +2 -0
- package/bmad-core/agent-teams/team-all.yaml +1 -1
- package/bmad-core/agents/analyst.md +16 -15
- package/bmad-core/agents/architect.md +11 -11
- package/bmad-core/agents/bmad-master.md +23 -22
- package/bmad-core/agents/bmad-orchestrator.md +13 -17
- package/bmad-core/agents/dev.md +14 -11
- package/bmad-core/agents/pm.md +15 -14
- package/bmad-core/agents/po.md +9 -8
- package/bmad-core/agents/qa.md +42 -22
- package/bmad-core/agents/sm.md +7 -6
- package/bmad-core/agents/ux-expert.md +6 -5
- package/bmad-core/core-config.yaml +2 -0
- package/bmad-core/data/bmad-kb.md +1 -1
- package/bmad-core/data/test-levels-framework.md +146 -0
- package/bmad-core/data/test-priorities-matrix.md +172 -0
- package/bmad-core/tasks/apply-qa-fixes.md +148 -0
- package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
- package/bmad-core/tasks/nfr-assess.md +343 -0
- package/bmad-core/tasks/qa-gate.md +161 -0
- package/bmad-core/tasks/review-story.md +234 -74
- package/bmad-core/tasks/risk-profile.md +353 -0
- package/bmad-core/tasks/test-design.md +174 -0
- package/bmad-core/tasks/trace-requirements.md +264 -0
- package/bmad-core/templates/architecture-tmpl.yaml +49 -49
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +5 -5
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +31 -31
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +13 -13
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +19 -6
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +21 -9
- package/bmad-core/templates/front-end-spec-tmpl.yaml +24 -24
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +122 -104
- package/bmad-core/templates/market-research-tmpl.yaml +2 -2
- package/bmad-core/templates/prd-tmpl.yaml +9 -9
- package/bmad-core/templates/project-brief-tmpl.yaml +4 -4
- package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
- package/bmad-core/templates/story-tmpl.yaml +12 -12
- package/bmad-core/workflows/brownfield-fullstack.yaml +9 -9
- package/bmad-core/workflows/brownfield-service.yaml +1 -1
- package/bmad-core/workflows/brownfield-ui.yaml +1 -1
- package/bmad-core/workflows/greenfield-fullstack.yaml +1 -1
- package/bmad-core/workflows/greenfield-service.yaml +1 -1
- package/bmad-core/workflows/greenfield-ui.yaml +1 -1
- package/common/utils/bmad-doc-template.md +5 -5
- package/dist/agents/analyst.txt +1086 -1079
- package/dist/agents/architect.txt +1534 -1526
- package/dist/agents/bmad-master.txt +646 -632
- package/dist/agents/bmad-orchestrator.txt +40 -18
- package/dist/agents/dev.txt +158 -19
- package/dist/agents/pm.txt +1082 -1107
- package/dist/agents/po.txt +314 -332
- package/dist/agents/qa.txt +1754 -151
- package/dist/agents/sm.txt +88 -98
- package/dist/agents/ux-expert.txt +80 -87
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +109 -146
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +75 -86
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +41 -48
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +1903 -1941
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +15 -50
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +149 -195
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -15
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +20 -37
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +2660 -2752
- package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +871 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/book-critic.txt +78 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +839 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/cover-designer.txt +85 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +861 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +796 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +927 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +842 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +1126 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +864 -0
- package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +5917 -0
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +25 -27
- package/dist/teams/team-all.txt +5541 -3768
- package/dist/teams/team-fullstack.txt +3014 -2987
- package/dist/teams/team-ide-minimal.txt +2219 -469
- package/dist/teams/team-no-ui.txt +2993 -2966
- package/docs/enhanced-ide-development-workflow.md +220 -15
- package/docs/user-guide.md +271 -18
- package/docs/versioning-and-releases.md +122 -44
- package/docs/working-in-the-brownfield.md +264 -31
- package/eslint.config.mjs +119 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +4 -4
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +1 -1
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +26 -28
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +50 -50
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +23 -23
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +24 -24
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +42 -42
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +5 -5
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +1 -1
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +3 -3
- package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
- package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +1 -1
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +23 -23
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +63 -63
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +20 -20
- package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +5 -5
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +1 -1
- package/expansion-packs/bmad-creative-writing/README.md +132 -0
- package/expansion-packs/bmad-creative-writing/agent-teams/agent-team.yaml +19 -0
- package/expansion-packs/bmad-creative-writing/agents/beta-reader.md +91 -0
- package/expansion-packs/bmad-creative-writing/agents/book-critic.md +35 -0
- package/expansion-packs/bmad-creative-writing/agents/character-psychologist.md +90 -0
- package/expansion-packs/bmad-creative-writing/agents/cover-designer.md +41 -0
- package/expansion-packs/bmad-creative-writing/agents/dialog-specialist.md +89 -0
- package/expansion-packs/bmad-creative-writing/agents/editor.md +90 -0
- package/expansion-packs/bmad-creative-writing/agents/genre-specialist.md +92 -0
- package/expansion-packs/bmad-creative-writing/agents/narrative-designer.md +90 -0
- package/expansion-packs/bmad-creative-writing/agents/plot-architect.md +92 -0
- package/expansion-packs/bmad-creative-writing/agents/world-builder.md +91 -0
- package/expansion-packs/bmad-creative-writing/checklists/beta-feedback-closure-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/character-consistency-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/comedic-timing-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/cyberpunk-aesthetic-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/ebook-formatting-checklist.md +15 -0
- package/expansion-packs/bmad-creative-writing/checklists/epic-poetry-meter-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/fantasy-magic-system-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/foreshadowing-payoff-checklist.md +15 -0
- package/expansion-packs/bmad-creative-writing/checklists/genre-tropes-checklist.md +15 -0
- package/expansion-packs/bmad-creative-writing/checklists/historical-accuracy-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/horror-suspense-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/kdp-cover-ready-checklist.md +18 -0
- package/expansion-packs/bmad-creative-writing/checklists/line-edit-quality-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/marketing-copy-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/mystery-clue-trail-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/orbital-mechanics-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/plot-structure-checklist.md +49 -0
- package/expansion-packs/bmad-creative-writing/checklists/publication-readiness-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/romance-emotional-beats-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/scene-quality-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/scifi-technology-plausibility-checklist.md +15 -0
- package/expansion-packs/bmad-creative-writing/checklists/sensitivity-representation-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/steampunk-gadget-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/thriller-pacing-stakes-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/timeline-continuity-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/world-building-continuity-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/checklists/ya-appropriateness-checklist.md +16 -0
- package/expansion-packs/bmad-creative-writing/config.yaml +11 -0
- package/expansion-packs/bmad-creative-writing/data/bmad-kb.md +197 -0
- package/expansion-packs/bmad-creative-writing/data/story-structures.md +58 -0
- package/expansion-packs/bmad-creative-writing/docs/brief.md +183 -0
- package/expansion-packs/bmad-creative-writing/tasks/advanced-elicitation.md +117 -0
- package/expansion-packs/bmad-creative-writing/tasks/analyze-reader-feedback.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/analyze-story-structure.md +55 -0
- package/expansion-packs/bmad-creative-writing/tasks/assemble-kdp-package.md +22 -0
- package/expansion-packs/bmad-creative-writing/tasks/brainstorm-premise.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/build-world.md +17 -0
- package/expansion-packs/bmad-creative-writing/tasks/character-depth-pass.md +15 -0
- package/expansion-packs/bmad-creative-writing/tasks/create-doc.md +101 -0
- package/expansion-packs/bmad-creative-writing/tasks/create-draft-section.md +19 -0
- package/expansion-packs/bmad-creative-writing/tasks/critical-review.md +19 -0
- package/expansion-packs/bmad-creative-writing/tasks/develop-character.md +17 -0
- package/expansion-packs/bmad-creative-writing/tasks/execute-checklist.md +93 -0
- package/expansion-packs/bmad-creative-writing/tasks/expand-premise.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/expand-synopsis.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/final-polish.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/generate-cover-brief.md +18 -0
- package/expansion-packs/bmad-creative-writing/tasks/generate-cover-prompts.md +19 -0
- package/expansion-packs/bmad-creative-writing/tasks/generate-scene-list.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/incorporate-feedback.md +18 -0
- package/expansion-packs/bmad-creative-writing/tasks/outline-scenes.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/provide-feedback.md +17 -0
- package/expansion-packs/bmad-creative-writing/tasks/publish-chapter.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/quick-feedback.md +15 -0
- package/expansion-packs/bmad-creative-writing/tasks/select-next-arc.md +16 -0
- package/expansion-packs/bmad-creative-writing/tasks/workshop-dialog.md +51 -0
- package/expansion-packs/bmad-creative-writing/templates/beta-feedback-form.yaml +96 -0
- package/expansion-packs/bmad-creative-writing/templates/chapter-draft-tmpl.yaml +81 -0
- package/expansion-packs/bmad-creative-writing/templates/character-profile-tmpl.yaml +92 -0
- package/expansion-packs/bmad-creative-writing/templates/cover-design-brief-tmpl.yaml +97 -0
- package/expansion-packs/bmad-creative-writing/templates/premise-brief-tmpl.yaml +77 -0
- package/expansion-packs/bmad-creative-writing/templates/scene-list-tmpl.yaml +54 -0
- package/expansion-packs/bmad-creative-writing/templates/story-outline-tmpl.yaml +96 -0
- package/expansion-packs/bmad-creative-writing/templates/world-guide-tmpl.yaml +88 -0
- package/expansion-packs/bmad-creative-writing/workflows/book-cover-design-workflow.md +176 -0
- package/expansion-packs/bmad-creative-writing/workflows/novel-greenfield-workflow.yaml +58 -0
- package/expansion-packs/bmad-creative-writing/workflows/novel-serial-workflow.yaml +51 -0
- package/expansion-packs/bmad-creative-writing/workflows/novel-snowflake-workflow.yaml +69 -0
- package/expansion-packs/bmad-creative-writing/workflows/novel-writing.yaml +92 -0
- package/expansion-packs/bmad-creative-writing/workflows/screenplay-development.yaml +86 -0
- package/expansion-packs/bmad-creative-writing/workflows/series-planning.yaml +79 -0
- package/expansion-packs/bmad-creative-writing/workflows/short-story-creation.yaml +65 -0
- package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +20 -20
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +7 -7
- package/package.json +62 -39
- package/prettier.config.mjs +32 -0
- package/sync-version.sh +23 -0
- package/tools/bmad-npx-wrapper.js +10 -10
- package/tools/builders/web-builder.js +124 -130
- package/tools/bump-all-versions.js +42 -33
- package/tools/bump-expansion-version.js +23 -16
- package/tools/cli.js +10 -12
- package/tools/flattener/aggregate.js +10 -10
- package/tools/flattener/binary.js +44 -17
- package/tools/flattener/discovery.js +19 -18
- package/tools/flattener/files.js +6 -6
- package/tools/flattener/ignoreRules.js +125 -125
- package/tools/flattener/main.js +426 -70
- package/tools/flattener/projectRoot.js +186 -25
- package/tools/flattener/prompts.js +9 -9
- package/tools/flattener/stats.helpers.js +395 -0
- package/tools/flattener/stats.js +64 -14
- package/tools/flattener/test-matrix.js +413 -0
- package/tools/flattener/xml.js +33 -31
- package/tools/installer/bin/bmad.js +156 -113
- package/tools/installer/config/ide-agent-config.yaml +1 -1
- package/tools/installer/config/install.config.yaml +13 -3
- package/tools/installer/lib/config-loader.js +46 -42
- package/tools/installer/lib/file-manager.js +91 -113
- package/tools/installer/lib/ide-base-setup.js +57 -56
- package/tools/installer/lib/ide-setup.js +545 -399
- package/tools/installer/lib/installer.js +875 -714
- package/tools/installer/lib/memory-profiler.js +54 -53
- package/tools/installer/lib/module-manager.js +19 -15
- package/tools/installer/lib/resource-locator.js +26 -28
- package/tools/installer/package.json +19 -19
- package/tools/lib/dependency-resolver.js +26 -30
- package/tools/lib/yaml-utils.js +7 -7
- package/tools/preview-release-notes.js +66 -0
- package/tools/shared/bannerArt.js +3 -3
- package/tools/sync-installer-version.js +7 -9
- package/tools/update-expansion-version.js +14 -15
- package/tools/upgraders/v3-to-v4-upgrader.js +203 -294
- package/tools/version-bump.js +41 -26
- package/tools/yaml-format.js +56 -43
- package/.github/workflows/release.yaml +0 -60
- package/.releaserc.json +0 -21
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/Complete AI Agent System - Flowchart.svg +0 -102
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash copy.txt +0 -13
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash.txt +0 -13
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.2 Agent Development Kit Installation/1.2.2 - Basic Project Structure - txt.txt +0 -25
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.1 - settings.py +0 -34
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.2 - main.py - Base Application.py +0 -70
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +0 -26
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +0 -109
- package/tools/semantic-release-sync-installer.js +0 -30
|
@@ -1,77 +1,155 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Versioning and Releases
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
BMad Method uses a simplified release system with manual control and automatic release notes generation.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 🚀 Release Workflow
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Command Line Release (Recommended)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
The fastest way to create a release with beautiful release notes:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
# Preview what will be in the release
|
|
13
|
+
npm run preview:release
|
|
14
|
+
|
|
15
|
+
# Create a release
|
|
16
|
+
npm run release:patch # 5.1.0 → 5.1.1 (bug fixes)
|
|
17
|
+
npm run release:minor # 5.1.0 → 5.2.0 (new features)
|
|
18
|
+
npm run release:major # 5.1.0 → 6.0.0 (breaking changes)
|
|
19
|
+
|
|
20
|
+
# Watch the release process
|
|
21
|
+
npm run release:watch
|
|
15
22
|
```
|
|
16
23
|
|
|
17
|
-
###
|
|
24
|
+
### One-Liner Release
|
|
18
25
|
|
|
19
|
-
|
|
26
|
+
```bash
|
|
27
|
+
npm run preview:release && npm run release:minor && npm run release:watch
|
|
28
|
+
```
|
|
20
29
|
|
|
21
|
-
|
|
22
|
-
2. ✅ Bump version in `package.json`
|
|
23
|
-
3. ✅ Generate changelog
|
|
24
|
-
4. ✅ Create git tag
|
|
25
|
-
5. ✅ **Publish to NPM automatically**
|
|
26
|
-
6. ✅ Create GitHub release with notes
|
|
30
|
+
## 📝 What Happens Automatically
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
When you trigger a release, the GitHub Actions workflow automatically:
|
|
29
33
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
1. ✅ **Validates** - Runs tests, linting, and formatting checks
|
|
35
|
+
2. ✅ **Bumps Version** - Updates `package.json` and installer version
|
|
36
|
+
3. ✅ **Generates Release Notes** - Categorizes commits since last release:
|
|
37
|
+
- ✨ **New Features** (`feat:`, `Feature:`)
|
|
38
|
+
- 🐛 **Bug Fixes** (`fix:`, `Fix:`)
|
|
39
|
+
- 🔧 **Maintenance** (`chore:`, `Chore:`)
|
|
40
|
+
- 📦 **Other Changes** (everything else)
|
|
41
|
+
4. ✅ **Creates Git Tag** - Tags the release version
|
|
42
|
+
5. ✅ **Publishes to NPM** - With `@latest` tag for user installations
|
|
43
|
+
6. ✅ **Creates GitHub Release** - With formatted release notes
|
|
44
|
+
|
|
45
|
+
## 📋 Sample Release Notes
|
|
46
|
+
|
|
47
|
+
The workflow automatically generates professional release notes like this:
|
|
48
|
+
|
|
49
|
+
````markdown
|
|
50
|
+
## 🚀 What's New in v5.2.0
|
|
51
|
+
|
|
52
|
+
### ✨ New Features
|
|
35
53
|
|
|
36
|
-
|
|
37
|
-
|
|
54
|
+
- feat: add team collaboration mode
|
|
55
|
+
- feat: enhance CLI with interactive prompts
|
|
56
|
+
|
|
57
|
+
### 🐛 Bug Fixes
|
|
58
|
+
|
|
59
|
+
- fix: resolve installation path issues
|
|
60
|
+
- fix: handle edge cases in agent loading
|
|
61
|
+
|
|
62
|
+
### 🔧 Maintenance
|
|
63
|
+
|
|
64
|
+
- chore: update dependencies
|
|
65
|
+
- chore: improve error messages
|
|
66
|
+
|
|
67
|
+
## 📦 Installation
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npx bmad-method install
|
|
38
71
|
```
|
|
72
|
+
````
|
|
73
|
+
|
|
74
|
+
**Full Changelog**: https://github.com/bmadcode/BMAD-METHOD/compare/v5.1.0...v5.2.0
|
|
75
|
+
|
|
76
|
+
````
|
|
39
77
|
|
|
40
|
-
|
|
78
|
+
## 🎯 User Installation
|
|
41
79
|
|
|
42
|
-
|
|
80
|
+
After any release, users can immediately get the new version with:
|
|
43
81
|
|
|
44
82
|
```bash
|
|
45
|
-
|
|
46
|
-
docs: fix typo in readme # No release
|
|
47
|
-
style: format code # No release
|
|
48
|
-
test: add unit tests # No release
|
|
83
|
+
npx bmad-method install # Always gets latest release
|
|
49
84
|
```
|
|
50
85
|
|
|
51
|
-
|
|
86
|
+
## 📊 Preview Before Release
|
|
87
|
+
|
|
88
|
+
Always preview what will be included in your release:
|
|
52
89
|
|
|
53
90
|
```bash
|
|
54
|
-
npm run release
|
|
91
|
+
npm run preview:release
|
|
55
92
|
```
|
|
56
93
|
|
|
57
|
-
|
|
94
|
+
This shows:
|
|
95
|
+
|
|
96
|
+
- Commits since last release
|
|
97
|
+
- Categorized changes
|
|
98
|
+
- Estimated next version
|
|
99
|
+
- Release notes preview
|
|
100
|
+
|
|
101
|
+
## 🔧 Manual Release (GitHub UI)
|
|
102
|
+
|
|
103
|
+
You can also trigger releases through GitHub Actions:
|
|
104
|
+
|
|
105
|
+
1. Go to **GitHub Actions** → **Manual Release**
|
|
106
|
+
2. Click **"Run workflow"**
|
|
107
|
+
3. Choose version bump type (patch/minor/major)
|
|
108
|
+
4. Everything else happens automatically
|
|
109
|
+
|
|
110
|
+
## 📈 Version Strategy
|
|
111
|
+
|
|
112
|
+
- **Patch** (5.1.0 → 5.1.1): Bug fixes, minor improvements
|
|
113
|
+
- **Minor** (5.1.0 → 5.2.0): New features, enhancements
|
|
114
|
+
- **Major** (5.1.0 → 6.0.0): Breaking changes, major redesigns
|
|
115
|
+
|
|
116
|
+
## 🛠️ Development Workflow
|
|
117
|
+
|
|
118
|
+
1. **Develop Freely** - Merge PRs to main without triggering releases
|
|
119
|
+
2. **Test Unreleased Changes** - Clone repo to test latest main branch
|
|
120
|
+
3. **Release When Ready** - Use command line or GitHub Actions to cut releases
|
|
121
|
+
4. **Users Get Updates** - Via simple `npx bmad-method install` command
|
|
58
122
|
|
|
59
|
-
|
|
123
|
+
This gives you complete control over when releases happen while automating all the tedious parts like version bumping, release notes, and publishing.
|
|
60
124
|
|
|
61
|
-
|
|
125
|
+
## 🔍 Troubleshooting
|
|
62
126
|
|
|
63
|
-
###
|
|
127
|
+
### Check Release Status
|
|
64
128
|
|
|
65
129
|
```bash
|
|
66
|
-
|
|
67
|
-
npm
|
|
68
|
-
|
|
130
|
+
gh run list --workflow="Manual Release"
|
|
131
|
+
npm view bmad-method dist-tags
|
|
132
|
+
git tag -l | sort -V | tail -5
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### View Latest Release
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
gh release view --web
|
|
139
|
+
npm view bmad-method versions --json
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### If Version Sync Needed
|
|
69
143
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
144
|
+
If your local files don't match the published version after a release:
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
./sync-version.sh # Automatically syncs local files with npm latest
|
|
73
148
|
```
|
|
74
149
|
|
|
75
|
-
###
|
|
150
|
+
### If Release Fails
|
|
76
151
|
|
|
77
|
-
|
|
152
|
+
- Check GitHub Actions logs: `gh run view <run-id> --log-failed`
|
|
153
|
+
- Verify NPM tokens are configured
|
|
154
|
+
- Ensure branch protection allows workflow pushes
|
|
155
|
+
````
|
|
@@ -76,7 +76,7 @@ The PM will:
|
|
|
76
76
|
*document-project
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
The
|
|
79
|
+
The architect will:
|
|
80
80
|
|
|
81
81
|
- **Ask about your focus** if no PRD was provided
|
|
82
82
|
- **Offer options**: Create PRD, provide requirements, or describe the enhancement
|
|
@@ -85,11 +85,11 @@ The analyst will:
|
|
|
85
85
|
- **Skip unrelated areas** to keep docs lean
|
|
86
86
|
- **Generate ONE architecture document** for all environments
|
|
87
87
|
|
|
88
|
-
The
|
|
88
|
+
The architect creates:
|
|
89
89
|
|
|
90
90
|
- **One comprehensive architecture document** following fullstack-architecture template
|
|
91
91
|
- **Covers all system aspects** in a single file
|
|
92
|
-
- **Easy to copy and save** as `docs/
|
|
92
|
+
- **Easy to copy and save** as `docs/architecture.md`
|
|
93
93
|
- **Can be sharded later** in IDE if desired
|
|
94
94
|
|
|
95
95
|
For example, if you say "Add payment processing to user service":
|
|
@@ -108,10 +108,10 @@ For example, if you say "Add payment processing to user service":
|
|
|
108
108
|
2. **Upload your project**:
|
|
109
109
|
- **Option A**: Paste your GitHub repository URL directly
|
|
110
110
|
- **Option B**: Upload your flattened-codebase.xml file
|
|
111
|
-
3. **Load the
|
|
111
|
+
3. **Load the architect agent**: Upload `dist/agents/architect.txt`
|
|
112
112
|
4. **Run documentation**: Type `*document-project`
|
|
113
113
|
|
|
114
|
-
The
|
|
114
|
+
The architect will generate comprehensive documentation of everything.
|
|
115
115
|
|
|
116
116
|
#### Phase 2: Plan Your Enhancement
|
|
117
117
|
|
|
@@ -206,19 +206,20 @@ The PO ensures:
|
|
|
206
206
|
### Phase 4: Save and Shard Documents
|
|
207
207
|
|
|
208
208
|
1. Save your PRD and Architecture as:
|
|
209
|
-
docs/
|
|
210
|
-
docs/
|
|
209
|
+
docs/prd.md
|
|
210
|
+
docs/architecture.md
|
|
211
|
+
(Note: You can optionally prefix with 'brownfield-' if managing multiple versions)
|
|
211
212
|
2. Shard your docs:
|
|
212
213
|
In your IDE
|
|
213
214
|
|
|
214
215
|
```bash
|
|
215
216
|
@po
|
|
216
|
-
shard docs/
|
|
217
|
+
shard docs/prd.md
|
|
217
218
|
```
|
|
218
219
|
|
|
219
220
|
```bash
|
|
220
221
|
@po
|
|
221
|
-
shard docs/
|
|
222
|
+
shard docs/architecture.md
|
|
222
223
|
```
|
|
223
224
|
|
|
224
225
|
### Phase 5: Transition to Development
|
|
@@ -255,12 +256,172 @@ Brownfield changes should:
|
|
|
255
256
|
|
|
256
257
|
### 4. Test Integration Thoroughly
|
|
257
258
|
|
|
258
|
-
|
|
259
|
+
#### Why the Test Architect is Critical for Brownfield
|
|
260
|
+
|
|
261
|
+
In brownfield projects, the Test Architect (Quinn) becomes your safety net against breaking existing functionality. Unlike greenfield where you're building fresh, brownfield requires careful validation that new changes don't destabilize what already works.
|
|
262
|
+
|
|
263
|
+
#### Brownfield-Specific Testing Challenges
|
|
264
|
+
|
|
265
|
+
The Test Architect addresses unique brownfield complexities:
|
|
266
|
+
|
|
267
|
+
| **Challenge** | **How Test Architect Helps** | **Command** |
|
|
268
|
+
| --------------------------- | ------------------------------------------------- | ------------------- |
|
|
269
|
+
| **Regression Risks** | Identifies which existing features might break | `*risk` |
|
|
270
|
+
| **Legacy Dependencies** | Maps integration points and hidden dependencies | `*trace` |
|
|
271
|
+
| **Performance Degradation** | Validates no slowdown in existing flows | `*nfr` |
|
|
272
|
+
| **Coverage Gaps** | Finds untested legacy code that new changes touch | `*design` |
|
|
273
|
+
| **Breaking Changes** | Detects API/contract violations | `*review` |
|
|
274
|
+
| **Migration Safety** | Validates data transformations and rollback plans | `*risk` + `*review` |
|
|
275
|
+
|
|
276
|
+
#### Complete Test Architect Workflow for Brownfield
|
|
277
|
+
|
|
278
|
+
##### Stage 1: Before Development (Risk & Strategy)
|
|
259
279
|
|
|
260
|
-
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
280
|
+
**CRITICAL FOR BROWNFIELD - Run These First:**
|
|
281
|
+
|
|
282
|
+
```bash
|
|
283
|
+
# 1. RISK ASSESSMENT (Run IMMEDIATELY after story creation)
|
|
284
|
+
@qa *risk {brownfield-story}
|
|
285
|
+
# Identifies: Legacy dependencies, breaking changes, integration points
|
|
286
|
+
# Output: docs/qa/assessments/{epic}.{story}-risk-{YYYYMMDD}.md
|
|
287
|
+
# Brownfield Focus:
|
|
288
|
+
# - Regression probability scoring
|
|
289
|
+
# - Affected downstream systems
|
|
290
|
+
# - Data migration risks
|
|
291
|
+
# - Rollback complexity
|
|
292
|
+
|
|
293
|
+
# 2. TEST DESIGN (After risk assessment)
|
|
294
|
+
@qa *design {brownfield-story}
|
|
295
|
+
# Creates: Regression test strategy + new feature tests
|
|
296
|
+
# Output: docs/qa/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md
|
|
297
|
+
# Brownfield Focus:
|
|
298
|
+
# - Existing functionality that needs regression tests
|
|
299
|
+
# - Integration test requirements
|
|
300
|
+
# - Performance benchmarks to maintain
|
|
301
|
+
# - Feature flag test scenarios
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
##### Stage 2: During Development (Continuous Validation)
|
|
305
|
+
|
|
306
|
+
**Monitor Integration Health While Coding:**
|
|
307
|
+
|
|
308
|
+
```bash
|
|
309
|
+
# 3. REQUIREMENTS TRACING (Mid-development checkpoint)
|
|
310
|
+
@qa *trace {brownfield-story}
|
|
311
|
+
# Maps: New requirements + existing functionality preservation
|
|
312
|
+
# Output: docs/qa/assessments/{epic}.{story}-trace-{YYYYMMDD}.md
|
|
313
|
+
# Brownfield Focus:
|
|
314
|
+
# - Existing features that must still work
|
|
315
|
+
# - New/old feature interactions
|
|
316
|
+
# - API contract preservation
|
|
317
|
+
# - Missing regression test coverage
|
|
318
|
+
|
|
319
|
+
# 4. NFR VALIDATION (Before considering "done")
|
|
320
|
+
@qa *nfr {brownfield-story}
|
|
321
|
+
# Validates: Performance, security, reliability unchanged
|
|
322
|
+
# Output: docs/qa/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
|
|
323
|
+
# Brownfield Focus:
|
|
324
|
+
# - Performance regression detection
|
|
325
|
+
# - Security implications of integrations
|
|
326
|
+
# - Backward compatibility validation
|
|
327
|
+
# - Load/stress on legacy components
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
##### Stage 3: Code Review (Deep Integration Analysis)
|
|
331
|
+
|
|
332
|
+
**Comprehensive Brownfield Review:**
|
|
333
|
+
|
|
334
|
+
```bash
|
|
335
|
+
# 5. FULL REVIEW (When development complete)
|
|
336
|
+
@qa *review {brownfield-story}
|
|
337
|
+
# Performs: Deep analysis + active refactoring
|
|
338
|
+
# Outputs:
|
|
339
|
+
# - QA Results in story file
|
|
340
|
+
# - Gate file: docs/qa/gates/{epic}.{story}-{slug}.yml
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
The review specifically analyzes:
|
|
344
|
+
|
|
345
|
+
- **API Breaking Changes**: Validates all existing contracts maintained
|
|
346
|
+
- **Data Migration Safety**: Checks transformation logic and rollback procedures
|
|
347
|
+
- **Performance Regression**: Compares against baseline metrics
|
|
348
|
+
- **Integration Points**: Validates all touchpoints with legacy code
|
|
349
|
+
- **Feature Flag Logic**: Ensures proper toggle behavior
|
|
350
|
+
- **Dependency Impacts**: Maps affected downstream systems
|
|
351
|
+
|
|
352
|
+
##### Stage 4: Post-Review (Gate Updates)
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
# 6. GATE STATUS UPDATE (After addressing issues)
|
|
356
|
+
@qa *gate {brownfield-story}
|
|
357
|
+
# Updates: Quality gate decision after fixes
|
|
358
|
+
# Output: docs/qa/gates/{epic}.{story}-{slug}.yml
|
|
359
|
+
# Brownfield Considerations:
|
|
360
|
+
# - May WAIVE certain legacy code issues
|
|
361
|
+
# - Documents technical debt acceptance
|
|
362
|
+
# - Tracks migration progress
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
#### Brownfield-Specific Risk Scoring
|
|
366
|
+
|
|
367
|
+
The Test Architect uses enhanced risk scoring for brownfield:
|
|
368
|
+
|
|
369
|
+
| **Risk Category** | **Brownfield Factors** | **Impact on Gate** |
|
|
370
|
+
| ---------------------- | ------------------------------------------ | ------------------- |
|
|
371
|
+
| **Regression Risk** | Number of integration points × Age of code | Score ≥9 = FAIL |
|
|
372
|
+
| **Data Risk** | Migration complexity × Data volume | Score ≥6 = CONCERNS |
|
|
373
|
+
| **Performance Risk** | Current load × Added complexity | Score ≥6 = CONCERNS |
|
|
374
|
+
| **Compatibility Risk** | API consumers × Contract changes | Score ≥9 = FAIL |
|
|
375
|
+
|
|
376
|
+
#### Brownfield Testing Standards
|
|
377
|
+
|
|
378
|
+
Quinn enforces additional standards for brownfield:
|
|
379
|
+
|
|
380
|
+
- **Regression Test Coverage**: Every touched legacy module needs tests
|
|
381
|
+
- **Performance Baselines**: Must maintain or improve current metrics
|
|
382
|
+
- **Rollback Procedures**: Every change needs a rollback plan
|
|
383
|
+
- **Feature Flags**: All risky changes behind toggles
|
|
384
|
+
- **Integration Tests**: Cover all legacy touchpoints
|
|
385
|
+
- **Contract Tests**: Validate API compatibility
|
|
386
|
+
- **Data Validation**: Migration correctness checks
|
|
387
|
+
|
|
388
|
+
#### Quick Reference: Brownfield Test Commands
|
|
389
|
+
|
|
390
|
+
| **Scenario** | **Commands to Run** | **Order** | **Why Critical** |
|
|
391
|
+
| --------------------------------- | ---------------------------------------------------- | ---------- | ----------------------------- |
|
|
392
|
+
| **Adding Feature to Legacy Code** | `*risk` → `*design` → `*trace` → `*review` | Sequential | Map all dependencies first |
|
|
393
|
+
| **API Modification** | `*risk` → `*design` → `*nfr` → `*review` | Sequential | Prevent breaking consumers |
|
|
394
|
+
| **Performance-Critical Change** | `*nfr` early and often → `*review` | Continuous | Catch degradation immediately |
|
|
395
|
+
| **Data Migration** | `*risk` → `*design` → `*trace` → `*review` → `*gate` | Full cycle | Ensure data integrity |
|
|
396
|
+
| **Bug Fix in Complex System** | `*risk` → `*trace` → `*review` | Focused | Prevent side effects |
|
|
397
|
+
|
|
398
|
+
#### Integration with Brownfield Scenarios
|
|
399
|
+
|
|
400
|
+
**Scenario-Specific Guidance:**
|
|
401
|
+
|
|
402
|
+
1. **Legacy Code Modernization**
|
|
403
|
+
- Start with `*risk` to map all dependencies
|
|
404
|
+
- Use `*design` to plan strangler fig approach
|
|
405
|
+
- Run `*trace` frequently to ensure nothing breaks
|
|
406
|
+
- `*review` with focus on gradual migration
|
|
407
|
+
|
|
408
|
+
2. **Adding Features to Monolith**
|
|
409
|
+
- `*risk` identifies integration complexity
|
|
410
|
+
- `*design` plans isolation strategies
|
|
411
|
+
- `*nfr` monitors performance impact
|
|
412
|
+
- `*review` validates no monolith degradation
|
|
413
|
+
|
|
414
|
+
3. **Microservice Extraction**
|
|
415
|
+
- `*risk` maps service boundaries
|
|
416
|
+
- `*trace` ensures functionality preservation
|
|
417
|
+
- `*nfr` validates network overhead acceptable
|
|
418
|
+
- `*gate` documents accepted trade-offs
|
|
419
|
+
|
|
420
|
+
4. **Database Schema Changes**
|
|
421
|
+
- `*risk` assesses migration complexity
|
|
422
|
+
- `*design` plans backward-compatible approach
|
|
423
|
+
- `*trace` maps all affected queries
|
|
424
|
+
- `*review` validates migration safety
|
|
264
425
|
|
|
265
426
|
### 5. Communicate Changes
|
|
266
427
|
|
|
@@ -277,29 +438,63 @@ Document:
|
|
|
277
438
|
|
|
278
439
|
1. Document existing system
|
|
279
440
|
2. Create brownfield PRD focusing on integration
|
|
280
|
-
3.
|
|
281
|
-
|
|
441
|
+
3. **Test Architect Early Involvement**:
|
|
442
|
+
- Run `@qa *risk` on draft stories to identify integration risks
|
|
443
|
+
- Use `@qa *design` to plan regression test strategy
|
|
444
|
+
4. Architecture emphasizes compatibility
|
|
445
|
+
5. Stories include integration tasks with test requirements
|
|
446
|
+
6. **During Development**:
|
|
447
|
+
- Developer runs `@qa *trace` to verify coverage
|
|
448
|
+
- Use `@qa *nfr` to monitor performance impact
|
|
449
|
+
7. **Review Stage**: `@qa *review` validates integration safety
|
|
282
450
|
|
|
283
451
|
### Scenario 2: Modernizing Legacy Code
|
|
284
452
|
|
|
285
453
|
1. Extensive documentation phase
|
|
286
454
|
2. PRD includes migration strategy
|
|
287
|
-
3.
|
|
288
|
-
|
|
455
|
+
3. **Test Architect Strategy Planning**:
|
|
456
|
+
- `@qa *risk` assesses modernization complexity
|
|
457
|
+
- `@qa *design` plans parallel testing approach
|
|
458
|
+
4. Architecture plans gradual transition (strangler fig pattern)
|
|
459
|
+
5. Stories follow incremental modernization with:
|
|
460
|
+
- Regression tests for untouched legacy code
|
|
461
|
+
- Integration tests for new/old boundaries
|
|
462
|
+
- Performance benchmarks at each stage
|
|
463
|
+
6. **Continuous Validation**: Run `@qa *trace` after each increment
|
|
464
|
+
7. **Gate Management**: Use `@qa *gate` to track technical debt acceptance
|
|
289
465
|
|
|
290
466
|
### Scenario 3: Bug Fix in Complex System
|
|
291
467
|
|
|
292
468
|
1. Document relevant subsystems
|
|
293
469
|
2. Use `create-brownfield-story` for focused fix
|
|
294
|
-
3.
|
|
295
|
-
4.
|
|
470
|
+
3. **Test Architect Risk Assessment**: Run `@qa *risk` to identify side effect potential
|
|
471
|
+
4. Include regression test requirements from `@qa *design` output
|
|
472
|
+
5. **During Fix**: Use `@qa *trace` to map affected functionality
|
|
473
|
+
6. **Before Commit**: Run `@qa *review` for comprehensive validation
|
|
474
|
+
7. Test Architect validates no side effects using:
|
|
475
|
+
- Risk profiling for side effect analysis (probability × impact scoring)
|
|
476
|
+
- Trace matrix to ensure fix doesn't break related features
|
|
477
|
+
- NFR assessment to verify performance/security unchanged
|
|
478
|
+
- Gate decision documents fix safety
|
|
296
479
|
|
|
297
480
|
### Scenario 4: API Integration
|
|
298
481
|
|
|
299
482
|
1. Document existing API patterns
|
|
300
483
|
2. PRD defines integration requirements
|
|
301
|
-
3.
|
|
302
|
-
|
|
484
|
+
3. **Test Architect Contract Analysis**:
|
|
485
|
+
- `@qa *risk` identifies breaking change potential
|
|
486
|
+
- `@qa *design` creates contract test strategy
|
|
487
|
+
4. Architecture ensures consistent patterns
|
|
488
|
+
5. **API Testing Focus**:
|
|
489
|
+
- Contract tests for backward compatibility
|
|
490
|
+
- Integration tests for new endpoints
|
|
491
|
+
- Performance tests for added load
|
|
492
|
+
6. Stories include API documentation updates
|
|
493
|
+
7. **Validation Checkpoints**:
|
|
494
|
+
- `@qa *trace` maps all API consumers
|
|
495
|
+
- `@qa *nfr` validates response times
|
|
496
|
+
- `@qa *review` ensures no breaking changes
|
|
497
|
+
8. **Gate Decision**: Document any accepted breaking changes with migration path
|
|
303
498
|
|
|
304
499
|
## Troubleshooting
|
|
305
500
|
|
|
@@ -325,19 +520,37 @@ Document:
|
|
|
325
520
|
|
|
326
521
|
```bash
|
|
327
522
|
# Document existing project
|
|
328
|
-
@architect
|
|
523
|
+
@architect *document-project
|
|
329
524
|
|
|
330
525
|
# Create enhancement PRD
|
|
331
|
-
@pm
|
|
526
|
+
@pm *create-brownfield-prd
|
|
332
527
|
|
|
333
528
|
# Create architecture with integration focus
|
|
334
|
-
@architect
|
|
529
|
+
@architect *create-brownfield-architecture
|
|
335
530
|
|
|
336
531
|
# Quick epic creation
|
|
337
|
-
@pm
|
|
532
|
+
@pm *create-brownfield-epic
|
|
338
533
|
|
|
339
534
|
# Single story creation
|
|
340
|
-
@pm
|
|
535
|
+
@pm *create-brownfield-story
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
### Test Architect Commands for Brownfield
|
|
539
|
+
|
|
540
|
+
Note: Short forms shown below. Full commands: `*risk-profile`, `*test-design`, `*nfr-assess`, `*trace-requirements`
|
|
541
|
+
|
|
542
|
+
```bash
|
|
543
|
+
# BEFORE DEVELOPMENT (Planning)
|
|
544
|
+
@qa *risk {story} # Assess regression & integration risks
|
|
545
|
+
@qa *design {story} # Plan regression + new feature tests
|
|
546
|
+
|
|
547
|
+
# DURING DEVELOPMENT (Validation)
|
|
548
|
+
@qa *trace {story} # Verify coverage of old + new
|
|
549
|
+
@qa *nfr {story} # Check performance degradation
|
|
550
|
+
|
|
551
|
+
# AFTER DEVELOPMENT (Review)
|
|
552
|
+
@qa *review {story} # Deep integration analysis
|
|
553
|
+
@qa *gate {story} # Update quality decision
|
|
341
554
|
```
|
|
342
555
|
|
|
343
556
|
### Decision Tree
|
|
@@ -352,13 +565,33 @@ Do you have a large codebase or monorepo?
|
|
|
352
565
|
|
|
353
566
|
Is this a major enhancement affecting multiple systems?
|
|
354
567
|
├─ Yes → Full Brownfield Workflow
|
|
568
|
+
│ └─ ALWAYS run Test Architect *risk + *design first
|
|
355
569
|
└─ No → Is this more than a simple bug fix?
|
|
356
|
-
├─ Yes → brownfield-
|
|
357
|
-
└─
|
|
570
|
+
├─ Yes → *create-brownfield-epic
|
|
571
|
+
│ └─ Run Test Architect *risk for integration points
|
|
572
|
+
└─ No → *create-brownfield-story
|
|
573
|
+
└─ Still run *risk if touching critical paths
|
|
574
|
+
|
|
575
|
+
Does the change touch legacy code?
|
|
576
|
+
├─ Yes → Test Architect is MANDATORY
|
|
577
|
+
│ ├─ *risk → Identify regression potential
|
|
578
|
+
│ ├─ *design → Plan test coverage
|
|
579
|
+
│ └─ *review → Validate no breakage
|
|
580
|
+
└─ No → Test Architect is RECOMMENDED
|
|
581
|
+
└─ *review → Ensure quality standards
|
|
358
582
|
```
|
|
359
583
|
|
|
360
584
|
## Conclusion
|
|
361
585
|
|
|
362
|
-
Brownfield development with BMad
|
|
586
|
+
Brownfield development with BMad Method provides structure and safety when modifying existing systems. The Test Architect becomes your critical safety net, using risk assessment, regression testing, and continuous validation to ensure new changes don't destabilize existing functionality.
|
|
587
|
+
|
|
588
|
+
**The Brownfield Success Formula:**
|
|
589
|
+
|
|
590
|
+
1. **Document First** - Understand what exists
|
|
591
|
+
2. **Assess Risk Early** - Use Test Architect `*risk` before coding
|
|
592
|
+
3. **Plan Test Strategy** - Design regression + new feature tests
|
|
593
|
+
4. **Validate Continuously** - Check integration health during development
|
|
594
|
+
5. **Review Comprehensively** - Deep analysis before committing
|
|
595
|
+
6. **Gate Decisively** - Document quality decisions
|
|
363
596
|
|
|
364
|
-
Remember: **
|
|
597
|
+
Remember: **In brownfield, the Test Architect isn't optional - it's your insurance policy against breaking production.**
|