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.
Files changed (251) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +3 -3
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +3 -3
  3. package/.github/workflows/discord.yaml +11 -2
  4. package/.github/workflows/format-check.yaml +42 -0
  5. package/.github/workflows/manual-release.yaml +173 -0
  6. package/.husky/pre-commit +3 -0
  7. package/.vscode/settings.json +26 -1
  8. package/CHANGELOG.md +2 -23
  9. package/README.md +2 -0
  10. package/bmad-core/agent-teams/team-all.yaml +1 -1
  11. package/bmad-core/agents/analyst.md +16 -15
  12. package/bmad-core/agents/architect.md +11 -11
  13. package/bmad-core/agents/bmad-master.md +23 -22
  14. package/bmad-core/agents/bmad-orchestrator.md +13 -17
  15. package/bmad-core/agents/dev.md +14 -11
  16. package/bmad-core/agents/pm.md +15 -14
  17. package/bmad-core/agents/po.md +9 -8
  18. package/bmad-core/agents/qa.md +42 -22
  19. package/bmad-core/agents/sm.md +7 -6
  20. package/bmad-core/agents/ux-expert.md +6 -5
  21. package/bmad-core/core-config.yaml +2 -0
  22. package/bmad-core/data/bmad-kb.md +1 -1
  23. package/bmad-core/data/test-levels-framework.md +146 -0
  24. package/bmad-core/data/test-priorities-matrix.md +172 -0
  25. package/bmad-core/tasks/apply-qa-fixes.md +148 -0
  26. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  27. package/bmad-core/tasks/nfr-assess.md +343 -0
  28. package/bmad-core/tasks/qa-gate.md +161 -0
  29. package/bmad-core/tasks/review-story.md +234 -74
  30. package/bmad-core/tasks/risk-profile.md +353 -0
  31. package/bmad-core/tasks/test-design.md +174 -0
  32. package/bmad-core/tasks/trace-requirements.md +264 -0
  33. package/bmad-core/templates/architecture-tmpl.yaml +49 -49
  34. package/bmad-core/templates/brainstorming-output-tmpl.yaml +5 -5
  35. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +31 -31
  36. package/bmad-core/templates/brownfield-prd-tmpl.yaml +13 -13
  37. package/bmad-core/templates/competitor-analysis-tmpl.yaml +19 -6
  38. package/bmad-core/templates/front-end-architecture-tmpl.yaml +21 -9
  39. package/bmad-core/templates/front-end-spec-tmpl.yaml +24 -24
  40. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +122 -104
  41. package/bmad-core/templates/market-research-tmpl.yaml +2 -2
  42. package/bmad-core/templates/prd-tmpl.yaml +9 -9
  43. package/bmad-core/templates/project-brief-tmpl.yaml +4 -4
  44. package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
  45. package/bmad-core/templates/story-tmpl.yaml +12 -12
  46. package/bmad-core/workflows/brownfield-fullstack.yaml +9 -9
  47. package/bmad-core/workflows/brownfield-service.yaml +1 -1
  48. package/bmad-core/workflows/brownfield-ui.yaml +1 -1
  49. package/bmad-core/workflows/greenfield-fullstack.yaml +1 -1
  50. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  51. package/bmad-core/workflows/greenfield-ui.yaml +1 -1
  52. package/common/utils/bmad-doc-template.md +5 -5
  53. package/dist/agents/analyst.txt +1086 -1079
  54. package/dist/agents/architect.txt +1534 -1526
  55. package/dist/agents/bmad-master.txt +646 -632
  56. package/dist/agents/bmad-orchestrator.txt +40 -18
  57. package/dist/agents/dev.txt +158 -19
  58. package/dist/agents/pm.txt +1082 -1107
  59. package/dist/agents/po.txt +314 -332
  60. package/dist/agents/qa.txt +1754 -151
  61. package/dist/agents/sm.txt +88 -98
  62. package/dist/agents/ux-expert.txt +80 -87
  63. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +109 -146
  64. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +75 -86
  65. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +41 -48
  66. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +1903 -1941
  67. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +15 -50
  68. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +149 -195
  69. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -15
  70. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +20 -37
  71. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +2660 -2752
  72. package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +871 -0
  73. package/dist/expansion-packs/bmad-creative-writing/agents/book-critic.txt +78 -0
  74. package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +839 -0
  75. package/dist/expansion-packs/bmad-creative-writing/agents/cover-designer.txt +85 -0
  76. package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +861 -0
  77. package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +796 -0
  78. package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +927 -0
  79. package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +842 -0
  80. package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +1126 -0
  81. package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +864 -0
  82. package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +5917 -0
  83. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +25 -27
  84. package/dist/teams/team-all.txt +5541 -3768
  85. package/dist/teams/team-fullstack.txt +3014 -2987
  86. package/dist/teams/team-ide-minimal.txt +2219 -469
  87. package/dist/teams/team-no-ui.txt +2993 -2966
  88. package/docs/enhanced-ide-development-workflow.md +220 -15
  89. package/docs/user-guide.md +271 -18
  90. package/docs/versioning-and-releases.md +122 -44
  91. package/docs/working-in-the-brownfield.md +264 -31
  92. package/eslint.config.mjs +119 -0
  93. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +4 -4
  94. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +1 -1
  95. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  96. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +26 -28
  97. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +50 -50
  98. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +23 -23
  99. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +24 -24
  100. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +42 -42
  101. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  102. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  103. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +1 -1
  104. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +3 -3
  105. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
  106. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +1 -1
  107. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +23 -23
  108. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +63 -63
  109. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +20 -20
  110. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  111. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  112. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +1 -1
  113. package/expansion-packs/bmad-creative-writing/README.md +132 -0
  114. package/expansion-packs/bmad-creative-writing/agent-teams/agent-team.yaml +19 -0
  115. package/expansion-packs/bmad-creative-writing/agents/beta-reader.md +91 -0
  116. package/expansion-packs/bmad-creative-writing/agents/book-critic.md +35 -0
  117. package/expansion-packs/bmad-creative-writing/agents/character-psychologist.md +90 -0
  118. package/expansion-packs/bmad-creative-writing/agents/cover-designer.md +41 -0
  119. package/expansion-packs/bmad-creative-writing/agents/dialog-specialist.md +89 -0
  120. package/expansion-packs/bmad-creative-writing/agents/editor.md +90 -0
  121. package/expansion-packs/bmad-creative-writing/agents/genre-specialist.md +92 -0
  122. package/expansion-packs/bmad-creative-writing/agents/narrative-designer.md +90 -0
  123. package/expansion-packs/bmad-creative-writing/agents/plot-architect.md +92 -0
  124. package/expansion-packs/bmad-creative-writing/agents/world-builder.md +91 -0
  125. package/expansion-packs/bmad-creative-writing/checklists/beta-feedback-closure-checklist.md +16 -0
  126. package/expansion-packs/bmad-creative-writing/checklists/character-consistency-checklist.md +16 -0
  127. package/expansion-packs/bmad-creative-writing/checklists/comedic-timing-checklist.md +16 -0
  128. package/expansion-packs/bmad-creative-writing/checklists/cyberpunk-aesthetic-checklist.md +16 -0
  129. package/expansion-packs/bmad-creative-writing/checklists/ebook-formatting-checklist.md +15 -0
  130. package/expansion-packs/bmad-creative-writing/checklists/epic-poetry-meter-checklist.md +16 -0
  131. package/expansion-packs/bmad-creative-writing/checklists/fantasy-magic-system-checklist.md +16 -0
  132. package/expansion-packs/bmad-creative-writing/checklists/foreshadowing-payoff-checklist.md +15 -0
  133. package/expansion-packs/bmad-creative-writing/checklists/genre-tropes-checklist.md +15 -0
  134. package/expansion-packs/bmad-creative-writing/checklists/historical-accuracy-checklist.md +16 -0
  135. package/expansion-packs/bmad-creative-writing/checklists/horror-suspense-checklist.md +16 -0
  136. package/expansion-packs/bmad-creative-writing/checklists/kdp-cover-ready-checklist.md +18 -0
  137. package/expansion-packs/bmad-creative-writing/checklists/line-edit-quality-checklist.md +16 -0
  138. package/expansion-packs/bmad-creative-writing/checklists/marketing-copy-checklist.md +16 -0
  139. package/expansion-packs/bmad-creative-writing/checklists/mystery-clue-trail-checklist.md +16 -0
  140. package/expansion-packs/bmad-creative-writing/checklists/orbital-mechanics-checklist.md +16 -0
  141. package/expansion-packs/bmad-creative-writing/checklists/plot-structure-checklist.md +49 -0
  142. package/expansion-packs/bmad-creative-writing/checklists/publication-readiness-checklist.md +16 -0
  143. package/expansion-packs/bmad-creative-writing/checklists/romance-emotional-beats-checklist.md +16 -0
  144. package/expansion-packs/bmad-creative-writing/checklists/scene-quality-checklist.md +16 -0
  145. package/expansion-packs/bmad-creative-writing/checklists/scifi-technology-plausibility-checklist.md +15 -0
  146. package/expansion-packs/bmad-creative-writing/checklists/sensitivity-representation-checklist.md +16 -0
  147. package/expansion-packs/bmad-creative-writing/checklists/steampunk-gadget-checklist.md +16 -0
  148. package/expansion-packs/bmad-creative-writing/checklists/thriller-pacing-stakes-checklist.md +16 -0
  149. package/expansion-packs/bmad-creative-writing/checklists/timeline-continuity-checklist.md +16 -0
  150. package/expansion-packs/bmad-creative-writing/checklists/world-building-continuity-checklist.md +16 -0
  151. package/expansion-packs/bmad-creative-writing/checklists/ya-appropriateness-checklist.md +16 -0
  152. package/expansion-packs/bmad-creative-writing/config.yaml +11 -0
  153. package/expansion-packs/bmad-creative-writing/data/bmad-kb.md +197 -0
  154. package/expansion-packs/bmad-creative-writing/data/story-structures.md +58 -0
  155. package/expansion-packs/bmad-creative-writing/docs/brief.md +183 -0
  156. package/expansion-packs/bmad-creative-writing/tasks/advanced-elicitation.md +117 -0
  157. package/expansion-packs/bmad-creative-writing/tasks/analyze-reader-feedback.md +16 -0
  158. package/expansion-packs/bmad-creative-writing/tasks/analyze-story-structure.md +55 -0
  159. package/expansion-packs/bmad-creative-writing/tasks/assemble-kdp-package.md +22 -0
  160. package/expansion-packs/bmad-creative-writing/tasks/brainstorm-premise.md +16 -0
  161. package/expansion-packs/bmad-creative-writing/tasks/build-world.md +17 -0
  162. package/expansion-packs/bmad-creative-writing/tasks/character-depth-pass.md +15 -0
  163. package/expansion-packs/bmad-creative-writing/tasks/create-doc.md +101 -0
  164. package/expansion-packs/bmad-creative-writing/tasks/create-draft-section.md +19 -0
  165. package/expansion-packs/bmad-creative-writing/tasks/critical-review.md +19 -0
  166. package/expansion-packs/bmad-creative-writing/tasks/develop-character.md +17 -0
  167. package/expansion-packs/bmad-creative-writing/tasks/execute-checklist.md +93 -0
  168. package/expansion-packs/bmad-creative-writing/tasks/expand-premise.md +16 -0
  169. package/expansion-packs/bmad-creative-writing/tasks/expand-synopsis.md +16 -0
  170. package/expansion-packs/bmad-creative-writing/tasks/final-polish.md +16 -0
  171. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-brief.md +18 -0
  172. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-prompts.md +19 -0
  173. package/expansion-packs/bmad-creative-writing/tasks/generate-scene-list.md +16 -0
  174. package/expansion-packs/bmad-creative-writing/tasks/incorporate-feedback.md +18 -0
  175. package/expansion-packs/bmad-creative-writing/tasks/outline-scenes.md +16 -0
  176. package/expansion-packs/bmad-creative-writing/tasks/provide-feedback.md +17 -0
  177. package/expansion-packs/bmad-creative-writing/tasks/publish-chapter.md +16 -0
  178. package/expansion-packs/bmad-creative-writing/tasks/quick-feedback.md +15 -0
  179. package/expansion-packs/bmad-creative-writing/tasks/select-next-arc.md +16 -0
  180. package/expansion-packs/bmad-creative-writing/tasks/workshop-dialog.md +51 -0
  181. package/expansion-packs/bmad-creative-writing/templates/beta-feedback-form.yaml +96 -0
  182. package/expansion-packs/bmad-creative-writing/templates/chapter-draft-tmpl.yaml +81 -0
  183. package/expansion-packs/bmad-creative-writing/templates/character-profile-tmpl.yaml +92 -0
  184. package/expansion-packs/bmad-creative-writing/templates/cover-design-brief-tmpl.yaml +97 -0
  185. package/expansion-packs/bmad-creative-writing/templates/premise-brief-tmpl.yaml +77 -0
  186. package/expansion-packs/bmad-creative-writing/templates/scene-list-tmpl.yaml +54 -0
  187. package/expansion-packs/bmad-creative-writing/templates/story-outline-tmpl.yaml +96 -0
  188. package/expansion-packs/bmad-creative-writing/templates/world-guide-tmpl.yaml +88 -0
  189. package/expansion-packs/bmad-creative-writing/workflows/book-cover-design-workflow.md +176 -0
  190. package/expansion-packs/bmad-creative-writing/workflows/novel-greenfield-workflow.yaml +58 -0
  191. package/expansion-packs/bmad-creative-writing/workflows/novel-serial-workflow.yaml +51 -0
  192. package/expansion-packs/bmad-creative-writing/workflows/novel-snowflake-workflow.yaml +69 -0
  193. package/expansion-packs/bmad-creative-writing/workflows/novel-writing.yaml +92 -0
  194. package/expansion-packs/bmad-creative-writing/workflows/screenplay-development.yaml +86 -0
  195. package/expansion-packs/bmad-creative-writing/workflows/series-planning.yaml +79 -0
  196. package/expansion-packs/bmad-creative-writing/workflows/short-story-creation.yaml +65 -0
  197. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  198. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +20 -20
  199. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +7 -7
  200. package/package.json +62 -39
  201. package/prettier.config.mjs +32 -0
  202. package/sync-version.sh +23 -0
  203. package/tools/bmad-npx-wrapper.js +10 -10
  204. package/tools/builders/web-builder.js +124 -130
  205. package/tools/bump-all-versions.js +42 -33
  206. package/tools/bump-expansion-version.js +23 -16
  207. package/tools/cli.js +10 -12
  208. package/tools/flattener/aggregate.js +10 -10
  209. package/tools/flattener/binary.js +44 -17
  210. package/tools/flattener/discovery.js +19 -18
  211. package/tools/flattener/files.js +6 -6
  212. package/tools/flattener/ignoreRules.js +125 -125
  213. package/tools/flattener/main.js +426 -70
  214. package/tools/flattener/projectRoot.js +186 -25
  215. package/tools/flattener/prompts.js +9 -9
  216. package/tools/flattener/stats.helpers.js +395 -0
  217. package/tools/flattener/stats.js +64 -14
  218. package/tools/flattener/test-matrix.js +413 -0
  219. package/tools/flattener/xml.js +33 -31
  220. package/tools/installer/bin/bmad.js +156 -113
  221. package/tools/installer/config/ide-agent-config.yaml +1 -1
  222. package/tools/installer/config/install.config.yaml +13 -3
  223. package/tools/installer/lib/config-loader.js +46 -42
  224. package/tools/installer/lib/file-manager.js +91 -113
  225. package/tools/installer/lib/ide-base-setup.js +57 -56
  226. package/tools/installer/lib/ide-setup.js +545 -399
  227. package/tools/installer/lib/installer.js +875 -714
  228. package/tools/installer/lib/memory-profiler.js +54 -53
  229. package/tools/installer/lib/module-manager.js +19 -15
  230. package/tools/installer/lib/resource-locator.js +26 -28
  231. package/tools/installer/package.json +19 -19
  232. package/tools/lib/dependency-resolver.js +26 -30
  233. package/tools/lib/yaml-utils.js +7 -7
  234. package/tools/preview-release-notes.js +66 -0
  235. package/tools/shared/bannerArt.js +3 -3
  236. package/tools/sync-installer-version.js +7 -9
  237. package/tools/update-expansion-version.js +14 -15
  238. package/tools/upgraders/v3-to-v4-upgrader.js +203 -294
  239. package/tools/version-bump.js +41 -26
  240. package/tools/yaml-format.js +56 -43
  241. package/.github/workflows/release.yaml +0 -60
  242. package/.releaserc.json +0 -21
  243. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/Complete AI Agent System - Flowchart.svg +0 -102
  244. 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
  245. 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
  246. 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
  247. 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
  248. 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
  249. 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
  250. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +0 -109
  251. package/tools/semantic-release-sync-installer.js +0 -30
