bmad-method 6.0.0-alpha.17 → 6.0.0-alpha.19

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 (185) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/package.json +1 -1
  3. package/src/modules/bmgd/_module-installer/installer.js +160 -0
  4. package/src/modules/bmgd/_module-installer/platform-specifics/claude-code.js +23 -0
  5. package/src/modules/bmgd/_module-installer/platform-specifics/windsurf.js +18 -0
  6. package/src/modules/bmgd/agents/game-architect.agent.yaml +23 -8
  7. package/src/modules/bmgd/agents/game-designer.agent.yaml +38 -18
  8. package/src/modules/bmgd/agents/game-dev.agent.yaml +30 -14
  9. package/src/modules/bmgd/agents/game-qa.agent.yaml +64 -0
  10. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +27 -39
  11. package/src/modules/bmgd/agents/game-solo-dev.agent.yaml +56 -0
  12. package/src/modules/bmgd/docs/README.md +180 -0
  13. package/src/modules/bmgd/docs/agents-guide.md +407 -0
  14. package/src/modules/bmgd/docs/game-types-guide.md +503 -0
  15. package/src/modules/bmgd/docs/glossary.md +294 -0
  16. package/src/modules/bmgd/docs/quick-flow-guide.md +288 -0
  17. package/src/modules/bmgd/docs/quick-start.md +250 -0
  18. package/src/modules/bmgd/docs/troubleshooting.md +259 -0
  19. package/src/modules/bmgd/docs/workflow-overview.jpg +0 -0
  20. package/src/modules/bmgd/docs/workflows-guide.md +463 -0
  21. package/src/modules/bmgd/gametest/knowledge/balance-testing.md +220 -0
  22. package/src/modules/bmgd/gametest/knowledge/certification-testing.md +319 -0
  23. package/src/modules/bmgd/gametest/knowledge/compatibility-testing.md +228 -0
  24. package/src/modules/bmgd/gametest/knowledge/godot-testing.md +376 -0
  25. package/src/modules/bmgd/gametest/knowledge/input-testing.md +315 -0
  26. package/src/modules/bmgd/gametest/knowledge/localization-testing.md +304 -0
  27. package/src/modules/bmgd/gametest/knowledge/multiplayer-testing.md +322 -0
  28. package/src/modules/bmgd/gametest/knowledge/performance-testing.md +204 -0
  29. package/src/modules/bmgd/gametest/knowledge/playtesting.md +384 -0
  30. package/src/modules/bmgd/gametest/knowledge/qa-automation.md +190 -0
  31. package/src/modules/bmgd/gametest/knowledge/regression-testing.md +280 -0
  32. package/src/modules/bmgd/gametest/knowledge/save-testing.md +280 -0
  33. package/src/modules/bmgd/gametest/knowledge/smoke-testing.md +404 -0
  34. package/src/modules/bmgd/gametest/knowledge/test-priorities.md +271 -0
  35. package/src/modules/bmgd/gametest/knowledge/unity-testing.md +383 -0
  36. package/src/modules/bmgd/gametest/knowledge/unreal-testing.md +388 -0
  37. package/src/modules/bmgd/gametest/qa-index.csv +17 -0
  38. package/src/modules/bmgd/module.yaml +25 -9
  39. package/src/modules/bmgd/teams/default-party.csv +2 -0
  40. package/src/modules/bmgd/teams/team-gamedev.yaml +12 -1
  41. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-01-init.md +164 -0
  42. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-02-context.md +210 -0
  43. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-03-ideation.md +289 -0
  44. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-04-complete.md +275 -0
  45. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.md +49 -0
  46. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +29 -8
  47. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01-init.md +223 -0
  48. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01b-continue.md +151 -0
  49. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-02-vision.md +218 -0
  50. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-03-market.md +218 -0
  51. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-04-fundamentals.md +231 -0
  52. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-05-scope.md +242 -0
  53. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-06-references.md +224 -0
  54. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-07-content.md +282 -0
  55. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-08-complete.md +296 -0
  56. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.md +62 -0
  57. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +40 -9
  58. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01-init.md +248 -0
  59. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01b-continue.md +173 -0
  60. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-02-context.md +332 -0
  61. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-03-platforms.md +245 -0
  62. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-04-vision.md +229 -0
  63. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-05-core-gameplay.md +258 -0
  64. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-06-mechanics.md +249 -0
  65. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-07-game-type.md +266 -0
  66. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-08-progression.md +272 -0
  67. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-09-levels.md +264 -0
  68. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-10-art-audio.md +255 -0
  69. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-11-technical.md +275 -0
  70. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-12-epics.md +284 -0
  71. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-13-metrics.md +250 -0
  72. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-14-complete.md +335 -0
  73. package/src/modules/bmgd/workflows/2-design/gdd/workflow.md +61 -0
  74. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +27 -7
  75. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01-init.md +228 -0
  76. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01b-continue.md +163 -0
  77. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-02-foundation.md +262 -0
  78. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-03-story.md +238 -0
  79. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-04-characters.md +297 -0
  80. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-05-world.md +262 -0
  81. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-06-dialogue.md +250 -0
  82. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-07-environmental.md +244 -0
  83. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-08-delivery.md +264 -0
  84. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-09-integration.md +254 -0
  85. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-10-production.md +262 -0
  86. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-11-complete.md +331 -0
  87. package/src/modules/bmgd/workflows/2-design/narrative/workflow.md +57 -0
  88. package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +53 -8
  89. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01-init.md +223 -0
  90. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01b-continue.md +153 -0
  91. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-02-context.md +262 -0
  92. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-03-starter.md +290 -0
  93. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-04-decisions.md +300 -0
  94. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-05-crosscutting.md +319 -0
  95. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-06-structure.md +304 -0
  96. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-07-patterns.md +349 -0
  97. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-08-validation.md +293 -0
  98. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-09-complete.md +302 -0
  99. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.md +55 -0
  100. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +50 -21
  101. package/src/modules/bmgd/workflows/4-production/code-review/checklist.md +23 -0
  102. package/src/modules/bmgd/workflows/4-production/code-review/instructions.xml +225 -0
  103. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +18 -15
  104. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
  105. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +1 -1
  106. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +11 -6
  107. package/src/modules/bmgd/workflows/4-production/create-story/checklist.md +332 -214
  108. package/src/modules/bmgd/workflows/4-production/create-story/instructions.xml +298 -0
  109. package/src/modules/bmgd/workflows/4-production/create-story/template.md +3 -5
  110. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +12 -7
  111. package/src/modules/bmgd/workflows/4-production/dev-story/checklist.md +65 -23
  112. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.xml +409 -0
  113. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +13 -3
  114. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +4 -4
  115. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +12 -7
  116. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +32 -41
  117. package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +13 -13
  118. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +6 -1
  119. package/src/modules/bmgd/workflows/4-production/sprint-status/instructions.md +229 -0
  120. package/src/modules/bmgd/workflows/4-production/sprint-status/workflow.yaml +35 -0
  121. package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/instructions.md +140 -0
  122. package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/workflow.yaml +27 -0
  123. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/checklist.md +37 -0
  124. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/instructions.md +220 -0
  125. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/workflow.yaml +45 -0
  126. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/checklist.md +26 -0
  127. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/instructions.md +156 -0
  128. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/workflow.yaml +36 -0
  129. package/src/modules/bmgd/workflows/gametest/automate/checklist.md +93 -0
  130. package/src/modules/bmgd/workflows/gametest/automate/instructions.md +317 -0
  131. package/src/modules/bmgd/workflows/gametest/automate/workflow.yaml +50 -0
  132. package/src/modules/bmgd/workflows/gametest/performance/checklist.md +96 -0
  133. package/src/modules/bmgd/workflows/gametest/performance/instructions.md +323 -0
  134. package/src/modules/bmgd/workflows/gametest/performance/performance-template.md +256 -0
  135. package/src/modules/bmgd/workflows/gametest/performance/workflow.yaml +48 -0
  136. package/src/modules/bmgd/workflows/gametest/playtest-plan/checklist.md +93 -0
  137. package/src/modules/bmgd/workflows/gametest/playtest-plan/instructions.md +297 -0
  138. package/src/modules/bmgd/workflows/gametest/playtest-plan/playtest-template.md +208 -0
  139. package/src/modules/bmgd/workflows/gametest/playtest-plan/workflow.yaml +59 -0
  140. package/src/modules/bmgd/workflows/gametest/test-design/checklist.md +98 -0
  141. package/src/modules/bmgd/workflows/gametest/test-design/instructions.md +280 -0
  142. package/src/modules/bmgd/workflows/gametest/test-design/test-design-template.md +205 -0
  143. package/src/modules/bmgd/workflows/gametest/test-design/workflow.yaml +47 -0
  144. package/src/modules/bmgd/workflows/gametest/test-framework/checklist.md +103 -0
  145. package/src/modules/bmgd/workflows/gametest/test-framework/instructions.md +348 -0
  146. package/src/modules/bmgd/workflows/gametest/test-framework/workflow.yaml +48 -0
  147. package/src/modules/bmgd/workflows/gametest/test-review/checklist.md +87 -0
  148. package/src/modules/bmgd/workflows/gametest/test-review/instructions.md +272 -0
  149. package/src/modules/bmgd/workflows/gametest/test-review/test-review-template.md +203 -0
  150. package/src/modules/bmgd/workflows/gametest/test-review/workflow.yaml +48 -0
  151. package/src/modules/bmgd/workflows/workflow-status/init/instructions.md +299 -0
  152. package/src/modules/bmgd/workflows/workflow-status/init/workflow.yaml +29 -0
  153. package/src/modules/bmgd/workflows/workflow-status/instructions.md +395 -0
  154. package/src/modules/bmgd/workflows/workflow-status/paths/gamedev-brownfield.yaml +65 -0
  155. package/src/modules/bmgd/workflows/workflow-status/paths/gamedev-greenfield.yaml +71 -0
  156. package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-brownfield.yaml +29 -0
  157. package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-greenfield.yaml +39 -0
  158. package/src/modules/bmgd/workflows/workflow-status/project-levels.yaml +63 -0
  159. package/src/modules/bmgd/workflows/workflow-status/workflow-status-template.yaml +24 -0
  160. package/src/modules/bmgd/workflows/workflow-status/workflow.yaml +30 -0
  161. package/tools/cli/commands/install.js +9 -0
  162. package/tools/cli/installers/lib/core/installer.js +140 -592
  163. package/tools/cli/installers/lib/modules/manager.js +15 -3
  164. package/tools/cli/lib/agent/compiler.js +99 -0
  165. package/tools/cli/lib/ui.js +78 -27
  166. package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +0 -502
  167. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +0 -398
  168. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +0 -256
  169. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +0 -267
  170. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +0 -17
  171. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +0 -164
  172. package/src/modules/bmgd/workflows/4-production/epic-tech-context/template.md +0 -76
  173. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +0 -58
  174. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +0 -16
  175. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +0 -34
  176. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +0 -209
  177. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +0 -63
  178. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +0 -111
  179. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +0 -28
  180. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +0 -117
  181. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +0 -25
  182. /package/src/modules/bmgd/workflows/1-preproduction/game-brief/{template.md → templates/game-brief-template.md} +0 -0
  183. /package/src/modules/bmgd/workflows/2-design/gdd/{gdd-template.md → templates/gdd-template.md} +0 -0
  184. /package/src/modules/bmgd/workflows/2-design/narrative/{narrative-template.md → templates/narrative-template.md} +0 -0
  185. /package/src/modules/bmgd/workflows/3-technical/game-architecture/{architecture-template.md → templates/architecture-template.md} +0 -0
