bmad-method 4.23.0 → 4.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/.vscode/settings.json +11 -5
  2. package/CHANGELOG.md +22 -1
  3. package/README.md +2 -2
  4. package/bmad-core/agents/bmad-master.md +15 -2
  5. package/bmad-core/agents/bmad-orchestrator.md +14 -0
  6. package/bmad-core/agents/dev.md +2 -2
  7. package/bmad-core/agents/pm.md +1 -1
  8. package/bmad-core/agents/po.md +1 -1
  9. package/bmad-core/{core-config.yml → core-config.yaml} +5 -0
  10. package/bmad-core/data/bmad-kb.md +4 -4
  11. package/bmad-core/tasks/create-brownfield-story.md +355 -0
  12. package/bmad-core/tasks/create-next-story.md +29 -4
  13. package/bmad-core/tasks/create-workflow-plan.md +289 -0
  14. package/bmad-core/tasks/shard-doc.md +3 -3
  15. package/bmad-core/tasks/update-workflow-plan.md +248 -0
  16. package/bmad-core/templates/architecture-tmpl.md +1 -1
  17. package/bmad-core/templates/brownfield-prd-tmpl.md +52 -28
  18. package/bmad-core/templates/fullstack-architecture-tmpl.md +3 -3
  19. package/bmad-core/utils/plan-management.md +223 -0
  20. package/bmad-core/workflows/brownfield-fullstack.yaml +297 -0
  21. package/bmad-core/workflows/brownfield-service.yaml +187 -0
  22. package/bmad-core/workflows/{brownfield-ui.yml → brownfield-ui.yaml} +110 -36
  23. package/bmad-core/workflows/{greenfield-fullstack.yml → greenfield-fullstack.yaml} +110 -36
  24. package/bmad-core/workflows/{greenfield-service.yml → greenfield-service.yaml} +110 -36
  25. package/bmad-core/workflows/{greenfield-ui.yml → greenfield-ui.yaml} +110 -36
  26. package/common/tasks/create-doc.md +21 -1
  27. package/docs/agentic-tools/roo-code-guide.md +1 -1
  28. package/docs/core-architecture.md +12 -12
  29. package/docs/user-guide.md +6 -6
  30. package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +9 -9
  31. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +1 -1
  32. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +1 -1
  33. package/expansion-packs/bmad-infrastructure-devops/README.md +3 -3
  34. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  35. package/package.json +1 -1
  36. package/tools/builders/web-builder.js +19 -20
  37. package/tools/bump-all-versions.js +2 -2
  38. package/tools/bump-core-version.js +1 -1
  39. package/tools/bump-expansion-version.js +1 -1
  40. package/tools/installer/README.md +1 -1
  41. package/tools/installer/bin/bmad.js +2 -2
  42. package/tools/installer/lib/config-loader.js +13 -12
  43. package/tools/installer/lib/file-manager.js +5 -5
  44. package/tools/installer/lib/ide-setup.js +14 -13
  45. package/tools/installer/lib/installer.js +26 -38
  46. package/tools/installer/package.json +1 -1
  47. package/tools/lib/dependency-resolver.js +9 -13
  48. package/tools/lib/yaml-utils.js +29 -0
  49. package/tools/update-expansion-version.js +3 -3
  50. package/tools/yaml-format.js +1 -1
  51. package/bmad-core/workflows/brownfield-fullstack.yml +0 -112
  52. package/bmad-core/workflows/brownfield-service.yml +0 -113
  53. package/dist/agents/analyst.txt +0 -2709
  54. package/dist/agents/architect.txt +0 -3903
  55. package/dist/agents/bmad-master.txt +0 -9173
  56. package/dist/agents/bmad-orchestrator.txt +0 -1257
  57. package/dist/agents/dev.txt +0 -298
  58. package/dist/agents/pm.txt +0 -2205
  59. package/dist/agents/po.txt +0 -1511
  60. package/dist/agents/qa.txt +0 -262
  61. package/dist/agents/sm.txt +0 -701
  62. package/dist/agents/ux-expert.txt +0 -1081
  63. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2358
  64. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1584
  65. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -809
  66. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -6672
  67. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -1960
  68. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2053
  69. package/dist/teams/team-all.txt +0 -10543
  70. package/dist/teams/team-fullstack.txt +0 -9731
  71. package/dist/teams/team-ide-minimal.txt +0 -3535
  72. package/dist/teams/team-no-ui.txt +0 -8619
  73. /package/.github/{FUNDING.yml → FUNDING.yaml} +0 -0
  74. /package/.github/workflows/{release.yml → release.yaml} +0 -0
  75. /package/bmad-core/agent-teams/{team-all.yml → team-all.yaml} +0 -0
  76. /package/bmad-core/agent-teams/{team-fullstack.yml → team-fullstack.yaml} +0 -0
  77. /package/bmad-core/agent-teams/{team-ide-minimal.yml → team-ide-minimal.yaml} +0 -0
  78. /package/bmad-core/agent-teams/{team-no-ui.yml → team-no-ui.yaml} +0 -0
  79. /package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/{phaser-2d-nodejs-game-team.yml → phaser-2d-nodejs-game-team.yaml} +0 -0
  80. /package/expansion-packs/bmad-2d-phaser-game-dev/{config.yml → config.yaml} +0 -0
  81. /package/expansion-packs/bmad-2d-phaser-game-dev/workflows/{game-dev-greenfield.yml → game-dev-greenfield.yaml} +0 -0
  82. /package/expansion-packs/bmad-2d-phaser-game-dev/workflows/{game-prototype.yml → game-prototype.yaml} +0 -0
  83. /package/expansion-packs/bmad-creator-tools/{config.yml → config.yaml} +0 -0
  84. /package/expansion-packs/bmad-infrastructure-devops/{config.yml → config.yaml} +0 -0
  85. /package/tools/installer/config/{ide-agent-config.yml → ide-agent-config.yaml} +0 -0
  86. /package/tools/installer/config/{install.config.yml → install.config.yaml} +0 -0
