@zeyue0329/xiaoma-cli 1.0.48 → 6.0.0-alpha.13

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 (914) hide show
  1. package/README.md +0 -2
  2. package/custom/src/agents/commit-poet/commit-poet.agent.yaml +129 -0
  3. package/custom/src/agents/commit-poet/installation-guide.md +36 -0
  4. package/custom/src/agents/toolsmith/installation-guide.md +36 -0
  5. package/custom/src/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
  6. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
  7. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
  8. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
  9. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
  10. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +160 -0
  11. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
  12. package/custom/src/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
  13. package/custom/src/agents/toolsmith/toolsmith.agent.yaml +108 -0
  14. package/docs/BUNDLE_DISTRIBUTION_SETUP.md +95 -0
  15. package/docs/agent-customization-guide.md +208 -0
  16. package/docs/custom-agent-installation.md +183 -0
  17. package/docs/document-sharding-guide.md +449 -0
  18. package/docs/ide-info/auggie.md +31 -0
  19. package/docs/ide-info/claude-code.md +25 -0
  20. package/docs/ide-info/cline.md +31 -0
  21. package/docs/ide-info/codex.md +21 -0
  22. package/docs/ide-info/crush.md +30 -0
  23. package/docs/ide-info/cursor.md +25 -0
  24. package/docs/ide-info/gemini.md +25 -0
  25. package/docs/ide-info/github-copilot.md +26 -0
  26. package/docs/ide-info/iflow.md +33 -0
  27. package/docs/ide-info/kilo.md +24 -0
  28. package/docs/ide-info/opencode.md +24 -0
  29. package/docs/ide-info/qwen.md +25 -0
  30. package/docs/ide-info/roo.md +27 -0
  31. package/docs/ide-info/rovo-dev.md +388 -0
  32. package/docs/ide-info/trae.md +25 -0
  33. package/docs/ide-info/windsurf.md +22 -0
  34. package/docs/index.md +144 -0
  35. package/docs/installers-bundlers/ide-injections.md +186 -0
  36. package/docs/installers-bundlers/installers-modules-platforms-reference.md +379 -0
  37. package/docs/rag/rag.md +812 -0
  38. package/docs/v4-to-v6-upgrade.md +220 -0
  39. package/docs/v6-open-items.md +17 -0
  40. package/docs/web-bundles-gemini-gpt-guide.md +468 -0
  41. package/eslint.config.mjs +133 -0
  42. package/package.json +41 -51
  43. package/prettier.config.mjs +32 -0
  44. package/src/core/_module-installer/install-config.yaml +29 -0
  45. package/src/core/_module-installer/installer.js +60 -0
  46. package/src/core/agents/xiaoma-master.agent.yaml +39 -0
  47. package/src/core/agents/xiaoma-web-orchestrator.agent.xml +113 -0
  48. package/src/core/resources/excalidraw/README.md +160 -0
  49. package/src/core/resources/excalidraw/excalidraw-helpers.md +127 -0
  50. package/src/core/resources/excalidraw/library-loader.md +50 -0
  51. package/src/core/resources/excalidraw/validate-json-instructions.md +79 -0
  52. package/src/core/tasks/advanced-elicitation-methods.csv +51 -0
  53. package/src/core/tasks/advanced-elicitation.xml +116 -0
  54. package/src/core/tasks/index-docs.xml +65 -0
  55. package/src/core/tasks/validate-workflow.xml +89 -0
  56. package/src/core/tasks/workflow.xml +235 -0
  57. package/src/core/tools/shard-doc.xml +109 -0
  58. package/src/core/workflows/brainstorming/brain-methods.csv +62 -0
  59. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  60. package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  61. package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  62. package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  63. package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  64. package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  65. package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  66. package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  67. package/src/core/workflows/brainstorming/template.md +15 -0
  68. package/src/core/workflows/brainstorming/workflow.md +51 -0
  69. package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
  70. package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
  71. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +159 -0
  72. package/src/core/workflows/party-mode/workflow.md +207 -0
  73. package/src/modules/cis/_module-installer/install-config.yaml +16 -0
  74. package/src/modules/cis/_module-installer/installer.js +92 -0
  75. package/src/modules/cis/agents/README.md +104 -0
  76. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +29 -0
  77. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +29 -0
  78. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +29 -0
  79. package/src/modules/cis/agents/innovation-strategist.agent.yaml +29 -0
  80. package/src/modules/cis/agents/presentation-master.agent.yaml +61 -0
  81. package/src/modules/cis/agents/storyteller.agent.yaml +29 -0
  82. package/src/modules/cis/readme.md +153 -0
  83. package/src/modules/cis/teams/creative-squad.yaml +7 -0
  84. package/src/modules/cis/teams/default-party.csv +12 -0
  85. package/src/modules/cis/workflows/README.md +139 -0
  86. package/src/modules/cis/workflows/design-thinking/README.md +56 -0
  87. package/src/modules/cis/workflows/design-thinking/design-methods.csv +31 -0
  88. package/src/modules/cis/workflows/design-thinking/instructions.md +202 -0
  89. package/src/modules/cis/workflows/design-thinking/template.md +111 -0
  90. package/src/modules/cis/workflows/design-thinking/workflow.yaml +38 -0
  91. package/src/modules/cis/workflows/innovation-strategy/README.md +56 -0
  92. package/src/modules/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
  93. package/src/modules/cis/workflows/innovation-strategy/instructions.md +276 -0
  94. package/src/modules/cis/workflows/innovation-strategy/template.md +189 -0
  95. package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +38 -0
  96. package/src/modules/cis/workflows/problem-solving/README.md +56 -0
  97. package/src/modules/cis/workflows/problem-solving/instructions.md +252 -0
  98. package/src/modules/cis/workflows/problem-solving/solving-methods.csv +31 -0
  99. package/src/modules/cis/workflows/problem-solving/template.md +165 -0
  100. package/src/modules/cis/workflows/problem-solving/workflow.yaml +38 -0
  101. package/src/modules/cis/workflows/storytelling/README.md +58 -0
  102. package/src/modules/cis/workflows/storytelling/instructions.md +293 -0
  103. package/src/modules/cis/workflows/storytelling/story-types.csv +26 -0
  104. package/src/modules/cis/workflows/storytelling/template.md +113 -0
  105. package/src/modules/cis/workflows/storytelling/workflow.yaml +38 -0
  106. package/src/modules/xmb/README.md +261 -0
  107. package/src/modules/xmb/_module-installer/install-config.yaml +28 -0
  108. package/src/modules/xmb/agents/xiaoma-builder.agent.yaml +71 -0
  109. package/src/modules/xmb/docs/agents/agent-compilation.md +340 -0
  110. package/src/modules/xmb/docs/agents/agent-menu-patterns.md +524 -0
  111. package/src/modules/xmb/docs/agents/expert-agent-architecture.md +364 -0
  112. package/src/modules/xmb/docs/agents/index.md +55 -0
  113. package/src/modules/xmb/docs/agents/kb.csv +0 -0
  114. package/src/modules/xmb/docs/agents/module-agent-architecture.md +367 -0
  115. package/src/modules/xmb/docs/agents/simple-agent-architecture.md +288 -0
  116. package/src/modules/xmb/docs/agents/understanding-agent-types.md +184 -0
  117. package/src/modules/xmb/docs/workflows/architecture.md +220 -0
  118. package/src/modules/xmb/docs/workflows/common-workflow-tools.csv +19 -0
  119. package/src/modules/xmb/docs/workflows/csv-data-file-standards.md +206 -0
  120. package/src/modules/xmb/docs/workflows/index.md +45 -0
  121. package/src/modules/xmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
  122. package/src/modules/xmb/docs/workflows/kb.csv +0 -0
  123. package/src/modules/xmb/docs/workflows/step-template.md +283 -0
  124. package/src/modules/xmb/docs/workflows/terms.md +97 -0
  125. package/src/modules/xmb/docs/workflows/workflow-template.md +152 -0
  126. package/src/modules/xmb/reference/agents/expert-examples/journal-keeper/README.md +242 -0
  127. package/src/modules/xmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
  128. package/src/modules/xmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
  129. package/src/modules/xmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
  130. package/src/modules/xmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
  131. package/src/modules/xmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
  132. package/src/modules/xmb/reference/agents/module-examples/README.md +50 -0
  133. package/src/modules/xmb/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
  134. package/src/modules/xmb/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
  135. package/src/modules/xmb/reference/agents/simple-examples/README.md +223 -0
  136. package/src/modules/xmb/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
  137. package/src/modules/xmb/reference/readme.md +3 -0
  138. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  139. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  140. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  141. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  142. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  143. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  144. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  145. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  146. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  147. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  148. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  149. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  150. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  151. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  152. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  153. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  154. package/src/modules/xmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  155. package/src/modules/xmb/workflows/create-agent/data/agent-validation-checklist.md +174 -0
  156. package/src/modules/xmb/workflows/create-agent/data/brainstorm-context.md +153 -0
  157. package/src/modules/xmb/workflows/create-agent/data/communication-presets.csv +61 -0
  158. package/src/modules/xmb/workflows/create-agent/data/info-and-installation-guide.md +17 -0
  159. package/src/modules/xmb/workflows/create-agent/data/reference/README.md +3 -0
  160. package/src/modules/xmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
  161. package/src/modules/xmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
  162. package/src/modules/xmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
  163. package/src/modules/xmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
  164. package/src/modules/xmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
  165. package/src/modules/xmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
  166. package/src/modules/xmb/workflows/create-agent/data/reference/agents/module-examples/README.md +50 -0
  167. package/src/modules/xmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
  168. package/src/modules/xmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
  169. package/src/modules/xmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
  170. package/src/modules/xmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
  171. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  172. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  173. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  174. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  175. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  176. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  177. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  178. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  179. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  180. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  181. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  182. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  183. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  184. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  185. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  186. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  187. package/src/modules/xmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  188. package/src/modules/xmb/workflows/create-agent/data/validation-complete.md +305 -0
  189. package/src/modules/xmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
  190. package/src/modules/xmb/workflows/create-agent/steps/step-02-discover.md +210 -0
  191. package/src/modules/xmb/workflows/create-agent/steps/step-03-persona.md +260 -0
  192. package/src/modules/xmb/workflows/create-agent/steps/step-04-commands.md +237 -0
  193. package/src/modules/xmb/workflows/create-agent/steps/step-05-name.md +231 -0
  194. package/src/modules/xmb/workflows/create-agent/steps/step-06-build.md +224 -0
  195. package/src/modules/xmb/workflows/create-agent/steps/step-07-validate.md +234 -0
  196. package/src/modules/xmb/workflows/create-agent/steps/step-08-setup.md +179 -0
  197. package/src/modules/xmb/workflows/create-agent/steps/step-09-customize.md +197 -0
  198. package/src/modules/xmb/workflows/create-agent/steps/step-10-build-tools.md +180 -0
  199. package/src/modules/xmb/workflows/create-agent/steps/step-11-celebrate.md +222 -0
  200. package/src/modules/xmb/workflows/create-agent/templates/agent_commands.md +21 -0
  201. package/src/modules/xmb/workflows/create-agent/templates/agent_persona.md +25 -0
  202. package/src/modules/xmb/workflows/create-agent/templates/agent_purpose_and_type.md +23 -0
  203. package/src/modules/xmb/workflows/create-agent/workflow.md +91 -0
  204. package/src/modules/xmb/workflows/create-workflow/steps/step-01-init.md +168 -0
  205. package/src/modules/xmb/workflows/create-workflow/steps/step-02-gather.md +233 -0
  206. package/src/modules/xmb/workflows/create-workflow/steps/step-03-tools-overview.md +127 -0
  207. package/src/modules/xmb/workflows/create-workflow/steps/step-04-core-tools.md +145 -0
  208. package/src/modules/xmb/workflows/create-workflow/steps/step-05-memory-requirements.md +136 -0
  209. package/src/modules/xmb/workflows/create-workflow/steps/step-06-external-tools.md +154 -0
  210. package/src/modules/xmb/workflows/create-workflow/steps/step-07-installation-guidance.md +159 -0
  211. package/src/modules/xmb/workflows/create-workflow/steps/step-08-tools-summary.md +167 -0
  212. package/src/modules/xmb/workflows/create-workflow/steps/step-09-design.md +239 -0
  213. package/src/modules/xmb/workflows/create-workflow/steps/step-10-plan-review.md +215 -0
  214. package/src/modules/xmb/workflows/create-workflow/steps/step-11-build.md +262 -0
  215. package/src/modules/xmb/workflows/create-workflow/steps/step-12-review.md +270 -0
  216. package/src/modules/xmb/workflows/create-workflow/templates/build-summary.md +36 -0
  217. package/src/modules/xmb/workflows/create-workflow/templates/completion-section.md +39 -0
  218. package/src/modules/xmb/workflows/create-workflow/templates/content-template.md +21 -0
  219. package/src/modules/xmb/workflows/create-workflow/templates/design-section.md +53 -0
  220. package/src/modules/xmb/workflows/create-workflow/templates/project-info.md +18 -0
  221. package/src/modules/xmb/workflows/create-workflow/templates/requirements-section.md +47 -0
  222. package/src/modules/xmb/workflows/create-workflow/templates/review-section.md +56 -0
  223. package/src/modules/xmb/workflows/create-workflow/templates/step-file.md +139 -0
  224. package/src/modules/xmb/workflows/create-workflow/templates/workflow-plan.md +54 -0
  225. package/src/modules/xmb/workflows/create-workflow/templates/workflow.md +58 -0
  226. package/src/modules/xmb/workflows/create-workflow/workflow.md +58 -0
  227. package/src/modules/xmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
  228. package/src/modules/xmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
  229. package/src/modules/xmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
  230. package/src/modules/xmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
  231. package/src/modules/xmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
  232. package/src/modules/xmb/workflows/edit-agent/workflow.md +58 -0
  233. package/src/modules/xmb/workflows/edit-workflow/steps/step-01-analyze.md +221 -0
  234. package/src/modules/xmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
  235. package/src/modules/xmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
  236. package/src/modules/xmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
  237. package/src/modules/xmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
  238. package/src/modules/xmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
  239. package/src/modules/xmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
  240. package/src/modules/xmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
  241. package/src/modules/xmb/workflows/edit-workflow/templates/validation-results.md +51 -0
  242. package/src/modules/xmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
  243. package/src/modules/xmb/workflows/edit-workflow/workflow.md +58 -0
  244. package/src/modules/xmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
  245. package/src/modules/xmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
  246. package/src/modules/xmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
  247. package/src/modules/xmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
  248. package/src/modules/xmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
  249. package/src/modules/xmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
  250. package/src/modules/xmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
  251. package/src/modules/xmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
  252. package/src/modules/xmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
  253. package/src/modules/xmb/workflows/workflow-compliance-check/workflow.md +58 -0
  254. package/src/modules/xmb/workflows-legacy/create-module/README.md +229 -0
  255. package/src/modules/xmb/workflows-legacy/create-module/brainstorm-context.md +137 -0
  256. package/src/modules/xmb/workflows-legacy/create-module/checklist.md +235 -0
  257. package/src/modules/xmb/workflows-legacy/create-module/installer-templates/install-config.yaml +92 -0
  258. package/src/modules/xmb/workflows-legacy/create-module/installer-templates/installer.js +231 -0
  259. package/src/modules/xmb/workflows-legacy/create-module/instructions.md +577 -0
  260. package/src/modules/xmb/workflows-legacy/create-module/module-structure.md +400 -0
  261. package/src/modules/xmb/workflows-legacy/create-module/workflow.yaml +52 -0
  262. package/src/modules/xmb/workflows-legacy/edit-module/README.md +187 -0
  263. package/src/modules/xmb/workflows-legacy/edit-module/checklist.md +165 -0
  264. package/src/modules/xmb/workflows-legacy/edit-module/instructions.md +341 -0
  265. package/src/modules/xmb/workflows-legacy/edit-module/workflow.yaml +34 -0
  266. package/src/modules/xmb/workflows-legacy/module-brief/README.md +264 -0
  267. package/src/modules/xmb/workflows-legacy/module-brief/checklist.md +116 -0
  268. package/src/modules/xmb/workflows-legacy/module-brief/instructions.md +268 -0
  269. package/src/modules/xmb/workflows-legacy/module-brief/template.md +275 -0
  270. package/src/modules/xmb/workflows-legacy/module-brief/workflow.yaml +36 -0
  271. package/src/modules/xmc/README.md +128 -0
  272. package/src/modules/xmc/_module-installer/install-config.yaml +53 -0
  273. package/src/modules/xmc/_module-installer/installer.js +131 -0
  274. package/src/modules/xmc/_module-installer/platform-specifics/claude-code.js +35 -0
  275. package/src/modules/xmc/_module-installer/platform-specifics/windsurf.js +32 -0
  276. package/src/modules/xmc/agents/analyst.agent.yaml +49 -0
  277. package/src/modules/xmc/agents/architect.agent.yaml +52 -0
  278. package/src/modules/xmc/agents/auto-iteration-orchestrator.agent.yaml +115 -0
  279. package/src/modules/xmc/agents/dev.agent.yaml +44 -0
  280. package/src/modules/xmc/agents/pm.agent.yaml +50 -0
  281. package/src/modules/xmc/agents/quick-flow-solo-dev.agent.yaml +36 -0
  282. package/src/modules/xmc/agents/sm.agent.yaml +55 -0
  283. package/src/modules/xmc/agents/tea.agent.yaml +70 -0
  284. package/src/modules/xmc/agents/tech-writer.agent.yaml +67 -0
  285. package/src/modules/xmc/agents/ux-designer.agent.yaml +45 -0
  286. package/src/modules/xmc/data/README.md +29 -0
  287. package/src/modules/xmc/data/documentation-standards.md +262 -0
  288. package/src/modules/xmc/data/project-context-template.md +40 -0
  289. package/src/modules/xmc/docs/README.md +252 -0
  290. package/src/modules/xmc/docs/agents-guide.md +952 -0
  291. package/src/modules/xmc/docs/brownfield-guide.md +750 -0
  292. package/src/modules/xmc/docs/enterprise-agentic-development.md +686 -0
  293. package/src/modules/xmc/docs/faq.md +561 -0
  294. package/src/modules/xmc/docs/glossary.md +303 -0
  295. package/src/modules/xmc/docs/images/workflow-method-greenfield.excalidraw +5174 -0
  296. package/src/modules/xmc/docs/images/workflow-method-greenfield.svg +2 -0
  297. package/src/modules/xmc/docs/iteration-development-guide.md +752 -0
  298. package/src/modules/xmc/docs/party-mode.md +224 -0
  299. package/src/modules/xmc/docs/quick-flow-solo-dev.md +337 -0
  300. package/src/modules/xmc/docs/quick-start.md +367 -0
  301. package/src/modules/xmc/docs/scale-adaptive-system.md +618 -0
  302. package/src/modules/xmc/docs/test-architecture.md +462 -0
  303. package/src/modules/xmc/docs/workflow-architecture-reference.md +366 -0
  304. package/src/modules/xmc/docs/workflow-document-project-reference.md +489 -0
  305. package/src/modules/xmc/docs/workflows-analysis.md +266 -0
  306. package/src/modules/xmc/docs/workflows-implementation.md +171 -0
  307. package/src/modules/xmc/docs/workflows-planning.md +451 -0
  308. package/src/modules/xmc/docs/workflows-solutioning.md +509 -0
  309. package/src/modules/xmc/docs/xiaoma-quick-flow.md +528 -0
  310. package/src/modules/xmc/sub-modules/claude-code/config.yaml +5 -0
  311. package/src/modules/xmc/sub-modules/claude-code/injections.yaml +242 -0
  312. package/src/modules/xmc/sub-modules/claude-code/readme.md +87 -0
  313. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-analysis/api-documenter.md +102 -0
  314. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-analysis/codebase-analyzer.md +82 -0
  315. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-analysis/data-analyst.md +101 -0
  316. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-analysis/pattern-detector.md +84 -0
  317. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-planning/dependency-mapper.md +83 -0
  318. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-planning/epic-optimizer.md +81 -0
  319. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-planning/requirements-analyst.md +61 -0
  320. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-planning/technical-decisions-curator.md +168 -0
  321. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-planning/trend-spotter.md +115 -0
  322. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-planning/user-journey-mapper.md +123 -0
  323. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-planning/user-researcher.md +72 -0
  324. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-research/market-researcher.md +51 -0
  325. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-research/tech-debt-auditor.md +106 -0
  326. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-review/document-reviewer.md +102 -0
  327. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-review/technical-evaluator.md +68 -0
  328. package/src/modules/xmc/sub-modules/claude-code/sub-agents/bmad-review/test-coverage-analyzer.md +108 -0
  329. package/src/modules/xmc/teams/default-party.csv +21 -0
  330. package/src/modules/xmc/teams/team-fullstack.yaml +12 -0
  331. package/src/modules/xmc/testarch/knowledge/api-request.md +303 -0
  332. package/src/modules/xmc/testarch/knowledge/auth-session.md +356 -0
  333. package/src/modules/xmc/testarch/knowledge/burn-in.md +273 -0
  334. package/src/modules/xmc/testarch/knowledge/ci-burn-in.md +675 -0
  335. package/src/modules/xmc/testarch/knowledge/component-tdd.md +486 -0
  336. package/src/modules/xmc/testarch/knowledge/contract-testing.md +957 -0
  337. package/src/modules/xmc/testarch/knowledge/data-factories.md +500 -0
  338. package/src/modules/xmc/testarch/knowledge/email-auth.md +721 -0
  339. package/src/modules/xmc/testarch/knowledge/error-handling.md +725 -0
  340. package/src/modules/xmc/testarch/knowledge/feature-flags.md +750 -0
  341. package/src/modules/xmc/testarch/knowledge/file-utils.md +260 -0
  342. package/src/modules/xmc/testarch/knowledge/fixture-architecture.md +401 -0
  343. package/src/modules/xmc/testarch/knowledge/fixtures-composition.md +382 -0
  344. package/src/modules/xmc/testarch/knowledge/intercept-network-call.md +280 -0
  345. package/src/modules/xmc/testarch/knowledge/log.md +294 -0
  346. package/src/modules/xmc/testarch/knowledge/network-error-monitor.md +272 -0
  347. package/src/modules/xmc/testarch/knowledge/network-first.md +486 -0
  348. package/src/modules/xmc/testarch/knowledge/network-recorder.md +265 -0
  349. package/src/modules/xmc/testarch/knowledge/nfr-criteria.md +670 -0
  350. package/src/modules/xmc/testarch/knowledge/overview.md +284 -0
  351. package/src/modules/xmc/testarch/knowledge/playwright-config.md +730 -0
  352. package/src/modules/xmc/testarch/knowledge/probability-impact.md +601 -0
  353. package/src/modules/xmc/testarch/knowledge/recurse.md +296 -0
  354. package/src/modules/xmc/testarch/knowledge/risk-governance.md +615 -0
  355. package/src/modules/xmc/testarch/knowledge/selective-testing.md +732 -0
  356. package/src/modules/xmc/testarch/knowledge/selector-resilience.md +527 -0
  357. package/src/modules/xmc/testarch/knowledge/test-healing-patterns.md +644 -0
  358. package/src/modules/xmc/testarch/knowledge/test-levels-framework.md +473 -0
  359. package/src/modules/xmc/testarch/knowledge/test-priorities-matrix.md +373 -0
  360. package/src/modules/xmc/testarch/knowledge/test-quality.md +664 -0
  361. package/src/modules/xmc/testarch/knowledge/timing-debugging.md +372 -0
  362. package/src/modules/xmc/testarch/knowledge/visual-debugging.md +524 -0
  363. package/src/modules/xmc/testarch/tea-index.csv +33 -0
  364. package/src/modules/xmc/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
  365. package/src/modules/xmc/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
  366. package/src/modules/xmc/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
  367. package/src/modules/xmc/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
  368. package/src/modules/xmc/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
  369. package/src/modules/xmc/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
  370. package/src/modules/xmc/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
  371. package/src/modules/xmc/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
  372. package/src/modules/xmc/workflows/1-analysis/product-brief/workflow.md +58 -0
  373. package/src/modules/xmc/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  374. package/src/modules/xmc/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  375. package/src/modules/xmc/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  376. package/src/modules/xmc/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  377. package/src/modules/xmc/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  378. package/src/modules/xmc/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  379. package/src/modules/xmc/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  380. package/src/modules/xmc/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +235 -0
  381. package/src/modules/xmc/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +198 -0
  382. package/src/modules/xmc/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +247 -0
  383. package/src/modules/xmc/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +257 -0
  384. package/src/modules/xmc/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +175 -0
  385. package/src/modules/xmc/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  386. package/src/modules/xmc/workflows/1-analysis/research/research.template.md +16 -0
  387. package/src/modules/xmc/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  388. package/src/modules/xmc/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +237 -0
  389. package/src/modules/xmc/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +246 -0
  390. package/src/modules/xmc/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +200 -0
  391. package/src/modules/xmc/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +237 -0
  392. package/src/modules/xmc/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  393. package/src/modules/xmc/workflows/1-analysis/research/workflow.md +198 -0
  394. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
  395. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  396. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
  397. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  398. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  399. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  400. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  401. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  402. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  403. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  404. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  405. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  406. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  407. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  408. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
  409. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +13 -0
  410. package/src/modules/xmc/workflows/2-plan-workflows/create-ux-design/workflow.md +53 -0
  411. package/src/modules/xmc/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  412. package/src/modules/xmc/workflows/2-plan-workflows/prd/prd-template.md +9 -0
  413. package/src/modules/xmc/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  414. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-01-init.md +161 -0
  415. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +123 -0
  416. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +275 -0
  417. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-03-success.md +271 -0
  418. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +272 -0
  419. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-05-domain.md +249 -0
  420. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +240 -0
  421. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +236 -0
  422. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +280 -0
  423. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-09-functional.md +251 -0
  424. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +275 -0
  425. package/src/modules/xmc/workflows/2-plan-workflows/prd/steps/step-11-complete.md +210 -0
  426. package/src/modules/xmc/workflows/2-plan-workflows/prd/workflow.md +61 -0
  427. package/src/modules/xmc/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
  428. package/src/modules/xmc/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
  429. package/src/modules/xmc/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
  430. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
  431. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
  432. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
  433. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
  434. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
  435. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
  436. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
  437. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
  438. package/src/modules/xmc/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
  439. package/src/modules/xmc/workflows/3-solutioning/architecture/workflow.md +48 -0
  440. package/src/modules/xmc/workflows/3-solutioning/create-epics-and-stories/epics-template.md +80 -0
  441. package/src/modules/xmc/workflows/3-solutioning/create-epics-and-stories/instructions.md +387 -0
  442. package/src/modules/xmc/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +53 -0
  443. package/src/modules/xmc/workflows/3-solutioning/implementation-readiness/checklist.md +169 -0
  444. package/src/modules/xmc/workflows/3-solutioning/implementation-readiness/instructions.md +332 -0
  445. package/src/modules/xmc/workflows/3-solutioning/implementation-readiness/template.md +146 -0
  446. package/src/modules/xmc/workflows/3-solutioning/implementation-readiness/workflow.yaml +64 -0
  447. package/src/modules/xmc/workflows/4-implementation/code-review/instructions.xml +176 -0
  448. package/src/modules/xmc/workflows/4-implementation/code-review/workflow.yaml +54 -0
  449. package/src/modules/xmc/workflows/4-implementation/correct-course/checklist.md +279 -0
  450. package/src/modules/xmc/workflows/4-implementation/correct-course/instructions.md +206 -0
  451. package/src/modules/xmc/workflows/4-implementation/correct-course/workflow.yaml +58 -0
  452. package/src/modules/xmc/workflows/4-implementation/create-story/checklist.md +358 -0
  453. package/src/modules/xmc/workflows/4-implementation/create-story/instructions.xml +354 -0
  454. package/src/modules/xmc/workflows/4-implementation/create-story/template.md +51 -0
  455. package/src/modules/xmc/workflows/4-implementation/create-story/workflow.yaml +60 -0
  456. package/src/modules/xmc/workflows/4-implementation/dev-story/checklist.md +80 -0
  457. package/src/modules/xmc/workflows/4-implementation/dev-story/instructions.xml +406 -0
  458. package/src/modules/xmc/workflows/4-implementation/dev-story/workflow.yaml +27 -0
  459. package/src/modules/xmc/workflows/4-implementation/retrospective/instructions.md +1443 -0
  460. package/src/modules/xmc/workflows/4-implementation/retrospective/workflow.yaml +57 -0
  461. package/src/modules/xmc/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  462. package/src/modules/xmc/workflows/4-implementation/sprint-planning/instructions.md +232 -0
  463. package/src/modules/xmc/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +56 -0
  464. package/src/modules/xmc/workflows/4-implementation/sprint-planning/workflow.yaml +53 -0
  465. package/src/modules/xmc/workflows/auto-iteration/full-auto-workflow.md +692 -0
  466. package/src/modules/xmc/workflows/auto-iteration/knowledge-base/kb-call-points.md +595 -0
  467. package/src/modules/xmc/workflows/auto-iteration/knowledge-base/kb-interface.md +347 -0
  468. package/src/modules/xmc/workflows/auto-iteration/knowledge-base/kb-query.md +368 -0
  469. package/src/modules/xmc/workflows/auto-iteration/knowledge-base/kb-setup.md +343 -0
  470. package/src/modules/xmc/workflows/auto-iteration/phases/phase-1-analyze.md +406 -0
  471. package/src/modules/xmc/workflows/auto-iteration/phases/phase-2-plan.md +574 -0
  472. package/src/modules/xmc/workflows/auto-iteration/phases/phase-3-design.md +628 -0
  473. package/src/modules/xmc/workflows/auto-iteration/phases/phase-4-develop.md +622 -0
  474. package/src/modules/xmc/workflows/auto-iteration/phases/phase-5-test.md +538 -0
  475. package/src/modules/xmc/workflows/auto-iteration/resume.md +254 -0
  476. package/src/modules/xmc/workflows/auto-iteration/status.md +194 -0
  477. package/src/modules/xmc/workflows/auto-iteration/templates/auto-iteration-status.template.yaml +142 -0
  478. package/src/modules/xmc/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  479. package/src/modules/xmc/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +26 -0
  480. package/src/modules/xmc/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
  481. package/src/modules/xmc/workflows/bmad-quick-flow/quick-dev/instructions.md +105 -0
  482. package/src/modules/xmc/workflows/bmad-quick-flow/quick-dev/workflow.yaml +29 -0
  483. package/src/modules/xmc/workflows/diagrams/_shared/excalidraw-library.json +90 -0
  484. package/src/modules/xmc/workflows/diagrams/_shared/excalidraw-templates.yaml +127 -0
  485. package/src/modules/xmc/workflows/diagrams/create-dataflow/checklist.md +39 -0
  486. package/src/modules/xmc/workflows/diagrams/create-dataflow/instructions.md +130 -0
  487. package/src/modules/xmc/workflows/diagrams/create-dataflow/workflow.yaml +27 -0
  488. package/src/modules/xmc/workflows/diagrams/create-diagram/checklist.md +43 -0
  489. package/src/modules/xmc/workflows/diagrams/create-diagram/instructions.md +141 -0
  490. package/src/modules/xmc/workflows/diagrams/create-diagram/workflow.yaml +27 -0
  491. package/src/modules/xmc/workflows/diagrams/create-flowchart/checklist.md +49 -0
  492. package/src/modules/xmc/workflows/diagrams/create-flowchart/instructions.md +241 -0
  493. package/src/modules/xmc/workflows/diagrams/create-flowchart/workflow.yaml +27 -0
  494. package/src/modules/xmc/workflows/diagrams/create-wireframe/checklist.md +38 -0
  495. package/src/modules/xmc/workflows/diagrams/create-wireframe/instructions.md +133 -0
  496. package/src/modules/xmc/workflows/diagrams/create-wireframe/workflow.yaml +27 -0
  497. package/src/modules/xmc/workflows/document-project/checklist.md +245 -0
  498. package/src/modules/xmc/workflows/document-project/documentation-requirements.csv +12 -0
  499. package/src/modules/xmc/workflows/document-project/instructions.md +222 -0
  500. package/src/modules/xmc/workflows/document-project/templates/deep-dive-template.md +345 -0
  501. package/src/modules/xmc/workflows/document-project/templates/index-template.md +169 -0
  502. package/src/modules/xmc/workflows/document-project/templates/project-overview-template.md +103 -0
  503. package/src/modules/xmc/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  504. package/src/modules/xmc/workflows/document-project/templates/source-tree-template.md +135 -0
  505. package/src/modules/xmc/workflows/document-project/workflow.yaml +31 -0
  506. package/src/modules/xmc/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  507. package/src/modules/xmc/workflows/document-project/workflows/deep-dive.yaml +31 -0
  508. package/src/modules/xmc/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  509. package/src/modules/xmc/workflows/document-project/workflows/full-scan.yaml +31 -0
  510. package/src/modules/xmc/workflows/generate-project-context/project-context-template.md +20 -0
  511. package/src/modules/xmc/workflows/generate-project-context/steps/step-01-discover.md +193 -0
  512. package/src/modules/xmc/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  513. package/src/modules/xmc/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  514. package/src/modules/xmc/workflows/generate-project-context/workflow.md +48 -0
  515. package/src/modules/xmc/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  516. package/src/modules/xmc/workflows/testarch/atdd/checklist.md +373 -0
  517. package/src/modules/xmc/workflows/testarch/atdd/instructions.md +805 -0
  518. package/src/modules/xmc/workflows/testarch/atdd/workflow.yaml +47 -0
  519. package/src/modules/xmc/workflows/testarch/automate/checklist.md +580 -0
  520. package/src/modules/xmc/workflows/testarch/automate/instructions.md +1324 -0
  521. package/src/modules/xmc/workflows/testarch/automate/workflow.yaml +54 -0
  522. package/src/modules/xmc/workflows/testarch/ci/checklist.md +246 -0
  523. package/src/modules/xmc/workflows/testarch/ci/github-actions-template.yaml +165 -0
  524. package/src/modules/xmc/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  525. package/src/modules/xmc/workflows/testarch/ci/instructions.md +534 -0
  526. package/src/modules/xmc/workflows/testarch/ci/workflow.yaml +47 -0
  527. package/src/modules/xmc/workflows/testarch/framework/checklist.md +321 -0
  528. package/src/modules/xmc/workflows/testarch/framework/instructions.md +481 -0
  529. package/src/modules/xmc/workflows/testarch/framework/workflow.yaml +49 -0
  530. package/src/modules/xmc/workflows/testarch/nfr-assess/checklist.md +405 -0
  531. package/src/modules/xmc/workflows/testarch/nfr-assess/instructions.md +722 -0
  532. package/src/modules/xmc/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  533. package/src/modules/xmc/workflows/testarch/nfr-assess/workflow.yaml +49 -0
  534. package/src/modules/xmc/workflows/testarch/test-design/checklist.md +234 -0
  535. package/src/modules/xmc/workflows/testarch/test-design/instructions.md +788 -0
  536. package/src/modules/xmc/workflows/testarch/test-design/test-design-template.md +285 -0
  537. package/src/modules/xmc/workflows/testarch/test-design/workflow.yaml +50 -0
  538. package/src/modules/xmc/workflows/testarch/test-review/checklist.md +470 -0
  539. package/src/modules/xmc/workflows/testarch/test-review/instructions.md +628 -0
  540. package/src/modules/xmc/workflows/testarch/test-review/test-review-template.md +388 -0
  541. package/src/modules/xmc/workflows/testarch/test-review/workflow.yaml +48 -0
  542. package/src/modules/xmc/workflows/testarch/trace/checklist.md +654 -0
  543. package/src/modules/xmc/workflows/testarch/trace/instructions.md +1045 -0
  544. package/src/modules/xmc/workflows/testarch/trace/trace-template.md +673 -0
  545. package/src/modules/xmc/workflows/testarch/trace/workflow.yaml +57 -0
  546. package/src/modules/xmc/workflows/workflow-status/init/instructions.md +331 -0
  547. package/src/modules/xmc/workflows/workflow-status/init/workflow.yaml +29 -0
  548. package/src/modules/xmc/workflows/workflow-status/instructions.md +395 -0
  549. package/src/modules/xmc/workflows/workflow-status/paths/enterprise-brownfield.yaml +127 -0
  550. package/src/modules/xmc/workflows/workflow-status/paths/enterprise-greenfield.yaml +115 -0
  551. package/src/modules/xmc/workflows/workflow-status/paths/method-brownfield.yaml +111 -0
  552. package/src/modules/xmc/workflows/workflow-status/paths/method-greenfield.yaml +102 -0
  553. package/src/modules/xmc/workflows/workflow-status/project-levels.yaml +59 -0
  554. package/src/modules/xmc/workflows/workflow-status/workflow-status-template.yaml +24 -0
  555. package/src/modules/xmc/workflows/workflow-status/workflow.yaml +30 -0
  556. package/src/utility/models/action-command-header.md +0 -0
  557. package/src/utility/models/agent-activation-ide.xml +51 -0
  558. package/src/utility/models/agent-activation-web.xml +50 -0
  559. package/src/utility/models/agent-command-header.md +1 -0
  560. package/src/utility/models/agent-config-template.md +23 -0
  561. package/src/utility/models/agent-in-team-activation.xml +3 -0
  562. package/src/utility/models/fragments/activation-rules.xml +7 -0
  563. package/src/utility/models/fragments/activation-steps.xml +16 -0
  564. package/src/utility/models/fragments/handler-action.xml +4 -0
  565. package/src/utility/models/fragments/handler-data.xml +5 -0
  566. package/src/utility/models/fragments/handler-exec.xml +6 -0
  567. package/src/utility/models/fragments/handler-multi.xml +14 -0
  568. package/src/utility/models/fragments/handler-tmpl.xml +5 -0
  569. package/src/utility/models/fragments/handler-validate-workflow.xml +7 -0
  570. package/src/utility/models/fragments/handler-workflow.xml +9 -0
  571. package/src/utility/models/fragments/menu-handlers.xml +6 -0
  572. package/src/utility/models/fragments/web-bundle-activation-steps.xml +32 -0
  573. package/src/utility/templates/agent.customize.template.yaml +42 -0
  574. package/test/README.md +295 -0
  575. package/test/fixtures/agent-schema/invalid/critical-actions/actions-as-string.agent.yaml +26 -0
  576. package/test/fixtures/agent-schema/invalid/critical-actions/empty-string-in-actions.agent.yaml +29 -0
  577. package/test/fixtures/agent-schema/invalid/menu/empty-menu.agent.yaml +21 -0
  578. package/test/fixtures/agent-schema/invalid/menu/missing-menu.agent.yaml +19 -0
  579. package/test/fixtures/agent-schema/invalid/menu-commands/empty-command-target.agent.yaml +24 -0
  580. package/test/fixtures/agent-schema/invalid/menu-commands/no-command-target.agent.yaml +23 -0
  581. package/test/fixtures/agent-schema/invalid/menu-triggers/camel-case.agent.yaml +24 -0
  582. package/test/fixtures/agent-schema/invalid/menu-triggers/duplicate-triggers.agent.yaml +30 -0
  583. package/test/fixtures/agent-schema/invalid/menu-triggers/empty-trigger.agent.yaml +24 -0
  584. package/test/fixtures/agent-schema/invalid/menu-triggers/leading-asterisk.agent.yaml +24 -0
  585. package/test/fixtures/agent-schema/invalid/menu-triggers/snake-case.agent.yaml +24 -0
  586. package/test/fixtures/agent-schema/invalid/menu-triggers/trigger-with-spaces.agent.yaml +24 -0
  587. package/test/fixtures/agent-schema/invalid/metadata/core-agent-with-module.agent.yaml +26 -0
  588. package/test/fixtures/agent-schema/invalid/metadata/empty-module-string.agent.yaml +26 -0
  589. package/test/fixtures/agent-schema/invalid/metadata/empty-name.agent.yaml +24 -0
  590. package/test/fixtures/agent-schema/invalid/metadata/extra-metadata-fields.agent.yaml +26 -0
  591. package/test/fixtures/agent-schema/invalid/metadata/missing-id.agent.yaml +23 -0
  592. package/test/fixtures/agent-schema/invalid/metadata/module-agent-missing-module.agent.yaml +25 -0
  593. package/test/fixtures/agent-schema/invalid/metadata/wrong-module-value.agent.yaml +26 -0
  594. package/test/fixtures/agent-schema/invalid/persona/empty-principles-array.agent.yaml +23 -0
  595. package/test/fixtures/agent-schema/invalid/persona/empty-string-in-principles.agent.yaml +26 -0
  596. package/test/fixtures/agent-schema/invalid/persona/extra-persona-fields.agent.yaml +26 -0
  597. package/test/fixtures/agent-schema/invalid/persona/missing-role.agent.yaml +23 -0
  598. package/test/fixtures/agent-schema/invalid/prompts/empty-content.agent.yaml +28 -0
  599. package/test/fixtures/agent-schema/invalid/prompts/extra-prompt-fields.agent.yaml +30 -0
  600. package/test/fixtures/agent-schema/invalid/prompts/missing-content.agent.yaml +27 -0
  601. package/test/fixtures/agent-schema/invalid/prompts/missing-id.agent.yaml +27 -0
  602. package/test/fixtures/agent-schema/invalid/top-level/empty-file.agent.yaml +5 -0
  603. package/test/fixtures/agent-schema/invalid/top-level/extra-top-level-keys.agent.yaml +27 -0
  604. package/test/fixtures/agent-schema/invalid/top-level/missing-agent-key.agent.yaml +11 -0
  605. package/test/fixtures/agent-schema/invalid/yaml-errors/invalid-indentation.agent.yaml +19 -0
  606. package/test/fixtures/agent-schema/invalid/yaml-errors/malformed-yaml.agent.yaml +18 -0
  607. package/test/fixtures/agent-schema/valid/critical-actions/empty-critical-actions.agent.yaml +23 -0
  608. package/test/fixtures/agent-schema/valid/critical-actions/no-critical-actions.agent.yaml +21 -0
  609. package/test/fixtures/agent-schema/valid/critical-actions/valid-critical-actions.agent.yaml +26 -0
  610. package/test/fixtures/agent-schema/valid/menu/multiple-menu-items.agent.yaml +30 -0
  611. package/test/fixtures/agent-schema/valid/menu/single-menu-item.agent.yaml +21 -0
  612. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +37 -0
  613. package/test/fixtures/agent-schema/valid/menu-commands/multiple-commands.agent.yaml +23 -0
  614. package/test/fixtures/agent-schema/valid/menu-triggers/kebab-case-triggers.agent.yaml +33 -0
  615. package/test/fixtures/agent-schema/valid/metadata/empty-module-name-in-path.agent.yaml +23 -0
  616. package/test/fixtures/agent-schema/valid/metadata/malformed-path-treated-as-core.agent.yaml +23 -0
  617. package/test/fixtures/agent-schema/valid/metadata/module-agent-correct.agent.yaml +23 -0
  618. package/test/fixtures/agent-schema/valid/persona/complete-persona.agent.yaml +23 -0
  619. package/test/fixtures/agent-schema/valid/prompts/empty-prompts.agent.yaml +23 -0
  620. package/test/fixtures/agent-schema/valid/prompts/no-prompts.agent.yaml +21 -0
  621. package/test/fixtures/agent-schema/valid/prompts/valid-prompts-minimal.agent.yaml +27 -0
  622. package/test/fixtures/agent-schema/valid/prompts/valid-prompts-with-description.agent.yaml +29 -0
  623. package/test/fixtures/agent-schema/valid/top-level/minimal-core-agent.agent.yaml +23 -0
  624. package/test/test-agent-schema.js +387 -0
  625. package/test/test-cli-integration.sh +159 -0
  626. package/test/test-installation-components.js +214 -0
  627. package/test/unit-test-schema.js +133 -0
  628. package/tools/cli/README.md +609 -0
  629. package/tools/cli/bundlers/bundle-web.js +179 -0
  630. package/tools/cli/bundlers/test-analyst.js +28 -0
  631. package/tools/cli/bundlers/test-bundler.js +119 -0
  632. package/tools/cli/bundlers/web-bundler.js +1764 -0
  633. package/tools/cli/commands/agent-install.js +409 -0
  634. package/tools/cli/commands/build.js +458 -0
  635. package/tools/cli/commands/cleanup.js +141 -0
  636. package/tools/cli/commands/install.js +124 -0
  637. package/tools/cli/commands/list.js +28 -0
  638. package/tools/cli/commands/status.js +47 -0
  639. package/tools/cli/commands/uninstall.js +44 -0
  640. package/tools/cli/commands/update.js +28 -0
  641. package/tools/cli/installers/lib/core/config-collector.js +876 -0
  642. package/tools/cli/installers/lib/core/dependency-resolver.js +725 -0
  643. package/tools/cli/installers/lib/core/detector.js +329 -0
  644. package/tools/cli/installers/lib/core/ide-config-manager.js +154 -0
  645. package/tools/cli/installers/lib/core/installer.js +2956 -0
  646. package/tools/cli/installers/lib/core/manifest-generator.js +692 -0
  647. package/tools/cli/installers/lib/core/manifest.js +540 -0
  648. package/tools/cli/installers/lib/ide/_base-ide.js +651 -0
  649. package/tools/cli/installers/lib/ide/antigravity.js +510 -0
  650. package/tools/cli/installers/lib/ide/auggie.js +232 -0
  651. package/tools/cli/installers/lib/ide/claude-code.js +512 -0
  652. package/tools/cli/installers/lib/ide/cline.js +269 -0
  653. package/tools/cli/installers/lib/ide/codex.js +388 -0
  654. package/tools/cli/installers/lib/ide/crush.js +287 -0
  655. package/tools/cli/installers/lib/ide/cursor.js +400 -0
  656. package/tools/cli/installers/lib/ide/gemini.js +253 -0
  657. package/tools/cli/installers/lib/ide/github-copilot.js +387 -0
  658. package/tools/cli/installers/lib/ide/iflow.js +172 -0
  659. package/tools/cli/installers/lib/ide/kilo.js +249 -0
  660. package/tools/cli/installers/lib/ide/manager.js +245 -0
  661. package/tools/cli/installers/lib/ide/opencode.js +257 -0
  662. package/tools/cli/installers/lib/ide/qwen.js +372 -0
  663. package/tools/cli/installers/lib/ide/roo.js +324 -0
  664. package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
  665. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +90 -0
  666. package/tools/cli/installers/lib/ide/shared/module-injections.js +133 -0
  667. package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +119 -0
  668. package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +237 -0
  669. package/tools/cli/installers/lib/ide/shared/xiaoma-artifacts.js +143 -0
  670. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
  671. package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
  672. package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
  673. package/tools/cli/installers/lib/ide/templates/workflow-command-template.md +13 -0
  674. package/tools/cli/installers/lib/ide/trae.js +313 -0
  675. package/tools/cli/installers/lib/ide/windsurf.js +258 -0
  676. package/tools/cli/installers/lib/modules/manager.js +751 -0
  677. package/tools/cli/lib/activation-builder.js +168 -0
  678. package/tools/cli/lib/agent/compiler.js +524 -0
  679. package/tools/cli/lib/agent/installer.js +735 -0
  680. package/tools/cli/lib/agent/template-engine.js +152 -0
  681. package/tools/cli/lib/agent-analyzer.js +109 -0
  682. package/tools/cli/lib/agent-party-generator.js +206 -0
  683. package/tools/cli/lib/cli-utils.js +210 -0
  684. package/tools/cli/lib/config.js +212 -0
  685. package/tools/cli/lib/file-ops.js +204 -0
  686. package/tools/cli/lib/platform-codes.js +116 -0
  687. package/tools/cli/lib/project-root.js +71 -0
  688. package/tools/cli/lib/replace-project-root.js +239 -0
  689. package/tools/cli/lib/ui.js +769 -0
  690. package/tools/cli/lib/xml-handler.js +229 -0
  691. package/tools/cli/lib/xml-to-markdown.js +82 -0
  692. package/tools/{yaml-format.js → cli/lib/yaml-format.js} +36 -66
  693. package/tools/cli/lib/yaml-xml-builder.js +606 -0
  694. package/tools/cli/regenerate-manifests.js +28 -0
  695. package/tools/cli/test-yaml-builder.js +43 -0
  696. package/tools/cli/xiaoma-cli.js +40 -0
  697. package/tools/flattener/aggregate.js +12 -30
  698. package/tools/flattener/binary.js +43 -46
  699. package/tools/flattener/discovery.js +15 -23
  700. package/tools/flattener/files.js +6 -6
  701. package/tools/flattener/ignoreRules.js +122 -127
  702. package/tools/flattener/main.js +140 -330
  703. package/tools/flattener/projectRoot.js +71 -81
  704. package/tools/flattener/prompts.js +10 -12
  705. package/tools/flattener/stats.helpers.js +63 -119
  706. package/tools/flattener/stats.js +2 -7
  707. package/tools/flattener/test-matrix.js +169 -228
  708. package/tools/flattener/xml.js +23 -31
  709. package/tools/format-workflow-md.js +263 -0
  710. package/tools/platform-codes.yaml +145 -0
  711. package/tools/schema/agent.js +389 -0
  712. package/tools/validate-agent-schema.js +110 -0
  713. package/tools/validate-bundles.js +87 -0
  714. package/tools/xiaoma-npx-wrapper.js +18 -24
  715. package/.claude/agents/tech-translator.md +0 -124
  716. package/.claude/settings.local.json +0 -37
  717. package/.idea/XiaoMa-Cli.iml +0 -9
  718. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  719. package/.idea/misc.xml +0 -6
  720. package/.idea/modules.xml +0 -8
  721. package/.idea/prettier.xml +0 -6
  722. package/.idea/vcs.xml +0 -7
  723. package/.idea/workspace.xml +0 -114
  724. package/.xiaoma-core/.coordinator-state.json +0 -19
  725. package/CLAUDE.md +0 -283
  726. package/JAVA-BACKEND-COMMANDS-REFERENCE.md +0 -300
  727. package/JAVA-BACKEND-ITERATION-GUIDE.md +0 -2116
  728. package/common/tasks/create-doc.md +0 -103
  729. package/common/tasks/execute-checklist.md +0 -88
  730. package/common/utils/bmad-doc-template.md +0 -327
  731. package/common/utils/workflow-management.md +0 -71
  732. package/dist/agents/analyst.txt +0 -6308
  733. package/dist/agents/architect.txt +0 -3911
  734. package/dist/agents/automation-orchestrator.txt +0 -396
  735. package/dist/agents/dev.txt +0 -576
  736. package/dist/agents/full-requirement-orchestrator.txt +0 -505
  737. package/dist/agents/pm.txt +0 -2224
  738. package/dist/agents/po.txt +0 -1358
  739. package/dist/agents/qa.txt +0 -2002
  740. package/dist/agents/sm.txt +0 -2061
  741. package/dist/agents/ux-expert.txt +0 -707
  742. package/dist/agents/workflow-executor.txt +0 -1029
  743. package/dist/agents/workflow-helper.txt +0 -93
  744. package/dist/agents/xiaoma-master.txt +0 -9008
  745. package/dist/agents/xiaoma-orchestrator.txt +0 -1523
  746. package/dist/teams/team-all.txt +0 -19525
  747. package/dist/teams/team-fullstack-with-database.txt +0 -21500
  748. package/dist/teams/team-fullstack.txt +0 -13831
  749. package/dist/teams/team-ide-minimal.txt +0 -6698
  750. package/dist/teams/team-no-ui.txt +0 -12379
  751. package/docs/GUIDING-PRINCIPLES.md +0 -91
  752. package/docs/architecture/workflow-coordinator-implementation.md +0 -1188
  753. package/docs/architecture-sharding-modification.md +0 -623
  754. package/docs/automated-requirements-analysis-outputs.md +0 -896
  755. package/docs/core-architecture.md +0 -219
  756. package/docs/enhanced-ide-development-workflow.md +0 -248
  757. package/docs/prd/workflow-coordinator-prd.md +0 -1214
  758. package/docs/user-guide.md +0 -530
  759. package/docs/versioning-and-releases.md +0 -155
  760. package/docs/versions.md +0 -48
  761. package/docs/working-in-the-brownfield.md +0 -597
  762. package/tools/api-server.js +0 -367
  763. package/tools/builders/web-builder.js +0 -830
  764. package/tools/bump-all-versions.js +0 -133
  765. package/tools/cli.js +0 -157
  766. package/tools/installer/README.md +0 -8
  767. package/tools/installer/bin/xiaoma.js +0 -477
  768. package/tools/installer/config/ide-agent-config.yaml +0 -58
  769. package/tools/installer/config/install.config.yaml +0 -164
  770. package/tools/installer/lib/config-loader.js +0 -286
  771. package/tools/installer/lib/file-manager.js +0 -446
  772. package/tools/installer/lib/ide-base-setup.js +0 -238
  773. package/tools/installer/lib/ide-setup.js +0 -2027
  774. package/tools/installer/lib/installer.js +0 -2333
  775. package/tools/installer/lib/memory-profiler.js +0 -235
  776. package/tools/installer/lib/module-manager.js +0 -116
  777. package/tools/installer/lib/resource-locator.js +0 -334
  778. package/tools/installer/package-lock.json +0 -715
  779. package/tools/installer/package.json +0 -44
  780. package/tools/lib/dependency-resolver.js +0 -186
  781. package/tools/lib/yaml-utils.js +0 -34
  782. package/tools/md-assets/web-agent-startup-instructions.md +0 -39
  783. package/tools/preview-release-notes.js +0 -74
  784. package/tools/setup-hooks.sh +0 -37
  785. package/tools/shared/bannerArt.js +0 -105
  786. package/tools/sync-installer-version.js +0 -41
  787. package/tools/sync-version.sh +0 -23
  788. package/tools/upgraders/v3-to-v4-upgrader.js +0 -753
  789. package/tools/version-bump.js +0 -100
  790. package/tools/workflow-coordinator/README.md +0 -38
  791. package/tools/workflow-coordinator/USAGE.md +0 -548
  792. package/tools/workflow-coordinator/package-lock.json +0 -4868
  793. package/tools/workflow-coordinator/package.json +0 -35
  794. package/tools/workflow-coordinator/src/api/server.js +0 -207
  795. package/tools/workflow-coordinator/src/controller/workflow-controller.js +0 -263
  796. package/tools/workflow-coordinator/src/index.js +0 -113
  797. package/tools/workflow-coordinator/src/parser/workflow-parser.js +0 -144
  798. package/tools/workflow-coordinator/src/utils/state-manager.js +0 -59
  799. package/tools/workflow-coordinator/src/utils/validator.js +0 -86
  800. package/tools/workflow-coordinator/test/integration-test.js +0 -266
  801. package/tools/workflow-coordinator/test/quick-test.js +0 -127
  802. package/xiaoma-core/agent-teams/team-all.yaml +0 -15
  803. package/xiaoma-core/agent-teams/team-fullstack-with-database.yaml +0 -27
  804. package/xiaoma-core/agent-teams/team-fullstack.yaml +0 -19
  805. package/xiaoma-core/agent-teams/team-ide-minimal.yaml +0 -11
  806. package/xiaoma-core/agent-teams/team-no-ui.yaml +0 -14
  807. package/xiaoma-core/agents/analyst.md +0 -91
  808. package/xiaoma-core/agents/architect.md +0 -85
  809. package/xiaoma-core/agents/automated-fix-validator.yaml +0 -579
  810. package/xiaoma-core/agents/automated-quality-validator.yaml +0 -549
  811. package/xiaoma-core/agents/automation-orchestrator.md +0 -353
  812. package/xiaoma-core/agents/dev.md +0 -79
  813. package/xiaoma-core/agents/enhanced-workflow-orchestrator.yaml +0 -304
  814. package/xiaoma-core/agents/full-requirement-orchestrator.md +0 -462
  815. package/xiaoma-core/agents/global-requirements-auditor.yaml +0 -520
  816. package/xiaoma-core/agents/intelligent-template-adapter.yaml +0 -389
  817. package/xiaoma-core/agents/issue-dispatcher.yaml +0 -627
  818. package/xiaoma-core/agents/master-execution-engine.yaml +0 -543
  819. package/xiaoma-core/agents/pm.md +0 -82
  820. package/xiaoma-core/agents/po.md +0 -77
  821. package/xiaoma-core/agents/qa.md +0 -88
  822. package/xiaoma-core/agents/requirements-coverage-auditor.yaml +0 -373
  823. package/xiaoma-core/agents/sm.md +0 -67
  824. package/xiaoma-core/agents/ux-expert.md +0 -67
  825. package/xiaoma-core/agents/workflow-executor.md +0 -1031
  826. package/xiaoma-core/agents/workflow-helper.md +0 -481
  827. package/xiaoma-core/agents/xiaoma-master.md +0 -108
  828. package/xiaoma-core/agents/xiaoma-orchestrator.md +0 -145
  829. package/xiaoma-core/checklists/architect-checklist.md +0 -440
  830. package/xiaoma-core/checklists/change-checklist.md +0 -184
  831. package/xiaoma-core/checklists/dev-completion-checklist.md +0 -324
  832. package/xiaoma-core/checklists/pm-checklist.md +0 -372
  833. package/xiaoma-core/checklists/po-master-checklist.md +0 -434
  834. package/xiaoma-core/checklists/po-story-validation-checklist.md +0 -219
  835. package/xiaoma-core/checklists/qa-approval-checklist.md +0 -393
  836. package/xiaoma-core/checklists/story-dod-checklist.md +0 -96
  837. package/xiaoma-core/checklists/story-draft-checklist.md +0 -155
  838. package/xiaoma-core/core-config.yaml +0 -23
  839. package/xiaoma-core/data/bmad-kb.md +0 -809
  840. package/xiaoma-core/data/brainstorming-techniques.md +0 -38
  841. package/xiaoma-core/data/elicitation-methods.md +0 -156
  842. package/xiaoma-core/data/technical-preferences.md +0 -5
  843. package/xiaoma-core/data/test-levels-framework.md +0 -148
  844. package/xiaoma-core/data/test-priorities-matrix.md +0 -174
  845. package/xiaoma-core/scripts/build-validation/pre-dev-validation.sh +0 -71
  846. package/xiaoma-core/scripts/build-validation/progressive-validation.sh +0 -88
  847. package/xiaoma-core/scripts/build-validation/quick-check.sh +0 -69
  848. package/xiaoma-core/tasks/advanced-elicitation.md +0 -119
  849. package/xiaoma-core/tasks/analyze-existing-database.md +0 -155
  850. package/xiaoma-core/tasks/apply-qa-fixes.md +0 -150
  851. package/xiaoma-core/tasks/automated-story-cycle.md +0 -370
  852. package/xiaoma-core/tasks/batch-story-generation.md +0 -354
  853. package/xiaoma-core/tasks/brownfield-create-epic.md +0 -162
  854. package/xiaoma-core/tasks/brownfield-create-story.md +0 -149
  855. package/xiaoma-core/tasks/correct-course.md +0 -72
  856. package/xiaoma-core/tasks/create-brownfield-story.md +0 -314
  857. package/xiaoma-core/tasks/create-database-design.md +0 -161
  858. package/xiaoma-core/tasks/create-deep-research-prompt.md +0 -280
  859. package/xiaoma-core/tasks/create-enhanced-story-with-database.md +0 -250
  860. package/xiaoma-core/tasks/create-next-story.md +0 -114
  861. package/xiaoma-core/tasks/document-project.md +0 -345
  862. package/xiaoma-core/tasks/facilitate-brainstorming-session.md +0 -138
  863. package/xiaoma-core/tasks/generate-ai-frontend-prompt.md +0 -53
  864. package/xiaoma-core/tasks/generate-database-ddl.md +0 -240
  865. package/xiaoma-core/tasks/generate-database-entities.md +0 -501
  866. package/xiaoma-core/tasks/generate-rag-questions.md +0 -312
  867. package/xiaoma-core/tasks/index-docs.md +0 -175
  868. package/xiaoma-core/tasks/kb-mode-interaction.md +0 -77
  869. package/xiaoma-core/tasks/nfr-assess.md +0 -345
  870. package/xiaoma-core/tasks/project-integration-testing.md +0 -477
  871. package/xiaoma-core/tasks/qa-gate.md +0 -163
  872. package/xiaoma-core/tasks/requirement-analysis-with-rag.md +0 -1318
  873. package/xiaoma-core/tasks/requirements-coverage-audit.md +0 -198
  874. package/xiaoma-core/tasks/review-story.md +0 -316
  875. package/xiaoma-core/tasks/risk-profile.md +0 -355
  876. package/xiaoma-core/tasks/serial-development-orchestration.md +0 -426
  877. package/xiaoma-core/tasks/shard-doc.md +0 -187
  878. package/xiaoma-core/tasks/test-design.md +0 -176
  879. package/xiaoma-core/tasks/trace-requirements.md +0 -266
  880. package/xiaoma-core/tasks/validate-next-story.md +0 -136
  881. package/xiaoma-core/templates/api-design-tmpl.yaml +0 -704
  882. package/xiaoma-core/templates/architecture-tmpl.yaml +0 -650
  883. package/xiaoma-core/templates/brainstorming-output-tmpl.yaml +0 -156
  884. package/xiaoma-core/templates/brownfield-architecture-tmpl.yaml +0 -476
  885. package/xiaoma-core/templates/brownfield-prd-tmpl.yaml +0 -280
  886. package/xiaoma-core/templates/competitor-analysis-tmpl.yaml +0 -336
  887. package/xiaoma-core/templates/database-design-tmpl.yaml +0 -266
  888. package/xiaoma-core/templates/enhanced-story-with-database-tmpl.yaml +0 -428
  889. package/xiaoma-core/templates/front-end-architecture-tmpl.yaml +0 -272
  890. package/xiaoma-core/templates/front-end-spec-tmpl.yaml +0 -354
  891. package/xiaoma-core/templates/fullstack-architecture-tmpl.yaml +0 -925
  892. package/xiaoma-core/templates/global-qa-monitoring-tmpl.yaml +0 -443
  893. package/xiaoma-core/templates/market-research-tmpl.yaml +0 -252
  894. package/xiaoma-core/templates/maven-lombok-template.xml +0 -111
  895. package/xiaoma-core/templates/prd-tmpl.yaml +0 -202
  896. package/xiaoma-core/templates/project-brief-tmpl.yaml +0 -221
  897. package/xiaoma-core/templates/qa-gate-tmpl.yaml +0 -102
  898. package/xiaoma-core/templates/rag-knowledge-tmpl.yaml +0 -569
  899. package/xiaoma-core/templates/rag-questions-tmpl.yaml +0 -949
  900. package/xiaoma-core/templates/requirements-coverage-audit.yaml +0 -330
  901. package/xiaoma-core/templates/start-enhanced-workflow.yaml +0 -347
  902. package/xiaoma-core/templates/story-tmpl.yaml +0 -137
  903. package/xiaoma-core/workflows/automated-requirements-analysis.yaml +0 -2149
  904. package/xiaoma-core/workflows/automated-requirements-development.yaml +0 -739
  905. package/xiaoma-core/workflows/automated-story-development.yaml +0 -1264
  906. package/xiaoma-core/workflows/brownfield-fullstack.yaml +0 -298
  907. package/xiaoma-core/workflows/brownfield-service.yaml +0 -188
  908. package/xiaoma-core/workflows/brownfield-ui.yaml +0 -198
  909. package/xiaoma-core/workflows/enhanced-fullstack-with-database.yaml +0 -427
  910. package/xiaoma-core/workflows/enhanced-fullstack-with-qa-loop.yaml +0 -766
  911. package/xiaoma-core/workflows/full-requirement-automation.yaml +0 -1305
  912. package/xiaoma-core/workflows/greenfield-fullstack.yaml +0 -241
  913. package/xiaoma-core/workflows/greenfield-service.yaml +0 -207
  914. package/xiaoma-core/workflows/greenfield-ui.yaml +0 -236