@@ -0,0 +1,15 @@
1
+ # ------------------------------------------------------------
2
+ # 9. Character Depth Pass
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: character-depth-pass
7
+ name: Character Depth Pass
8
+ description: Enrich character profiles with backstory and arc details.
9
+ persona_default: character-psychologist
10
+ inputs:
11
+ - character-summaries.md
12
+ steps:
13
+ - For each character, add formative events, internal conflicts, arc milestones.
14
+ output: characters.md
15
+ ...
@@ -0,0 +1,101 @@
1
+ # Create Document from Template (YAML Driven)
2
+
3
+ ## ⚠️ CRITICAL EXECUTION NOTICE ⚠️
4
+
5
+ **THIS IS AN EXECUTABLE WORKFLOW - NOT REFERENCE MATERIAL**
6
+
7
+ When this task is invoked:
8
+
9
+ 1. **DISABLE ALL EFFICIENCY OPTIMIZATIONS** - This workflow requires full user interaction
10
+ 2. **MANDATORY STEP-BY-STEP EXECUTION** - Each section must be processed sequentially with user feedback
11
+ 3. **ELICITATION IS REQUIRED** - When `elicit: true`, you MUST use the 1-9 format and wait for user response
12
+ 4. **NO SHORTCUTS ALLOWED** - Complete documents cannot be created without following this workflow
13
+
14
+ **VIOLATION INDICATOR:** If you create a complete document without user interaction, you have violated this workflow.
15
+
16
+ ## Critical: Template Discovery
17
+
18
+ If a YAML Template has not been provided, list all templates from .bmad-creative-writing/templates or ask the user to provide another.
19
+
20
+ ## CRITICAL: Mandatory Elicitation Format
21
+
22
+ **When `elicit: true`, this is a HARD STOP requiring user interaction:**
23
+
24
+ **YOU MUST:**
25
+
26
+ 1. Present section content
27
+ 2. Provide detailed rationale (explain trade-offs, assumptions, decisions made)
28
+ 3. **STOP and present numbered options 1-9:**
29
+ - **Option 1:** Always "Proceed to next section"
30
+ - **Options 2-9:** Select 8 methods from data/elicitation-methods
31
+ - End with: "Select 1-9 or just type your question/feedback:"
32
+ 4. **WAIT FOR USER RESPONSE** - Do not proceed until user selects option or provides feedback
33
+
34
+ **WORKFLOW VIOLATION:** Creating content for elicit=true sections without user interaction violates this task.
35
+
36
+ **NEVER ask yes/no questions or use any other format.**
37
+
38
+ ## Processing Flow
39
+
40
+ 1. **Parse YAML template** - Load template metadata and sections
41
+ 2. **Set preferences** - Show current mode (Interactive), confirm output file
42
+ 3. **Process each section:**
43
+ - Skip if condition unmet
44
+ - Check agent permissions (owner/editors) - note if section is restricted to specific agents
45
+ - Draft content using section instruction
46
+ - Present content + detailed rationale
47
+ - **IF elicit: true** → MANDATORY 1-9 options format
48
+ - Save to file if possible
49
+ 4. **Continue until complete**
50
+
51
+ ## Detailed Rationale Requirements
52
+
53
+ When presenting section content, ALWAYS include rationale that explains:
54
+
55
+ - Trade-offs and choices made (what was chosen over alternatives and why)
56
+ - Key assumptions made during drafting
57
+ - Interesting or questionable decisions that need user attention
58
+ - Areas that might need validation
59
+
60
+ ## Elicitation Results Flow
61
+
62
+ After user selects elicitation method (2-9):
63
+
64
+ 1. Execute method from data/elicitation-methods
65
+ 2. Present results with insights
66
+ 3. Offer options:
67
+ - **1. Apply changes and update section**
68
+ - **2. Return to elicitation menu**
69
+ - **3. Ask any questions or engage further with this elicitation**
70
+
71
+ ## Agent Permissions
72
+
73
+ When processing sections with agent permission fields:
74
+
75
+ - **owner**: Note which agent role initially creates/populates the section
76
+ - **editors**: List agent roles allowed to modify the section
77
+ - **readonly**: Mark sections that cannot be modified after creation
78
+
79
+ **For sections with restricted access:**
80
+
81
+ - Include a note in the generated document indicating the responsible agent
82
+ - Example: "_(This section is owned by dev-agent and can only be modified by dev-agent)_"
83
+
84
+ ## YOLO Mode
85
+
86
+ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
87
+
88
+ ## CRITICAL REMINDERS
89
+
90
+ **❌ NEVER:**
91
+
92
+ - Ask yes/no questions for elicitation
93
+ - Use any format other than 1-9 numbered options
94
+ - Create new elicitation methods
95
+
96
+ **✅ ALWAYS:**
97
+
98
+ - Use exact 1-9 format when elicit: true
99
+ - Select options 2-9 from data/elicitation-methods only
100
+ - Provide detailed rationale explaining decisions
101
+ - End with "Select 1-9 or just type your question/feedback:"
@@ -0,0 +1,19 @@
1
+ # ------------------------------------------------------------
2
+ # 4. Create Draft Section (Chapter)
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: create-draft-section
7
+ name: Create Draft Section
8
+ description: Draft a complete chapter or scene using the chapter-draft-tmpl.
9
+ persona_default: editor
10
+ inputs:
11
+ - story-outline.md | snowflake-outline.md | scene-list.md | release-plan.md
12
+ parameters:
13
+ chapter_number: integer
14
+ steps:
15
+ - Extract scene beats for the chapter.
16
+ - Draft chapter using template placeholders.
17
+ - Highlight dialogue blocks for later polishing.
18
+ output: chapter-{{chapter_number}}-draft.md
19
+ ...
@@ -0,0 +1,19 @@
1
+ # ------------------------------------------------------------
2
+ # Critical Review Task
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: critical-review
7
+ name: Critical Review
8
+ description: Comprehensive professional critique using critic-review-tmpl and rubric checklist.
9
+ persona_default: book-critic
10
+ inputs:
11
+ - manuscript file (e.g., draft-manuscript.md or chapter file)
12
+ steps:
13
+ - If audience/genre not provided, prompt user for details.
14
+ - Read manuscript (or excerpt) for holistic understanding.
15
+ - Fill **critic-review-tmpl** with category scores and commentary.
16
+ - Execute **checklists/critic-rubric-checklist** to spot omissions; revise output if any boxes unchecked.
17
+ - Present final review to user.
18
+ output: critic-review.md
19
+ ...
@@ -0,0 +1,17 @@
1
+ # ------------------------------------------------------------
2
+ # 3. Develop Character
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: develop-character
7
+ name: Develop Character
8
+ description: Produce rich character profiles with goals, flaws, arcs, and voice notes.
9
+ persona_default: character-psychologist
10
+ inputs:
11
+ - concept-brief.md
12
+ steps:
13
+ - Identify protagonist(s), antagonist(s), key side characters.
14
+ - For each, fill character-profile-tmpl.
15
+ - Offer advanced‑elicitation for each profile.
16
+ output: characters.md
17
+ ...
@@ -0,0 +1,93 @@
1
+ # Checklist Validation Task
2
+
3
+ This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
4
+
5
+ ## Available Checklists
6
+
7
+ If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the {root}/checklists folder to select the appropriate one to run.
8
+
9
+ ## Instructions
10
+
11
+ 1. **Initial Assessment**
12
+
13
+ - If user or the task being run provides a checklist name:
14
+ - Try fuzzy matching (e.g. "plot checklist" -> "plot-structure-checklist")
15
+ - If multiple matches found, ask user to clarify
16
+ - Load the appropriate checklist from {root}/checklists/
17
+ - If no checklist specified:
18
+ - Ask the user which checklist they want to use
19
+ - Present the available options from the files in the checklists folder
20
+ - Confirm if they want to work through the checklist:
21
+ - Section by section (interactive mode - very time consuming)
22
+ - All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
23
+
24
+ 2. **Document and Artifact Gathering**
25
+
26
+ - Each checklist will specify its required documents/artifacts at the beginning
27
+ - Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
28
+
29
+ 3. **Checklist Processing**
30
+
31
+ If in interactive mode:
32
+
33
+ - Work through each section of the checklist one at a time
34
+ - For each section:
35
+ - Review all items in the section following instructions for that section embedded in the checklist
36
+ - Check each item against the relevant documentation or artifacts as appropriate
37
+ - Present summary of findings for that section, highlighting warnings, errors and non applicable items (rationale for non-applicability).
38
+ - Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
39
+
40
+ If in YOLO mode:
41
+
42
+ - Process all sections at once
43
+ - Create a comprehensive report of all findings
44
+ - Present the complete analysis to the user
45
+
46
+ 4. **Validation Approach**
47
+
48
+ For each checklist item:
49
+
50
+ - Read and understand the requirement
51
+ - Look for evidence in the documentation that satisfies the requirement
52
+ - Consider both explicit mentions and implicit coverage
53
+ - Aside from this, follow all checklist llm instructions
54
+ - Mark items as:
55
+ - ✅ PASS: Requirement clearly met
56
+ - ❌ FAIL: Requirement not met or insufficient coverage
57
+ - ⚠️ PARTIAL: Some aspects covered but needs improvement
58
+ - N/A: Not applicable to this case
59
+
60
+ 5. **Section Analysis**
61
+
62
+ For each section:
63
+
64
+ - think step by step to calculate pass rate
65
+ - Identify common themes in failed items
66
+ - Provide specific recommendations for improvement
67
+ - In interactive mode, discuss findings with user
68
+ - Document any user decisions or explanations
69
+
70
+ 6. **Final Report**
71
+
72
+ Prepare a summary that includes:
73
+
74
+ - Overall checklist completion status
75
+ - Pass rates by section
76
+ - List of failed items with context
77
+ - Specific recommendations for improvement
78
+ - Any sections or items marked as N/A with justification
79
+
80
+ ## Checklist Execution Methodology
81
+
82
+ Each checklist now contains embedded LLM prompts and instructions that will:
83
+
84
+ 1. **Guide thorough thinking** - Prompts ensure deep analysis of each section
85
+ 2. **Request specific artifacts** - Clear instructions on what documents/access is needed
86
+ 3. **Provide contextual guidance** - Section-specific prompts for better validation
87
+ 4. **Generate comprehensive reports** - Final summary with detailed findings
88
+
89
+ The LLM will:
90
+
91
+ - Execute the complete checklist validation
92
+ - Present a final report with pass/fail rates and key findings
93
+ - Offer to provide detailed analysis of any section, especially those with warnings or failures
@@ -0,0 +1,16 @@
1
+ # ------------------------------------------------------------
2
+ # 7. Expand Premise (Snowflake Step 2)
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: expand-premise
7
+ name: Expand Premise
8
+ description: Turn a 1‑sentence idea into a 1‑paragraph summary.
9
+ persona_default: plot-architect
10
+ inputs:
11
+ - premise.txt
12
+ steps:
13
+ - Ask for genre confirmation.
14
+ - Draft one paragraph (~5 sentences) covering protagonist, conflict, stakes.
15
+ output: premise-paragraph.md
16
+ ...
@@ -0,0 +1,16 @@
1
+ # ------------------------------------------------------------
2
+ # 8. Expand Synopsis (Snowflake Step 4)
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: expand-synopsis
7
+ name: Expand Synopsis
8
+ description: Build a 1‑page synopsis from the paragraph summary.
9
+ persona_default: plot-architect
10
+ inputs:
11
+ - premise-paragraph.md
12
+ steps:
13
+ - Outline three‑act structure in prose.
14
+ - Keep under 700 words.
15
+ output: synopsis.md
16
+ ...
@@ -0,0 +1,16 @@
1
+ # ------------------------------------------------------------
2
+ # 14. Final Polish
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: final-polish
7
+ name: Final Polish
8
+ description: Line‑edit for style, clarity, grammar.
9
+ persona_default: editor
10
+ inputs:
11
+ - chapter-dialog.md | polished-manuscript.md
12
+ steps:
13
+ - Correct grammar and tighten prose.
14
+ - Ensure consistent voice.
15
+ output: chapter-final.md | final-manuscript.md
16
+ ...
@@ -0,0 +1,18 @@
1
+ # ------------------------------------------------------------
2
+ # tasks/generate-cover-brief.md
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: generate-cover-brief
7
+ name: Generate Cover Brief
8
+ description: Interactive questionnaire that captures all creative and technical parameters for the cover.
9
+ persona_default: cover-designer
10
+ steps:
11
+ - Ask for title, subtitle, author name, series info.
12
+ - Ask for genre, target audience, comparable titles.
13
+ - Ask for trim size (e.g., 6"x9"), page count, paper color.
14
+ - Ask for mood keywords, primary imagery, color palette.
15
+ - Ask what should appear on back cover (blurb, reviews, author bio, ISBN location).
16
+ - Fill cover-design-brief-tmpl with collected info.
17
+ output: cover-brief.md
18
+ ...
@@ -0,0 +1,19 @@
1
+ # ------------------------------------------------------------
2
+ # tasks/generate-cover-prompts.md
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: generate-cover-prompts
7
+ name: Generate Cover Prompts
8
+ description: Produce AI image generator prompts for front cover artwork plus typography guidance.
9
+ persona_default: cover-designer
10
+ inputs:
11
+ - cover-brief.md
12
+ steps:
13
+ - Extract mood, genre, imagery from brief.
14
+ - Draft 3‑5 alternative stable diffusion / DALL·E prompts (include style, lens, color keywords).
15
+ - Specify safe negative prompts.
16
+ - Provide font pairing suggestions (Google Fonts) matching genre.
17
+ - Output prompts and typography guidance to cover-prompts.md.
18
+ output: cover-prompts.md
19
+ ...
@@ -0,0 +1,16 @@
1
+ # ------------------------------------------------------------
2
+ # 10. Generate Scene List
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: generate-scene-list
7
+ name: Generate Scene List
8
+ description: Break synopsis into a numbered list of scenes.
9
+ persona_default: plot-architect
10
+ inputs:
11
+ - synopsis.md | story-outline.md
12
+ steps:
13
+ - Identify key beats.
14
+ - Fill scene-list-tmpl table.
15
+ output: scene-list.md
16
+ ...
@@ -0,0 +1,18 @@
1
+ # ------------------------------------------------------------
2
+ # 6. Incorporate Feedback
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: incorporate-feedback
7
+ name: Incorporate Feedback
8
+ description: Merge beta feedback into manuscript; accept, reject, or revise.
9
+ persona_default: editor
10
+ inputs:
11
+ - draft-manuscript.md
12
+ - beta-notes.md
13
+ steps:
14
+ - Summarize actionable changes.
15
+ - Apply revisions inline.
16
+ - Mark resolved comments.
17
+ output: polished-manuscript.md
18
+ ...
@@ -0,0 +1,16 @@
1
+ # ------------------------------------------------------------
2
+ # 11. Outline Scenes
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: outline-scenes
7
+ name: Outline Scenes
8
+ description: Group scene list into chapters with act structure.
9
+ persona_default: plot-architect
10
+ inputs:
11
+ - scene-list.md
12
+ steps:
13
+ - Assign scenes to chapters.
14
+ - Produce snowflake-outline.md with headings per chapter.
15
+ output: snowflake-outline.md
16
+ ...
@@ -0,0 +1,17 @@
1
+ # ------------------------------------------------------------
2
+ # 5. Provide Feedback (Beta)
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: provide-feedback
7
+ name: Provide Feedback (Beta)
8
+ description: Simulate beta‑reader feedback using beta-feedback-form-tmpl.
9
+ persona_default: beta-reader
10
+ inputs:
11
+ - draft-manuscript.md | chapter-draft.md
12
+ steps:
13
+ - Read provided text.
14
+ - Fill feedback form objectively.
15
+ - Save as beta-notes.md or chapter-notes.md.
16
+ output: beta-notes.md
17
+ ...
@@ -0,0 +1,16 @@
1
+ # ------------------------------------------------------------
2
+ # 15. Publish Chapter
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: publish-chapter
7
+ name: Publish Chapter
8
+ description: Format and log a chapter release.
9
+ persona_default: editor
10
+ inputs:
11
+ - chapter-final.md
12
+ steps:
13
+ - Generate front/back matter as needed.
14
+ - Append entry to publication-log.md (date, URL).
15
+ output: publication-log.md
16
+ ...
@@ -0,0 +1,15 @@
1
+ # ------------------------------------------------------------
2
+ # 13. Quick Feedback (Serial)
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: quick-feedback
7
+ name: Quick Feedback (Serial)
8
+ description: Fast beta feedback focused on pacing and hooks.
9
+ persona_default: beta-reader
10
+ inputs:
11
+ - chapter-dialog.md
12
+ steps:
13
+ - Use condensed beta-feedback-form.
14
+ output: chapter-notes.md
15
+ ...
@@ -0,0 +1,16 @@
1
+ # ------------------------------------------------------------
2
+ # 12. Select Next Arc (Serial)
3
+ # ------------------------------------------------------------
4
+ ---
5
+ task:
6
+ id: select-next-arc
7
+ name: Select Next Arc
8
+ description: Choose the next 2–4‑chapter arc for serial publication.
9
+ persona_default: plot-architect
10
+ inputs:
11
+ - retrospective data (retro.md) | snowflake-outline.md
12
+ steps:
13
+ - Analyze reader feedback.
14
+ - Update release-plan.md with upcoming beats.
15
+ output: release-plan.md
16
+ ...
@@ -0,0 +1,51 @@
1
+ # Workshop Dialog
2
+
3
+ ## Purpose
4
+ Refine dialog for authenticity, character voice, and dramatic effectiveness.
5
+
6
+ ## Process
7
+
8
+ ### 1. Voice Audit
9
+ For each character, assess:
10
+ - Vocabulary level and word choice
11
+ - Sentence structure preferences
12
+ - Speech rhythms and patterns
13
+ - Catchphrases or verbal tics
14
+ - Educational/cultural markers
15
+ - Emotional expression style
16
+
17
+ ### 2. Subtext Analysis
18
+ For each exchange:
19
+ - What's being said directly
20
+ - What's really being communicated
21
+ - Power dynamics at play
22
+ - Emotional undercurrents
23
+ - Character objectives
24
+ - Obstacles to directness
25
+
26
+ ### 3. Flow Enhancement
27
+ - Remove unnecessary dialogue tags
28
+ - Vary attribution methods
29
+ - Add action beats
30
+ - Incorporate silence/pauses
31
+ - Balance dialog with narrative
32
+ - Ensure natural interruptions
33
+ ### 4. Conflict Injection
34
+ Where dialog lacks tension:
35
+ - Add opposing goals
36
+ - Insert misunderstandings
37
+ - Create subtext conflicts
38
+ - Use indirect responses
39
+ - Build through escalation
40
+ - Add environmental pressure
41
+
42
+ ### 5. Polish Pass
43
+ - Read aloud for rhythm
44
+ - Check period authenticity
45
+ - Verify character consistency
46
+ - Eliminate on-the-nose dialog
47
+ - Strengthen opening/closing lines
48
+ - Add distinctive character markers
49
+
50
+ ## Output
51
+ Refined dialog with stronger voices and dramatic impact
@@ -0,0 +1,96 @@
1
+ ---
2
+ template:
3
+ id: beta-feedback-form-tmpl
4
+ name: Beta Feedback Form
5
+ version: 1.0
6
+ description: Structured questionnaire for beta readers
7
+ output:
8
+ format: markdown
9
+ filename: "beta-feedback-{{reader_name}}.md"
10
+
11
+ workflow:
12
+ elicitation: true
13
+ allow_skip: true
14
+
15
+ sections:
16
+ - id: reader_info
17
+ title: Reader Information
18
+ instruction: |
19
+ Collect reader details:
20
+ - Reader name
21
+ - Reading experience level
22
+ - Genre preferences
23
+ - Date of feedback
24
+ elicit: true
25
+
26
+ - id: overall_impressions
27
+ title: Overall Impressions
28
+ instruction: |
29
+ Gather general reactions:
30
+ - What worked well overall
31
+ - What confused or bored you
32
+ - Most memorable moments
33
+ - Overall rating (1-10)
34
+ elicit: true
35
+
36
+ - id: characters
37
+ title: Character Feedback
38
+ instruction: |
39
+ Evaluate character development:
40
+ - Favorite character and why
41
+ - Least engaging character and why
42
+ - Character believability
43
+ - Character arc satisfaction
44
+ - Dialogue authenticity
45
+ elicit: true
46
+
47
+ - id: plot_pacing
48
+ title: Plot & Pacing
49
+ instruction: |
50
+ Assess story structure:
51
+ - High-point scenes
52
+ - Slowest sections
53
+ - Plot holes or confusion
54
+ - Pacing issues
55
+ - Predictability concerns
56
+ elicit: true
57
+
58
+ - id: world_setting
59
+ title: World & Setting
60
+ instruction: |
61
+ Review world-building:
62
+ - Setting clarity
63
+ - World consistency
64
+ - Immersion level
65
+ - Description balance
66
+ elicit: true
67
+
68
+ - id: emotional_response
69
+ title: Emotional Response
70
+ instruction: |
71
+ Document emotional impact:
72
+ - Strong emotions felt
73
+ - Scenes that moved you
74
+ - Connection to characters
75
+ - Satisfaction with ending
76
+ elicit: true
77
+
78
+ - id: technical_issues
79
+ title: Technical Issues
80
+ instruction: |
81
+ Note any technical problems:
82
+ - Grammar/spelling errors
83
+ - Continuity issues
84
+ - Formatting problems
85
+ - Confusing passages
86
+ elicit: true
87
+
88
+ - id: suggestions
89
+ title: Final Suggestions
90
+ instruction: |
91
+ Provide improvement recommendations:
92
+ - Top three improvements needed
93
+ - Would you recommend to others
94
+ - Comparison to similar books
95
+ - Additional comments
96
+ elicit: true