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

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 (186) hide show
  1. package/CHANGELOG.md +97 -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 +109 -109
  163. package/tools/cli/installers/lib/core/installer.js.bak +3204 -0
  164. package/tools/cli/installers/lib/modules/manager.js +16 -4
  165. package/tools/cli/lib/agent/compiler.js +99 -0
  166. package/tools/cli/lib/ui.js +78 -27
  167. package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +0 -502
  168. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +0 -398
  169. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +0 -256
  170. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +0 -267
  171. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +0 -17
  172. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +0 -164
  173. package/src/modules/bmgd/workflows/4-production/epic-tech-context/template.md +0 -76
  174. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +0 -58
  175. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +0 -16
  176. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +0 -34
  177. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +0 -209
  178. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +0 -63
  179. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +0 -111
  180. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +0 -28
  181. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +0 -117
  182. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +0 -25
  183. /package/src/modules/bmgd/workflows/1-preproduction/game-brief/{template.md → templates/game-brief-template.md} +0 -0
  184. /package/src/modules/bmgd/workflows/2-design/gdd/{gdd-template.md → templates/gdd-template.md} +0 -0
  185. /package/src/modules/bmgd/workflows/2-design/narrative/{narrative-template.md → templates/narrative-template.md} +0 -0
  186. /package/src/modules/bmgd/workflows/3-technical/game-architecture/{architecture-template.md → templates/architecture-template.md} +0 -0
