bmad-odoo 1.0.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 (282) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/LICENSE +21 -0
  3. package/README.md +317 -0
  4. package/_config/agent-manifest.csv +10 -0
  5. package/_config/manifest.yaml +10 -0
  6. package/_config/workflow-manifest.csv +10 -0
  7. package/bmm/agents/analyst.md +93 -0
  8. package/bmm/agents/architect.md +72 -0
  9. package/bmm/agents/dev.md +85 -0
  10. package/bmm/agents/pm.md +61 -0
  11. package/bmm/agents/quick-flow-solo-dev.md +58 -0
  12. package/bmm/agents/sm.md +56 -0
  13. package/bmm/agents/tea.md +57 -0
  14. package/bmm/agents/tech-writer.md +56 -0
  15. package/bmm/agents/ux-designer.md +56 -0
  16. package/bmm/config.yaml +27 -0
  17. package/bmm/data/odoo-knowledge-base.md +90 -0
  18. package/bmm/teams/default-team.md +17 -0
  19. package/bmm/testarch/odoo-test-design/steps/step-01-init.md +44 -0
  20. package/bmm/testarch/odoo-test-design/steps/step-02-test-cases.md +82 -0
  21. package/bmm/testarch/odoo-test-design/steps/step-03-complete.md +69 -0
  22. package/bmm/testarch/odoo-test-design/workflow.md +30 -0
  23. package/bmm/testarch/odoo-testing-guide.md +30 -0
  24. package/bmm/workflows/1-analysis/analyze-process/process-analysis.template.md +80 -0
  25. package/bmm/workflows/1-analysis/analyze-process/steps/step-01-init.md +44 -0
  26. package/bmm/workflows/1-analysis/analyze-process/steps/step-02-current-state.md +55 -0
  27. package/bmm/workflows/1-analysis/analyze-process/steps/step-03-pain-points.md +67 -0
  28. package/bmm/workflows/1-analysis/analyze-process/steps/step-04-odoo-mapping.md +67 -0
  29. package/bmm/workflows/1-analysis/analyze-process/steps/step-05-recommendations.md +99 -0
  30. package/bmm/workflows/1-analysis/analyze-process/steps/step-06-complete.md +62 -0
  31. package/bmm/workflows/1-analysis/analyze-process/workflow.md +60 -0
  32. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-01-init.md +45 -0
  33. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-02-users-stakeholders.md +46 -0
  34. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-03-odoo-modules.md +59 -0
  35. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-04-scope-timeline.md +64 -0
  36. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-05-complete.md +32 -0
  37. package/bmm/workflows/1-analysis/create-odoo-product-brief/workflow.md +35 -0
  38. package/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +10 -0
  39. package/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +182 -0
  40. package/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +166 -0
  41. package/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +204 -0
  42. package/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +207 -0
  43. package/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +210 -0
  44. package/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +224 -0
  45. package/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +199 -0
  46. package/bmm/workflows/1-analysis/create-product-brief/workflow.md +58 -0
  47. package/bmm/workflows/1-analysis/gap-analysis/steps/step-01-init.md +45 -0
  48. package/bmm/workflows/1-analysis/gap-analysis/steps/step-02-odoo-capabilities.md +36 -0
  49. package/bmm/workflows/1-analysis/gap-analysis/steps/step-03-gap-matrix.md +51 -0
  50. package/bmm/workflows/1-analysis/gap-analysis/workflow.md +45 -0
  51. package/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +137 -0
  52. package/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +229 -0
  53. package/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +238 -0
  54. package/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +206 -0
  55. package/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +234 -0
  56. package/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  57. package/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  58. package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
  59. package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +200 -0
  60. package/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
  61. package/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
  62. package/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
  63. package/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  64. package/bmm/workflows/1-analysis/research/research.template.md +29 -0
  65. package/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +137 -0
  66. package/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +239 -0
  67. package/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +248 -0
  68. package/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +202 -0
  69. package/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +239 -0
  70. package/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  71. package/bmm/workflows/1-analysis/research/workflow.md +173 -0
  72. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-01-init.md +48 -0
  73. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-02-technical-design.md +82 -0
  74. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-03-generate.md +86 -0
  75. package/bmm/workflows/2-plan-workflows/create-odoo-addon/workflow.md +39 -0
  76. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-01-init.md +55 -0
  77. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-02-stories.md +53 -0
  78. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-03-complete.md +39 -0
  79. package/bmm/workflows/2-plan-workflows/create-odoo-epic/workflow.md +35 -0
  80. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-01-init.md +46 -0
  81. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-02-functional-requirements.md +56 -0
  82. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-03-technical-requirements.md +45 -0
  83. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-04-complete.md +40 -0
  84. package/bmm/workflows/2-plan-workflows/create-odoo-prd/workflow.md +29 -0
  85. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-01-init.md +52 -0
  86. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-02-form-design.md +78 -0
  87. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-03-tree-design.md +84 -0
  88. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-04-complete.md +55 -0
  89. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/workflow.md +30 -0
  90. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +135 -0
  91. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +127 -0
  92. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +190 -0
  93. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +216 -0
  94. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +219 -0
  95. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +234 -0
  96. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +252 -0
  97. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +254 -0
  98. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +224 -0
  99. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +224 -0
  100. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +241 -0
  101. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +248 -0
  102. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +237 -0
  103. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +264 -0
  104. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +228 -0
  105. package/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +13 -0
  106. package/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +43 -0
  107. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-01-init.md +49 -0
  108. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-02-risk-assessment.md +51 -0
  109. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-03-roadmap.md +58 -0
  110. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/workflow.md +29 -0
  111. package/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  112. package/bmm/workflows/2-plan-workflows/prd/prd-template.md +11 -0
  113. package/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  114. package/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +197 -0
  115. package/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +166 -0
  116. package/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +421 -0
  117. package/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +290 -0
  118. package/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +291 -0
  119. package/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +271 -0
  120. package/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +262 -0
  121. package/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +258 -0
  122. package/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +299 -0
  123. package/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +270 -0
  124. package/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +294 -0
  125. package/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +186 -0
  126. package/bmm/workflows/2-plan-workflows/prd/workflow.md +63 -0
  127. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +190 -0
  128. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +178 -0
  129. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
  130. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +139 -0
  131. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
  132. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +133 -0
  133. package/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +4 -0
  134. package/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +55 -0
  135. package/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +12 -0
  136. package/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +11 -0
  137. package/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +7 -0
  138. package/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +153 -0
  139. package/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +164 -0
  140. package/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +224 -0
  141. package/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +331 -0
  142. package/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +318 -0
  143. package/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +359 -0
  144. package/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +379 -0
  145. package/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +359 -0
  146. package/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +352 -0
  147. package/bmm/workflows/3-solutioning/create-architecture/workflow.md +50 -0
  148. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +259 -0
  149. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +233 -0
  150. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +272 -0
  151. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +145 -0
  152. package/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  153. package/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +59 -0
  154. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-01-init.md +44 -0
  155. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-02-inheritance-strategy.md +75 -0
  156. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-03-implementation.md +64 -0
  157. package/bmm/workflows/3-solutioning/enhance-existing-system/workflow.md +30 -0
  158. package/bmm/workflows/3-solutioning/quick-addon/workflow.md +23 -0
  159. package/bmm/workflows/4-implementation/code-review/checklist.md +23 -0
  160. package/bmm/workflows/4-implementation/code-review/instructions.xml +225 -0
  161. package/bmm/workflows/4-implementation/code-review/workflow.yaml +50 -0
  162. package/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  163. package/bmm/workflows/4-implementation/correct-course/instructions.md +206 -0
  164. package/bmm/workflows/4-implementation/correct-course/workflow.yaml +58 -0
  165. package/bmm/workflows/4-implementation/create-next-story/steps/step-01-init.md +53 -0
  166. package/bmm/workflows/4-implementation/create-next-story/steps/step-02-acceptance-criteria.md +63 -0
  167. package/bmm/workflows/4-implementation/create-next-story/steps/step-03-tasks.md +68 -0
  168. package/bmm/workflows/4-implementation/create-next-story/steps/step-04-complete.md +70 -0
  169. package/bmm/workflows/4-implementation/create-next-story/workflow.md +30 -0
  170. package/bmm/workflows/4-implementation/dev-story/checklist.md +80 -0
  171. package/bmm/workflows/4-implementation/dev-story/instructions.xml +409 -0
  172. package/bmm/workflows/4-implementation/dev-story/workflow.yaml +25 -0
  173. package/bmm/workflows/4-implementation/rapid-brownfield/steps/step-01-quick-story.md +79 -0
  174. package/bmm/workflows/4-implementation/rapid-brownfield/workflow.md +29 -0
  175. package/bmm/workflows/4-implementation/retrospective/instructions.md +1443 -0
  176. package/bmm/workflows/4-implementation/retrospective/workflow.yaml +57 -0
  177. package/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  178. package/bmm/workflows/4-implementation/sprint-planning/instructions.md +225 -0
  179. package/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  180. package/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +52 -0
  181. package/bmm/workflows/4-implementation/sprint-status/instructions.md +229 -0
  182. package/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
  183. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-01-understand.md +189 -0
  184. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-02-investigate.md +144 -0
  185. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-03-generate.md +128 -0
  186. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-04-review.md +173 -0
  187. package/bmm/workflows/bmad-quick-flow/create-tech-spec/tech-spec-template.md +74 -0
  188. package/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.md +79 -0
  189. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
  190. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
  191. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
  192. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
  193. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
  194. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
  195. package/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +52 -0
  196. package/bmm/workflows/document-odoo/steps/step-01-init.md +43 -0
  197. package/bmm/workflows/document-odoo/steps/step-02-readme.md +98 -0
  198. package/bmm/workflows/document-odoo/steps/step-03-user-guide.md +76 -0
  199. package/bmm/workflows/document-odoo/steps/step-04-complete.md +58 -0
  200. package/bmm/workflows/document-odoo/workflow.md +30 -0
  201. package/bmm/workflows/document-project/checklist.md +245 -0
  202. package/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  203. package/bmm/workflows/document-project/instructions.md +221 -0
  204. package/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  205. package/bmm/workflows/document-project/templates/index-template.md +169 -0
  206. package/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  207. package/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  208. package/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  209. package/bmm/workflows/document-project/workflow.yaml +28 -0
  210. package/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  211. package/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  212. package/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  213. package/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  214. package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +90 -0
  215. package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +127 -0
  216. package/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +39 -0
  217. package/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +130 -0
  218. package/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +26 -0
  219. package/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +43 -0
  220. package/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +141 -0
  221. package/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +26 -0
  222. package/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +49 -0
  223. package/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +241 -0
  224. package/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +26 -0
  225. package/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +38 -0
  226. package/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +133 -0
  227. package/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +26 -0
  228. package/bmm/workflows/generate-project-context/project-context-template.md +21 -0
  229. package/bmm/workflows/generate-project-context/steps/step-01-discover.md +184 -0
  230. package/bmm/workflows/generate-project-context/steps/step-02-generate.md +318 -0
  231. package/bmm/workflows/generate-project-context/steps/step-03-complete.md +278 -0
  232. package/bmm/workflows/generate-project-context/workflow.md +49 -0
  233. package/bmm/workflows/testarch/atdd/atdd-checklist-template.md +364 -0
  234. package/bmm/workflows/testarch/atdd/checklist.md +374 -0
  235. package/bmm/workflows/testarch/atdd/instructions.md +806 -0
  236. package/bmm/workflows/testarch/atdd/workflow.yaml +45 -0
  237. package/bmm/workflows/testarch/automate/checklist.md +582 -0
  238. package/bmm/workflows/testarch/automate/instructions.md +1324 -0
  239. package/bmm/workflows/testarch/automate/workflow.yaml +52 -0
  240. package/bmm/workflows/testarch/ci/checklist.md +248 -0
  241. package/bmm/workflows/testarch/ci/github-actions-template.yaml +198 -0
  242. package/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
  243. package/bmm/workflows/testarch/ci/instructions.md +536 -0
  244. package/bmm/workflows/testarch/ci/workflow.yaml +45 -0
  245. package/bmm/workflows/testarch/framework/checklist.md +321 -0
  246. package/bmm/workflows/testarch/framework/instructions.md +481 -0
  247. package/bmm/workflows/testarch/framework/workflow.yaml +47 -0
  248. package/bmm/workflows/testarch/nfr-assess/checklist.md +407 -0
  249. package/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  250. package/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +445 -0
  251. package/bmm/workflows/testarch/nfr-assess/workflow.yaml +47 -0
  252. package/bmm/workflows/testarch/test-design/checklist.md +235 -0
  253. package/bmm/workflows/testarch/test-design/instructions.md +788 -0
  254. package/bmm/workflows/testarch/test-design/test-design-template.md +294 -0
  255. package/bmm/workflows/testarch/test-design/workflow.yaml +54 -0
  256. package/bmm/workflows/testarch/test-review/checklist.md +472 -0
  257. package/bmm/workflows/testarch/test-review/instructions.md +628 -0
  258. package/bmm/workflows/testarch/test-review/test-review-template.md +390 -0
  259. package/bmm/workflows/testarch/test-review/workflow.yaml +46 -0
  260. package/bmm/workflows/testarch/trace/checklist.md +655 -0
  261. package/bmm/workflows/testarch/trace/instructions.md +1047 -0
  262. package/bmm/workflows/testarch/trace/trace-template.md +675 -0
  263. package/bmm/workflows/testarch/trace/workflow.yaml +55 -0
  264. package/bmm/workflows/workflow-status/init/instructions.md +346 -0
  265. package/bmm/workflows/workflow-status/init/workflow.yaml +29 -0
  266. package/bmm/workflows/workflow-status/instructions.md +395 -0
  267. package/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +103 -0
  268. package/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +100 -0
  269. package/bmm/workflows/workflow-status/paths/method-brownfield.yaml +103 -0
  270. package/bmm/workflows/workflow-status/paths/method-greenfield.yaml +100 -0
  271. package/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  272. package/bmm/workflows/workflow-status/workflow-status-template.yaml +24 -0
  273. package/bmm/workflows/workflow-status/workflow.yaml +30 -0
  274. package/core/agents/bmad-odoo-master.md +61 -0
  275. package/core/config.yaml +7 -0
  276. package/core/resources/README.md +5 -0
  277. package/core/tasks/README.md +7 -0
  278. package/core/workflows/README.md +8 -0
  279. package/index.js +84 -0
  280. package/package.json +48 -0
  281. package/scripts/postinstall.js +447 -0
  282. package/scripts/setup-cli.js +17 -0