@@ -1,6 +1,6 @@
1
1
  # Narrative Design Workflow
2
2
  name: narrative
3
- description: "Narrative design workflow for story-driven games and applications. Creates comprehensive narrative documentation including story structure, character arcs, dialogue systems, and narrative implementation guidance."
3
+ description: "Narrative design workflow for story-driven games. Creates comprehensive narrative documentation including story structure, character arcs, world-building, dialogue systems, and production planning."
4
4
  author: "BMad"
5
5
 
6
6
  # Critical variables from config
@@ -12,21 +12,66 @@ document_output_language: "{config_source}:document_output_language"
12
12
  game_dev_experience: "{config_source}:game_dev_experience"
13
13
  date: system-generated
14
14
 
15
- # Workflow components
15
+ # Workflow components - Step-file architecture
16
16
  installed_path: "{project-root}/_bmad/bmgd/workflows/2-design/narrative"
17
- instructions: "{installed_path}/instructions-narrative.md"
18
- template: "{installed_path}/narrative-template.md"
17
+ instructions: "{installed_path}/workflow.md"
18
+ template: "{installed_path}/templates/narrative-template.md"
19
+ validation: "{installed_path}/checklist.md"
20
+
21
+ # Smart input file references
22
+ input_file_patterns:
23
+ gdd:
24
+ description: "Game Design Document with mechanics and systems"
25
+ whole: "{output_folder}/*gdd*.md"
26
+ sharded: "{output_folder}/*gdd*/index.md"
27
+ load_strategy: "INDEX_GUIDED"
28
+
29
+ brief:
30
+ description: "Game Brief with vision (optional)"
31
+ whole: "{output_folder}/*brief*.md"
32
+ sharded: "{output_folder}/*brief*/index.md"
33
+ load_strategy: "INDEX_GUIDED"
19
34
 