@@ -1,113 +0,0 @@
1
- workflow:
2
- id: brownfield-service
3
- name: Brownfield Service/API Enhancement
4
- description: >-
5
- Agent workflow for enhancing existing backend services and APIs with new features,
6
- modernization, or performance improvements. Handles existing system analysis and safe integration.
7
- type: brownfield
8
- project_types:
9
- - service-modernization
10
- - api-enhancement
11
- - microservice-extraction
12
- - performance-optimization
13
- - integration-enhancement
14
-
15
- sequence:
16
- - step: service_analysis
17
- agent: architect
18
- action: analyze existing project and use task document-project
19
- creates: multiple documents per the document-project template
20
- notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
21
-
22
- - agent: pm
23
- creates: prd.md
24
- uses: brownfield-prd-tmpl
25
- requires: existing_service_analysis
26
- notes: "Creates comprehensive PRD focused on service enhancement with existing system analysis. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
27
-
28
- - agent: architect
29
- creates: architecture.md
30
- uses: brownfield-architecture-tmpl
31
- requires: prd.md
32
- notes: "Creates architecture with service integration strategy and API evolution planning. SAVE OUTPUT: Copy final architecture.md to your project's docs/ folder."
33
-
34
- - agent: po
35
- validates: all_artifacts
36
- uses: po-master-checklist
37
- notes: "Validates all documents for service integration safety and API compatibility. May require updates to any document."
38
-
39
- - agent: various
40
- updates: any_flagged_documents
41
- condition: po_checklist_issues
42
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
43
-
44
- - workflow_end:
45
- action: move_to_ide
46
- notes: |
47
- Planning phase complete! Now transition to IDE Development:
48
-
49
- 1. ENSURE DOCUMENTS ARE IN PROJECT:
50
- - Copy final prd.md to project's docs/prd.md
51
- - Copy final architecture.md to project's docs/architecture.md
52
- - All documents must be in the project before proceeding
53
-
54
- 2. SHARD DOCUMENTS (in IDE):
55
- - Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
56
- - Option B: Manual: Drag shard-doc task + docs/prd.md into chat
57
- - This creates docs/prd/ and docs/architecture/ folders with sharded content
58
-
59
- 3. START DEVELOPMENT CYCLE:
60
- a. SM Agent (New Chat): @sm → *create
61
- - Creates next story from sharded docs
62
- - Review and approve story (Draft → Approved)
63
-
64
- b. Dev Agent (New Chat): @dev
65
- - Implements approved story
66
- - Updates File List with all changes
67
- - Marks story as "Review" when complete
68
-
69
- c. QA Agent (New Chat): @qa → review-story
70
- - Senior dev review with refactoring ability
71
- - Fixes small issues directly
72
- - Leaves checklist for remaining items
73
- - Updates story status (Review → Done or stays Review)
74
-
75
- d. If QA left unchecked items:
76
- - Dev Agent (New Chat): Address remaining items
77
- - Return to QA for final approval
78
-
79
- 4. REPEAT: Continue cycle for all epic stories
80
-
81
- Reference: data#bmad-kb:IDE Development Workflow
82
-
83
- flow_diagram: |
84
- ```mermaid
85
- graph TD
86
- A[Start: Service Enhancement] --> B[analyst: analyze existing service]
87
- B --> C[pm: prd.md]
88
- C --> D[architect: architecture.md]
89
- D --> E[po: validate with po-master-checklist]
90
- E --> F{PO finds issues?}
91
- F -->|Yes| G[Return to relevant agent for fixes]
92
- F -->|No| H[Move to IDE Environment]
93
- G --> E
94
-
95
- style H fill:#90EE90
96
- style C fill:#FFE4B5
97
- style D fill:#FFE4B5
98
- ```
99
-
100
- decision_guidance:
101
- when_to_use:
102
- - Service enhancement requires coordinated stories
103
- - API versioning or breaking changes needed
104
- - Database schema changes required
105
- - Performance or scalability improvements needed
106
- - Multiple integration points affected
107
-
108
- handoff_prompts:
109
- analyst_to_pm: "Service analysis complete. Create comprehensive PRD with service integration strategy."
110
- pm_to_architect: "PRD ready. Save it as docs/prd.md, then create the service architecture."
111
- architect_to_po: "Architecture complete. Save it as docs/architecture.md. Please validate all artifacts for service integration safety."
112
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
113
- complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."