bmm-opencode 1.4.3 → 1.6.0

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 (492) hide show
  1. package/.opencode/agents/bmad-bmad-master.md +21 -1
  2. package/.opencode/agents/bmm-analyst.md +20 -0
  3. package/.opencode/agents/bmm-architect.md +20 -0
  4. package/.opencode/agents/bmm-dev.md +20 -0
  5. package/.opencode/agents/bmm-pm.md +20 -0
  6. package/.opencode/agents/bmm-qa.md +20 -0
  7. package/.opencode/agents/bmm-quick-flow-solo-dev.md +20 -0
  8. package/.opencode/agents/bmm-sm.md +20 -0
  9. package/.opencode/agents/bmm-tech-writer.md +20 -0
  10. package/.opencode/agents/bmm-ux-designer.md +20 -0
  11. package/_bmad/_config/agent-manifest.csv +18 -0
  12. package/_bmad/_config/agents/bmm-analyst.customize.yaml +41 -0
  13. package/_bmad/_config/agents/bmm-architect.customize.yaml +41 -0
  14. package/_bmad/_config/agents/bmm-dev.customize.yaml +41 -0
  15. package/_bmad/_config/agents/bmm-pm.customize.yaml +41 -0
  16. package/_bmad/_config/agents/bmm-qa.customize.yaml +41 -0
  17. package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +41 -0
  18. package/_bmad/_config/agents/bmm-sm.customize.yaml +41 -0
  19. package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +41 -0
  20. package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +41 -0
  21. package/_bmad/_config/agents/cis-brainstorming-coach.customize.yaml +41 -0
  22. package/_bmad/_config/agents/cis-creative-problem-solver.customize.yaml +41 -0
  23. package/_bmad/_config/agents/cis-design-thinking-coach.customize.yaml +41 -0
  24. package/_bmad/_config/agents/cis-innovation-strategist.customize.yaml +41 -0
  25. package/_bmad/_config/agents/cis-presentation-master.customize.yaml +41 -0
  26. package/_bmad/_config/agents/cis-storyteller.customize.yaml +41 -0
  27. package/_bmad/_config/agents/core-bmad-master.customize.yaml +41 -0
  28. package/_bmad/_config/agents/tea-tea.customize.yaml +41 -0
  29. package/_bmad/_config/bmad-help.csv +53 -0
  30. package/_bmad/_config/files-manifest.csv +443 -0
  31. package/_bmad/_config/manifest.yaml +34 -0
  32. package/_bmad/_config/task-manifest.csv +7 -0
  33. package/_bmad/_config/tool-manifest.csv +1 -0
  34. package/_bmad/_config/workflow-manifest.csv +39 -0
  35. package/_bmad/_memory/config.yaml +11 -0
  36. package/_bmad/_memory/storyteller-sidecar/stories-told.md +7 -0
  37. package/_bmad/_memory/storyteller-sidecar/story-preferences.md +7 -0
  38. package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +224 -0
  39. package/_bmad/bmm/agents/analyst.md +78 -0
  40. package/_bmad/bmm/agents/architect.md +58 -0
  41. package/_bmad/bmm/agents/dev.md +69 -0
  42. package/_bmad/bmm/agents/pm.md +72 -0
  43. package/_bmad/bmm/agents/qa.md +92 -0
  44. package/_bmad/bmm/agents/quick-flow-solo-dev.md +69 -0
  45. package/_bmad/bmm/agents/sm.md +70 -0
  46. package/_bmad/bmm/agents/tech-writer/tech-writer.md +70 -0
  47. package/_bmad/bmm/agents/ux-designer.md +57 -0
  48. package/_bmad/bmm/config.yaml +16 -0
  49. package/_bmad/bmm/data/project-context-template.md +26 -0
  50. package/_bmad/bmm/module-help.csv +31 -0
  51. package/_bmad/bmm/teams/default-party.csv +20 -0
  52. package/_bmad/bmm/teams/team-fullstack.yaml +12 -0
  53. package/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +10 -0
  54. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +177 -0
  55. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +161 -0
  56. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +199 -0
  57. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +202 -0
  58. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +205 -0
  59. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +219 -0
  60. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +162 -0
  61. package/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +57 -0
  62. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +137 -0
  63. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +229 -0
  64. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +238 -0
  65. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +206 -0
  66. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +234 -0
  67. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  68. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  69. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
  70. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
  71. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
  72. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
  73. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  74. package/_bmad/bmm/workflows/1-analysis/research/research.template.md +29 -0
  75. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +137 -0
  76. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +239 -0
  77. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +248 -0
  78. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +202 -0
  79. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +239 -0
  80. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  81. package/_bmad/bmm/workflows/1-analysis/research/workflow-domain-research.md +54 -0
  82. package/_bmad/bmm/workflows/1-analysis/research/workflow-market-research.md +54 -0
  83. package/_bmad/bmm/workflows/1-analysis/research/workflow-technical-research.md +54 -0
  84. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +15 -0
  85. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +197 -0
  86. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +11 -0
  87. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01-init.md +191 -0
  88. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01b-continue.md +153 -0
  89. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02-discovery.md +224 -0
  90. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-03-success.md +226 -0
  91. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-04-journeys.md +213 -0
  92. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-05-domain.md +207 -0
  93. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-06-innovation.md +226 -0
  94. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-07-project-type.md +237 -0
  95. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-08-scoping.md +228 -0
  96. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-09-functional.md +231 -0
  97. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-10-nonfunctional.md +242 -0
  98. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md +217 -0
  99. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +124 -0
  100. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01-discovery.md +247 -0
  101. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01b-legacy-conversion.md +208 -0
  102. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-02-review.md +249 -0
  103. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-03-edit.md +253 -0
  104. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md +168 -0
  105. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +218 -0
  106. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +191 -0
  107. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +209 -0
  108. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +174 -0
  109. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
  110. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +228 -0
  111. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +217 -0
  112. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
  113. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
  114. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +263 -0
  115. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +209 -0
  116. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
  117. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +242 -0
  118. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +231 -0
  119. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/templates/prd-template.md +10 -0
  120. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +63 -0
  121. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +65 -0
  122. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +65 -0
  123. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +135 -0
  124. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +127 -0
  125. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +190 -0
  126. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +216 -0
  127. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +219 -0
  128. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +234 -0
  129. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +252 -0
  130. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +254 -0
  131. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +224 -0
  132. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +224 -0
  133. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +241 -0
  134. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +248 -0
  135. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +237 -0
  136. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +264 -0
  137. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +171 -0
  138. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +13 -0
  139. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +42 -0
  140. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +190 -0
  141. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +178 -0
  142. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
  143. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +139 -0
  144. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
  145. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +135 -0
  146. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +4 -0
  147. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +54 -0
  148. package/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +12 -0
  149. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +13 -0
  150. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +7 -0
  151. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +153 -0
  152. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +164 -0
  153. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +224 -0
  154. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +331 -0
  155. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +318 -0
  156. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +359 -0
  157. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +379 -0
  158. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +359 -0
  159. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +76 -0
  160. package/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +49 -0
  161. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +259 -0
  162. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +233 -0
  163. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +282 -0
  164. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +149 -0
  165. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +63 -0
  166. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  167. package/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +23 -0
  168. package/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +227 -0
  169. package/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +48 -0
  170. package/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +288 -0
  171. package/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +206 -0
  172. package/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +56 -0
  173. package/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +358 -0
  174. package/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +345 -0
  175. package/_bmad/bmm/workflows/4-implementation/create-story/template.md +50 -0
  176. package/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +57 -0
  177. package/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +80 -0
  178. package/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +410 -0
  179. package/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +23 -0
  180. package/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1443 -0
  181. package/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +55 -0
  182. package/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  183. package/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +265 -0
  184. package/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +81 -0
  185. package/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +51 -0
  186. package/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +229 -0
  187. package/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +30 -0
  188. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +176 -0
  189. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
  190. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
  191. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
  192. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
  193. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +149 -0
  194. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +50 -0
  195. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +192 -0
  196. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +145 -0
  197. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +128 -0
  198. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +201 -0
  199. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +74 -0
  200. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +78 -0
  201. package/_bmad/bmm/workflows/document-project/checklist.md +245 -0
  202. package/_bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  203. package/_bmad/bmm/workflows/document-project/instructions.md +221 -0
  204. package/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  205. package/_bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  206. package/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  207. package/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  208. package/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  209. package/_bmad/bmm/workflows/document-project/workflow.yaml +22 -0
  210. package/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  211. package/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  212. package/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  213. package/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  214. package/_bmad/bmm/workflows/generate-project-context/project-context-template.md +21 -0
  215. package/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +184 -0
  216. package/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +318 -0
  217. package/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +278 -0
  218. package/_bmad/bmm/workflows/generate-project-context/workflow.md +49 -0
  219. package/_bmad/bmm/workflows/qa/automate/checklist.md +33 -0
  220. package/_bmad/bmm/workflows/qa/automate/instructions.md +110 -0
  221. package/_bmad/bmm/workflows/qa/automate/workflow.yaml +47 -0
  222. package/_bmad/cis/agents/brainstorming-coach.md +61 -0
  223. package/_bmad/cis/agents/creative-problem-solver.md +61 -0
  224. package/_bmad/cis/agents/design-thinking-coach.md +61 -0
  225. package/_bmad/cis/agents/innovation-strategist.md +61 -0
  226. package/_bmad/cis/agents/presentation-master.md +67 -0
  227. package/_bmad/cis/agents/storyteller/storyteller.md +58 -0
  228. package/_bmad/cis/config.yaml +12 -0
  229. package/_bmad/cis/module-help.csv +6 -0
  230. package/_bmad/cis/teams/creative-squad.yaml +7 -0
  231. package/_bmad/cis/teams/default-party.csv +12 -0
  232. package/_bmad/cis/workflows/README.md +139 -0
  233. package/_bmad/cis/workflows/design-thinking/README.md +56 -0
  234. package/_bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
  235. package/_bmad/cis/workflows/design-thinking/instructions.md +202 -0
  236. package/_bmad/cis/workflows/design-thinking/template.md +111 -0
  237. package/_bmad/cis/workflows/design-thinking/workflow.yaml +27 -0
  238. package/_bmad/cis/workflows/innovation-strategy/README.md +56 -0
  239. package/_bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
  240. package/_bmad/cis/workflows/innovation-strategy/instructions.md +276 -0
  241. package/_bmad/cis/workflows/innovation-strategy/template.md +189 -0
  242. package/_bmad/cis/workflows/innovation-strategy/workflow.yaml +27 -0
  243. package/_bmad/cis/workflows/problem-solving/README.md +56 -0
  244. package/_bmad/cis/workflows/problem-solving/instructions.md +252 -0
  245. package/_bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
  246. package/_bmad/cis/workflows/problem-solving/template.md +165 -0
  247. package/_bmad/cis/workflows/problem-solving/workflow.yaml +27 -0
  248. package/_bmad/cis/workflows/storytelling/README.md +58 -0
  249. package/_bmad/cis/workflows/storytelling/instructions.md +293 -0
  250. package/_bmad/cis/workflows/storytelling/story-types.csv +26 -0
  251. package/_bmad/cis/workflows/storytelling/template.md +113 -0
  252. package/_bmad/cis/workflows/storytelling/workflow.yaml +27 -0
  253. package/_bmad/core/agents/bmad-master.md +56 -0
  254. package/_bmad/core/config.yaml +9 -0
  255. package/_bmad/core/module-help.csv +9 -0
  256. package/_bmad/core/tasks/editorial-review-prose.xml +102 -0
  257. package/_bmad/core/tasks/editorial-review-structure.xml +209 -0
  258. package/_bmad/core/tasks/help.md +82 -0
  259. package/_bmad/core/tasks/index-docs.xml +65 -0
  260. package/_bmad/core/tasks/review-adversarial-general.xml +48 -0
  261. package/_bmad/core/tasks/shard-doc.xml +108 -0
  262. package/_bmad/core/tasks/workflow.xml +235 -0
  263. package/_bmad/core/workflows/advanced-elicitation/methods.csv +51 -0
  264. package/_bmad/core/workflows/advanced-elicitation/workflow.xml +117 -0
  265. package/_bmad/core/workflows/brainstorming/brain-methods.csv +62 -0
  266. package/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +197 -0
  267. package/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +122 -0
  268. package/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +225 -0
  269. package/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +237 -0
  270. package/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +209 -0
  271. package/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +264 -0
  272. package/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +399 -0
  273. package/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +303 -0
  274. package/_bmad/core/workflows/brainstorming/template.md +15 -0
  275. package/_bmad/core/workflows/brainstorming/workflow.md +58 -0
  276. package/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
  277. package/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +261 -0
  278. package/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +166 -0
  279. package/_bmad/core/workflows/party-mode/workflow.md +219 -0
  280. package/_bmad/tea/agents/tea.md +71 -0
  281. package/_bmad/tea/config.yaml +19 -0
  282. package/_bmad/tea/module-help.csv +10 -0
  283. package/_bmad/tea/teams/default-party.csv +2 -0
  284. package/_bmad/tea/testarch/knowledge/adr-quality-readiness-checklist.md +377 -0
  285. package/_bmad/tea/testarch/knowledge/api-request.md +442 -0
  286. package/_bmad/tea/testarch/knowledge/api-testing-patterns.md +851 -0
  287. package/_bmad/tea/testarch/knowledge/auth-session.md +548 -0
  288. package/_bmad/tea/testarch/knowledge/burn-in.md +273 -0
  289. package/_bmad/tea/testarch/knowledge/ci-burn-in.md +675 -0
  290. package/_bmad/tea/testarch/knowledge/component-tdd.md +486 -0
  291. package/_bmad/tea/testarch/knowledge/contract-testing.md +957 -0
  292. package/_bmad/tea/testarch/knowledge/data-factories.md +500 -0
  293. package/_bmad/tea/testarch/knowledge/email-auth.md +721 -0
  294. package/_bmad/tea/testarch/knowledge/error-handling.md +725 -0
  295. package/_bmad/tea/testarch/knowledge/feature-flags.md +750 -0
  296. package/_bmad/tea/testarch/knowledge/file-utils.md +456 -0
  297. package/_bmad/tea/testarch/knowledge/fixture-architecture.md +401 -0
  298. package/_bmad/tea/testarch/knowledge/fixtures-composition.md +382 -0
  299. package/_bmad/tea/testarch/knowledge/intercept-network-call.md +426 -0
  300. package/_bmad/tea/testarch/knowledge/log.md +426 -0
  301. package/_bmad/tea/testarch/knowledge/network-error-monitor.md +401 -0
  302. package/_bmad/tea/testarch/knowledge/network-first.md +486 -0
  303. package/_bmad/tea/testarch/knowledge/network-recorder.md +527 -0
  304. package/_bmad/tea/testarch/knowledge/nfr-criteria.md +670 -0
  305. package/_bmad/tea/testarch/knowledge/overview.md +286 -0
  306. package/_bmad/tea/testarch/knowledge/playwright-config.md +730 -0
  307. package/_bmad/tea/testarch/knowledge/probability-impact.md +601 -0
  308. package/_bmad/tea/testarch/knowledge/recurse.md +421 -0
  309. package/_bmad/tea/testarch/knowledge/risk-governance.md +615 -0
  310. package/_bmad/tea/testarch/knowledge/selective-testing.md +732 -0
  311. package/_bmad/tea/testarch/knowledge/selector-resilience.md +527 -0
  312. package/_bmad/tea/testarch/knowledge/test-healing-patterns.md +644 -0
  313. package/_bmad/tea/testarch/knowledge/test-levels-framework.md +473 -0
  314. package/_bmad/tea/testarch/knowledge/test-priorities-matrix.md +373 -0
  315. package/_bmad/tea/testarch/knowledge/test-quality.md +664 -0
  316. package/_bmad/tea/testarch/knowledge/timing-debugging.md +372 -0
  317. package/_bmad/tea/testarch/knowledge/visual-debugging.md +524 -0
  318. package/_bmad/tea/testarch/tea-index.csv +35 -0
  319. package/_bmad/tea/workflows/testarch/README.md +74 -0
  320. package/_bmad/tea/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  321. package/_bmad/tea/workflows/testarch/atdd/checklist.md +374 -0
  322. package/_bmad/tea/workflows/testarch/atdd/instructions.md +38 -0
  323. package/_bmad/tea/workflows/testarch/atdd/steps-c/step-01-preflight-and-context.md +110 -0
  324. package/_bmad/tea/workflows/testarch/atdd/steps-c/step-02-generation-mode.md +79 -0
  325. package/_bmad/tea/workflows/testarch/atdd/steps-c/step-03-test-strategy.md +76 -0
  326. package/_bmad/tea/workflows/testarch/atdd/steps-c/step-04-generate-tests.md +228 -0
  327. package/_bmad/tea/workflows/testarch/atdd/steps-c/step-04a-subprocess-api-failing.md +215 -0
  328. package/_bmad/tea/workflows/testarch/atdd/steps-c/step-04b-subprocess-e2e-failing.md +212 -0
  329. package/_bmad/tea/workflows/testarch/atdd/steps-c/step-04c-aggregate.md +329 -0
  330. package/_bmad/tea/workflows/testarch/atdd/steps-c/step-05-validate-and-complete.md +68 -0
  331. package/_bmad/tea/workflows/testarch/atdd/steps-e/step-01-assess.md +65 -0
  332. package/_bmad/tea/workflows/testarch/atdd/steps-e/step-02-apply-edit.md +60 -0
  333. package/_bmad/tea/workflows/testarch/atdd/steps-v/step-01-validate.md +67 -0
  334. package/_bmad/tea/workflows/testarch/atdd/validation-report-20260127-095021.md +73 -0
  335. package/_bmad/tea/workflows/testarch/atdd/validation-report-20260127-102401.md +116 -0
  336. package/_bmad/tea/workflows/testarch/atdd/workflow-plan.md +21 -0
  337. package/_bmad/tea/workflows/testarch/atdd/workflow.md +39 -0
  338. package/_bmad/tea/workflows/testarch/atdd/workflow.yaml +45 -0
  339. package/_bmad/tea/workflows/testarch/automate/checklist.md +582 -0
  340. package/_bmad/tea/workflows/testarch/automate/instructions.md +43 -0
  341. package/_bmad/tea/workflows/testarch/automate/steps-c/step-01-preflight-and-context.md +127 -0
  342. package/_bmad/tea/workflows/testarch/automate/steps-c/step-02-identify-targets.md +95 -0
  343. package/_bmad/tea/workflows/testarch/automate/steps-c/step-03-generate-tests.md +199 -0
  344. package/_bmad/tea/workflows/testarch/automate/steps-c/step-03a-subprocess-api.md +183 -0
  345. package/_bmad/tea/workflows/testarch/automate/steps-c/step-03b-subprocess-e2e.md +181 -0
  346. package/_bmad/tea/workflows/testarch/automate/steps-c/step-03c-aggregate.md +300 -0
  347. package/_bmad/tea/workflows/testarch/automate/steps-c/step-04-validate-and-summarize.md +69 -0
  348. package/_bmad/tea/workflows/testarch/automate/steps-e/step-01-assess.md +65 -0
  349. package/_bmad/tea/workflows/testarch/automate/steps-e/step-02-apply-edit.md +60 -0
  350. package/_bmad/tea/workflows/testarch/automate/steps-v/step-01-validate.md +67 -0
  351. package/_bmad/tea/workflows/testarch/automate/validation-report-20260127-095021.md +72 -0
  352. package/_bmad/tea/workflows/testarch/automate/validation-report-20260127-102401.md +114 -0
  353. package/_bmad/tea/workflows/testarch/automate/workflow-plan.md +20 -0
  354. package/_bmad/tea/workflows/testarch/automate/workflow.md +39 -0
  355. package/_bmad/tea/workflows/testarch/automate/workflow.yaml +52 -0
  356. package/_bmad/tea/workflows/testarch/ci/checklist.md +247 -0
  357. package/_bmad/tea/workflows/testarch/ci/github-actions-template.yaml +198 -0
  358. package/_bmad/tea/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
  359. package/_bmad/tea/workflows/testarch/ci/instructions.md +38 -0
  360. package/_bmad/tea/workflows/testarch/ci/steps-c/step-01-preflight.md +92 -0
  361. package/_bmad/tea/workflows/testarch/ci/steps-c/step-02-generate-pipeline.md +82 -0
  362. package/_bmad/tea/workflows/testarch/ci/steps-c/step-03-configure-quality-gates.md +75 -0
  363. package/_bmad/tea/workflows/testarch/ci/steps-c/step-04-validate-and-summary.md +67 -0
  364. package/_bmad/tea/workflows/testarch/ci/steps-e/step-01-assess.md +65 -0
  365. package/_bmad/tea/workflows/testarch/ci/steps-e/step-02-apply-edit.md +60 -0
  366. package/_bmad/tea/workflows/testarch/ci/steps-v/step-01-validate.md +67 -0
  367. package/_bmad/tea/workflows/testarch/ci/validation-report-20260127-095021.md +72 -0
  368. package/_bmad/tea/workflows/testarch/ci/validation-report-20260127-102401.md +114 -0
  369. package/_bmad/tea/workflows/testarch/ci/workflow-plan.md +20 -0
  370. package/_bmad/tea/workflows/testarch/ci/workflow.md +39 -0
  371. package/_bmad/tea/workflows/testarch/ci/workflow.yaml +45 -0
  372. package/_bmad/tea/workflows/testarch/framework/checklist.md +320 -0
  373. package/_bmad/tea/workflows/testarch/framework/instructions.md +38 -0
  374. package/_bmad/tea/workflows/testarch/framework/steps-c/step-01-preflight.md +75 -0
  375. package/_bmad/tea/workflows/testarch/framework/steps-c/step-02-select-framework.md +73 -0
  376. package/_bmad/tea/workflows/testarch/framework/steps-c/step-03-scaffold-framework.md +120 -0
  377. package/_bmad/tea/workflows/testarch/framework/steps-c/step-04-docs-and-scripts.md +70 -0
  378. package/_bmad/tea/workflows/testarch/framework/steps-c/step-05-validate-and-summary.md +68 -0
  379. package/_bmad/tea/workflows/testarch/framework/steps-e/step-01-assess.md +65 -0
  380. package/_bmad/tea/workflows/testarch/framework/steps-e/step-02-apply-edit.md +60 -0
  381. package/_bmad/tea/workflows/testarch/framework/steps-v/step-01-validate.md +67 -0
  382. package/_bmad/tea/workflows/testarch/framework/validation-report-20260127-095021.md +73 -0
  383. package/_bmad/tea/workflows/testarch/framework/validation-report-20260127-102401.md +116 -0
  384. package/_bmad/tea/workflows/testarch/framework/workflow-plan.md +22 -0
  385. package/_bmad/tea/workflows/testarch/framework/workflow.md +39 -0
  386. package/_bmad/tea/workflows/testarch/framework/workflow.yaml +47 -0
  387. package/_bmad/tea/workflows/testarch/nfr-assess/checklist.md +407 -0
  388. package/_bmad/tea/workflows/testarch/nfr-assess/instructions.md +36 -0
  389. package/_bmad/tea/workflows/testarch/nfr-assess/nfr-report-template.md +462 -0
  390. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-01-load-context.md +85 -0
  391. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-02-define-thresholds.md +82 -0
  392. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-03-gather-evidence.md +64 -0
  393. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04-evaluate-and-score.md +140 -0
  394. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04a-subprocess-security.md +138 -0
  395. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04b-subprocess-performance.md +84 -0
  396. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04c-subprocess-reliability.md +85 -0
  397. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04d-subprocess-scalability.md +88 -0
  398. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04e-aggregate-nfr.md +219 -0
  399. package/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-05-generate-report.md +71 -0
  400. package/_bmad/tea/workflows/testarch/nfr-assess/steps-e/step-01-assess.md +65 -0
  401. package/_bmad/tea/workflows/testarch/nfr-assess/steps-e/step-02-apply-edit.md +60 -0
  402. package/_bmad/tea/workflows/testarch/nfr-assess/steps-v/step-01-validate.md +67 -0
  403. package/_bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-095021.md +73 -0
  404. package/_bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-102401.md +116 -0
  405. package/_bmad/tea/workflows/testarch/nfr-assess/workflow-plan.md +19 -0
  406. package/_bmad/tea/workflows/testarch/nfr-assess/workflow.md +39 -0
  407. package/_bmad/tea/workflows/testarch/nfr-assess/workflow.yaml +47 -0
  408. package/_bmad/tea/workflows/testarch/teach-me-testing/checklist.md +197 -0
  409. package/_bmad/tea/workflows/testarch/teach-me-testing/data/curriculum.yaml +129 -0
  410. package/_bmad/tea/workflows/testarch/teach-me-testing/data/quiz-questions.yaml +206 -0
  411. package/_bmad/tea/workflows/testarch/teach-me-testing/data/role-paths.yaml +136 -0
  412. package/_bmad/tea/workflows/testarch/teach-me-testing/data/session-content-map.yaml +204 -0
  413. package/_bmad/tea/workflows/testarch/teach-me-testing/data/tea-resources-index.yaml +359 -0
  414. package/_bmad/tea/workflows/testarch/teach-me-testing/instructions.md +130 -0
  415. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-01-init.md +235 -0
  416. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-01b-continue.md +147 -0
  417. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-02-assess.md +258 -0
  418. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-03-session-menu.md +219 -0
  419. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-01.md +460 -0
  420. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-02.md +465 -0
  421. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-03.md +301 -0
  422. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-04.md +234 -0
  423. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-05.md +234 -0
  424. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-06.md +209 -0
  425. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-07.md +212 -0
  426. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-05-completion.md +339 -0
  427. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-e/step-e-01-assess-workflow.md +141 -0
  428. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-e/step-e-02-apply-edits.md +122 -0
  429. package/_bmad/tea/workflows/testarch/teach-me-testing/steps-v/step-v-01-validate.md +263 -0
  430. package/_bmad/tea/workflows/testarch/teach-me-testing/templates/certificate-template.md +86 -0
  431. package/_bmad/tea/workflows/testarch/teach-me-testing/templates/progress-template.yaml +95 -0
  432. package/_bmad/tea/workflows/testarch/teach-me-testing/templates/session-notes-template.md +83 -0
  433. package/_bmad/tea/workflows/testarch/teach-me-testing/workflow-plan-teach-me-testing.md +950 -0
  434. package/_bmad/tea/workflows/testarch/teach-me-testing/workflow.md +90 -0
  435. package/_bmad/tea/workflows/testarch/test-design/checklist.md +410 -0
  436. package/_bmad/tea/workflows/testarch/test-design/instructions.md +52 -0
  437. package/_bmad/tea/workflows/testarch/test-design/steps-c/step-01-detect-mode.md +109 -0
  438. package/_bmad/tea/workflows/testarch/test-design/steps-c/step-02-load-context.md +127 -0
  439. package/_bmad/tea/workflows/testarch/test-design/steps-c/step-03-risk-and-testability.md +85 -0
  440. package/_bmad/tea/workflows/testarch/test-design/steps-c/step-04-coverage-plan.md +98 -0
  441. package/_bmad/tea/workflows/testarch/test-design/steps-c/step-05-generate-output.md +97 -0
  442. package/_bmad/tea/workflows/testarch/test-design/steps-e/step-01-assess.md +65 -0
  443. package/_bmad/tea/workflows/testarch/test-design/steps-e/step-02-apply-edit.md +60 -0
  444. package/_bmad/tea/workflows/testarch/test-design/steps-v/step-01-validate.md +67 -0
  445. package/_bmad/tea/workflows/testarch/test-design/test-design-architecture-template.md +222 -0
  446. package/_bmad/tea/workflows/testarch/test-design/test-design-qa-template.md +296 -0
  447. package/_bmad/tea/workflows/testarch/test-design/test-design-template.md +294 -0
  448. package/_bmad/tea/workflows/testarch/test-design/validation-report-20260127-095021.md +73 -0
  449. package/_bmad/tea/workflows/testarch/test-design/validation-report-20260127-102401.md +116 -0
  450. package/_bmad/tea/workflows/testarch/test-design/workflow-plan.md +22 -0
  451. package/_bmad/tea/workflows/testarch/test-design/workflow.md +39 -0
  452. package/_bmad/tea/workflows/testarch/test-design/workflow.yaml +69 -0
  453. package/_bmad/tea/workflows/testarch/test-review/checklist.md +472 -0
  454. package/_bmad/tea/workflows/testarch/test-review/instructions.md +36 -0
  455. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-01-load-context.md +101 -0
  456. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-02-discover-tests.md +69 -0
  457. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-03-quality-evaluation.md +184 -0
  458. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-03a-subprocess-determinism.md +214 -0
  459. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-03b-subprocess-isolation.md +125 -0
  460. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-03c-subprocess-maintainability.md +102 -0
  461. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-03d-subprocess-coverage.md +111 -0
  462. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-03e-subprocess-performance.md +117 -0
  463. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-03f-aggregate-scores.md +246 -0
  464. package/_bmad/tea/workflows/testarch/test-review/steps-c/step-04-generate-report.md +72 -0
  465. package/_bmad/tea/workflows/testarch/test-review/steps-e/step-01-assess.md +65 -0
  466. package/_bmad/tea/workflows/testarch/test-review/steps-e/step-02-apply-edit.md +60 -0
  467. package/_bmad/tea/workflows/testarch/test-review/steps-v/step-01-validate.md +67 -0
  468. package/_bmad/tea/workflows/testarch/test-review/test-review-template.md +390 -0
  469. package/_bmad/tea/workflows/testarch/test-review/validation-report-20260127-095021.md +72 -0
  470. package/_bmad/tea/workflows/testarch/test-review/validation-report-20260127-102401.md +114 -0
  471. package/_bmad/tea/workflows/testarch/test-review/workflow-plan.md +18 -0
  472. package/_bmad/tea/workflows/testarch/test-review/workflow.md +39 -0
  473. package/_bmad/tea/workflows/testarch/test-review/workflow.yaml +46 -0
  474. package/_bmad/tea/workflows/testarch/trace/checklist.md +642 -0
  475. package/_bmad/tea/workflows/testarch/trace/instructions.md +36 -0
  476. package/_bmad/tea/workflows/testarch/trace/steps-c/step-01-load-context.md +80 -0
  477. package/_bmad/tea/workflows/testarch/trace/steps-c/step-02-discover-tests.md +69 -0
  478. package/_bmad/tea/workflows/testarch/trace/steps-c/step-03-map-criteria.md +65 -0
  479. package/_bmad/tea/workflows/testarch/trace/steps-c/step-04-analyze-gaps.md +244 -0
  480. package/_bmad/tea/workflows/testarch/trace/steps-c/step-05-gate-decision.md +232 -0
  481. package/_bmad/tea/workflows/testarch/trace/steps-e/step-01-assess.md +65 -0
  482. package/_bmad/tea/workflows/testarch/trace/steps-e/step-02-apply-edit.md +60 -0
  483. package/_bmad/tea/workflows/testarch/trace/steps-v/step-01-validate.md +67 -0
  484. package/_bmad/tea/workflows/testarch/trace/trace-template.md +675 -0
  485. package/_bmad/tea/workflows/testarch/trace/validation-report-20260127-095021.md +73 -0
  486. package/_bmad/tea/workflows/testarch/trace/validation-report-20260127-102401.md +116 -0
  487. package/_bmad/tea/workflows/testarch/trace/workflow-plan.md +21 -0
  488. package/_bmad/tea/workflows/testarch/trace/workflow.md +39 -0
  489. package/_bmad/tea/workflows/testarch/trace/workflow.yaml +55 -0
  490. package/dist/index.d.ts.map +1 -1
  491. package/dist/index.js +201 -11
  492. package/package.json +2 -1