20
35
  # Output configuration
21
36
  default_output_file: "{output_folder}/narrative-design.md"
22
37
 
38
+ # Workflow metadata
39
+ version: "2.0.0"
40
+ paradigm: "step-file-architecture"
41
+ features:
42
+ - "Step-file architecture for modular execution"
43
+ - "Narrative complexity assessment"
44
+ - "Character development facilitation"
45
+ - "World-building guidance"
46
+ - "Dialogue system design"
47
+ - "Environmental storytelling planning"
48
+ - "Production scope estimation"
49
+ - "State tracking via frontmatter"
50
+
23
51
  standalone: true
24
52
 
25
53
  web_bundle:
26
54
  name: "narrative"
27
- description: "Narrative design workflow for story-driven games and applications. Creates comprehensive narrative documentation including story structure, character arcs, dialogue systems, and narrative implementation guidance."
55
+ description: "Narrative design workflow for story-driven games"
28
56
  author: "BMad"
29
- instructions: "_bmad/bmgd/workflows/2-design/narrative/instructions-narrative.md"
57
+ instructions: "_bmad/bmgd/workflows/2-design/narrative/workflow.md"
30
58
  web_bundle_files:
31
- - "_bmad/bmgd/workflows/2-design/narrative/instructions-narrative.md"
32
- - "_bmad/bmgd/workflows/2-design/narrative/narrative-template.md"
59
+ # Main workflow file
60
+ - "_bmad/bmgd/workflows/2-design/narrative/workflow.md"
61
+ # Step files
62
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-01-init.md"
63
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-01b-continue.md"
64
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-02-foundation.md"
65
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-03-story.md"
66
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-04-characters.md"
67
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-05-world.md"
68
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-06-dialogue.md"
69
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-07-environmental.md"
70
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-08-delivery.md"
71
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-09-integration.md"
72
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-10-production.md"
73
+ - "_bmad/bmgd/workflows/2-design/narrative/steps/step-11-complete.md"
74
+ # Template
75
+ - "_bmad/bmgd/workflows/2-design/narrative/templates/narrative-template.md"
76
+ # Validation checklist
77
+ - "_bmad/bmgd/workflows/2-design/narrative/checklist.md"
@@ -0,0 +1,223 @@
1
+ ---
2
+ name: 'step-01-init'
3
+ description: 'Initialize the architecture workflow, validate readiness, and discover input documents'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/3-technical/game-architecture'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-01-init.md'
10
+ continueStepFile: '{workflow_path}/steps/step-01b-continue.md'
11
+ nextStepFile: '{workflow_path}/steps/step-02-context.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ outputFile: '{output_folder}/game-architecture.md'
14
+ templateFile: '{workflow_path}/templates/architecture-template.md'
15
+
16
+ # Knowledge Bases
17
+ decisionCatalog: '{workflow_path}/decision-catalog.yaml'
18
+ architecturePatterns: '{workflow_path}/architecture-patterns.yaml'
19
+ patternCategories: '{workflow_path}/pattern-categories.csv'
20
+ ---
21
+
22
+ # Step 1: Initialize Architecture Workflow
23
+
24
+ **Progress: Step 1 of 9** - Next: Project Context
25
+
26
+ ## STEP GOAL:
27
+
28
+ Validate workflow readiness, check for existing architecture work, discover input documents (GDD, Epics), and initialize the output document with proper frontmatter.
29
+
30
+ ## MANDATORY EXECUTION RULES (READ FIRST):
31
+
32
+ ### Universal Rules:
33
+
34
+ - NEVER generate content without user input
35
+ - CRITICAL: Read the complete step file before taking any action
36
+ - CRITICAL: When loading next step with 'C', ensure entire file is read
37
+ - YOU ARE A FACILITATOR, not a content generator
38
+ - NEVER mention time estimates
39
+
40
+ ### Role Reinforcement:
41
+
42
+ - You are a veteran game architect facilitator
43
+ - Focus on architectural decisions that prevent AI agent conflicts
44
+ - This is a decision-focused workflow, not an implementation spec
45
+
46
+ ### Step-Specific Rules:
47
+
48
+ - Check for existing architecture before starting fresh
49
+ - Validate that required input documents exist (GDD at minimum)
50
+ - Initialize document with proper frontmatter for state tracking
51
+
52
+ ## EXECUTION PROTOCOLS:
53
+
54
+ - Show your analysis before taking any action
55
+ - Wait for user confirmation at each checkpoint
56
+ - Update frontmatter `stepsCompleted: [1]` before loading next step
57
+
58
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
59
+
60
+ ### 1. Check for Existing Architecture
61
+
62
+ **Search for existing architecture document:**
63
+
64
+ Look for existing architecture files in {output_folder}:
65
+
66
+ - `*architecture*.md`
67
+ - `*arch*.md`
68
+
69
+ **If existing architecture found:**
70
+
71
+ "I found an existing architecture document: `{{existing_file}}`
72
+
73
+ **Options:**
74
+
75
+ 1. **Continue** - Resume from where you left off
76
+ 2. **Start Fresh** - Begin a new architecture (will overwrite)
77
+ 3. **Review** - Let me review the existing document first
78
+
79
+ Which would you like to do?"
80
+
81
+ **Handle user selection:**
82
+
83
+ - If **Continue**: Load `{continueStepFile}`
84
+ - If **Start Fresh**: Continue with step 2 below
85
+ - If **Review**: Show document summary and return to options
86
+
87
+ ### 2. Discover Required Input Documents
88
+
89
+ **Search for GDD:**
90
+
91
+ Look for GDD files using patterns:
92
+
93
+ - `{output_folder}/*gdd*.md`
94
+ - `{output_folder}/*game-design*.md`
95
+
96
+ **If GDD not found:**
97
+
98
+ "**GDD Not Found**
99
+
100
+ The Architecture workflow works from your Game Design Document (GDD).
101
+
102
+ The GDD provides:
103
+
104
+ - Core mechanics and systems to architect
105
+ - Technical requirements and constraints
106
+ - Platform targets and performance needs
107
+
108
+ Please run the GDD workflow first: `create-gdd`"
109
+
110
+ **Exit workflow - GDD required**
111
+
112
+ **If GDD found:**
113
+
114
+ "**Input Document Found:**
115
+
116
+ - GDD: `{{gdd_file}}`
117
+
118
+ I'll analyze this to understand your game's technical requirements."
119
+
120
+ ### 3. Discover Optional Input Documents
121
+
122
+ **Search for additional documents:**
123
+
124
+ - **Epics**: `{output_folder}/*epic*.md`
125
+ - **Game Brief**: `{output_folder}/*brief*.md`
126
+ - **Narrative**: `{output_folder}/*narrative*.md`
127
+
128
+ **Report findings:**
129
+
130
+ "**Additional Documents Found:**
131
+ {{list_of_found_documents}}
132
+
133
+ These will provide additional context for architectural decisions."
134
+
135
+ ### 4. Confirm Workflow Start
136
+
137
+ **Present start confirmation:**
138
+
139
+ "**Ready to Start Architecture Workflow**
140
+
141
+ {{user_name}}, I'm ready to help you create the game architecture for your project.
142
+
143
+ **What we'll cover:**
144
+
145
+ 1. Engine/framework selection and validation
146
+ 2. Core architectural decisions (rendering, physics, networking, etc.)
147
+ 3. Project structure and code organization
148
+ 4. Implementation patterns for AI agent consistency
149
+ 5. Cross-cutting concerns (error handling, logging, etc.)
150
+
151
+ **Input documents:**
152
+
153
+ - GDD: `{{gdd_file}}`
154
+ {{additional_documents_list}}
155
+
156
+ **The goal:** Create an architecture document that ensures all AI agents implement your game consistently.
157
+
158
+ Ready to begin? [Y/N]"
159
+
160
+ ### 5. Initialize Output Document
161
+
162
+ **If user confirms, create the initial document:**
163
+
164
+ Create `{outputFile}` with frontmatter:
165
+
166
+ ```markdown
167
+ ---
168
+ title: 'Game Architecture'
169
+ project: '{{project_name}}'
170
+ date: '{{date}}'
171
+ author: '{{user_name}}'
172
+ version: '1.0'
173
+ stepsCompleted: [1]
174
+ status: 'in-progress'
175
+
176
+ # Source Documents
177
+ gdd: '{{gdd_file}}'
178
+ epics: '{{epics_file_or_null}}'
179
+ brief: '{{brief_file_or_null}}'
180
+ ---
181
+
182
+ # Game Architecture
183
+
184
+ ## Document Status
185
+
186
+ This architecture document is being created through the BMGD Architecture Workflow.
187
+
188
+ **Steps Completed:** 1 of 9 (Initialize)
189
+
190
+ ---
191
+
192
+ _Content will be added as we progress through the workflow._
193
+ ```
194
+
195
+ ### 6. Proceed to Context Step
196
+
197
+ After initialization:
198
+
199
+ - Update frontmatter: `stepsCompleted: [1]`
200
+ - Load `{nextStepFile}`
201
+
202
+ ---
203
+
204
+ ## SYSTEM SUCCESS/FAILURE METRICS
205
+
206
+ ### SUCCESS:
207
+
208
+ - Existing architecture check performed
209
+ - GDD discovered and validated
210
+ - Optional documents discovered
211
+ - User confirmed workflow start
212
+ - Output document initialized with proper frontmatter
213
+ - Frontmatter updated with stepsCompleted: [1]
214
+
215
+ ### SYSTEM FAILURE:
216
+
217
+ - Skipping input document discovery
218
+ - Starting without user confirmation
219
+ - Not checking for existing architecture
220
+ - Missing frontmatter initialization
221
+ - Proceeding without GDD
222
+
223
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,153 @@
1
+ ---
2
+ name: 'step-01b-continue'
3
+ description: 'Continue an existing architecture workflow from where it left off'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/3-technical/game-architecture'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-01b-continue.md'
10
+ workflowFile: '{workflow_path}/workflow.md'
11
+ outputFile: '{output_folder}/game-architecture.md'
12
+
13
+ # Step Files (for routing)
14
+ step02: '{workflow_path}/steps/step-02-context.md'
15
+ step03: '{workflow_path}/steps/step-03-starter.md'
16
+ step04: '{workflow_path}/steps/step-04-decisions.md'
17
+ step05: '{workflow_path}/steps/step-05-crosscutting.md'
18
+ step06: '{workflow_path}/steps/step-06-structure.md'
19
+ step07: '{workflow_path}/steps/step-07-patterns.md'
20
+ step08: '{workflow_path}/steps/step-08-validation.md'
21
+ step09: '{workflow_path}/steps/step-09-complete.md'
22
+ ---
23
+
24
+ # Step 1b: Continue Existing Architecture
25
+
26
+ **Resuming Architecture Workflow**
27
+
28
+ ## STEP GOAL:
29
+
30
+ Load the existing architecture document, determine progress, and route to the appropriate next step.
31
+
32
+ ## MANDATORY EXECUTION RULES (READ FIRST):
33
+
34
+ ### Universal Rules:
35
+
36
+ - NEVER generate content without user input
37
+ - CRITICAL: Read the complete step file before taking any action
38
+ - YOU ARE A FACILITATOR, not a content generator
39
+ - NEVER mention time estimates
40
+
41
+ ### Step-Specific Rules:
42
+
43
+ - Parse frontmatter to determine completed steps
44
+ - Present summary of current progress
45
+ - Route to correct next step based on state
46
+
47
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
48
+
49
+ ### 1. Load Existing Architecture
50
+
51
+ **Read the existing architecture document:**
52
+
53
+ Load `{outputFile}` and parse the frontmatter to extract:
54
+
55
+ - `stepsCompleted` array
56
+ - `status`
57
+ - `project` name
58
+ - Source document references
59
+
60
+ ### 2. Analyze Progress
61
+
62
+ **Determine workflow state:**
63
+
64
+ Map completed steps to workflow progress:
65
+
66
+ - Step 1: Initialize
67
+ - Step 2: Context
68
+ - Step 3: Starter/Engine
69
+ - Step 4: Decisions
70
+ - Step 5: Cross-cutting
71
+ - Step 6: Structure
72
+ - Step 7: Patterns
73
+ - Step 8: Validation
74
+ - Step 9: Complete
75
+
76
+ **Calculate next step:**
77
+
78
+ Find the highest completed step and determine the next step file to load.
79
+
80
+ ### 3. Present Continuation Summary
81
+
82
+ "**Resuming Architecture Workflow**
83
+
84
+ {{user_name}}, I found your existing architecture for **{{project_name}}**.
85
+
86
+ **Progress:** Steps completed: {{stepsCompleted}}
87
+
88
+ **Current Status:**
89
+
90
+ - Last completed: {{last_step_name}}
91
+ - Next step: {{next_step_name}} (Step {{next_step_number}} of 9)
92
+
93
+ **Document sections completed:**
94
+ {{list_of_completed_sections}}
95
+
96
+ Would you like to:
97
+
98
+ 1. **Continue** - Resume from {{next_step_name}}
99
+ 2. **Review** - Show me what we've documented so far
100
+ 3. **Restart Step** - Redo the last completed step
101
+
102
+ Select an option:"
103
+
104
+ ### 4. Handle User Selection
105
+
106
+ **If Continue:**
107
+
108
+ - Load the next step file based on `stepsCompleted`
109
+
110
+ **If Review:**
111
+
112
+ - Present summary of all completed sections
113
+ - Return to continuation options
114
+
115
+ **If Restart Step:**
116
+
117
+ - Decrement stepsCompleted to remove last step
118
+ - Load the step file for the step being restarted
119
+
120
+ ### 5. Route to Next Step
121
+
122
+ Based on next step number, load the appropriate step file:
123
+
124
+ | Next Step | File |
125
+ | --------- | -------- |
126
+ | 2 | {step02} |
127
+ | 3 | {step03} |
128
+ | 4 | {step04} |
129
+ | 5 | {step05} |
130
+ | 6 | {step06} |
131
+ | 7 | {step07} |
132
+ | 8 | {step08} |
133
+ | 9 | {step09} |
134
+
135
+ ---
136
+
137
+ ## SYSTEM SUCCESS/FAILURE METRICS
138
+
139
+ ### SUCCESS:
140
+
141
+ - Existing document loaded and parsed
142
+ - Progress accurately determined
143
+ - User presented with clear options
144
+ - Correct step file loaded based on state
145
+
146
+ ### SYSTEM FAILURE:
147
+
148
+ - Failing to parse frontmatter correctly
149
+ - Loading wrong step file
150
+ - Not presenting continuation options
151
+ - Overwriting existing progress without confirmation
152
+
153
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.