@@ -0,0 +1,1443 @@
1
+ # Retrospective - Epic Completion Review Instructions
2
+
3
+ <critical>The workflow execution engine is governed by: {project-root}/{xiaoma_folder}/core/tasks/workflow.xml</critical>
4
+ <critical>You MUST have already loaded and processed: {project-root}/{xiaoma_folder}/xmc/workflows/4-implementation/retrospective/workflow.yaml</critical>
5
+ <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
6
+ <critical>Generate all documents in {document_output_language}</critical>
7
+ <critical>⚠️ ABSOLUTELY NO TIME ESTIMATES - NEVER mention hours, days, weeks, months, or ANY time-based predictions. AI has fundamentally changed development speed - what once took teams weeks/months can now be done by one person in hours. DO NOT give ANY time estimates whatsoever.</critical>
8
+
9
+ <critical>
10
+ DOCUMENT OUTPUT: Retrospective analysis. Concise insights, lessons learned, action items. User skill level ({user_skill_level}) affects conversation style ONLY, not retrospective content.
11
+
12
+ FACILITATION NOTES:
13
+
14
+ - Scrum Master facilitates this retrospective
15
+ - Psychological safety is paramount - NO BLAME
16
+ - Focus on systems, processes, and learning
17
+ - Everyone contributes with specific examples preferred
18
+ - Action items must be achievable with clear ownership
19
+ - Two-part format: (1) Epic Review + (2) Next Epic Preparation
20
+
21
+ PARTY MODE PROTOCOL:
22
+
23
+ - ALL agent dialogue MUST use format: "Name (Role): dialogue"
24
+ - Example: Bob (Scrum Master): "Let's begin..."
25
+ - Example: {user_name} (Project Lead): [User responds]
26
+ - Create natural back-and-forth with user actively participating
27
+ - Show disagreements, diverse perspectives, authentic team dynamics
28
+ </critical>
29
+
30
+ <workflow>
31
+
32
+ <step n="1" goal="Epic Discovery - Find Completed Epic with Priority Logic">
33
+
34
+ <action>Explain to {user_name} the epic discovery process using natural dialogue</action>
35
+
36
+ <output>
37
+ Bob (Scrum Master): "Welcome to the retrospective, {user_name}. Let me help you identify which epic we just completed. I'll check sprint-status first, but you're the ultimate authority on what we're reviewing today."
38
+ </output>
39
+
40
+ <action>PRIORITY 1: Check {sprint_status_file} first</action>
41
+
42
+ <action>Load the FULL file: {sprint_status_file}</action>
43
+ <action>Read ALL development_status entries</action>
44
+ <action>Find the highest epic number with at least one story marked "done"</action>
45
+ <action>Extract epic number from keys like "epic-X-retrospective" or story keys like "X-Y-story-name"</action>
46
+ <action>Set {{detected_epic}} = highest epic number found with completed stories</action>
47
+
48
+ <check if="{{detected_epic}} found">
49
+ <action>Present finding to user with context</action>
50
+
51
+ <output>
52
+ Bob (Scrum Master): "Based on {sprint_status_file}, it looks like Epic {{detected_epic}} was recently completed. Is that the epic you want to review today, {user_name}?"
53
+ </output>
54
+
55
+ <action>WAIT for {user_name} to confirm or correct</action>
56
+
57
+ <check if="{user_name} confirms">
58
+ <action>Set {{epic_number}} = {{detected_epic}}</action>
59
+ </check>
60
+
61
+ <check if="{user_name} provides different epic number">
62
+ <action>Set {{epic_number}} = user-provided number</action>
63
+ <output>
64
+ Bob (Scrum Master): "Got it, we're reviewing Epic {{epic_number}}. Let me gather that information."
65
+ </output>
66
+ </check>
67
+ </check>
68
+
69
+ <check if="{{detected_epic}} NOT found in sprint-status">
70
+ <action>PRIORITY 2: Ask user directly</action>
71
+
72
+ <output>
73
+ Bob (Scrum Master): "I'm having trouble detecting the completed epic from {sprint_status_file}. {user_name}, which epic number did you just complete?"
74
+ </output>
75
+
76
+ <action>WAIT for {user_name} to provide epic number</action>
77
+ <action>Set {{epic_number}} = user-provided number</action>
78
+ </check>
79
+
80
+ <check if="{{epic_number}} still not determined">
81
+ <action>PRIORITY 3: Fallback to stories folder</action>
82
+
83
+ <action>Scan {story_directory} for highest numbered story files</action>
84
+ <action>Extract epic numbers from story filenames (pattern: epic-X-Y-story-name.md)</action>
85
+ <action>Set {{detected_epic}} = highest epic number found</action>
86
+
87
+ <output>
88
+ Bob (Scrum Master): "I found stories for Epic {{detected_epic}} in the stories folder. Is that the epic we're reviewing, {user_name}?"
89
+ </output>
90
+
91
+ <action>WAIT for {user_name} to confirm or correct</action>
92
+ <action>Set {{epic_number}} = confirmed number</action>
93
+ </check>
94
+
95
+ <action>Once {{epic_number}} is determined, verify epic completion status</action>
96
+
97
+ <action>Find all stories for epic {{epic_number}} in {sprint_status_file}:
98
+
99
+ - Look for keys starting with "{{epic_number}}-" (e.g., "1-1-", "1-2-", etc.)
100
+ - Exclude epic key itself ("epic-{{epic_number}}")
101
+ - Exclude retrospective key ("epic-{{epic_number}}-retrospective")
102
+ </action>
103
+
104
+ <action>Count total stories found for this epic</action>
105
+ <action>Count stories with status = "done"</action>
106
+ <action>Collect list of pending story keys (status != "done")</action>
107
+ <action>Determine if complete: true if all stories are done, false otherwise</action>
108
+
109
+ <check if="epic is not complete">
110
+ <output>
111
+ Alice (Product Owner): "Wait, Bob - I'm seeing that Epic {{epic_number}} isn't actually complete yet."
112
+
113
+ Bob (Scrum Master): "Let me check... you're right, Alice."
114
+
115
+ **Epic Status:**
116
+
117
+ - Total Stories: {{total_stories}}
118
+ - Completed (Done): {{done_stories}}
119
+ - Pending: {{pending_count}}
120
+
121
+ **Pending Stories:**
122
+ {{pending_story_list}}
123
+
124
+ Bob (Scrum Master): "{user_name}, we typically run retrospectives after all stories are done. What would you like to do?"
125
+
126
+ **Options:**
127
+
128
+ 1. Complete remaining stories before running retrospective (recommended)
129
+ 2. Continue with partial retrospective (not ideal, but possible)
130
+ 3. Run sprint-planning to refresh story tracking
131
+ </output>
132
+
133
+ <ask if="{{non_interactive}} == false">Continue with incomplete epic? (yes/no)</ask>
134
+
135
+ <check if="user says no">
136
+ <output>
137
+ Bob (Scrum Master): "Smart call, {user_name}. Let's finish those stories first and then have a proper retrospective."
138
+ </output>
139
+ <action>HALT</action>
140
+ </check>
141
+
142
+ <action if="user says yes">Set {{partial_retrospective}} = true</action>
143
+ <output>
144
+ Charlie (Senior Dev): "Just so everyone knows, this partial retro might miss some important lessons from those pending stories."
145
+
146
+ Bob (Scrum Master): "Good point, Charlie. {user_name}, we'll document what we can now, but we may want to revisit after everything's done."
147
+ </output>
148
+ </check>
149
+
150
+ <check if="epic is complete">
151
+ <output>
152
+ Alice (Product Owner): "Excellent! All {{done_stories}} stories are marked done."
153
+
154
+ Bob (Scrum Master): "Perfect. Epic {{epic_number}} is complete and ready for retrospective, {user_name}."
155
+ </output>
156
+ </check>
157
+
158
+ </step>
159
+
160
+ <step n="0.5" goal="Discover and load project documents">
161
+ <invoke-protocol name="discover_inputs" />
162
+ <note>After discovery, these content variables are available: {epics_content} (selective load for this epic), {architecture_content}, {prd_content}, {document_project_content}</note>
163
+ </step>
164
+
165
+ <step n="2" goal="Deep Story Analysis - Extract Lessons from Implementation">
166
+
167
+ <output>
168
+ Bob (Scrum Master): "Before we start the team discussion, let me review all the story records to surface key themes. This'll help us have a richer conversation."
169
+
170
+ Charlie (Senior Dev): "Good idea - those dev notes always have gold in them."
171
+ </output>
172
+
173
+ <action>For each story in epic {{epic_number}}, read the complete story file from {story_directory}/{{epic_number}}-{{story_num}}-\*.md</action>
174
+
175
+ <action>Extract and analyze from each story:</action>
176
+
177
+ **Dev Notes and Struggles:**
178
+
179
+ - Look for sections like "## Dev Notes", "## Implementation Notes", "## Challenges", "## Development Log"
180
+ - Identify where developers struggled or made mistakes
181
+ - Note unexpected complexity or gotchas discovered
182
+ - Record technical decisions that didn't work out as planned
183
+ - Track where estimates were way off (too high or too low)
184
+
185
+ **Review Feedback Patterns:**
186
+
187
+ - Look for "## Review", "## Code Review", "## SM Review", "## Scrum Master Review" sections
188
+ - Identify recurring feedback themes across stories
189
+ - Note which types of issues came up repeatedly
190
+ - Track quality concerns or architectural misalignments
191
+ - Document praise or exemplary work called out in reviews
192
+
193
+ **Lessons Learned:**
194
+
195
+ - Look for "## Lessons Learned", "## Retrospective Notes", "## Takeaways" sections within stories
196
+ - Extract explicit lessons documented during development
197
+ - Identify "aha moments" or breakthroughs
198
+ - Note what would be done differently
199
+ - Track successful experiments or approaches
200
+
201
+ **Technical Debt Incurred:**
202
+
203
+ - Look for "## Technical Debt", "## TODO", "## Known Issues", "## Future Work" sections
204
+ - Document shortcuts taken and why
205
+ - Track debt items that affect next epic
206
+ - Note severity and priority of debt items
207
+
208
+ **Testing and Quality Insights:**
209
+
210
+ - Look for "## Testing", "## QA Notes", "## Test Results" sections
211
+ - Note testing challenges or surprises
212
+ - Track bug patterns or regression issues
213
+ - Document test coverage gaps
214
+
215
+ <action>Synthesize patterns across all stories:</action>
216
+
217
+ **Common Struggles:**
218
+
219
+ - Identify issues that appeared in 2+ stories (e.g., "3 out of 5 stories had API authentication issues")
220
+ - Note areas where team consistently struggled
221
+ - Track where complexity was underestimated
222
+
223
+ **Recurring Review Feedback:**
224
+
225
+ - Identify feedback themes (e.g., "Error handling was flagged in every review")
226
+ - Note quality patterns (positive and negative)
227
+ - Track areas where team improved over the course of epic
228
+
229
+ **Breakthrough Moments:**
230
+
231
+ - Document key discoveries (e.g., "Story 3 discovered the caching pattern we used for rest of epic")
232
+ - Note when team velocity improved dramatically
233
+ - Track innovative solutions worth repeating
234
+
235
+ **Velocity Patterns:**
236
+
237
+ - Calculate average completion time per story
238
+ - Note velocity trends (e.g., "First 2 stories took 3x longer than estimated")
239
+ - Identify which types of stories went faster/slower
240
+
241
+ **Team Collaboration Highlights:**
242
+
243
+ - Note moments of excellent collaboration mentioned in stories
244
+ - Track where pair programming or mob programming was effective
245
+ - Document effective problem-solving sessions
246
+
247
+ <action>Store this synthesis - these patterns will drive the retrospective discussion</action>
248
+
249
+ <output>
250
+ Bob (Scrum Master): "Okay, I've reviewed all {{total_stories}} story records. I found some really interesting patterns we should discuss."
251
+
252
+ Dana (QA Engineer): "I'm curious what you found, Bob. I noticed some things in my testing too."
253
+
254
+ Bob (Scrum Master): "We'll get to all of it. But first, let me load the previous epic's retro to see if we learned from last time."
255
+ </output>
256
+
257
+ </step>
258
+
259
+ <step n="3" goal="Load and Integrate Previous Epic Retrospective">
260
+
261
+ <action>Calculate previous epic number: {{prev_epic_num}} = {{epic_number}} - 1</action>
262
+
263
+ <check if="{{prev_epic_num}} >= 1">
264
+ <action>Search for previous retrospective using pattern: {retrospectives_folder}/epic-{{prev_epic_num}}-retro-*.md</action>
265
+
266
+ <check if="previous retro found">
267
+ <output>
268
+ Bob (Scrum Master): "I found our retrospective from Epic {{prev_epic_num}}. Let me see what we committed to back then..."
269
+ </output>
270
+
271
+ <action>Read the complete previous retrospective file</action>
272
+
273
+ <action>Extract key elements:</action>
274
+ - **Action items committed**: What did the team agree to improve?
275
+ - **Lessons learned**: What insights were captured?
276
+ - **Process improvements**: What changes were agreed upon?
277
+ - **Technical debt flagged**: What debt was documented?
278
+ - **Team agreements**: What commitments were made?
279
+ - **Preparation tasks**: What was needed for this epic?
280
+
281
+ <action>Cross-reference with current epic execution:</action>
282
+
283
+ **Action Item Follow-Through:**
284
+ - For each action item from Epic {{prev_epic_num}} retro, check if it was completed
285
+ - Look for evidence in current epic's story records
286
+ - Mark each action item: ✅ Completed, ⏳ In Progress, ❌ Not Addressed
287
+
288
+ **Lessons Applied:**
289
+ - For each lesson from Epic {{prev_epic_num}}, check if team applied it in Epic {{epic_number}}
290
+ - Look for evidence in dev notes, review feedback, or outcomes
291
+ - Document successes and missed opportunities
292
+
293
+ **Process Improvements Effectiveness:**
294
+ - For each process change agreed to in Epic {{prev_epic_num}}, assess if it helped
295
+ - Did the change improve velocity, quality, or team satisfaction?
296
+ - Should we keep, modify, or abandon the change?
297
+
298
+ **Technical Debt Status:**
299
+ - For each debt item from Epic {{prev_epic_num}}, check if it was addressed
300
+ - Did unaddressed debt cause problems in Epic {{epic_number}}?
301
+ - Did the debt grow or shrink?
302
+
303
+ <action>Prepare "continuity insights" for the retrospective discussion</action>
304
+
305
+ <action>Identify wins where previous lessons were applied successfully:</action>
306
+ - Document specific examples of applied learnings
307
+ - Note positive impact on Epic {{epic_number}} outcomes
308
+ - Celebrate team growth and improvement
309
+
310
+ <action>Identify missed opportunities where previous lessons were ignored:</action>
311
+ - Document where team repeated previous mistakes
312
+ - Note impact of not applying lessons (without blame)
313
+ - Explore barriers that prevented application
314
+
315
+ <output>
316
+
317
+ Bob (Scrum Master): "Interesting... in Epic {{prev_epic_num}}'s retro, we committed to {{action_count}} action items."
318
+
319
+ Alice (Product Owner): "How'd we do on those, Bob?"
320
+
321
+ Bob (Scrum Master): "We completed {{completed_count}}, made progress on {{in_progress_count}}, but didn't address {{not_addressed_count}}."
322
+
323
+ Charlie (Senior Dev): _looking concerned_ "Which ones didn't we address?"
324
+
325
+ Bob (Scrum Master): "We'll discuss that in the retro. Some of them might explain challenges we had this epic."
326
+
327
+ Elena (Junior Dev): "That's... actually pretty insightful."
328
+
329
+ Bob (Scrum Master): "That's why we track this stuff. Pattern recognition helps us improve."
330
+ </output>
331
+
332
+ </check>
333
+
334
+ <check if="no previous retro found">
335
+ <output>
336
+ Bob (Scrum Master): "I don't see a retrospective for Epic {{prev_epic_num}}. Either we skipped it, or this is your first retro."
337
+
338
+ Alice (Product Owner): "Probably our first one. Good time to start the habit!"
339
+ </output>
340
+ <action>Set {{first_retrospective}} = true</action>
341
+ </check>
342
+ </check>
343
+
344
+ <check if="{{prev_epic_num}} < 1">
345
+ <output>
346
+ Bob (Scrum Master): "This is Epic 1, so naturally there's no previous retro to reference. We're starting fresh!"
347
+
348
+ Charlie (Senior Dev): "First epic, first retro. Let's make it count."
349
+ </output>
350
+ <action>Set {{first_retrospective}} = true</action>
351
+ </check>
352
+
353
+ </step>
354
+
355
+ <step n="4" goal="Preview Next Epic with Change Detection">
356
+
357
+ <action>Calculate next epic number: {{next_epic_num}} = {{epic_number}} + 1</action>
358
+
359
+ <output>
360
+ Bob (Scrum Master): "Before we dive into the discussion, let me take a quick look at Epic {{next_epic_num}} to understand what's coming."
361
+
362
+ Alice (Product Owner): "Good thinking - helps us connect what we learned to what we're about to do."
363
+ </output>
364
+
365
+ <action>Attempt to load next epic using selective loading strategy:</action>
366
+
367
+ **Try sharded first (more specific):**
368
+ <action>Check if file exists: {output_folder}/epic\*/epic-{{next_epic_num}}.md</action>
369
+
370
+ <check if="sharded epic file found">
371
+ <action>Load {output_folder}/*epic*/epic-{{next_epic_num}}.md</action>
372
+ <action>Set {{next_epic_source}} = "sharded"</action>
373
+ </check>
374
+
375
+ **Fallback to whole document:**
376
+ <check if="sharded epic not found">
377
+ <action>Check if file exists: {output_folder}/epic\*.md</action>
378
+
379
+ <check if="whole epic file found">
380
+ <action>Load entire epics document</action>
381
+ <action>Extract Epic {{next_epic_num}} section</action>
382
+ <action>Set {{next_epic_source}} = "whole"</action>
383
+ </check>
384
+ </check>
385
+
386
+ <check if="next epic found">
387
+ <action>Analyze next epic for:</action>
388
+ - Epic title and objectives
389
+ - Planned stories and complexity estimates
390
+ - Dependencies on Epic {{epic_number}} work
391
+ - New technical requirements or capabilities needed
392
+ - Potential risks or unknowns
393
+ - Business goals and success criteria
394
+
395
+ <action>Identify dependencies on completed work:</action>
396
+
397
+ - What components from Epic {{epic_number}} does Epic {{next_epic_num}} rely on?
398
+ - Are all prerequisites complete and stable?
399
+ - Any incomplete work that creates blocking dependencies?
400
+
401
+ <action>Note potential gaps or preparation needed:</action>
402
+
403
+ - Technical setup required (infrastructure, tools, libraries)
404
+ - Knowledge gaps to fill (research, training, spikes)
405
+ - Refactoring needed before starting next epic
406
+ - Documentation or specifications to create
407
+
408
+ <action>Check for technical prerequisites:</action>
409
+
410
+ - APIs or integrations that must be ready
411
+ - Data migrations or schema changes needed
412
+ - Testing infrastructure requirements
413
+ - Deployment or environment setup
414
+
415
+ <output>
416
+ Bob (Scrum Master): "Alright, I've reviewed Epic {{next_epic_num}}: '{{next_epic_title}}'"
417
+
418
+ Alice (Product Owner): "What are we looking at?"
419
+
420
+ Bob (Scrum Master): "{{next_epic_num}} stories planned, building on the {{dependency_description}} from Epic {{epic_number}}."
421
+
422
+ Charlie (Senior Dev): "Dependencies concern me. Did we finish everything we need for that?"
423
+
424
+ Bob (Scrum Master): "Good question - that's exactly what we need to explore in this retro."
425
+ </output>
426
+
427
+ <action>Set {{next_epic_exists}} = true</action>
428
+ </check>
429
+
430
+ <check if="next epic NOT found">
431
+ <output>
432
+ Bob (Scrum Master): "Hmm, I don't see Epic {{next_epic_num}} defined yet."
433
+
434
+ Alice (Product Owner): "We might be at the end of the roadmap, or we haven't planned that far ahead yet."
435
+
436
+ Bob (Scrum Master): "No problem. We'll still do a thorough retro on Epic {{epic_number}}. The lessons will be valuable whenever we plan the next work."
437
+ </output>
438
+
439
+ <action>Set {{next_epic_exists}} = false</action>
440
+ </check>
441
+
442
+ </step>
443
+
444
+ <step n="5" goal="Initialize Retrospective with Rich Context">
445
+
446
+ <action>Load agent configurations from {agent_manifest}</action>
447
+ <action>Identify which agents participated in Epic {{epic_number}} based on story records</action>
448
+ <action>Ensure key roles present: Product Owner, Scrum Master (facilitating), Devs, Testing/QA, Architect</action>
449
+
450
+ <output>
451
+ Bob (Scrum Master): "Alright team, everyone's here. Let me set the stage for our retrospective."
452
+
453
+ ═══════════════════════════════════════════════════════════
454
+ 🔄 TEAM RETROSPECTIVE - Epic {{epic_number}}: {{epic_title}}
455
+ ═══════════════════════════════════════════════════════════
456
+
457
+ Bob (Scrum Master): "Here's what we accomplished together."
458
+
459
+ **EPIC {{epic_number}} SUMMARY:**
460
+
461
+ Delivery Metrics:
462
+
463
+ - Completed: {{completed_stories}}/{{total_stories}} stories ({{completion_percentage}}%)
464
+ - Velocity: {{actual_points}} story points{{#if planned_points}} (planned: {{planned_points}}){{/if}}
465
+ - Duration: {{actual_sprints}} sprints{{#if planned_sprints}} (planned: {{planned_sprints}}){{/if}}
466
+ - Average velocity: {{points_per_sprint}} points/sprint
467
+
468
+ Quality and Technical:
469
+
470
+ - Blockers encountered: {{blocker_count}}
471
+ - Technical debt items: {{debt_count}}
472
+ - Test coverage: {{coverage_info}}
473
+ - Production incidents: {{incident_count}}
474
+
475
+ Business Outcomes:
476
+
477
+ - Goals achieved: {{goals_met}}/{{total_goals}}
478
+ - Success criteria: {{criteria_status}}
479
+ - Stakeholder feedback: {{feedback_summary}}
480
+
481
+ Alice (Product Owner): "Those numbers tell a good story. {{completion_percentage}}% completion is {{#if completion_percentage >= 90}}excellent{{else}}something we should discuss{{/if}}."
482
+
483
+ Charlie (Senior Dev): "I'm more interested in that technical debt number - {{debt_count}} items is {{#if debt_count > 10}}concerning{{else}}manageable{{/if}}."
484
+
485
+ Dana (QA Engineer): "{{incident_count}} production incidents - {{#if incident_count == 0}}clean epic!{{else}}we should talk about those{{/if}}."
486
+
487
+ {{#if next_epic_exists}}
488
+ ═══════════════════════════════════════════════════════════
489
+ **NEXT EPIC PREVIEW:** Epic {{next_epic_num}}: {{next_epic_title}}
490
+ ═══════════════════════════════════════════════════════════
491
+
492
+ Dependencies on Epic {{epic_number}}:
493
+ {{list_dependencies}}
494
+
495
+ Preparation Needed:
496
+ {{list_preparation_gaps}}
497
+
498
+ Technical Prerequisites:
499
+ {{list_technical_prereqs}}
500
+
501
+ Bob (Scrum Master): "And here's what's coming next. Epic {{next_epic_num}} builds on what we just finished."
502
+
503
+ Elena (Junior Dev): "Wow, that's a lot of dependencies on our work."
504
+
505
+ Charlie (Senior Dev): "Which means we better make sure Epic {{epic_number}} is actually solid before moving on."
506
+ {{/if}}
507
+
508
+ ═══════════════════════════════════════════════════════════
509
+
510
+ Bob (Scrum Master): "Team assembled for this retrospective:"
511
+
512
+ {{list_participating_agents}}
513
+
514
+ Bob (Scrum Master): "{user_name}, you're joining us as Project Lead. Your perspective is crucial here."
515
+
516
+ {user_name} (Project Lead): [Participating in the retrospective]
517
+
518
+ Bob (Scrum Master): "Our focus today:"
519
+
520
+ 1. Learning from Epic {{epic_number}} execution
521
+ {{#if next_epic_exists}}2. Preparing for Epic {{next_epic_num}} success{{/if}}
522
+
523
+ Bob (Scrum Master): "Ground rules: psychological safety first. No blame, no judgment. We focus on systems and processes, not individuals. Everyone's voice matters. Specific examples are better than generalizations."
524
+
525
+ Alice (Product Owner): "And everything shared here stays in this room - unless we decide together to escalate something."
526
+
527
+ Bob (Scrum Master): "Exactly. {user_name}, any questions before we dive in?"
528
+ </output>
529
+
530
+ <action>WAIT for {user_name} to respond or indicate readiness</action>
531
+
532
+ </step>
533
+
534
+ <step n="6" goal="Epic Review Discussion - What Went Well, What Didn't">
535
+
536
+ <output>
537
+ Bob (Scrum Master): "Let's start with the good stuff. What went well in Epic {{epic_number}}?"
538
+
539
+ Bob (Scrum Master): _pauses, creating space_
540
+
541
+ Alice (Product Owner): "I'll start. The user authentication flow we delivered exceeded my expectations. The UX is smooth, and early user feedback has been really positive."
542
+
543
+ Charlie (Senior Dev): "I'll add to that - the caching strategy we implemented in Story {{breakthrough_story_num}} was a game-changer. We cut API calls by 60% and it set the pattern for the rest of the epic."
544
+
545
+ Dana (QA Engineer): "From my side, testing went smoother than usual. The dev team's documentation was way better this epic - actually usable test plans!"
546
+
547
+ Elena (Junior Dev): _smiling_ "That's because Charlie made me document everything after Story 1's code review!"
548
+
549
+ Charlie (Senior Dev): _laughing_ "Tough love pays off."
550
+ </output>
551
+
552
+ <action>Bob (Scrum Master) naturally turns to {user_name} to engage them in the discussion</action>
553
+
554
+ <output>
555
+ Bob (Scrum Master): "{user_name}, what stood out to you as going well in this epic?"
556
+ </output>
557
+
558
+ <action>WAIT for {user_name} to respond - this is a KEY USER INTERACTION moment</action>
559
+
560
+ <action>After {user_name} responds, have 1-2 team members react to or build on what {user_name} shared</action>
561
+
562
+ <output>
563
+ Alice (Product Owner): [Responds naturally to what {user_name} said, either agreeing, adding context, or offering a different perspective]
564
+
565
+ Charlie (Senior Dev): [Builds on the discussion, perhaps adding technical details or connecting to specific stories]
566
+ </output>
567
+
568
+ <action>Continue facilitating natural dialogue, periodically bringing {user_name} back into the conversation</action>
569
+
570
+ <action>After covering successes, guide the transition to challenges with care</action>
571
+
572
+ <output>
573
+ Bob (Scrum Master): "Okay, we've celebrated some real wins. Now let's talk about challenges - where did we struggle? What slowed us down?"
574
+
575
+ Bob (Scrum Master): _creates safe space with tone and pacing_
576
+
577
+ Elena (Junior Dev): _hesitates_ "Well... I really struggled with the database migrations in Story {{difficult_story_num}}. The documentation wasn't clear, and I had to redo it three times. Lost almost a full sprint on that story alone."
578
+
579
+ Charlie (Senior Dev): _defensive_ "Hold on - I wrote those migration docs, and they were perfectly clear. The issue was that the requirements kept changing mid-story!"
580
+
581
+ Alice (Product Owner): _frustrated_ "That's not fair, Charlie. We only clarified requirements once, and that was because the technical team didn't ask the right questions during planning!"
582
+
583
+ Charlie (Senior Dev): _heat rising_ "We asked plenty of questions! You said the schema was finalized, then two days into development you wanted to add three new fields!"
584
+
585
+ Bob (Scrum Master): _intervening calmly_ "Let's take a breath here. This is exactly the kind of thing we need to unpack."
586
+
587
+ Bob (Scrum Master): "Elena, you spent almost a full sprint on Story {{difficult_story_num}}. Charlie, you're saying requirements changed. Alice, you feel the right questions weren't asked up front."
588
+
589
+ Bob (Scrum Master): "{user_name}, you have visibility across the whole project. What's your take on this situation?"
590
+ </output>
591
+
592
+ <action>WAIT for {user_name} to respond and help facilitate the conflict resolution</action>
593
+
594
+ <action>Use {user_name}'s response to guide the discussion toward systemic understanding rather than blame</action>
595
+
596
+ <output>
597
+ Bob (Scrum Master): [Synthesizes {user_name}'s input with what the team shared] "So it sounds like the core issue was {{root_cause_based_on_discussion}}, not any individual person's fault."
598
+
599
+ Elena (Junior Dev): "That makes sense. If we'd had {{preventive_measure}}, I probably could have avoided those redos."
600
+
601
+ Charlie (Senior Dev): _softening_ "Yeah, and I could have been clearer about assumptions in the docs. Sorry for getting defensive, Alice."
602
+
603
+ Alice (Product Owner): "I appreciate that. I could've been more proactive about flagging the schema additions earlier, too."
604
+
605
+ Bob (Scrum Master): "This is good. We're identifying systemic improvements, not assigning blame."
606
+ </output>
607
+
608
+ <action>Continue the discussion, weaving in patterns discovered from the deep story analysis (Step 2)</action>
609
+
610
+ <output>
611
+ Bob (Scrum Master): "Speaking of patterns, I noticed something when reviewing all the story records..."
612
+
613
+ Bob (Scrum Master): "{{pattern_1_description}} - this showed up in {{pattern_1_count}} out of {{total_stories}} stories."
614
+
615
+ Dana (QA Engineer): "Oh wow, I didn't realize it was that widespread."
616
+
617
+ Bob (Scrum Master): "Yeah. And there's more - {{pattern_2_description}} came up in almost every code review."
618
+
619
+ Charlie (Senior Dev): "That's... actually embarrassing. We should've caught that pattern earlier."
620
+
621
+ Bob (Scrum Master): "No shame, Charlie. Now we know, and we can improve. {user_name}, did you notice these patterns during the epic?"
622
+ </output>
623
+
624
+ <action>WAIT for {user_name} to share their observations</action>
625
+
626
+ <action>Continue the retrospective discussion, creating moments where:</action>
627
+
628
+ - Team members ask {user_name} questions directly
629
+ - {user_name}'s input shifts the discussion direction
630
+ - Disagreements arise naturally and get resolved
631
+ - Quieter team members are invited to contribute
632
+ - Specific stories are referenced with real examples
633
+ - Emotions are authentic (frustration, pride, concern, hope)
634
+
635
+ <check if="previous retrospective exists">
636
+ <output>
637
+ Bob (Scrum Master): "Before we move on, I want to circle back to Epic {{prev_epic_num}}'s retrospective."
638
+
639
+ Bob (Scrum Master): "We made some commitments in that retro. Let's see how we did."
640
+
641
+ Bob (Scrum Master): "Action item 1: {{prev_action_1}}. Status: {{prev_action_1_status}}"
642
+
643
+ Alice (Product Owner): {{#if prev_action_1_status == "completed"}}"We nailed that one!"{{else}}"We... didn't do that one."{{/if}}
644
+
645
+ Charlie (Senior Dev): {{#if prev_action_1_status == "completed"}}"And it helped! I noticed {{evidence_of_impact}}"{{else}}"Yeah, and I think that's why we had {{consequence_of_not_doing_it}} this epic."{{/if}}
646
+
647
+ Bob (Scrum Master): "Action item 2: {{prev_action_2}}. Status: {{prev_action_2_status}}"
648
+
649
+ Dana (QA Engineer): {{#if prev_action_2_status == "completed"}}"This one made testing so much easier this time."{{else}}"If we'd done this, I think testing would've gone faster."{{/if}}
650
+
651
+ Bob (Scrum Master): "{user_name}, looking at what we committed to last time and what we actually did - what's your reaction?"
652
+ </output>
653
+
654
+ <action>WAIT for {user_name} to respond</action>
655
+
656
+ <action>Use the previous retro follow-through as a learning moment about commitment and accountability</action>
657
+ </check>
658
+
659
+ <output>
660
+ Bob (Scrum Master): "Alright, we've covered a lot of ground. Let me summarize what I'm hearing..."
661
+
662
+ Bob (Scrum Master): "**Successes:**"
663
+ {{list_success_themes}}
664
+
665
+ Bob (Scrum Master): "**Challenges:**"
666
+ {{list_challenge_themes}}
667
+
668
+ Bob (Scrum Master): "**Key Insights:**"
669
+ {{list_insight_themes}}
670
+
671
+ Bob (Scrum Master): "Does that capture it? Anyone have something important we missed?"
672
+ </output>
673
+
674
+ <action>Allow team members to add any final thoughts on the epic review</action>
675
+ <action>Ensure {user_name} has opportunity to add their perspective</action>
676
+
677
+ </step>
678
+
679
+ <step n="7" goal="Next Epic Preparation Discussion - Interactive and Collaborative">
680
+
681
+ <check if="{{next_epic_exists}} == false">
682
+ <output>
683
+ Bob (Scrum Master): "Normally we'd discuss preparing for the next epic, but since Epic {{next_epic_num}} isn't defined yet, let's skip to action items."
684
+ </output>
685
+ <action>Skip to Step 8</action>
686
+ </check>
687
+
688
+ <output>
689
+ Bob (Scrum Master): "Now let's shift gears. Epic {{next_epic_num}} is coming up: '{{next_epic_title}}'"
690
+
691
+ Bob (Scrum Master): "The question is: are we ready? What do we need to prepare?"
692
+
693
+ Alice (Product Owner): "From my perspective, we need to make sure {{dependency_concern_1}} from Epic {{epic_number}} is solid before we start building on it."
694
+
695
+ Charlie (Senior Dev): _concerned_ "I'm worried about {{technical_concern_1}}. We have {{technical_debt_item}} from this epic that'll blow up if we don't address it before Epic {{next_epic_num}}."
696
+
697
+ Dana (QA Engineer): "And I need {{testing_infrastructure_need}} in place, or we're going to have the same testing bottleneck we had in Story {{bottleneck_story_num}}."
698
+
699
+ Elena (Junior Dev): "I'm less worried about infrastructure and more about knowledge. I don't understand {{knowledge_gap}} well enough to work on Epic {{next_epic_num}}'s stories."
700
+
701
+ Bob (Scrum Master): "{user_name}, the team is surfacing some real concerns here. What's your sense of our readiness?"
702
+ </output>
703
+
704
+ <action>WAIT for {user_name} to share their assessment</action>
705
+
706
+ <action>Use {user_name}'s input to guide deeper exploration of preparation needs</action>
707
+
708
+ <output>
709
+ Alice (Product Owner): [Reacts to what {user_name} said] "I agree with {user_name} about {{point_of_agreement}}, but I'm still worried about {{lingering_concern}}."
710
+
711
+ Charlie (Senior Dev): "Here's what I think we need technically before Epic {{next_epic_num}} can start..."
712
+
713
+ Charlie (Senior Dev): "1. {{tech_prep_item_1}} - estimated {{hours_1}} hours"
714
+ Charlie (Senior Dev): "2. {{tech_prep_item_2}} - estimated {{hours_2}} hours"
715
+ Charlie (Senior Dev): "3. {{tech_prep_item_3}} - estimated {{hours_3}} hours"
716
+
717
+ Elena (Junior Dev): "That's like {{total_hours}} hours! That's a full sprint of prep work!"
718
+
719
+ Charlie (Senior Dev): "Exactly. We can't just jump into Epic {{next_epic_num}} on Monday."
720
+
721
+ Alice (Product Owner): _frustrated_ "But we have stakeholder pressure to keep shipping features. They're not going to be happy about a 'prep sprint.'"
722
+
723
+ Bob (Scrum Master): "Let's think about this differently. What happens if we DON'T do this prep work?"
724
+
725
+ Dana (QA Engineer): "We'll hit blockers in the middle of Epic {{next_epic_num}}, velocity will tank, and we'll ship late anyway."
726
+
727
+ Charlie (Senior Dev): "Worse - we'll ship something built on top of {{technical_concern_1}}, and it'll be fragile."
728
+
729
+ Bob (Scrum Master): "{user_name}, you're balancing stakeholder pressure against technical reality. How do you want to handle this?"
730
+ </output>
731
+
732
+ <action>WAIT for {user_name} to provide direction on preparation approach</action>
733
+
734
+ <action>Create space for debate and disagreement about priorities</action>
735
+
736
+ <output>
737
+ Alice (Product Owner): [Potentially disagrees with {user_name}'s approach] "I hear what you're saying, {user_name}, but from a business perspective, {{business_concern}}."
738
+
739
+ Charlie (Senior Dev): [Potentially supports or challenges Alice's point] "The business perspective is valid, but {{technical_counter_argument}}."
740
+
741
+ Bob (Scrum Master): "We have healthy tension here between business needs and technical reality. That's good - it means we're being honest."
742
+
743
+ Bob (Scrum Master): "Let's explore a middle ground. Charlie, which of your prep items are absolutely critical vs. nice-to-have?"
744
+
745
+ Charlie (Senior Dev): "{{critical_prep_item_1}} and {{critical_prep_item_2}} are non-negotiable. {{nice_to_have_prep_item}} can wait."
746
+
747
+ Alice (Product Owner): "And can any of the critical prep happen in parallel with starting Epic {{next_epic_num}}?"
748
+
749
+ Charlie (Senior Dev): _thinking_ "Maybe. If we tackle {{first_critical_item}} before the epic starts, we could do {{second_critical_item}} during the first sprint."
750
+
751
+ Dana (QA Engineer): "But that means Story 1 of Epic {{next_epic_num}} can't depend on {{second_critical_item}}."
752
+
753
+ Alice (Product Owner): _looking at epic plan_ "Actually, Stories 1 and 2 are about {{independent_work}}, so they don't depend on it. We could make that work."
754
+
755
+ Bob (Scrum Master): "{user_name}, the team is finding a workable compromise here. Does this approach make sense to you?"
756
+ </output>
757
+
758
+ <action>WAIT for {user_name} to validate or adjust the preparation strategy</action>
759
+
760
+ <action>Continue working through preparation needs across all dimensions:</action>
761
+
762
+ - Dependencies on Epic {{epic_number}} work
763
+ - Technical setup and infrastructure
764
+ - Knowledge gaps and research needs
765
+ - Documentation or specification work
766
+ - Testing infrastructure
767
+ - Refactoring or debt reduction
768
+ - External dependencies (APIs, integrations, etc.)
769
+
770
+ <action>For each preparation area, facilitate team discussion that:</action>
771
+
772
+ - Identifies specific needs with concrete examples
773
+ - Estimates effort realistically based on Epic {{epic_number}} experience
774
+ - Assigns ownership to specific agents
775
+ - Determines criticality and timing
776
+ - Surfaces risks of NOT doing the preparation
777
+ - Explores parallel work opportunities
778
+ - Brings {user_name} in for key decisions
779
+
780
+ <output>
781
+ Bob (Scrum Master): "I'm hearing a clear picture of what we need before Epic {{next_epic_num}}. Let me summarize..."
782
+
783
+ **CRITICAL PREPARATION (Must complete before epic starts):**
784
+ {{list_critical_prep_items_with_owners_and_estimates}}
785
+
786
+ **PARALLEL PREPARATION (Can happen during early stories):**
787
+ {{list_parallel_prep_items_with_owners_and_estimates}}
788
+
789
+ **NICE-TO-HAVE PREPARATION (Would help but not blocking):**
790
+ {{list_nice_to_have_prep_items}}
791
+
792
+ Bob (Scrum Master): "Total critical prep effort: {{critical_hours}} hours ({{critical_days}} days)"
793
+
794
+ Alice (Product Owner): "That's manageable. We can communicate that to stakeholders."
795
+
796
+ Bob (Scrum Master): "{user_name}, does this preparation plan work for you?"
797
+ </output>
798
+
799
+ <action>WAIT for {user_name} final validation of preparation plan</action>
800
+
801
+ </step>
802
+
803
+ <step n="8" goal="Synthesize Action Items with Significant Change Detection">
804
+
805
+ <output>
806
+ Bob (Scrum Master): "Let's capture concrete action items from everything we've discussed."
807
+
808
+ Bob (Scrum Master): "I want specific, achievable actions with clear owners. Not vague aspirations."
809
+ </output>
810
+
811
+ <action>Synthesize themes from Epic {{epic_number}} review discussion into actionable improvements</action>
812
+
813
+ <action>Create specific action items with:</action>
814
+
815
+ - Clear description of the action
816
+ - Assigned owner (specific agent or role)
817
+ - Timeline or deadline
818
+ - Success criteria (how we'll know it's done)
819
+ - Category (process, technical, documentation, team, etc.)
820
+
821
+ <action>Ensure action items are SMART:</action>
822
+
823
+ - Specific: Clear and unambiguous
824
+ - Measurable: Can verify completion
825
+ - Achievable: Realistic given constraints
826
+ - Relevant: Addresses real issues from retro
827
+ - Time-bound: Has clear deadline
828
+
829
+ <output>
830
+ Bob (Scrum Master): "Based on our discussion, here are the action items I'm proposing..."
831
+
832
+ ═══════════════════════════════════════════════════════════
833
+ 📝 EPIC {{epic_number}} ACTION ITEMS:
834
+ ═══════════════════════════════════════════════════════════
835
+
836
+ **Process Improvements:**
837
+
838
+ 1. {{action_item_1}}
839
+ Owner: {{agent_1}}
840
+ Deadline: {{timeline_1}}
841
+ Success criteria: {{criteria_1}}
842
+
843
+ 2. {{action_item_2}}
844
+ Owner: {{agent_2}}
845
+ Deadline: {{timeline_2}}
846
+ Success criteria: {{criteria_2}}
847
+
848
+ Charlie (Senior Dev): "I can own action item 1, but {{timeline_1}} is tight. Can we push it to {{alternative_timeline}}?"
849
+
850
+ Bob (Scrum Master): "What do others think? Does that timing still work?"
851
+
852
+ Alice (Product Owner): "{{alternative_timeline}} works for me, as long as it's done before Epic {{next_epic_num}} starts."
853
+
854
+ Bob (Scrum Master): "Agreed. Updated to {{alternative_timeline}}."
855
+
856
+ **Technical Debt:**
857
+
858
+ 1. {{debt_item_1}}
859
+ Owner: {{agent_3}}
860
+ Priority: {{priority_1}}
861
+ Estimated effort: {{effort_1}}
862
+
863
+ 2. {{debt_item_2}}
864
+ Owner: {{agent_4}}
865
+ Priority: {{priority_2}}
866
+ Estimated effort: {{effort_2}}
867
+
868
+ Dana (QA Engineer): "For debt item 1, can we prioritize that as high? It caused testing issues in three different stories."
869
+
870
+ Charlie (Senior Dev): "I marked it medium because {{reasoning}}, but I hear your point."
871
+
872
+ Bob (Scrum Master): "{user_name}, this is a priority call. Testing impact vs. {{reasoning}} - how do you want to prioritize it?"
873
+ </output>
874
+
875
+ <action>WAIT for {user_name} to help resolve priority discussions</action>
876
+
877
+ <output>
878
+ **Documentation:**
879
+ 1. {{doc_need_1}}
880
+ Owner: {{agent_5}}
881
+ Deadline: {{timeline_3}}
882
+
883
+ 2. {{doc_need_2}}
884
+ Owner: {{agent_6}}
885
+ Deadline: {{timeline_4}}
886
+
887
+ **Team Agreements:**
888
+
889
+ - {{agreement_1}}
890
+ - {{agreement_2}}
891
+ - {{agreement_3}}
892
+
893
+ Bob (Scrum Master): "These agreements are how we're committing to work differently going forward."
894
+
895
+ Elena (Junior Dev): "I like agreement 2 - that would've saved me on Story {{difficult_story_num}}."
896
+
897
+ ═══════════════════════════════════════════════════════════
898
+ 🚀 EPIC {{next_epic_num}} PREPARATION TASKS:
899
+ ═══════════════════════════════════════════════════════════
900
+
901
+ **Technical Setup:**
902
+ [ ] {{setup_task_1}}
903
+ Owner: {{owner_1}}
904
+ Estimated: {{est_1}}
905
+
906
+ [ ] {{setup_task_2}}
907
+ Owner: {{owner_2}}
908
+ Estimated: {{est_2}}
909
+
910
+ **Knowledge Development:**
911
+ [ ] {{research_task_1}}
912
+ Owner: {{owner_3}}
913
+ Estimated: {{est_3}}
914
+
915
+ **Cleanup/Refactoring:**
916
+ [ ] {{refactor_task_1}}
917
+ Owner: {{owner_4}}
918
+ Estimated: {{est_4}}
919
+
920
+ **Total Estimated Effort:** {{total_hours}} hours ({{total_days}} days)
921
+
922
+ ═══════════════════════════════════════════════════════════
923
+ ⚠️ CRITICAL PATH:
924
+ ═══════════════════════════════════════════════════════════
925
+
926
+ **Blockers to Resolve Before Epic {{next_epic_num}}:**
927
+
928
+ 1. {{critical_item_1}}
929
+ Owner: {{critical_owner_1}}
930
+ Must complete by: {{critical_deadline_1}}
931
+
932
+ 2. {{critical_item_2}}
933
+ Owner: {{critical_owner_2}}
934
+ Must complete by: {{critical_deadline_2}}
935
+ </output>
936
+
937
+ <action>CRITICAL ANALYSIS - Detect if discoveries require epic updates</action>
938
+
939
+ <action>Check if any of the following are true based on retrospective discussion:</action>
940
+
941
+ - Architectural assumptions from planning proven wrong during Epic {{epic_number}}
942
+ - Major scope changes or descoping occurred that affects next epic
943
+ - Technical approach needs fundamental change for Epic {{next_epic_num}}
944
+ - Dependencies discovered that Epic {{next_epic_num}} doesn't account for
945
+ - User needs significantly different than originally understood
946
+ - Performance/scalability concerns that affect Epic {{next_epic_num}} design
947
+ - Security or compliance issues discovered that change approach
948
+ - Integration assumptions proven incorrect
949
+ - Team capacity or skill gaps more severe than planned
950
+ - Technical debt level unsustainable without intervention
951
+
952
+ <check if="significant discoveries detected">
953
+ <output>
954
+
955
+ ═══════════════════════════════════════════════════════════
956
+ 🚨 SIGNIFICANT DISCOVERY ALERT 🚨
957
+ ═══════════════════════════════════════════════════════════
958
+
959
+ Bob (Scrum Master): "{user_name}, we need to flag something important."
960
+
961
+ Bob (Scrum Master): "During Epic {{epic_number}}, the team uncovered findings that may require updating the plan for Epic {{next_epic_num}}."
962
+
963
+ **Significant Changes Identified:**
964
+
965
+ 1. {{significant_change_1}}
966
+ Impact: {{impact_description_1}}
967
+
968
+ 2. {{significant_change_2}}
969
+ Impact: {{impact_description_2}}
970
+
971
+ {{#if significant_change_3}} 3. {{significant_change_3}}
972
+ Impact: {{impact_description_3}}
973
+ {{/if}}
974
+
975
+ Charlie (Senior Dev): "Yeah, when we discovered {{technical_discovery}}, it fundamentally changed our understanding of {{affected_area}}."
976
+
977
+ Alice (Product Owner): "And from a product perspective, {{product_discovery}} means Epic {{next_epic_num}}'s stories are based on wrong assumptions."
978
+
979
+ Dana (QA Engineer): "If we start Epic {{next_epic_num}} as-is, we're going to hit walls fast."
980
+
981
+ **Impact on Epic {{next_epic_num}}:**
982
+
983
+ The current plan for Epic {{next_epic_num}} assumes:
984
+
985
+ - {{wrong_assumption_1}}
986
+ - {{wrong_assumption_2}}
987
+
988
+ But Epic {{epic_number}} revealed:
989
+
990
+ - {{actual_reality_1}}
991
+ - {{actual_reality_2}}
992
+
993
+ This means Epic {{next_epic_num}} likely needs:
994
+ {{list_likely_changes_needed}}
995
+
996
+ **RECOMMENDED ACTIONS:**
997
+
998
+ 1. Review and update Epic {{next_epic_num}} definition based on new learnings
999
+ 2. Update affected stories in Epic {{next_epic_num}} to reflect reality
1000
+ 3. Consider updating architecture or technical specifications if applicable
1001
+ 4. Hold alignment session with Product Owner before starting Epic {{next_epic_num}}
1002
+ {{#if prd_update_needed}}5. Update PRD sections affected by new understanding{{/if}}
1003
+
1004
+ Bob (Scrum Master): "**Epic Update Required**: YES - Schedule epic planning review session"
1005
+
1006
+ Bob (Scrum Master): "{user_name}, this is significant. We need to address this before committing to Epic {{next_epic_num}}'s current plan. How do you want to handle it?"
1007
+ </output>
1008
+
1009
+ <action>WAIT for {user_name} to decide on how to handle the significant changes</action>
1010
+
1011
+ <action>Add epic review session to critical path if user agrees</action>
1012
+
1013
+ <output>
1014
+ Alice (Product Owner): "I agree with {user_name}'s approach. Better to adjust the plan now than fail mid-epic."
1015
+
1016
+ Charlie (Senior Dev): "This is why retrospectives matter. We caught this before it became a disaster."
1017
+
1018
+ Bob (Scrum Master): "Adding to critical path: Epic {{next_epic_num}} planning review session before epic kickoff."
1019
+ </output>
1020
+ </check>
1021
+
1022
+ <check if="no significant discoveries">
1023
+ <output>
1024
+ Bob (Scrum Master): "Good news - nothing from Epic {{epic_number}} fundamentally changes our plan for Epic {{next_epic_num}}. The plan is still sound."
1025
+
1026
+ Alice (Product Owner): "We learned a lot, but the direction is right."
1027
+ </output>
1028
+ </check>
1029
+
1030
+ <output>
1031
+ Bob (Scrum Master): "Let me show you the complete action plan..."
1032
+
1033
+ Bob (Scrum Master): "That's {{total_action_count}} action items, {{prep_task_count}} preparation tasks, and {{critical_count}} critical path items."
1034
+
1035
+ Bob (Scrum Master): "Everyone clear on what they own?"
1036
+ </output>
1037
+
1038
+ <action>Give each agent with assignments a moment to acknowledge their ownership</action>
1039
+
1040
+ <action>Ensure {user_name} approves the complete action plan</action>
1041
+
1042
+ </step>
1043
+
1044
+ <step n="9" goal="Critical Readiness Exploration - Interactive Deep Dive">
1045
+
1046
+ <output>
1047
+ Bob (Scrum Master): "Before we close, I want to do a final readiness check."
1048
+
1049
+ Bob (Scrum Master): "Epic {{epic_number}} is marked complete in sprint-status, but is it REALLY done?"
1050
+
1051
+ Alice (Product Owner): "What do you mean, Bob?"
1052
+
1053
+ Bob (Scrum Master): "I mean truly production-ready, stakeholders happy, no loose ends that'll bite us later."
1054
+
1055
+ Bob (Scrum Master): "{user_name}, let's walk through this together."
1056
+ </output>
1057
+
1058
+ <action>Explore testing and quality state through natural conversation</action>
1059
+
1060
+ <output>
1061
+ Bob (Scrum Master): "{user_name}, tell me about the testing for Epic {{epic_number}}. What verification has been done?"
1062
+ </output>
1063
+
1064
+ <action>WAIT for {user_name} to describe testing status</action>
1065
+
1066
+ <output>
1067
+ Dana (QA Engineer): [Responds to what {user_name} shared] "I can add to that - {{additional_testing_context}}."
1068
+
1069
+ Dana (QA Engineer): "But honestly, {{testing_concern_if_any}}."
1070
+
1071
+ Bob (Scrum Master): "{user_name}, are you confident Epic {{epic_number}} is production-ready from a quality perspective?"
1072
+ </output>
1073
+
1074
+ <action>WAIT for {user_name} to assess quality readiness</action>
1075
+
1076
+ <check if="{user_name} expresses concerns">
1077
+ <output>
1078
+ Bob (Scrum Master): "Okay, let's capture that. What specific testing is still needed?"
1079
+
1080
+ Dana (QA Engineer): "I can handle {{testing_work_needed}}, estimated {{testing_hours}} hours."
1081
+
1082
+ Bob (Scrum Master): "Adding to critical path: Complete {{testing_work_needed}} before Epic {{next_epic_num}}."
1083
+ </output>
1084
+ <action>Add testing completion to critical path</action>
1085
+ </check>
1086
+
1087
+ <action>Explore deployment and release status</action>
1088
+
1089
+ <output>
1090
+ Bob (Scrum Master): "{user_name}, what's the deployment status for Epic {{epic_number}}? Is it live in production, scheduled for deployment, or still pending?"
1091
+ </output>
1092
+
1093
+ <action>WAIT for {user_name} to provide deployment status</action>
1094
+
1095
+ <check if="not yet deployed">
1096
+ <output>
1097
+ Charlie (Senior Dev): "If it's not deployed yet, we need to factor that into Epic {{next_epic_num}} timing."
1098
+
1099
+ Bob (Scrum Master): "{user_name}, when is deployment planned? Does that timing work for starting Epic {{next_epic_num}}?"
1100
+ </output>
1101
+
1102
+ <action>WAIT for {user_name} to clarify deployment timeline</action>
1103
+
1104
+ <action>Add deployment milestone to critical path with agreed timeline</action>
1105
+ </check>
1106
+
1107
+ <action>Explore stakeholder acceptance</action>
1108
+
1109
+ <output>
1110
+ Bob (Scrum Master): "{user_name}, have stakeholders seen and accepted the Epic {{epic_number}} deliverables?"
1111
+
1112
+ Alice (Product Owner): "This is important - I've seen 'done' epics get rejected by stakeholders and force rework."
1113
+
1114
+ Bob (Scrum Master): "{user_name}, any feedback from stakeholders still pending?"
1115
+ </output>
1116
+
1117
+ <action>WAIT for {user_name} to describe stakeholder acceptance status</action>
1118
+
1119
+ <check if="acceptance incomplete or feedback pending">
1120
+ <output>
1121
+ Alice (Product Owner): "We should get formal acceptance before moving on. Otherwise Epic {{next_epic_num}} might get interrupted by rework."
1122
+
1123
+ Bob (Scrum Master): "{user_name}, how do you want to handle stakeholder acceptance? Should we make it a critical path item?"
1124
+ </output>
1125
+
1126
+ <action>WAIT for {user_name} decision</action>
1127
+
1128
+ <action>Add stakeholder acceptance to critical path if user agrees</action>
1129
+ </check>
1130
+
1131
+ <action>Explore technical health and stability</action>
1132
+
1133
+ <output>
1134
+ Bob (Scrum Master): "{user_name}, this is a gut-check question: How does the codebase feel after Epic {{epic_number}}?"
1135
+
1136
+ Bob (Scrum Master): "Stable and maintainable? Or are there concerns lurking?"
1137
+
1138
+ Charlie (Senior Dev): "Be honest, {user_name}. We've all shipped epics that felt... fragile."
1139
+ </output>
1140
+
1141
+ <action>WAIT for {user_name} to assess codebase health</action>
1142
+
1143
+ <check if="{user_name} expresses stability concerns">
1144
+ <output>
1145
+ Charlie (Senior Dev): "Okay, let's dig into that. What's causing those concerns?"
1146
+
1147
+ Charlie (Senior Dev): [Helps {user_name} articulate technical concerns]
1148
+
1149
+ Bob (Scrum Master): "What would it take to address these concerns and feel confident about stability?"
1150
+
1151
+ Charlie (Senior Dev): "I'd say we need {{stability_work_needed}}, roughly {{stability_hours}} hours."
1152
+
1153
+ Bob (Scrum Master): "{user_name}, is addressing this stability work worth doing before Epic {{next_epic_num}}?"
1154
+ </output>
1155
+
1156
+ <action>WAIT for {user_name} decision</action>
1157
+
1158
+ <action>Add stability work to preparation sprint if user agrees</action>
1159
+ </check>
1160
+
1161
+ <action>Explore unresolved blockers</action>
1162
+
1163
+ <output>
1164
+ Bob (Scrum Master): "{user_name}, are there any unresolved blockers or technical issues from Epic {{epic_number}} that we're carrying forward?"
1165
+
1166
+ Dana (QA Engineer): "Things that might create problems for Epic {{next_epic_num}} if we don't deal with them?"
1167
+
1168
+ Bob (Scrum Master): "Nothing is off limits here. If there's a problem, we need to know."
1169
+ </output>
1170
+
1171
+ <action>WAIT for {user_name} to surface any blockers</action>
1172
+
1173
+ <check if="blockers identified">
1174
+ <output>
1175
+ Bob (Scrum Master): "Let's capture those blockers and figure out how they affect Epic {{next_epic_num}}."
1176
+
1177
+ Charlie (Senior Dev): "For {{blocker_1}}, if we leave it unresolved, it'll {{impact_description_1}}."
1178
+
1179
+ Alice (Product Owner): "That sounds critical. We need to address that before moving forward."
1180
+
1181
+ Bob (Scrum Master): "Agreed. Adding to critical path: Resolve {{blocker_1}} before Epic {{next_epic_num}} kickoff."
1182
+
1183
+ Bob (Scrum Master): "Who owns that work?"
1184
+ </output>
1185
+
1186
+ <action>Assign blocker resolution to appropriate agent</action>
1187
+ <action>Add to critical path with priority and deadline</action>
1188
+ </check>
1189
+
1190
+ <action>Synthesize the readiness assessment</action>
1191
+
1192
+ <output>
1193
+ Bob (Scrum Master): "Okay {user_name}, let me synthesize what we just uncovered..."
1194
+
1195
+ **EPIC {{epic_number}} READINESS ASSESSMENT:**
1196
+
1197
+ Testing & Quality: {{quality_status}}
1198
+ {{#if quality_concerns}}⚠️ Action needed: {{quality_action_needed}}{{/if}}
1199
+
1200
+ Deployment: {{deployment_status}}
1201
+ {{#if deployment_pending}}⚠️ Scheduled for: {{deployment_date}}{{/if}}
1202
+
1203
+ Stakeholder Acceptance: {{acceptance_status}}
1204
+ {{#if acceptance_incomplete}}⚠️ Action needed: {{acceptance_action_needed}}{{/if}}
1205
+
1206
+ Technical Health: {{stability_status}}
1207
+ {{#if stability_concerns}}⚠️ Action needed: {{stability_action_needed}}{{/if}}
1208
+
1209
+ Unresolved Blockers: {{blocker_status}}
1210
+ {{#if blockers_exist}}⚠️ Must resolve: {{blocker_list}}{{/if}}
1211
+
1212
+ Bob (Scrum Master): "{user_name}, does this assessment match your understanding?"
1213
+ </output>
1214
+
1215
+ <action>WAIT for {user_name} to confirm or correct the assessment</action>
1216
+
1217
+ <output>
1218
+ Bob (Scrum Master): "Based on this assessment, Epic {{epic_number}} is {{#if all_clear}}fully complete and we're clear to proceed{{else}}complete from a story perspective, but we have {{critical_work_count}} critical items before Epic {{next_epic_num}}{{/if}}."
1219
+
1220
+ Alice (Product Owner): "This level of thoroughness is why retrospectives are valuable."
1221
+
1222
+ Charlie (Senior Dev): "Better to catch this now than three stories into the next epic."
1223
+ </output>
1224
+
1225
+ </step>
1226
+
1227
+ <step n="10" goal="Retrospective Closure with Celebration and Commitment">
1228
+
1229
+ <output>
1230
+ Bob (Scrum Master): "We've covered a lot of ground today. Let me bring this retrospective to a close."
1231
+
1232
+ ═══════════════════════════════════════════════════════════
1233
+ ✅ RETROSPECTIVE COMPLETE
1234
+ ═══════════════════════════════════════════════════════════
1235
+
1236
+ Bob (Scrum Master): "Epic {{epic_number}}: {{epic_title}} - REVIEWED"
1237
+
1238
+ **Key Takeaways:**
1239
+
1240
+ 1. {{key_lesson_1}}
1241
+ 2. {{key_lesson_2}}
1242
+ 3. {{key_lesson_3}}
1243
+ {{#if key_lesson_4}}4. {{key_lesson_4}}{{/if}}
1244
+
1245
+ Alice (Product Owner): "That first takeaway is huge - {{impact_of_lesson_1}}."
1246
+
1247
+ Charlie (Senior Dev): "And lesson 2 is something we can apply immediately."
1248
+
1249
+ Bob (Scrum Master): "Commitments made today:"
1250
+
1251
+ - Action Items: {{action_count}}
1252
+ - Preparation Tasks: {{prep_task_count}}
1253
+ - Critical Path Items: {{critical_count}}
1254
+
1255
+ Dana (QA Engineer): "That's a lot of commitments. We need to actually follow through this time."
1256
+
1257
+ Bob (Scrum Master): "Agreed. Which is why we'll review these action items in our next standup."
1258
+
1259
+ ═══════════════════════════════════════════════════════════
1260
+ 🎯 NEXT STEPS:
1261
+ ═══════════════════════════════════════════════════════════
1262
+
1263
+ 1. Execute Preparation Sprint (Est: {{prep_days}} days)
1264
+ 2. Complete Critical Path items before Epic {{next_epic_num}}
1265
+ 3. Review action items in next standup
1266
+ {{#if epic_update_needed}}4. Hold Epic {{next_epic_num}} planning review session{{else}}4. Begin Epic {{next_epic_num}} planning when preparation complete{{/if}}
1267
+
1268
+ Elena (Junior Dev): "{{prep_days}} days of prep work is significant, but necessary."
1269
+
1270
+ Alice (Product Owner): "I'll communicate the timeline to stakeholders. They'll understand if we frame it as 'ensuring Epic {{next_epic_num}} success.'"
1271
+
1272
+ ═══════════════════════════════════════════════════════════
1273
+
1274
+ Bob (Scrum Master): "Before we wrap, I want to take a moment to acknowledge the team."
1275
+
1276
+ Bob (Scrum Master): "Epic {{epic_number}} delivered {{completed_stories}} stories with {{velocity_description}} velocity. We overcame {{blocker_count}} blockers. We learned a lot. That's real work by real people."
1277
+
1278
+ Charlie (Senior Dev): "Hear, hear."
1279
+
1280
+ Alice (Product Owner): "I'm proud of what we shipped."
1281
+
1282
+ Dana (QA Engineer): "And I'm excited about Epic {{next_epic_num}} - especially now that we're prepared for it."
1283
+
1284
+ Bob (Scrum Master): "{user_name}, any final thoughts before we close?"
1285
+ </output>
1286
+
1287
+ <action>WAIT for {user_name} to share final reflections</action>
1288
+
1289
+ <output>
1290
+ Bob (Scrum Master): [Acknowledges what {user_name} shared] "Thank you for that, {user_name}."
1291
+
1292
+ Bob (Scrum Master): "Alright team - great work today. We learned a lot from Epic {{epic_number}}. Let's use these insights to make Epic {{next_epic_num}} even better."
1293
+
1294
+ Bob (Scrum Master): "See you all when prep work is done. Meeting adjourned!"
1295
+
1296
+ ═══════════════════════════════════════════════════════════
1297
+ </output>
1298
+
1299
+ <action>Prepare to save retrospective summary document</action>
1300
+
1301
+ </step>
1302
+
1303
+ <step n="11" goal="Save Retrospective and Update Sprint Status">
1304
+
1305
+ <action>Ensure retrospectives folder exists: {retrospectives_folder}</action>
1306
+ <action>Create folder if it doesn't exist</action>
1307
+
1308
+ <action>Generate comprehensive retrospective summary document including:</action>
1309
+
1310
+ - Epic summary and metrics
1311
+ - Team participants
1312
+ - Successes and strengths identified
1313
+ - Challenges and growth areas
1314
+ - Key insights and learnings
1315
+ - Previous retro follow-through analysis (if applicable)
1316
+ - Next epic preview and dependencies
1317
+ - Action items with owners and timelines
1318
+ - Preparation tasks for next epic
1319
+ - Critical path items
1320
+ - Significant discoveries and epic update recommendations (if any)
1321
+ - Readiness assessment
1322
+ - Commitments and next steps
1323
+
1324
+ <action>Format retrospective document as readable markdown with clear sections</action>
1325
+ <action>Set filename: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md</action>
1326
+ <action>Save retrospective document</action>
1327
+
1328
+ <output>
1329
+ ✅ Retrospective document saved: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md
1330
+ </output>
1331
+
1332
+ <action>Update {sprint_status_file} to mark retrospective as completed</action>
1333
+
1334
+ <action>Load the FULL file: {sprint_status_file}</action>
1335
+ <action>Find development_status key "epic-{{epic_number}}-retrospective"</action>
1336
+ <action>Verify current status (typically "optional" or "pending")</action>
1337
+ <action>Update development_status["epic-{{epic_number}}-retrospective"] = "done"</action>
1338
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
1339
+
1340
+ <check if="update successful">
1341
+ <output>
1342
+ ✅ Retrospective marked as completed in {sprint_status_file}
1343
+
1344
+ Retrospective key: epic-{{epic_number}}-retrospective
1345
+ Status: {{previous_status}} → done
1346
+ </output>
1347
+ </check>
1348
+
1349
+ <check if="retrospective key not found">
1350
+ <output>
1351
+ ⚠️ Could not update retrospective status: epic-{{epic_number}}-retrospective not found in {sprint_status_file}
1352
+
1353
+ Retrospective document was saved successfully, but {sprint_status_file} may need manual update.
1354
+ </output>
1355
+ </check>
1356
+
1357
+ </step>
1358
+
1359
+ <step n="12" goal="Final Summary and Handoff">
1360
+
1361
+ <output>
1362
+ **✅ Retrospective Complete, {user_name}!**
1363
+
1364
+ **Epic Review:**
1365
+
1366
+ - Epic {{epic_number}}: {{epic_title}} reviewed
1367
+ - Retrospective Status: completed
1368
+ - Retrospective saved: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md
1369
+
1370
+ **Commitments Made:**
1371
+
1372
+ - Action Items: {{action_count}}
1373
+ - Preparation Tasks: {{prep_task_count}}
1374
+ - Critical Path Items: {{critical_count}}
1375
+
1376
+ **Next Steps:**
1377
+
1378
+ 1. **Review retrospective summary**: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md
1379
+
1380
+ 2. **Execute preparation sprint** (Est: {{prep_days}} days)
1381
+ - Complete {{critical_count}} critical path items
1382
+ - Execute {{prep_task_count}} preparation tasks
1383
+ - Verify all action items are in progress
1384
+
1385
+ 3. **Review action items in next standup**
1386
+ - Ensure ownership is clear
1387
+ - Track progress on commitments
1388
+ - Adjust timelines if needed
1389
+
1390
+ {{#if epic_update_needed}} 4. **IMPORTANT: Schedule Epic {{next_epic_num}} planning review session**
1391
+
1392
+ - Significant discoveries from Epic {{epic_number}} require epic updates
1393
+ - Review and update affected stories
1394
+ - Align team on revised approach
1395
+ - Do NOT start Epic {{next_epic_num}} until review is complete
1396
+ {{else}}
1397
+
1398
+ 4. **Begin Epic {{next_epic_num}} when ready**
1399
+ - Start drafting stories with SM agent's `create-story`
1400
+ - Epic will be marked as `in-progress` automatically when first story is created
1401
+ - Ensure all critical path items are done first
1402
+ {{/if}}
1403
+
1404
+ **Team Performance:**
1405
+ Epic {{epic_number}} delivered {{completed_stories}} stories with {{velocity_summary}}. The retrospective surfaced {{insight_count}} key insights and {{significant_discovery_count}} significant discoveries. The team is well-positioned for Epic {{next_epic_num}} success.
1406
+
1407
+ {{#if significant_discovery_count > 0}}
1408
+ ⚠️ **REMINDER**: Epic update required before starting Epic {{next_epic_num}}
1409
+ {{/if}}
1410
+
1411
+ ---
1412
+
1413
+ Bob (Scrum Master): "Great session today, {user_name}. The team did excellent work."
1414
+
1415
+ Alice (Product Owner): "See you at epic planning!"
1416
+
1417
+ Charlie (Senior Dev): "Time to knock out that prep work."
1418
+
1419
+ </output>
1420
+
1421
+ </step>
1422
+
1423
+ </workflow>
1424
+
1425
+ <facilitation-guidelines>
1426
+ <guideline>PARTY MODE REQUIRED: All agent dialogue uses "Name (Role): dialogue" format</guideline>
1427
+ <guideline>Scrum Master maintains psychological safety throughout - no blame or judgment</guideline>
1428
+ <guideline>Focus on systems and processes, not individual performance</guideline>
1429
+ <guideline>Create authentic team dynamics: disagreements, diverse perspectives, emotions</guideline>
1430
+ <guideline>User ({user_name}) is active participant, not passive observer</guideline>
1431
+ <guideline>Encourage specific examples over general statements</guideline>
1432
+ <guideline>Balance celebration of wins with honest assessment of challenges</guideline>
1433
+ <guideline>Ensure every voice is heard - all agents contribute</guideline>
1434
+ <guideline>Action items must be specific, achievable, and owned</guideline>
1435
+ <guideline>Forward-looking mindset - how do we improve for next epic?</guideline>
1436
+ <guideline>Intent-based facilitation, not scripted phrases</guideline>
1437
+ <guideline>Deep story analysis provides rich material for discussion</guideline>
1438
+ <guideline>Previous retro integration creates accountability and continuity</guideline>
1439
+ <guideline>Significant change detection prevents epic misalignment</guideline>
1440
+ <guideline>Critical verification prevents starting next epic prematurely</guideline>
1441
+ <guideline>Document everything - retrospective insights are valuable for future reference</guideline>
1442
+ <guideline>Two-part structure ensures both reflection AND preparation</guideline>
1443
+ </facilitation-guidelines>