@@ -0,0 +1,229 @@
1
+ # Sprint Status - Multi-Mode Service
2
+
3
+ <critical>The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml</critical>
4
+ <critical>You MUST have already loaded and processed: {project-root}/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml</critical>
5
+ <critical>Modes: interactive (default), validate, data</critical>
6
+ <critical>⚠️ ABSOLUTELY NO TIME ESTIMATES. Do NOT mention hours, days, weeks, or timelines.</critical>
7
+
8
+ <workflow>
9
+
10
+ <step n="0" goal="Determine execution mode">
11
+ <action>Set mode = {{mode}} if provided by caller; otherwise mode = "interactive"</action>
12
+
13
+ <check if="mode == data">
14
+ <action>Jump to Step 20</action>
15
+ </check>
16
+
17
+ <check if="mode == validate">
18
+ <action>Jump to Step 30</action>
19
+ </check>
20
+
21
+ <check if="mode == interactive">
22
+ <action>Continue to Step 1</action>
23
+ </check>
24
+ </step>
25
+
26
+ <step n="1" goal="Locate sprint status file">
27
+ <action>Try {sprint_status_file}</action>
28
+ <check if="file not found">
29
+ <output>❌ sprint-status.yaml not found.
30
+ Run `/bmad:bmm:workflows:sprint-planning` to generate it, then rerun sprint-status.</output>
31
+ <action>Exit workflow</action>
32
+ </check>
33
+ <action>Continue to Step 2</action>
34
+ </step>
35
+
36
+ <step n="2" goal="Read and parse sprint-status.yaml">
37
+ <action>Read the FULL file: {sprint_status_file}</action>
38
+ <action>Parse fields: generated, project, project_key, tracking_system, story_location</action>
39
+ <action>Parse development_status map. Classify keys:</action>
40
+ - Epics: keys starting with "epic-" (and not ending with "-retrospective")
41
+ - Retrospectives: keys ending with "-retrospective"
42
+ - Stories: everything else (e.g., 1-2-login-form)
43
+ <action>Map legacy story status "drafted" → "ready-for-dev"</action>
44
+ <action>Count story statuses: backlog, ready-for-dev, in-progress, review, done</action>
45
+ <action>Map legacy epic status "contexted" → "in-progress"</action>
46
+ <action>Count epic statuses: backlog, in-progress, done</action>
47
+ <action>Count retrospective statuses: optional, done</action>
48
+
49
+ <action>Validate all statuses against known values:</action>
50
+
51
+ - Valid story statuses: backlog, ready-for-dev, in-progress, review, done, drafted (legacy)
52
+ - Valid epic statuses: backlog, in-progress, done, contexted (legacy)
53
+ - Valid retrospective statuses: optional, done
54
+
55
+ <check if="any status is unrecognized">
56
+ <output>
57
+ ⚠️ **Unknown status detected:**
58
+ {{#each invalid_entries}}
59
+
60
+ - `{{key}}`: "{{status}}" (not recognized)
61
+ {{/each}}
62
+
63
+ **Valid statuses:**
64
+
65
+ - Stories: backlog, ready-for-dev, in-progress, review, done
66
+ - Epics: backlog, in-progress, done
67
+ - Retrospectives: optional, done
68
+ </output>
69
+ <ask>How should these be corrected?
70
+ {{#each invalid_entries}}
71
+ {{@index}}. {{key}}: "{{status}}" → [select valid status]
72
+ {{/each}}
73
+
74
+ Enter corrections (e.g., "1=in-progress, 2=backlog") or "skip" to continue without fixing:</ask>
75
+ <check if="user provided corrections">
76
+ <action>Update sprint-status.yaml with corrected values</action>
77
+ <action>Re-parse the file with corrected statuses</action>
78
+ </check>
79
+ </check>
80
+
81
+ <action>Detect risks:</action>
82
+
83
+ - IF any story has status "review": suggest `/bmad:bmm:workflows:code-review`
84
+ - IF any story has status "in-progress" AND no stories have status "ready-for-dev": recommend staying focused on active story
85
+ - IF all epics have status "backlog" AND no stories have status "ready-for-dev": prompt `/bmad:bmm:workflows:create-story`
86
+ - IF `generated` timestamp is more than 7 days old: warn "sprint-status.yaml may be stale"
87
+ - IF any story key doesn't match an epic pattern (e.g., story "5-1-..." but no "epic-5"): warn "orphaned story detected"
88
+ - IF any epic has status in-progress but has no associated stories: warn "in-progress epic has no stories"
89
+ </step>
90
+
91
+ <step n="3" goal="Select next action recommendation">
92
+ <action>Pick the next recommended workflow using priority:</action>
93
+ <note>When selecting "first" story: sort by epic number, then story number (e.g., 1-1 before 1-2 before 2-1)</note>
94
+ 1. If any story status == in-progress → recommend `dev-story` for the first in-progress story
95
+ 2. Else if any story status == review → recommend `code-review` for the first review story
96
+ 3. Else if any story status == ready-for-dev → recommend `dev-story`
97
+ 4. Else if any story status == backlog → recommend `create-story`
98
+ 5. Else if any retrospective status == optional → recommend `retrospective`
99
+ 6. Else → All implementation items done; congratulate the user - you both did amazing work together!
100
+ <action>Store selected recommendation as: next_story_id, next_workflow_id, next_agent (SM/DEV as appropriate)</action>
101
+ </step>
102
+
103
+ <step n="4" goal="Display summary">
104
+ <output>
105
+ ## 📊 Sprint Status
106
+
107
+ - Project: {{project}} ({{project_key}})
108
+ - Tracking: {{tracking_system}}
109
+ - Status file: {sprint_status_file}
110
+
111
+ **Stories:** backlog {{count_backlog}}, ready-for-dev {{count_ready}}, in-progress {{count_in_progress}}, review {{count_review}}, done {{count_done}}
112
+
113
+ **Epics:** backlog {{epic_backlog}}, in-progress {{epic_in_progress}}, done {{epic_done}}
114
+
115
+ **Next Recommendation:** /bmad:bmm:workflows:{{next_workflow_id}} ({{next_story_id}})
116
+
117
+ {{#if risks}}
118
+ **Risks:**
119
+ {{#each risks}}
120
+
121
+ - {{this}}
122
+ {{/each}}
123
+ {{/if}}
124
+
125
+ </output>
126
+ </step>
127
+
128
+ <step n="5" goal="Offer actions">
129
+ <ask>Pick an option:
130
+ 1) Run recommended workflow now
131
+ 2) Show all stories grouped by status
132
+ 3) Show raw sprint-status.yaml
133
+ 4) Exit
134
+ Choice:</ask>
135
+
136
+ <check if="choice == 1">
137
+ <output>Run `/bmad:bmm:workflows:{{next_workflow_id}}`.
138
+ If the command targets a story, set `story_key={{next_story_id}}` when prompted.</output>
139
+ </check>
140
+
141
+ <check if="choice == 2">
142
+ <output>
143
+ ### Stories by Status
144
+ - In Progress: {{stories_in_progress}}
145
+ - Review: {{stories_in_review}}
146
+ - Ready for Dev: {{stories_ready_for_dev}}
147
+ - Backlog: {{stories_backlog}}
148
+ - Done: {{stories_done}}
149
+ </output>
150
+ </check>
151
+
152
+ <check if="choice == 3">
153
+ <action>Display the full contents of {sprint_status_file}</action>
154
+ </check>
155
+
156
+ <check if="choice == 4">
157
+ <action>Exit workflow</action>
158
+ </check>
159
+ </step>
160
+
161
+ <!-- ========================= -->
162
+ <!-- Data mode for other flows -->
163
+ <!-- ========================= -->
164
+
165
+ <step n="20" goal="Data mode output">
166
+ <action>Load and parse {sprint_status_file} same as Step 2</action>
167
+ <action>Compute recommendation same as Step 3</action>
168
+ <template-output>next_workflow_id = {{next_workflow_id}}</template-output>
169
+ <template-output>next_story_id = {{next_story_id}}</template-output>
170
+ <template-output>count_backlog = {{count_backlog}}</template-output>
171
+ <template-output>count_ready = {{count_ready}}</template-output>
172
+ <template-output>count_in_progress = {{count_in_progress}}</template-output>
173
+ <template-output>count_review = {{count_review}}</template-output>
174
+ <template-output>count_done = {{count_done}}</template-output>
175
+ <template-output>epic_backlog = {{epic_backlog}}</template-output>
176
+ <template-output>epic_in_progress = {{epic_in_progress}}</template-output>
177
+ <template-output>epic_done = {{epic_done}}</template-output>
178
+ <template-output>risks = {{risks}}</template-output>
179
+ <action>Return to caller</action>
180
+ </step>
181
+
182
+ <!-- ========================= -->
183
+ <!-- Validate mode -->
184
+ <!-- ========================= -->
185
+
186
+ <step n="30" goal="Validate sprint-status file">
187
+ <action>Check that {sprint_status_file} exists</action>
188
+ <check if="missing">
189
+ <template-output>is_valid = false</template-output>
190
+ <template-output>error = "sprint-status.yaml missing"</template-output>
191
+ <template-output>suggestion = "Run sprint-planning to create it"</template-output>
192
+ <action>Return</action>
193
+ </check>
194
+
195
+ <action>Read and parse {sprint_status_file}</action>
196
+
197
+ <action>Validate required metadata fields exist: generated, project, project_key, tracking_system, story_location</action>
198
+ <check if="any required field missing">
199
+ <template-output>is_valid = false</template-output>
200
+ <template-output>error = "Missing required field(s): {{missing_fields}}"</template-output>
201
+ <template-output>suggestion = "Re-run sprint-planning or add missing fields manually"</template-output>
202
+ <action>Return</action>
203
+ </check>
204
+
205
+ <action>Verify development_status section exists with at least one entry</action>
206
+ <check if="development_status missing or empty">
207
+ <template-output>is_valid = false</template-output>
208
+ <template-output>error = "development_status missing or empty"</template-output>
209
+ <template-output>suggestion = "Re-run sprint-planning or repair the file manually"</template-output>
210
+ <action>Return</action>
211
+ </check>
212
+
213
+ <action>Validate all status values against known valid statuses:</action>
214
+
215
+ - Stories: backlog, ready-for-dev, in-progress, review, done (legacy: drafted)
216
+ - Epics: backlog, in-progress, done (legacy: contexted)
217
+ - Retrospectives: optional, done
218
+ <check if="any invalid status found">
219
+ <template-output>is_valid = false</template-output>
220
+ <template-output>error = "Invalid status values: {{invalid_entries}}"</template-output>
221
+ <template-output>suggestion = "Fix invalid statuses in sprint-status.yaml"</template-output>
222
+ <action>Return</action>
223
+ </check>
224
+
225
+ <template-output>is_valid = true</template-output>
226
+ <template-output>message = "sprint-status.yaml valid: metadata complete, all statuses recognized"</template-output>
227
+ </step>
228
+
229
+ </workflow>
@@ -0,0 +1,30 @@
1
+ # Sprint Status - Implementation Tracker
2
+ name: sprint-status
3
+ description: "Summarize sprint-status.yaml, surface risks, and route to the right implementation workflow."
4
+ author: "BMad"
5
+
6
+ # Critical variables from config
7
+ config_source: "{project-root}/_bmad/bmm/config.yaml"
8
+ output_folder: "{config_source}:output_folder"
9
+ user_name: "{config_source}:user_name"
10
+ communication_language: "{config_source}:communication_language"
11
+ document_output_language: "{config_source}:document_output_language"
12
+ date: system-generated
13
+ implementation_artifacts: "{config_source}:implementation_artifacts"
14
+ planning_artifacts: "{config_source}:planning_artifacts"
15
+
16
+ # Workflow components
17
+ installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-status"
18
+ instructions: "{installed_path}/instructions.md"
19
+
20
+ # Inputs
21
+ variables:
22
+ sprint_status_file: "{implementation_artifacts}/sprint-status.yaml"
23
+ tracking_system: "file-system"
24
+
25
+ # Smart input file references
26
+ input_file_patterns:
27
+ sprint_status:
28
+ description: "Sprint status file generated by sprint-planning"
29
+ whole: "{implementation_artifacts}/sprint-status.yaml"
30
+ load_strategy: "FULL_LOAD"
@@ -0,0 +1,176 @@
1
+ ---
2
+ name: 'step-01-mode-detection'
3
+ description: 'Determine execution mode (tech-spec vs direct), handle escalation, set state variables'
4
+
5
+ workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
6
+ thisStepFile: './step-01-mode-detection.md'
7
+ nextStepFile_modeA: './step-03-execute.md'
8
+ nextStepFile_modeB: './step-02-context-gathering.md'
9
+ ---
10
+
11
+ # Step 1: Mode Detection
12
+
13
+ **Goal:** Determine execution mode, capture baseline, handle escalation if needed.
14
+
15
+ ---
16
+
17
+ ## STATE VARIABLES (capture now, persist throughout)
18
+
19
+ These variables MUST be set in this step and available to all subsequent steps:
20
+
21
+ - `{baseline_commit}` - Git HEAD at workflow start (or "NO_GIT" if not a git repo)
22
+ - `{execution_mode}` - "tech-spec" or "direct"
23
+ - `{tech_spec_path}` - Path to tech-spec file (if Mode A)
24
+
25
+ ---
26
+
27
+ ## EXECUTION SEQUENCE
28
+
29
+ ### 1. Capture Baseline
30
+
31
+ First, check if the project uses Git version control:
32
+
33
+ **If Git repo exists** (`.git` directory present or `git rev-parse --is-inside-work-tree` succeeds):
34
+
35
+ - Run `git rev-parse HEAD` and store result as `{baseline_commit}`
36
+
37
+ **If NOT a Git repo:**
38
+
39
+ - Set `{baseline_commit}` = "NO_GIT"
40
+
41
+ ### 2. Load Project Context
42
+
43
+ Check if `{project_context}` exists (`**/project-context.md`). If found, load it as a foundational reference for ALL implementation decisions.
44
+
45
+ ### 3. Parse User Input
46
+
47
+ Analyze the user's input to determine mode:
48
+
49
+ **Mode A: Tech-Spec**
50
+
51
+ - User provided a path to a tech-spec file (e.g., `quick-dev tech-spec-auth.md`)
52
+ - Load the spec, extract tasks/context/AC
53
+ - Set `{execution_mode}` = "tech-spec"
54
+ - Set `{tech_spec_path}` = provided path
55
+ - **NEXT:** Read fully and follow: `step-03-execute.md`
56
+
57
+ **Mode B: Direct Instructions**
58
+
59
+ - User provided task description directly (e.g., `refactor src/foo.ts...`)
60
+ - Set `{execution_mode}` = "direct"
61
+ - **NEXT:** Evaluate escalation threshold, then proceed
62
+
63
+ ---
64
+
65
+ ## ESCALATION THRESHOLD (Mode B only)
66
+
67
+ Evaluate user input with minimal token usage (no file loading):
68
+
69
+ **Triggers escalation (if 2+ signals present):**
70
+
71
+ - Multiple components mentioned (dashboard + api + database)
72
+ - System-level language (platform, integration, architecture)
73
+ - Uncertainty about approach ("how should I", "best way to")
74
+ - Multi-layer scope (UI + backend + data together)
75
+ - Extended timeframe ("this week", "over the next few days")
76
+
77
+ **Reduces signal:**
78
+
79
+ - Simplicity markers ("just", "quickly", "fix", "bug", "typo", "simple")
80
+ - Single file/component focus
81
+ - Confident, specific request
82
+
83
+ Use holistic judgment, not mechanical keyword matching.
84
+
85
+ ---
86
+
87
+ ## ESCALATION HANDLING
88
+
89
+ ### No Escalation (simple request)
90
+
91
+ Display: "**Select:** [P] Plan first (tech-spec) [E] Execute directly"
92
+
93
+ #### Menu Handling Logic:
94
+
95
+ - IF P: Direct user to `{quick_spec_workflow}`. **EXIT Quick Dev.**
96
+ - IF E: Ask for any additional guidance, then **NEXT:** Read fully and follow: `step-02-context-gathering.md`
97
+
98
+ #### EXECUTION RULES:
99
+
100
+ - ALWAYS halt and wait for user input after presenting menu
101
+ - ONLY proceed when user makes a selection
102
+
103
+ ---
104
+
105
+ ### Escalation Triggered - Level 0-2
106
+
107
+ Present: "This looks like a focused feature with multiple components."
108
+
109
+ Display:
110
+
111
+ **[P] Plan first (tech-spec)** (recommended)
112
+ **[W] Seems bigger than quick-dev** - Recommend the Full BMad Flow PRD Process
113
+ **[E] Execute directly**
114
+
115
+ #### Menu Handling Logic:
116
+
117
+ - IF P: Direct to `{quick_spec_workflow}`. **EXIT Quick Dev.**
118
+ - IF W: Direct user to run the PRD workflow instead. **EXIT Quick Dev.**
119
+ - IF E: Ask for guidance, then **NEXT:** Read fully and follow: `step-02-context-gathering.md`
120
+
121
+ #### EXECUTION RULES:
122
+
123
+ - ALWAYS halt and wait for user input after presenting menu
124
+ - ONLY proceed when user makes a selection
125
+
126
+ ---
127
+
128
+ ### Escalation Triggered - Level 3+
129
+
130
+ Present: "This sounds like platform/system work."
131
+
132
+ Display:
133
+
134
+ **[W] Start BMad Method** (recommended)
135
+ **[P] Plan first (tech-spec)** (lighter planning)
136
+ **[E] Execute directly** - feeling lucky
137
+
138
+ #### Menu Handling Logic:
139
+
140
+ - IF P: Direct to `{quick_spec_workflow}`. **EXIT Quick Dev.**
141
+ - IF W: Direct user to run the PRD workflow instead. **EXIT Quick Dev.**
142
+ - IF E: Ask for guidance, then **NEXT:** Read fully and follow: `step-02-context-gathering.md`
143
+
144
+ #### EXECUTION RULES:
145
+
146
+ - ALWAYS halt and wait for user input after presenting menu
147
+ - ONLY proceed when user makes a selection
148
+
149
+ ---
150
+
151
+ ## NEXT STEP DIRECTIVE
152
+
153
+ **CRITICAL:** When this step completes, explicitly state which step to load:
154
+
155
+ - Mode A (tech-spec): "**NEXT:** read fully and follow: `step-03-execute.md`"
156
+ - Mode B (direct, [E] selected): "**NEXT:** Read fully and follow: `step-02-context-gathering.md`"
157
+ - Escalation ([P] or [W]): "**EXITING Quick Dev.** Follow the directed workflow."
158
+
159
+ ---
160
+
161
+ ## SUCCESS METRICS
162
+
163
+ - `{baseline_commit}` captured and stored
164
+ - `{execution_mode}` determined ("tech-spec" or "direct")
165
+ - `{tech_spec_path}` set if Mode A
166
+ - Project context loaded if exists
167
+ - Escalation evaluated appropriately (Mode B)
168
+ - Explicit NEXT directive provided
169
+
170
+ ## FAILURE MODES
171
+
172
+ - Proceeding without capturing baseline commit
173
+ - Not setting execution_mode variable
174
+ - Loading step-02 when Mode A (tech-spec provided)
175
+ - Attempting to "return" after escalation instead of EXIT
176
+ - No explicit NEXT directive at step completion
@@ -0,0 +1,120 @@
1
+ ---
2
+ name: 'step-02-context-gathering'
3
+ description: 'Quick context gathering for direct mode - identify files, patterns, dependencies'
4
+
5
+ workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
6
+ thisStepFile: './step-02-context-gathering.md'
7
+ nextStepFile: './step-03-execute.md'
8
+ ---
9
+
10
+ # Step 2: Context Gathering (Direct Mode)
11
+
12
+ **Goal:** Quickly gather context for direct instructions - files, patterns, dependencies.
13
+
14
+ **Note:** This step only runs for Mode B (direct instructions). If `{execution_mode}` is "tech-spec", this step was skipped.
15
+
16
+ ---
17
+
18
+ ## AVAILABLE STATE
19
+
20
+ From step-01:
21
+
22
+ - `{baseline_commit}` - Git HEAD at workflow start
23
+ - `{execution_mode}` - Should be "direct"
24
+ - `{project_context}` - Loaded if exists
25
+
26
+ ---
27
+
28
+ ## EXECUTION SEQUENCE
29
+
30
+ ### 1. Identify Files to Modify
31
+
32
+ Based on user's direct instructions:
33
+
34
+ - Search for relevant files using glob/grep
35
+ - Identify the specific files that need changes
36
+ - Note file locations and purposes
37
+
38
+ ### 2. Find Relevant Patterns
39
+
40
+ Examine the identified files and their surroundings:
41
+
42
+ - Code style and conventions used
43
+ - Existing patterns for similar functionality
44
+ - Import/export patterns
45
+ - Error handling approaches
46
+ - Test patterns (if tests exist nearby)
47
+
48
+ ### 3. Note Dependencies
49
+
50
+ Identify:
51
+
52
+ - External libraries used
53
+ - Internal module dependencies
54
+ - Configuration files that may need updates
55
+ - Related files that might be affected
56
+
57
+ ### 4. Create Mental Plan
58
+
59
+ Synthesize gathered context into:
60
+
61
+ - List of tasks to complete
62
+ - Acceptance criteria (inferred from user request)
63
+ - Order of operations
64
+ - Files to touch
65
+
66
+ ---
67
+
68
+ ## PRESENT PLAN
69
+
70
+ Display to user:
71
+
72
+ ```
73
+ **Context Gathered:**
74
+
75
+ **Files to modify:**
76
+ - {list files}
77
+
78
+ **Patterns identified:**
79
+ - {key patterns}
80
+
81
+ **Plan:**
82
+ 1. {task 1}
83
+ 2. {task 2}
84
+ ...
85
+
86
+ **Inferred AC:**
87
+ - {acceptance criteria}
88
+
89
+ Ready to execute? (y/n/adjust)
90
+ ```
91
+
92
+ - **y:** Proceed to execution
93
+ - **n:** Gather more context or clarify
94
+ - **adjust:** Modify the plan based on feedback
95
+
96
+ ---
97
+
98
+ ## NEXT STEP DIRECTIVE
99
+
100
+ **CRITICAL:** When user confirms ready, explicitly state:
101
+
102
+ - **y:** "**NEXT:** Read fully and follow: `step-03-execute.md`"
103
+ - **n/adjust:** Continue gathering context, then re-present plan
104
+
105
+ ---
106
+
107
+ ## SUCCESS METRICS
108
+
109
+ - Files to modify identified
110
+ - Relevant patterns documented
111
+ - Dependencies noted
112
+ - Mental plan created with tasks and AC
113
+ - User confirmed readiness to proceed
114
+
115
+ ## FAILURE MODES
116
+
117
+ - Executing this step when Mode A (tech-spec)
118
+ - Proceeding without identifying files to modify
119
+ - Not presenting plan for user confirmation
120
+ - Missing obvious patterns in existing code
@@ -0,0 +1,113 @@
1
+ ---
2
+ name: 'step-03-execute'
3
+ description: 'Execute implementation - iterate through tasks, write code, run tests'
4
+
5
+ workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
6
+ thisStepFile: './step-03-execute.md'
7
+ nextStepFile: './step-04-self-check.md'
8
+ ---
9
+
10
+ # Step 3: Execute Implementation
11
+
12
+ **Goal:** Implement all tasks, write tests, follow patterns, handle errors.
13
+
14
+ **Critical:** Continue through ALL tasks without stopping for milestones.
15
+
16
+ ---
17
+
18
+ ## AVAILABLE STATE
19
+
20
+ From previous steps:
21
+
22
+ - `{baseline_commit}` - Git HEAD at workflow start
23
+ - `{execution_mode}` - "tech-spec" or "direct"
24
+ - `{tech_spec_path}` - Tech-spec file (if Mode A)
25
+ - `{project_context}` - Project patterns (if exists)
26
+
27
+ From context:
28
+
29
+ - Mode A: Tasks and AC extracted from tech-spec
30
+ - Mode B: Tasks and AC from step-02 mental plan
31
+
32
+ ---
33
+
34
+ ## EXECUTION LOOP
35
+
36
+ For each task:
37
+
38
+ ### 1. Load Context
39
+
40
+ - Read files relevant to this task
41
+ - Review patterns from project-context or observed code
42
+ - Understand dependencies
43
+
44
+ ### 2. Implement
45
+
46
+ - Write code following existing patterns
47
+ - Handle errors appropriately
48
+ - Follow conventions observed in codebase
49
+ - Add appropriate comments where non-obvious
50
+
51
+ ### 3. Test
52
+
53
+ - Write tests if appropriate for the change
54
+ - Run existing tests to catch regressions
55
+ - Verify the specific AC for this task
56
+
57
+ ### 4. Mark Complete
58
+
59
+ - Check off task: `- [x] Task N`
60
+ - Continue to next task immediately
61
+
62
+ ---
63
+
64
+ ## HALT CONDITIONS
65
+
66
+ **HALT and request guidance if:**
67
+
68
+ - 3 consecutive failures on same task
69
+ - Tests fail and fix is not obvious
70
+ - Blocking dependency discovered
71
+ - Ambiguity that requires user decision
72
+
73
+ **Do NOT halt for:**
74
+
75
+ - Minor issues that can be noted and continued
76
+ - Warnings that don't block functionality
77
+ - Style preferences (follow existing patterns)
78
+
79
+ ---
80
+
81
+ ## CONTINUOUS EXECUTION
82
+
83
+ **Critical:** Do not stop between tasks for approval.
84
+
85
+ - Execute all tasks in sequence
86
+ - Only halt for blocking issues
87
+ - Tests failing = fix before continuing
88
+ - Track all completed work for self-check
89
+
90
+ ---
91
+
92
+ ## NEXT STEP
93
+
94
+ When ALL tasks are complete (or halted on blocker), read fully and follow: `step-04-self-check.md`.
95
+
96
+ ---
97
+
98
+ ## SUCCESS METRICS
99
+
100
+ - All tasks attempted
101
+ - Code follows existing patterns
102
+ - Error handling appropriate
103
+ - Tests written where appropriate
104
+ - Tests passing
105
+ - No unnecessary halts
106
+
107
+ ## FAILURE MODES
108
+
109
+ - Stopping for approval between tasks
110
+ - Ignoring existing patterns
111
+ - Not running tests after changes
112
+ - Giving up after first failure
113
+ - Not following project-context rules (if exists)