@@ -0,0 +1,264 @@
1
+ ---
2
+ name: 'step-08-delivery'
3
+ description: 'Design narrative delivery methods including cutscenes, in-game storytelling, and endings'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/2-design/narrative'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-08-delivery.md'
10
+ nextStepFile: '{workflow_path}/steps/step-09-integration.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ outputFile: '{output_folder}/narrative-design.md'
13
+
14
+ # Task References
15
+ advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
16
+ partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
17
+ ---
18
+
19
+ # Step 8: Narrative Delivery
20
+
21
+ **Progress: Step 8 of 11** - Next: Gameplay Integration
22
+
23
+ ## STEP GOAL:
24
+
25
+ Define how narrative content is delivered to players: cutscenes, in-game storytelling, optional content, and ending structures.
26
+
27
+ ## MANDATORY EXECUTION RULES (READ FIRST):
28
+
29
+ ### Universal Rules:
30
+
31
+ - NEVER generate content without user input
32
+ - CRITICAL: Read the complete step file before taking any action
33
+ - CRITICAL: When loading next step with 'C', ensure entire file is read
34
+ - YOU ARE A FACILITATOR, not a content generator
35
+ - NEVER mention time estimates
36
+
37
+ ### Role Reinforcement:
38
+
39
+ - You are a narrative design facilitator
40
+ - Delivery method affects player experience
41
+ - Balance story delivery with gameplay
42
+
43
+ ### Step-Specific Rules:
44
+
45
+ - FORBIDDEN to decide delivery without user input
46
+ - Consider production effort for each method
47
+ - Match delivery to game type
48
+
49
+ ## EXECUTION PROTOCOLS:
50
+
51
+ - Show your analysis before taking any action
52
+ - Present A/P/C menu after generating content
53
+ - ONLY save when user chooses C (Continue)
54
+ - Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8]` before loading next step
55
+
56
+ ## COLLABORATION MENUS (A/P/C):
57
+
58
+ - **A (Advanced Elicitation)**: Explore delivery methods
59
+ - **P (Party Mode)**: Get perspectives on delivery approach
60
+ - **C (Continue)**: Save the content and proceed
61
+
62
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
63
+
64
+ ### 1. Cutscenes Discovery
65
+
66
+ "**How will you use cutscenes in {{game_name}}?**
67
+
68
+ **Cutscene considerations:**
69
+
70
+ - **Quantity** - How many major cutscenes?
71
+ - **Length** - Average duration?
72
+ - **Style** - Real-time rendered? Pre-rendered? Animated?
73
+ - **Skippable** - Can players skip?
74
+ - **Interactive** - Any QTEs or choices during cutscenes?
75
+
76
+ Describe your cutscene approach:"
77
+
78
+ ### 2. In-Game Storytelling Discovery
79
+
80
+ "**How will story be delivered during gameplay?**
81
+
82
+ **In-game storytelling methods:**
83
+
84
+ - **NPC conversations** - Talking to characters
85
+ - **Radio/comm chatter** - Voice in player's ear
86
+ - **Environmental cues** - Reading the world
87
+ - **Player actions** - Story through doing
88
+ - **UI elements** - Quest logs, journals, etc.
89
+
90
+ **Balance considerations:**
91
+
92
+ - Show vs. tell - How much is shown vs. explained?
93
+ - Interruption tolerance - How often stop for story?
94
+ - Player control - Can players skip/speed up?
95
+
96
+ How will you deliver story during gameplay?"
97
+
98
+ ### 3. Optional Content Discovery
99
+
100
+ "**What narrative content is optional?**
101
+
102
+ **Optional content types:**
103
+
104
+ - **Side quests** - Optional story missions
105
+ - **Collectible lore** - World-building items
106
+ - **Optional conversations** - Extra NPC dialogue
107
+ - **Secret endings** - Hidden conclusions
108
+ - **Extended content** - Post-game, NG+, DLC hooks
109
+
110
+ What optional narrative content will {{game_name}} have?"
111
+
112
+ ### 4. Endings Discovery
113
+
114
+ "**If your game has multiple endings, describe them.**
115
+
116
+ **Ending considerations:**
117
+
118
+ - **How many endings?**
119
+ - **What determines the ending?** (choices, stats, completion)
120
+ - **Ending variety** - Minor variations vs. drastically different
121
+ - **True/golden ending** - Is there a "best" ending?
122
+ - **Replayability** - Can players see all endings?
123
+
124
+ Describe your ending structure (or indicate single ending):"
125
+
126
+ ### 5. Generate Delivery Content
127
+
128
+ Based on the conversation, prepare the content:
129
+
130
+ ```markdown
131
+ ## Narrative Delivery
132
+
133
+ ### Cutscenes
134
+
135
+ **Quantity:** {{cutscene_count}}
136
+ **Average Length:** {{typical_duration}}
137
+ **Style:** {{cutscene_style}}
138
+ **Skippable:** {{yes_no}}
139
+ **Interactive Elements:** {{if_any}}
140
+
141
+ **Major Cutscenes:**
142
+ {{list_of_major_cutscenes}}
143
+
144
+ ---
145
+
146
+ ### In-Game Storytelling
147
+
148
+ **Primary Methods:**
149
+ {{delivery_methods_list}}
150
+
151
+ **Show vs. Tell Balance:** {{balance_description}}
152
+
153
+ **Interruption Approach:** {{how_often_story_stops_gameplay}}
154
+
155
+ **Player Control:** {{skip_speedup_options}}
156
+
157
+ ---
158
+
159
+ ### Optional Content
160
+
161
+ {{for_each_optional_type}}
162
+ **{{content_type}}:**
163
+ {{description_and_scope}}
164
+ {{/for_each}}
165
+
166
+ ---
167
+
168
+ ### Ending Structure
169
+
170
+ {{if_multiple_endings}}
171
+ **Number of Endings:** {{ending_count}}
172
+
173
+ **Ending Triggers:** {{what_determines_ending}}
174
+
175
+ **Ending Variety:**
176
+ {{description_of_differences}}
177
+
178
+ **True Ending:** {{if_exists}}
179
+
180
+ **Replayability:** {{how_to_see_all}}
181
+ {{/if_multiple_endings}}
182
+
183
+ {{if_single_ending}}
184
+ **Ending Type:** Single ending
185
+ **Description:** {{ending_approach}}
186
+ {{/if_single_ending}}
187
+ ```
188
+
189
+ ### 6. Present Content and Menu
190
+
191
+ Show the generated content to the user and present:
192
+
193
+ "I've documented the narrative delivery approach.
194
+
195
+ **Here's what I'll add to the document:**
196
+
197
+ [Show the complete markdown content from step 5]
198
+
199
+ **Delivery Summary:**
200
+
201
+ - Cutscenes: {{count_or_none}}
202
+ - In-game methods: {{methods_list}}
203
+ - Optional content: {{types}}
204
+ - Endings: {{single_or_multiple}}
205
+
206
+ **Validation Check:**
207
+
208
+ - Is delivery method realistic for scope?
209
+ - Does it match your narrative complexity?
210
+ - Are endings meaningful?
211
+
212
+ **Select an Option:**
213
+ [A] Advanced Elicitation - Explore delivery methods
214
+ [P] Party Mode - Get perspectives on delivery approach
215
+ [C] Continue - Save this and move to Gameplay Integration (Step 9 of 11)"
216
+
217
+ ### 7. Handle Menu Selection
218
+
219
+ #### IF A (Advanced Elicitation):
220
+
221
+ - Execute {advancedElicitationTask} with the current content
222
+ - Ask user: "Accept these changes? (y/n)"
223
+ - If yes: Update content, return to A/P/C menu
224
+ - If no: Keep original, return to A/P/C menu
225
+
226
+ #### IF P (Party Mode):
227
+
228
+ - Execute {partyModeWorkflow} with the current content
229
+ - Ask user: "Accept these changes? (y/n)"
230
+ - If yes: Update content, return to A/P/C menu
231
+ - If no: Keep original, return to A/P/C menu
232
+
233
+ #### IF C (Continue):
234
+
235
+ - Append the final content to `{outputFile}`
236
+ - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8]`
237
+ - Load `{nextStepFile}`
238
+
239
+ ## CRITICAL STEP COMPLETION NOTE
240
+
241
+ ONLY WHEN [C continue option] is selected and [delivery content saved with frontmatter updated], will you then load and read fully `{nextStepFile}`.
242
+
243
+ ---
244
+
245
+ ## SYSTEM SUCCESS/FAILURE METRICS
246
+
247
+ ### SUCCESS:
248
+
249
+ - Cutscene approach defined
250
+ - In-game delivery methods established
251
+ - Optional content scoped
252
+ - Ending structure documented
253
+ - A/P/C menu presented and handled correctly
254
+ - Frontmatter updated with stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8]
255
+
256
+ ### SYSTEM FAILURE:
257
+
258
+ - Deciding delivery without user input
259
+ - Methods unrealistic for scope
260
+ - Missing ending documentation
261
+ - Not presenting A/P/C menu after content
262
+ - Proceeding without user selecting 'C'
263
+
264
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,254 @@
1
+ ---
2
+ name: 'step-09-integration'
3
+ description: 'Define how narrative integrates with gameplay including gating, agency, and ludonarrative harmony'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/2-design/narrative'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-09-integration.md'
10
+ nextStepFile: '{workflow_path}/steps/step-10-production.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ outputFile: '{output_folder}/narrative-design.md'
13
+
14
+ # Task References
15
+ advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
16
+ partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
17
+ ---
18
+
19
+ # Step 9: Gameplay Integration
20
+
21
+ **Progress: Step 9 of 11** - Next: Production Planning
22
+
23
+ ## STEP GOAL:
24
+
25
+ Define how narrative integrates with gameplay: story-gameplay connection, progression gating, and player agency within the narrative.
26
+
27
+ ## MANDATORY EXECUTION RULES (READ FIRST):
28
+
29
+ ### Universal Rules:
30
+
31
+ - NEVER generate content without user input
32
+ - CRITICAL: Read the complete step file before taking any action
33
+ - CRITICAL: When loading next step with 'C', ensure entire file is read
34
+ - YOU ARE A FACILITATOR, not a content generator
35
+ - NEVER mention time estimates
36
+
37
+ ### Role Reinforcement:
38
+
39
+ - You are a narrative design facilitator
40
+ - Ludonarrative harmony matters
41
+ - Story and gameplay should reinforce each other
42
+
43
+ ### Step-Specific Rules:
44
+
45
+ - FORBIDDEN to design integration without user input
46
+ - Consider player experience flow
47
+ - Address potential ludonarrative dissonance
48
+
49
+ ## EXECUTION PROTOCOLS:
50
+
51
+ - Show your analysis before taking any action
52
+ - Present A/P/C menu after generating content
53
+ - ONLY save when user chooses C (Continue)
54
+ - Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]` before loading next step
55
+
56
+ ## COLLABORATION MENUS (A/P/C):
57
+
58
+ - **A (Advanced Elicitation)**: Explore integration depth
59
+ - **P (Party Mode)**: Get perspectives on integration
60
+ - **C (Continue)**: Save the content and proceed
61
+
62
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
63
+
64
+ ### 1. Narrative-Gameplay Connection Discovery
65
+
66
+ "**How does narrative integrate with gameplay in {{game_name}}?**
67
+
68
+ **Integration questions:**
69
+
70
+ - Does story unlock new mechanics or abilities?
71
+ - Do mechanics reflect the themes?
72
+ - Is there harmony between what player DOES and what story SAYS?
73
+ - What's the balance of story vs. gameplay sections?
74
+
75
+ **Ludonarrative consideration:**
76
+ Games work best when mechanics and narrative tell the same story. A game about pacifism shouldn't require combat.
77
+
78
+ Describe how narrative and gameplay connect:"
79
+
80
+ ### 2. Story Gating Discovery
81
+
82
+ "**How does story gate progression?**
83
+
84
+ **Gating types:**
85
+
86
+ - **Hard gates** - Must complete story to proceed
87
+ - **Soft gates** - Story available but optional
88
+ - **Skill gates** - Narrative rewards for mastery
89
+ - **Exploration gates** - Story found through exploring
90
+
91
+ **Questions:**
92
+
93
+ - What areas are story-locked?
94
+ - What triggers cutscenes?
95
+ - What story beats are mandatory?
96
+ - What's optional vs. required?
97
+
98
+ How does story gate progress in {{game_name}}?"
99
+
100
+ ### 3. Player Agency Discovery
101
+
102
+ "**How much narrative agency does the player have?**
103
+
104
+ **Agency spectrum:**
105
+
106
+ - **Full agency** - Player creates their own story
107
+ - **Meaningful choices** - Player shapes outcomes
108
+ - **Flavor choices** - Player affects tone, not outcome
109
+ - **Witness** - Player observes a fixed story
110
+
111
+ **Questions:**
112
+
113
+ - Can player affect the story?
114
+ - Are choices meaningful or cosmetic?
115
+ - How much role-playing freedom?
116
+ - Is the narrative predetermined or dynamic?
117
+
118
+ Describe player agency in {{game_name}}:"
119
+
120
+ ### 4. Generate Integration Content
121
+
122
+ Based on the conversation, prepare the content:
123
+
124
+ ```markdown
125
+ ## Gameplay Integration
126
+
127
+ ### Narrative-Gameplay Connection
128
+
129
+ **Integration Approach:**
130
+ {{integration_description}}
131
+
132
+ **Mechanic-Theme Alignment:**
133
+ {{how_mechanics_reflect_themes}}
134
+
135
+ **Story-Gameplay Balance:**
136
+ {{balance_description}}
137
+
138
+ **Ludonarrative Considerations:**
139
+ {{harmony_or_dissonance_notes}}
140
+
141
+ ---
142
+
143
+ ### Story Gating
144
+
145
+ **Gating Approach:** {{gating_type}}
146
+
147
+ **Story-Locked Elements:**
148
+ {{what_requires_story_progress}}
149
+
150
+ **Cutscene Triggers:**
151
+ {{when_cutscenes_play}}
152
+
153
+ **Mandatory Story Beats:**
154
+ {{required_narrative_content}}
155
+
156
+ **Optional Narrative:**
157
+ {{skippable_content}}
158
+
159
+ ---
160
+
161
+ ### Player Agency
162
+
163
+ **Agency Level:** {{agency_type}}
164
+
165
+ **Player Influence:**
166
+ {{what_player_can_affect}}
167
+
168
+ **Choice System:**
169
+ {{if_has_choices}}
170
+
171
+ - Choice types: {{choice_types}}
172
+ - Consequence scope: {{how_choices_matter}}
173
+ - Timing: {{when_choices_occur}}
174
+ {{/if_has_choices}}
175
+
176
+ **Role-Playing Freedom:**
177
+ {{roleplay_options}}
178
+ ```
179
+
180
+ ### 5. Present Content and Menu
181
+
182
+ Show the generated content to the user and present:
183
+
184
+ "I've documented the gameplay-narrative integration.
185
+
186
+ **Here's what I'll add to the document:**
187
+
188
+ [Show the complete markdown content from step 4]
189
+
190
+ **Integration Summary:**
191
+
192
+ - Connection: {{integration_type}}
193
+ - Gating: {{gating_approach}}
194
+ - Agency: {{agency_level}}
195
+
196
+ **Validation Check:**
197
+
198
+ - Do mechanics support themes?
199
+ - Is gating appropriate for your game?
200
+ - Is agency level what you want?
201
+
202
+ **Select an Option:**
203
+ [A] Advanced Elicitation - Explore integration depth
204
+ [P] Party Mode - Get perspectives on integration
205
+ [C] Continue - Save this and move to Production Planning (Step 10 of 11)"
206
+
207
+ ### 6. Handle Menu Selection
208
+
209
+ #### IF A (Advanced Elicitation):
210
+
211
+ - Execute {advancedElicitationTask} with the current content
212
+ - Ask user: "Accept these changes? (y/n)"
213
+ - If yes: Update content, return to A/P/C menu
214
+ - If no: Keep original, return to A/P/C menu
215
+
216
+ #### IF P (Party Mode):
217
+
218
+ - Execute {partyModeWorkflow} with the current content
219
+ - Ask user: "Accept these changes? (y/n)"
220
+ - If yes: Update content, return to A/P/C menu
221
+ - If no: Keep original, return to A/P/C menu
222
+
223
+ #### IF C (Continue):
224
+
225
+ - Append the final content to `{outputFile}`
226
+ - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]`
227
+ - Load `{nextStepFile}`
228
+
229
+ ## CRITICAL STEP COMPLETION NOTE
230
+
231
+ ONLY WHEN [C continue option] is selected and [integration content saved with frontmatter updated], will you then load and read fully `{nextStepFile}`.
232
+
233
+ ---
234
+
235
+ ## SYSTEM SUCCESS/FAILURE METRICS
236
+
237
+ ### SUCCESS:
238
+
239
+ - Narrative-gameplay connection defined
240
+ - Gating structure documented
241
+ - Player agency level established
242
+ - Ludonarrative harmony considered
243
+ - A/P/C menu presented and handled correctly
244
+ - Frontmatter updated with stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]
245
+
246
+ ### SYSTEM FAILURE:
247
+
248
+ - Designing integration without user input
249
+ - Ignoring ludonarrative harmony
250
+ - Missing agency documentation
251
+ - Not presenting A/P/C menu after content
252
+ - Proceeding without user selecting 'C'
253
+
254
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.