@@ -0,0 +1,278 @@
1
+ # Step 3: Context Completion & Finalization
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate content without user input
6
+ - ✅ ALWAYS treat this as collaborative completion between technical peers
7
+ - 📋 YOU ARE A FACILITATOR, not a content generator
8
+ - 💬 FOCUS on finalizing a lean, LLM-optimized project context
9
+ - 🎯 ENSURE all critical rules are captured and actionable
10
+ - ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
11
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
12
+
13
+ ## EXECUTION PROTOCOLS:
14
+
15
+ - 🎯 Show your analysis before taking any action
16
+ - 📝 Review and optimize content for LLM context efficiency
17
+ - 📖 Update frontmatter with completion status
18
+ - 🚫 NO MORE STEPS - this is the final step
19
+
20
+ ## CONTEXT BOUNDARIES:
21
+
22
+ - All rule categories from step-2 are complete
23
+ - Technology stack and versions are documented
24
+ - Focus on final review, optimization, and completion
25
+ - Ensure the context file is ready for AI agent consumption
26
+
27
+ ## YOUR TASK:
28
+
29
+ Complete the project context file, optimize it for LLM efficiency, and provide guidance for usage and maintenance.
30
+
31
+ ## COMPLETION SEQUENCE:
32
+
33
+ ### 1. Review Complete Context File
34
+
35
+ Read the entire project context file and analyze:
36
+
37
+ **Content Analysis:**
38
+
39
+ - Total length and readability for LLMs
40
+ - Clarity and specificity of rules
41
+ - Coverage of all critical areas
42
+ - Actionability of each rule
43
+
44
+ **Structure Analysis:**
45
+
46
+ - Logical organization of sections
47
+ - Consistency of formatting
48
+ - Absence of redundant or obvious information
49
+ - Optimization for quick scanning
50
+
51
+ ### 2. Optimize for LLM Context
52
+
53
+ Ensure the file is lean and efficient:
54
+
55
+ **Content Optimization:**
56
+
57
+ - Remove any redundant rules or obvious information
58
+ - Combine related rules into concise bullet points
59
+ - Use specific, actionable language
60
+ - Ensure each rule provides unique value
61
+
62
+ **Formatting Optimization:**
63
+
64
+ - Use consistent markdown formatting
65
+ - Implement clear section hierarchy
66
+ - Ensure scannability with strategic use of bolding
67
+ - Maintain readability while maximizing information density
68
+
69
+ ### 3. Final Content Structure
70
+
71
+ Ensure the final structure follows this optimized format:
72
+
73
+ ```markdown
74
+ # Project Context for AI Agents
75
+
76
+ _This file contains critical rules and patterns that AI agents must follow when implementing code in this project. Focus on unobvious details that agents might otherwise miss._
77
+
78
+ ---
79
+
80
+ ## Technology Stack & Versions
81
+
82
+ {{concise_technology_list}}
83
+
84
+ ## Critical Implementation Rules
85
+
86
+ ### Language-Specific Rules
87
+
88
+ {{specific_language_rules}}
89
+
90
+ ### Framework-Specific Rules
91
+
92
+ {{framework_patterns}}
93
+
94
+ ### Testing Rules
95
+
96
+ {{testing_requirements}}
97
+
98
+ ### Code Quality & Style Rules
99
+
100
+ {{style_and_quality_patterns}}
101
+
102
+ ### Development Workflow Rules
103
+
104
+ {{workflow_patterns}}
105
+
106
+ ### Critical Don't-Miss Rules
107
+
108
+ {{anti_patterns_and_edge_cases}}
109
+
110
+ ---
111
+
112
+ ## Usage Guidelines
113
+
114
+ **For AI Agents:**
115
+
116
+ - Read this file before implementing any code
117
+ - Follow ALL rules exactly as documented
118
+ - When in doubt, prefer the more restrictive option
119
+ - Update this file if new patterns emerge
120
+
121
+ **For Humans:**
122
+
123
+ - Keep this file lean and focused on agent needs
124
+ - Update when technology stack changes
125
+ - Review quarterly for outdated rules
126
+ - Remove rules that become obvious over time
127
+
128
+ Last Updated: {{date}}
129
+ ```
130
+
131
+ ### 4. Present Completion Summary
132
+
133
+ Based on user skill level, present the completion:
134
+
135
+ **Expert Mode:**
136
+ "Project context complete. Optimized for LLM consumption with {{rule_count}} critical rules across {{section_count}} sections.
137
+
138
+ File saved to: `{output_folder}/project-context.md`
139
+
140
+ Ready for AI agent integration."
141
+
142
+ **Intermediate Mode:**
143
+ "Your project context is complete and optimized for AI agents!
144
+
145
+ **What we created:**
146
+
147
+ - {{rule_count}} critical implementation rules
148
+ - Technology stack with exact versions
149
+ - Framework-specific patterns and conventions
150
+ - Testing and quality guidelines
151
+ - Workflow and anti-pattern rules
152
+
153
+ **Key benefits:**
154
+
155
+ - AI agents will implement consistently with your standards
156
+ - Reduced context switching and implementation errors
157
+ - Clear guidance for unobvious project requirements
158
+
159
+ **Next steps:**
160
+
161
+ - AI agents should read this file before implementing
162
+ - Update as your project evolves
163
+ - Review periodically for optimization"
164
+
165
+ **Beginner Mode:**
166
+ "Excellent! Your project context guide is ready! 🎉
167
+
168
+ **What this does:**
169
+ Think of this as a 'rules of the road' guide for AI agents working on your project. It ensures they all follow the same patterns and avoid common mistakes.
170
+
171
+ **What's included:**
172
+
173
+ - Exact technology versions to use
174
+ - Critical coding rules they might miss
175
+ - Testing and quality standards
176
+ - Workflow patterns to follow
177
+
178
+ **How AI agents use it:**
179
+ They read this file before writing any code, ensuring everything they create follows your project's standards perfectly.
180
+
181
+ Your project context is saved and ready to help agents implement consistently!"
182
+
183
+ ### 5. Final File Updates
184
+
185
+ Update the project context file with completion information:
186
+
187
+ **Frontmatter Update:**
188
+
189
+ ```yaml
190
+ ---
191
+ project_name: '{{project_name}}'
192
+ user_name: '{{user_name}}'
193
+ date: '{{date}}'
194
+ sections_completed:
195
+ ['technology_stack', 'language_rules', 'framework_rules', 'testing_rules', 'quality_rules', 'workflow_rules', 'anti_patterns']
196
+ status: 'complete'
197
+ rule_count: { { total_rules } }
198
+ optimized_for_llm: true
199
+ ---
200
+ ```
201
+
202
+ **Add Usage Section:**
203
+ Append the usage guidelines from step 3 to complete the document.
204
+
205
+ ### 6. Completion Validation
206
+
207
+ Final checks before completion:
208
+
209
+ **Content Validation:**
210
+ ✅ All critical technology versions documented
211
+ ✅ Language-specific rules are specific and actionable
212
+ ✅ Framework rules cover project conventions
213
+ ✅ Testing rules ensure consistency
214
+ ✅ Code quality rules maintain standards
215
+ ✅ Workflow rules prevent conflicts
216
+ ✅ Anti-pattern rules prevent common mistakes
217
+
218
+ **Format Validation:**
219
+ ✅ Content is lean and optimized for LLMs
220
+ ✅ Structure is logical and scannable
221
+ ✅ No redundant or obvious information
222
+ ✅ Consistent formatting throughout
223
+
224
+ ### 7. Completion Message
225
+
226
+ Present final completion to user:
227
+
228
+ "✅ **Project Context Generation Complete!**
229
+
230
+ Your optimized project context file is ready at:
231
+ `{output_folder}/project-context.md`
232
+
233
+ **📊 Context Summary:**
234
+
235
+ - {{rule_count}} critical rules for AI agents
236
+ - {{section_count}} comprehensive sections
237
+ - Optimized for LLM context efficiency
238
+ - Ready for immediate agent integration
239
+
240
+ **🎯 Key Benefits:**
241
+
242
+ - Consistent implementation across all AI agents
243
+ - Reduced common mistakes and edge cases
244
+ - Clear guidance for project-specific patterns
245
+ - Minimal LLM context usage
246
+
247
+ **📋 Next Steps:**
248
+
249
+ 1. AI agents will automatically read this file when implementing
250
+ 2. Update this file when your technology stack or patterns evolve
251
+ 3. Review quarterly to optimize and remove outdated rules
252
+
253
+ Your project context will help ensure high-quality, consistent implementation across all development work. Great work capturing your project's critical implementation requirements!"
254
+
255
+ ## SUCCESS METRICS:
256
+
257
+ ✅ Complete project context file with all critical rules
258
+ ✅ Content optimized for LLM context efficiency
259
+ ✅ All technology versions and patterns documented
260
+ ✅ File structure is logical and scannable
261
+ ✅ Usage guidelines included for agents and humans
262
+ ✅ Frontmatter properly updated with completion status
263
+ ✅ User provided with clear next steps and benefits
264
+
265
+ ## FAILURE MODES:
266
+
267
+ ❌ Final content is too verbose for LLM consumption
268
+ ❌ Missing critical implementation rules or patterns
269
+ ❌ Not optimizing content for agent readability
270
+ ❌ Not providing clear usage guidelines
271
+ ❌ Frontmatter not properly updated
272
+ ❌ Not validating file completion before ending
273
+
274
+ ## WORKFLOW COMPLETE:
275
+
276
+ This is the final step of the Generate Project Context workflow. The user now has a comprehensive, optimized project context file that will ensure consistent, high-quality implementation across all AI agents working on the project.
277
+
278
+ The project context file serves as the critical "rules of the road" that agents need to implement code consistently with the project's standards and patterns.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: generate-project-context
3
+ description: Creates a concise project-context.md file with critical rules and patterns that AI agents must follow when implementing code. Optimized for LLM context efficiency.
4
+ ---
5
+
6
+ # Generate Project Context Workflow
7
+
8
+ **Goal:** Create a concise, optimized `project-context.md` file containing critical rules, patterns, and guidelines that AI agents must follow when implementing code. This file focuses on unobvious details that LLMs need to be reminded of.
9
+
10
+ **Your Role:** You are a technical facilitator working with a peer to capture the essential implementation rules that will ensure consistent, high-quality code generation across all AI agents working on the project.
11
+
12
+ ---
13
+
14
+ ## WORKFLOW ARCHITECTURE
15
+
16
+ This uses **micro-file architecture** for disciplined execution:
17
+
18
+ - Each step is a self-contained file with embedded rules
19
+ - Sequential progression with user control at each step
20
+ - Document state tracked in frontmatter
21
+ - Focus on lean, LLM-optimized content generation
22
+ - You NEVER proceed to a step file if the current step file indicates the user must approve and indicate continuation.
23
+
24
+ ---
25
+
26
+ ## INITIALIZATION
27
+
28
+ ### Configuration Loading
29
+
30
+ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
31
+
32
+ - `project_name`, `output_folder`, `user_name`
33
+ - `communication_language`, `document_output_language`, `user_skill_level`
34
+ - `date` as system-generated current datetime
35
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
36
+
37
+ ### Paths
38
+
39
+ - `installed_path` = `{project-root}/_bmad/bmm/workflows/generate-project-context`
40
+ - `template_path` = `{installed_path}/project-context-template.md`
41
+ - `output_file` = `{output_folder}/project-context.md`
42
+
43
+ ---
44
+
45
+ ## EXECUTION
46
+
47
+ Load and execute `steps/step-01-discover.md` to begin the workflow.
48
+
49
+ **Note:** Input document discovery and initialization protocols are handled in step-01-discover.md.
@@ -0,0 +1,364 @@
1
+ # ATDD Checklist - Epic {epic_num}, Story {story_num}: {story_title}
2
+
3
+ **Date:** {date}
4
+ **Author:** {user_name}
5
+ **Primary Test Level:** {primary_level}
6
+
7
+ ---
8
+
9
+ ## Story Summary
10
+
11
+ {Brief 2-3 sentence summary of the user story}
12
+
13
+ **As a** {user_role}
14
+ **I want** {feature_description}
15
+ **So that** {business_value}
16
+
17
+ ---
18
+
19
+ ## Acceptance Criteria
20
+
21
+ {List all testable acceptance criteria from the story}
22
+
23
+ 1. {Acceptance criterion 1}
24
+ 2. {Acceptance criterion 2}
25
+ 3. {Acceptance criterion 3}
26
+
27
+ ---
28
+
29
+ ## Failing Tests Created (RED Phase)
30
+
31
+ ### E2E Tests ({e2e_test_count} tests)
32
+
33
+ **File:** `{e2e_test_file_path}` ({line_count} lines)
34
+
35
+ {List each E2E test with its current status and expected failure reason}
36
+
37
+ - ✅ **Test:** {test_name}
38
+ - **Status:** RED - {failure_reason}
39
+ - **Verifies:** {what_this_test_validates}
40
+
41
+ ### API Tests ({api_test_count} tests)
42
+
43
+ **File:** `{api_test_file_path}` ({line_count} lines)
44
+
45
+ {List each API test with its current status and expected failure reason}
46
+
47
+ - ✅ **Test:** {test_name}
48
+ - **Status:** RED - {failure_reason}
49
+ - **Verifies:** {what_this_test_validates}
50
+
51
+ ### Component Tests ({component_test_count} tests)
52
+
53
+ **File:** `{component_test_file_path}` ({line_count} lines)
54
+
55
+ {List each component test with its current status and expected failure reason}
56
+
57
+ - ✅ **Test:** {test_name}
58
+ - **Status:** RED - {failure_reason}
59
+ - **Verifies:** {what_this_test_validates}
60
+
61
+ ---
62
+
63
+ ## Data Factories Created
64
+
65
+ {List all data factory files created with their exports}
66
+
67
+ ### {Entity} Factory
68
+
69
+ **File:** `tests/support/factories/{entity}.factory.ts`
70
+
71
+ **Exports:**
72
+
73
+ - `create{Entity}(overrides?)` - Create single entity with optional overrides
74
+ - `create{Entity}s(count)` - Create array of entities
75
+
76
+ **Example Usage:**
77
+
78
+ ```typescript
79
+ const user = createUser({ email: 'specific@example.com' });
80
+ const users = createUsers(5); // Generate 5 random users
81
+ ```
82
+
83
+ ---
84
+
85
+ ## Fixtures Created
86
+
87
+ {List all test fixture files created with their fixture names and descriptions}
88
+
89
+ ### {Feature} Fixtures
90
+
91
+ **File:** `tests/support/fixtures/{feature}.fixture.ts`
92
+
93
+ **Fixtures:**
94
+
95
+ - `{fixtureName}` - {description_of_what_fixture_provides}
96
+ - **Setup:** {what_setup_does}
97
+ - **Provides:** {what_test_receives}
98
+ - **Cleanup:** {what_cleanup_does}
99
+
100
+ **Example Usage:**
101
+
102
+ ```typescript
103
+ import { test } from './fixtures/{feature}.fixture';
104
+
105
+ test('should do something', async ({ {fixtureName} }) => {
106
+ // {fixtureName} is ready to use with auto-cleanup
107
+ });
108
+ ```
109
+
110
+ ---
111
+
112
+ ## Mock Requirements
113
+
114
+ {Document external services that need mocking and their requirements}
115
+
116
+ ### {Service Name} Mock
117
+
118
+ **Endpoint:** `{HTTP_METHOD} {endpoint_url}`
119
+
120
+ **Success Response:**
121
+
122
+ ```json
123
+ {
124
+ {success_response_example}
125
+ }
126
+ ```
127
+
128
+ **Failure Response:**
129
+
130
+ ```json
131
+ {
132
+ {failure_response_example}
133
+ }
134
+ ```
135
+
136
+ **Notes:** {any_special_mock_requirements}
137
+
138
+ ---
139
+
140
+ ## Required data-testid Attributes
141
+
142
+ {List all data-testid attributes required in UI implementation for test stability}
143
+
144
+ ### {Page or Component Name}
145
+
146
+ - `{data-testid-name}` - {description_of_element}
147
+ - `{data-testid-name}` - {description_of_element}
148
+
149
+ **Implementation Example:**
150
+
151
+ ```tsx
152
+ <button data-testid="login-button">Log In</button>
153
+ <input data-testid="email-input" type="email" />
154
+ <div data-testid="error-message">{errorText}</div>
155
+ ```
156
+
157
+ ---
158
+
159
+ ## Implementation Checklist
160
+
161
+ {Map each failing test to concrete implementation tasks that will make it pass}
162
+
163
+ ### Test: {test_name_1}
164
+
165
+ **File:** `{test_file_path}`
166
+
167
+ **Tasks to make this test pass:**
168
+
169
+ - [ ] {Implementation task 1}
170
+ - [ ] {Implementation task 2}
171
+ - [ ] {Implementation task 3}
172
+ - [ ] Add required data-testid attributes: {list_of_testids}
173
+ - [ ] Run test: `{test_execution_command}`
174
+ - [ ] ✅ Test passes (green phase)
175
+
176
+ **Estimated Effort:** {effort_estimate} hours
177
+
178
+ ---
179
+
180
+ ### Test: {test_name_2}
181
+
182
+ **File:** `{test_file_path}`
183
+
184
+ **Tasks to make this test pass:**
185
+
186
+ - [ ] {Implementation task 1}
187
+ - [ ] {Implementation task 2}
188
+ - [ ] {Implementation task 3}
189
+ - [ ] Add required data-testid attributes: {list_of_testids}
190
+ - [ ] Run test: `{test_execution_command}`
191
+ - [ ] ✅ Test passes (green phase)
192
+
193
+ **Estimated Effort:** {effort_estimate} hours
194
+
195
+ ---
196
+
197
+ ## Running Tests
198
+
199
+ ```bash
200
+ # Run all failing tests for this story
201
+ {test_command_all}
202
+
203
+ # Run specific test file
204
+ {test_command_specific_file}
205
+
206
+ # Run tests in headed mode (see browser)
207
+ {test_command_headed}
208
+
209
+ # Debug specific test
210
+ {test_command_debug}
211
+
212
+ # Run tests with coverage
213
+ {test_command_coverage}
214
+ ```
215
+
216
+ ---
217
+
218
+ ## Red-Green-Refactor Workflow
219
+
220
+ ### RED Phase (Complete) ✅
221
+
222
+ **TEA Agent Responsibilities:**
223
+
224
+ - ✅ All tests written and failing
225
+ - ✅ Fixtures and factories created with auto-cleanup
226
+ - ✅ Mock requirements documented
227
+ - ✅ data-testid requirements listed
228
+ - ✅ Implementation checklist created
229
+
230
+ **Verification:**
231
+
232
+ - All tests run and fail as expected
233
+ - Failure messages are clear and actionable
234
+ - Tests fail due to missing implementation, not test bugs
235
+
236
+ ---
237
+
238
+ ### GREEN Phase (DEV Team - Next Steps)
239
+
240
+ **DEV Agent Responsibilities:**
241
+
242
+ 1. **Pick one failing test** from implementation checklist (start with highest priority)
243
+ 2. **Read the test** to understand expected behavior
244
+ 3. **Implement minimal code** to make that specific test pass
245
+ 4. **Run the test** to verify it now passes (green)
246
+ 5. **Check off the task** in implementation checklist
247
+ 6. **Move to next test** and repeat
248
+
249
+ **Key Principles:**
250
+
251
+ - One test at a time (don't try to fix all at once)
252
+ - Minimal implementation (don't over-engineer)
253
+ - Run tests frequently (immediate feedback)
254
+ - Use implementation checklist as roadmap
255
+
256
+ **Progress Tracking:**
257
+
258
+ - Check off tasks as you complete them
259
+ - Share progress in daily standup
260
+ - Mark story as IN PROGRESS in `bmm-workflow-status.md`
261
+
262
+ ---
263
+
264
+ ### REFACTOR Phase (DEV Team - After All Tests Pass)
265
+
266
+ **DEV Agent Responsibilities:**
267
+
268
+ 1. **Verify all tests pass** (green phase complete)
269
+ 2. **Review code for quality** (readability, maintainability, performance)
270
+ 3. **Extract duplications** (DRY principle)
271
+ 4. **Optimize performance** (if needed)
272
+ 5. **Ensure tests still pass** after each refactor
273
+ 6. **Update documentation** (if API contracts change)
274
+
275
+ **Key Principles:**
276
+
277
+ - Tests provide safety net (refactor with confidence)
278
+ - Make small refactors (easier to debug if tests fail)
279
+ - Run tests after each change
280
+ - Don't change test behavior (only implementation)
281
+
282
+ **Completion:**
283
+
284
+ - All tests pass
285
+ - Code quality meets team standards
286
+ - No duplications or code smells
287
+ - Ready for code review and story approval
288
+
289
+ ---
290
+
291
+ ## Next Steps
292
+
293
+ 1. **Share this checklist and failing tests** with the dev workflow (manual handoff)
294
+ 2. **Review this checklist** with team in standup or planning
295
+ 3. **Run failing tests** to confirm RED phase: `{test_command_all}`
296
+ 4. **Begin implementation** using implementation checklist as guide
297
+ 5. **Work one test at a time** (red → green for each)
298
+ 6. **Share progress** in daily standup
299
+ 7. **When all tests pass**, refactor code for quality
300
+ 8. **When refactoring complete**, manually update story status to 'done' in sprint-status.yaml
301
+
302
+ ---
303
+
304
+ ## Knowledge Base References Applied
305
+
306
+ This ATDD workflow consulted the following knowledge fragments:
307
+
308
+ - **fixture-architecture.md** - Test fixture patterns with setup/teardown and auto-cleanup using Playwright's `test.extend()`
309
+ - **data-factories.md** - Factory patterns using `@faker-js/faker` for random test data generation with overrides support
310
+ - **component-tdd.md** - Component test strategies using Playwright Component Testing
311
+ - **network-first.md** - Route interception patterns (intercept BEFORE navigation to prevent race conditions)
312
+ - **test-quality.md** - Test design principles (Given-When-Then, one assertion per test, determinism, isolation)
313
+ - **test-levels-framework.md** - Test level selection framework (E2E vs API vs Component vs Unit)
314
+
315
+ See `tea-index.csv` for complete knowledge fragment mapping.
316
+
317
+ ---
318
+
319
+ ## Test Execution Evidence
320
+
321
+ ### Initial Test Run (RED Phase Verification)
322
+
323
+ **Command:** `{test_command_all}`
324
+
325
+ **Results:**
326
+
327
+ ```
328
+ {paste_test_run_output_showing_all_tests_failing}
329
+ ```
330
+
331
+ **Summary:**
332
+
333
+ - Total tests: {total_test_count}
334
+ - Passing: 0 (expected)
335
+ - Failing: {total_test_count} (expected)
336
+ - Status: ✅ RED phase verified
337
+
338
+ **Expected Failure Messages:**
339
+ {list_expected_failure_messages_for_each_test}
340
+
341
+ ---
342
+
343
+ ## Notes
344
+
345
+ {Any additional notes, context, or special considerations for this story}
346
+
347
+ - {Note 1}
348
+ - {Note 2}
349
+ - {Note 3}
350
+
351
+ ---
352
+
353
+ ## Contact
354
+
355
+ **Questions or Issues?**
356
+
357
+ - Ask in team standup
358
+ - Tag @{tea_agent_username} in Slack/Discord
359
+ - Refer to `./bmm/docs/tea-README.md` for workflow documentation
360
+ - Consult `./bmm/testarch/knowledge` for testing best practices
361
+
362
+ ---
363
+
364
+ **Generated by BMad TEA Agent** - {date}