siesa-agents 2.1.78 → 2.1.80

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 (968) hide show
  1. package/bmad/bmm/config.yaml +3 -5
  2. package/claude/agent-memory/sa-quick-dev/company-standards.md +1 -1
  3. package/claude/agents/sa-code-review.md +1 -1
  4. package/claude/agents/sa-create-story.md +1 -1
  5. package/claude/agents/sa-dev-story.md +1 -1
  6. package/claude/agents/sa-tea-atdd-run.md +76 -0
  7. package/claude/agents/sa-tea-atdd.md +40 -0
  8. package/claude/agents/sa-tea-automate.md +39 -0
  9. package/claude/agents/sa-tea-framework.md +36 -0
  10. package/claude/agents/sa-tea-nfr.md +40 -0
  11. package/claude/agents/sa-tea-review.md +44 -0
  12. package/claude/agents/sa-tea-test-design.md +37 -0
  13. package/claude/agents/sa-tea-trace.md +41 -0
  14. package/claude/commands/sa-quick-dev.md +233 -27
  15. package/claude/skills/bmad-advanced-elicitation/SKILL.md +142 -0
  16. package/claude/skills/bmad-agent-analyst/SKILL.md +74 -0
  17. package/claude/skills/bmad-agent-analyst/customize.toml +90 -0
  18. package/claude/skills/bmad-agent-architect/SKILL.md +74 -0
  19. package/claude/skills/bmad-agent-architect/customize.toml +65 -0
  20. package/claude/skills/bmad-agent-dev/SKILL.md +74 -0
  21. package/claude/skills/bmad-agent-dev/customize.toml +90 -0
  22. package/claude/skills/bmad-agent-pm/SKILL.md +74 -0
  23. package/claude/skills/bmad-agent-pm/customize.toml +85 -0
  24. package/claude/skills/bmad-agent-tech-writer/SKILL.md +74 -0
  25. package/claude/skills/bmad-agent-tech-writer/customize.toml +81 -0
  26. package/claude/skills/bmad-agent-tech-writer/explain-concept.md +20 -0
  27. package/claude/skills/bmad-agent-tech-writer/mermaid-gen.md +20 -0
  28. package/claude/skills/bmad-agent-tech-writer/validate-doc.md +19 -0
  29. package/claude/skills/bmad-agent-tech-writer/write-document.md +20 -0
  30. package/claude/skills/bmad-agent-ux-designer/SKILL.md +74 -0
  31. package/claude/skills/bmad-agent-ux-designer/customize.toml +60 -0
  32. package/claude/skills/bmad-brainstorming/SKILL.md +6 -0
  33. package/claude/skills/bmad-brainstorming/steps/step-01-session-setup.md +214 -0
  34. package/claude/skills/bmad-brainstorming/steps/step-01b-continue.md +124 -0
  35. package/claude/skills/bmad-brainstorming/steps/step-02a-user-selected.md +229 -0
  36. package/claude/skills/bmad-brainstorming/steps/step-02b-ai-recommended.md +239 -0
  37. package/claude/skills/bmad-brainstorming/steps/step-02c-random-selection.md +211 -0
  38. package/claude/skills/bmad-brainstorming/steps/step-02d-progressive-flow.md +266 -0
  39. package/claude/skills/bmad-brainstorming/steps/step-03-technique-execution.md +401 -0
  40. package/claude/skills/bmad-brainstorming/steps/step-04-idea-organization.md +305 -0
  41. package/claude/skills/bmad-brainstorming/workflow.md +53 -0
  42. package/claude/skills/bmad-check-implementation-readiness/SKILL.md +91 -0
  43. package/claude/skills/bmad-check-implementation-readiness/customize.toml +41 -0
  44. package/claude/skills/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
  45. package/claude/skills/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
  46. package/claude/skills/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
  47. package/claude/skills/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
  48. package/claude/skills/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
  49. package/claude/skills/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +132 -0
  50. package/claude/skills/bmad-checkpoint-preview/SKILL.md +68 -0
  51. package/claude/skills/bmad-checkpoint-preview/customize.toml +41 -0
  52. package/claude/skills/bmad-checkpoint-preview/generate-trail.md +38 -0
  53. package/claude/skills/bmad-checkpoint-preview/step-01-orientation.md +105 -0
  54. package/claude/skills/bmad-checkpoint-preview/step-02-walkthrough.md +89 -0
  55. package/claude/skills/bmad-checkpoint-preview/step-03-detail-pass.md +106 -0
  56. package/claude/skills/bmad-checkpoint-preview/step-04-testing.md +74 -0
  57. package/claude/skills/bmad-checkpoint-preview/step-05-wrapup.md +30 -0
  58. package/claude/skills/bmad-code-review/SKILL.md +90 -0
  59. package/claude/skills/bmad-code-review/customize.toml +41 -0
  60. package/claude/skills/bmad-code-review/steps/step-01-gather-context.md +85 -0
  61. package/claude/skills/bmad-code-review/steps/step-02-review.md +35 -0
  62. package/claude/skills/bmad-code-review/steps/step-03-triage.md +49 -0
  63. package/claude/skills/bmad-code-review/steps/step-04-present.md +132 -0
  64. package/claude/skills/bmad-correct-course/SKILL.md +301 -0
  65. package/claude/skills/bmad-correct-course/checklist.md +288 -0
  66. package/claude/skills/bmad-correct-course/customize.toml +41 -0
  67. package/claude/skills/bmad-create-architecture/SKILL.md +74 -0
  68. package/claude/skills/bmad-create-architecture/customize.toml +41 -0
  69. package/claude/skills/bmad-create-architecture/data/domain-complexity.csv +13 -0
  70. package/claude/skills/bmad-create-architecture/data/project-types.csv +7 -0
  71. package/claude/skills/bmad-create-architecture/steps/step-01-init.md +153 -0
  72. package/claude/skills/bmad-create-architecture/steps/step-01b-continue.md +173 -0
  73. package/claude/skills/bmad-create-architecture/steps/step-02-context.md +224 -0
  74. package/claude/skills/bmad-create-architecture/steps/step-03-starter.md +329 -0
  75. package/claude/skills/bmad-create-architecture/steps/step-04-decisions.md +318 -0
  76. package/claude/skills/bmad-create-architecture/steps/step-05-patterns.md +359 -0
  77. package/claude/skills/bmad-create-architecture/steps/step-06-structure.md +379 -0
  78. package/claude/skills/bmad-create-architecture/steps/step-07-validation.md +359 -0
  79. package/claude/skills/bmad-create-architecture/steps/step-08-complete.md +82 -0
  80. package/claude/skills/bmad-create-epics-and-stories/SKILL.md +93 -0
  81. package/claude/skills/bmad-create-epics-and-stories/customize.toml +41 -0
  82. package/claude/skills/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
  83. package/claude/skills/bmad-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
  84. package/claude/skills/bmad-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
  85. package/claude/skills/bmad-create-epics-and-stories/steps/step-04-final-validation.md +137 -0
  86. package/claude/skills/bmad-create-epics-and-stories/templates/epics-template.md +61 -0
  87. package/claude/skills/bmad-create-prd/SKILL.md +104 -0
  88. package/claude/skills/bmad-create-prd/customize.toml +41 -0
  89. package/claude/skills/bmad-create-prd/data/domain-complexity.csv +15 -0
  90. package/claude/skills/bmad-create-prd/data/prd-purpose.md +197 -0
  91. package/claude/skills/bmad-create-prd/steps-c/step-01-init.md +178 -0
  92. package/claude/skills/bmad-create-prd/steps-c/step-01b-continue.md +161 -0
  93. package/claude/skills/bmad-create-prd/steps-c/step-02-discovery.md +208 -0
  94. package/claude/skills/bmad-create-prd/steps-c/step-02b-vision.md +142 -0
  95. package/claude/skills/bmad-create-prd/steps-c/step-02c-executive-summary.md +158 -0
  96. package/claude/skills/bmad-create-prd/steps-c/step-03-success.md +214 -0
  97. package/claude/skills/bmad-create-prd/steps-c/step-04-journeys.md +201 -0
  98. package/claude/skills/bmad-create-prd/steps-c/step-05-domain.md +194 -0
  99. package/claude/skills/bmad-create-prd/steps-c/step-06-innovation.md +211 -0
  100. package/claude/skills/bmad-create-prd/steps-c/step-07-project-type.md +222 -0
  101. package/claude/skills/bmad-create-prd/steps-c/step-08-scoping.md +263 -0
  102. package/claude/skills/bmad-create-prd/steps-c/step-09-functional.md +219 -0
  103. package/claude/skills/bmad-create-prd/steps-c/step-10-nonfunctional.md +230 -0
  104. package/claude/skills/bmad-create-prd/steps-c/step-11-polish.md +221 -0
  105. package/claude/skills/bmad-create-prd/steps-c/step-12-complete.md +121 -0
  106. package/claude/skills/bmad-create-prd/templates/prd-template.md +10 -0
  107. package/claude/skills/bmad-create-story/SKILL.md +429 -0
  108. package/claude/skills/bmad-create-story/checklist.md +357 -0
  109. package/claude/skills/bmad-create-story/customize.toml +41 -0
  110. package/claude/skills/bmad-create-story/discover-inputs.md +88 -0
  111. package/claude/skills/bmad-create-ux-design/SKILL.md +75 -0
  112. package/claude/skills/bmad-create-ux-design/customize.toml +41 -0
  113. package/claude/skills/bmad-create-ux-design/steps/step-01-init.md +135 -0
  114. package/claude/skills/bmad-create-ux-design/steps/step-01b-continue.md +127 -0
  115. package/claude/skills/bmad-create-ux-design/steps/step-02-discovery.md +190 -0
  116. package/claude/skills/bmad-create-ux-design/steps/step-03-core-experience.md +217 -0
  117. package/claude/skills/bmad-create-ux-design/steps/step-04-emotional-response.md +220 -0
  118. package/claude/skills/bmad-create-ux-design/steps/step-05-inspiration.md +235 -0
  119. package/claude/skills/bmad-create-ux-design/steps/step-06-design-system.md +253 -0
  120. package/claude/skills/bmad-create-ux-design/steps/step-07-defining-experience.md +255 -0
  121. package/claude/skills/bmad-create-ux-design/steps/step-08-visual-foundation.md +225 -0
  122. package/claude/skills/bmad-create-ux-design/steps/step-09-design-directions.md +225 -0
  123. package/claude/skills/bmad-create-ux-design/steps/step-10-user-journeys.md +242 -0
  124. package/claude/skills/bmad-create-ux-design/steps/step-11-component-strategy.md +249 -0
  125. package/claude/skills/bmad-create-ux-design/steps/step-12-ux-patterns.md +238 -0
  126. package/claude/skills/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
  127. package/claude/skills/bmad-create-ux-design/steps/step-14-complete.md +177 -0
  128. package/claude/skills/bmad-customize/SKILL.md +111 -0
  129. package/claude/skills/bmad-customize/scripts/list_customizable_skills.py +231 -0
  130. package/claude/skills/bmad-customize/scripts/tests/test_list_customizable_skills.py +249 -0
  131. package/claude/skills/bmad-dev-story/SKILL.md +485 -0
  132. package/claude/skills/bmad-dev-story/checklist.md +80 -0
  133. package/claude/skills/bmad-dev-story/customize.toml +41 -0
  134. package/claude/skills/bmad-distillator/SKILL.md +177 -0
  135. package/claude/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
  136. package/claude/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
  137. package/claude/skills/bmad-distillator/resources/compression-rules.md +51 -0
  138. package/claude/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
  139. package/claude/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
  140. package/claude/skills/bmad-distillator/scripts/analyze_sources.py +300 -0
  141. package/claude/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +204 -0
  142. package/claude/skills/bmad-document-project/SKILL.md +62 -0
  143. package/claude/skills/bmad-document-project/customize.toml +41 -0
  144. package/claude/skills/bmad-document-project/instructions.md +128 -0
  145. package/claude/skills/bmad-document-project/templates/project-scan-report-schema.json +160 -0
  146. package/claude/skills/bmad-document-project/workflows/deep-dive-instructions.md +300 -0
  147. package/claude/skills/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
  148. package/claude/skills/bmad-document-project/workflows/full-scan-instructions.md +1108 -0
  149. package/claude/skills/bmad-document-project/workflows/full-scan-workflow.md +34 -0
  150. package/claude/skills/bmad-domain-research/SKILL.md +96 -0
  151. package/claude/skills/bmad-domain-research/customize.toml +41 -0
  152. package/claude/skills/bmad-domain-research/domain-steps/step-06-research-synthesis.md +450 -0
  153. package/claude/skills/bmad-edit-prd/SKILL.md +102 -0
  154. package/claude/skills/bmad-edit-prd/customize.toml +42 -0
  155. package/claude/skills/bmad-edit-prd/data/prd-purpose.md +197 -0
  156. package/claude/skills/bmad-edit-prd/steps-e/step-e-01-discovery.md +242 -0
  157. package/claude/skills/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
  158. package/claude/skills/bmad-edit-prd/steps-e/step-e-02-review.md +245 -0
  159. package/claude/skills/bmad-edit-prd/steps-e/step-e-03-edit.md +250 -0
  160. package/claude/skills/bmad-edit-prd/steps-e/step-e-04-complete.md +165 -0
  161. package/claude/skills/bmad-editorial-review-prose/SKILL.md +86 -0
  162. package/claude/skills/bmad-editorial-review-structure/SKILL.md +179 -0
  163. package/claude/skills/bmad-generate-project-context/SKILL.md +81 -0
  164. package/claude/skills/bmad-generate-project-context/customize.toml +41 -0
  165. package/claude/skills/bmad-generate-project-context/steps/step-01-discover.md +186 -0
  166. package/claude/skills/bmad-generate-project-context/steps/step-02-generate.md +321 -0
  167. package/claude/skills/bmad-generate-project-context/steps/step-03-complete.md +284 -0
  168. package/claude/skills/bmad-help/SKILL.md +75 -0
  169. package/claude/skills/bmad-index-docs/SKILL.md +66 -0
  170. package/claude/skills/bmad-market-research/SKILL.md +96 -0
  171. package/claude/skills/bmad-market-research/customize.toml +41 -0
  172. package/claude/skills/bmad-market-research/research.template.md +29 -0
  173. package/claude/skills/bmad-market-research/steps/step-01-init.md +184 -0
  174. package/claude/skills/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
  175. package/claude/skills/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
  176. package/claude/skills/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
  177. package/claude/skills/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
  178. package/claude/skills/bmad-market-research/steps/step-06-research-completion.md +484 -0
  179. package/claude/skills/bmad-party-mode/SKILL.md +128 -0
  180. package/claude/skills/bmad-prfaq/SKILL.md +135 -0
  181. package/claude/skills/bmad-prfaq/agents/artifact-analyzer.md +60 -0
  182. package/claude/skills/bmad-prfaq/agents/web-researcher.md +49 -0
  183. package/claude/skills/bmad-prfaq/assets/prfaq-template.md +62 -0
  184. package/claude/skills/bmad-prfaq/bmad-manifest.json +16 -0
  185. package/claude/skills/bmad-prfaq/customize.toml +41 -0
  186. package/claude/skills/bmad-prfaq/references/customer-faq.md +55 -0
  187. package/claude/skills/bmad-prfaq/references/internal-faq.md +51 -0
  188. package/claude/skills/bmad-prfaq/references/press-release.md +60 -0
  189. package/claude/skills/bmad-prfaq/references/verdict.md +83 -0
  190. package/claude/skills/bmad-product-brief/SKILL.md +117 -0
  191. package/claude/skills/bmad-product-brief/agents/artifact-analyzer.md +60 -0
  192. package/claude/skills/bmad-product-brief/agents/opportunity-reviewer.md +44 -0
  193. package/claude/skills/bmad-product-brief/agents/skeptic-reviewer.md +44 -0
  194. package/claude/skills/bmad-product-brief/agents/web-researcher.md +49 -0
  195. package/claude/skills/bmad-product-brief/bmad-manifest.json +17 -0
  196. package/claude/skills/bmad-product-brief/customize.toml +47 -0
  197. package/claude/skills/bmad-product-brief/prompts/contextual-discovery.md +58 -0
  198. package/claude/skills/bmad-product-brief/prompts/draft-and-review.md +87 -0
  199. package/claude/skills/bmad-product-brief/prompts/finalize.md +78 -0
  200. package/claude/skills/bmad-product-brief/prompts/guided-elicitation.md +71 -0
  201. package/claude/skills/bmad-product-brief/resources/brief-template.md +60 -0
  202. package/claude/skills/bmad-qa-generate-e2e-tests/SKILL.md +176 -0
  203. package/claude/skills/bmad-qa-generate-e2e-tests/checklist.md +33 -0
  204. package/claude/skills/bmad-qa-generate-e2e-tests/customize.toml +41 -0
  205. package/claude/skills/bmad-quick-dev/SKILL.md +111 -0
  206. package/claude/skills/bmad-quick-dev/compile-epic-context.md +62 -0
  207. package/claude/skills/bmad-quick-dev/customize.toml +41 -0
  208. package/claude/skills/bmad-quick-dev/spec-template.md +88 -0
  209. package/claude/skills/bmad-quick-dev/step-01-clarify-and-route.md +100 -0
  210. package/claude/skills/bmad-quick-dev/step-02-plan.md +47 -0
  211. package/claude/skills/bmad-quick-dev/step-03-implement.md +41 -0
  212. package/claude/skills/bmad-quick-dev/step-04-review.md +50 -0
  213. package/claude/skills/bmad-quick-dev/step-05-present.md +78 -0
  214. package/claude/skills/bmad-quick-dev/step-oneshot.md +71 -0
  215. package/claude/skills/bmad-quick-dev/sync-sprint-status.md +19 -0
  216. package/claude/skills/bmad-retrospective/SKILL.md +1512 -0
  217. package/claude/skills/bmad-retrospective/customize.toml +41 -0
  218. package/claude/skills/bmad-review-adversarial-general/SKILL.md +37 -0
  219. package/claude/skills/bmad-review-edge-case-hunter/SKILL.md +67 -0
  220. package/claude/skills/bmad-shard-doc/SKILL.md +105 -0
  221. package/claude/skills/bmad-sprint-planning/SKILL.md +299 -0
  222. package/claude/skills/bmad-sprint-planning/checklist.md +33 -0
  223. package/claude/skills/bmad-sprint-planning/customize.toml +41 -0
  224. package/claude/skills/bmad-sprint-planning/sprint-status-template.yaml +56 -0
  225. package/claude/skills/bmad-sprint-status/SKILL.md +297 -0
  226. package/claude/skills/bmad-sprint-status/customize.toml +41 -0
  227. package/claude/skills/bmad-technical-research/SKILL.md +96 -0
  228. package/claude/skills/bmad-technical-research/customize.toml +41 -0
  229. package/claude/skills/bmad-technical-research/research.template.md +29 -0
  230. package/claude/skills/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
  231. package/claude/skills/bmad-technical-research/technical-steps/step-05-implementation-research.md +233 -0
  232. package/claude/skills/bmad-technical-research/technical-steps/step-06-research-synthesis.md +493 -0
  233. package/claude/skills/bmad-validate-prd/SKILL.md +104 -0
  234. package/claude/skills/bmad-validate-prd/customize.toml +42 -0
  235. package/claude/skills/bmad-validate-prd/data/domain-complexity.csv +15 -0
  236. package/claude/skills/bmad-validate-prd/data/prd-purpose.md +197 -0
  237. package/claude/skills/bmad-validate-prd/data/project-types.csv +11 -0
  238. package/claude/skills/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
  239. package/claude/skills/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
  240. package/claude/skills/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
  241. package/claude/skills/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
  242. package/claude/skills/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
  243. package/claude/skills/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
  244. package/claude/skills/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
  245. package/claude/skills/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
  246. package/claude/skills/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
  247. package/claude/skills/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
  248. package/claude/skills/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
  249. package/claude/skills/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
  250. package/claude/skills/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
  251. package/claude/skills/bmad-validate-prd/steps-v/step-v-13-report-complete.md +230 -0
  252. package/claude/skills/sa-check-implementation-readiness/SKILL.md +10 -0
  253. package/claude/skills/sa-code-review/SKILL.md +10 -0
  254. package/claude/skills/sa-correct-course/SKILL.md +10 -0
  255. package/claude/skills/sa-create-architecture/SKILL.md +10 -0
  256. package/claude/skills/sa-create-epics-and-stories/SKILL.md +10 -0
  257. package/claude/skills/sa-create-prd/SKILL.md +10 -0
  258. package/claude/skills/sa-create-story/SKILL.md +10 -0
  259. package/claude/skills/sa-create-user-guide/SKILL.md +6 -0
  260. package/claude/skills/sa-create-ux-design/SKILL.md +10 -0
  261. package/claude/skills/sa-dev-story/SKILL.md +10 -0
  262. package/claude/skills/sa-generate-project-context/SKILL.md +10 -0
  263. package/claude/skills/sa-init-observability/SKILL.md +182 -0
  264. package/claude/skills/sa-product-brief/SKILL.md +11 -0
  265. package/claude/skills/sa-quality-process/SKILL.md +6 -0
  266. package/claude/skills/sa-shard-doc/SKILL.md +8 -0
  267. package/claude/skills/sa-sprint-planning/SKILL.md +10 -0
  268. package/claude/skills/sa-sprint-status/SKILL.md +9 -0
  269. package/claude/skills/sa-workflow-init/SKILL.md +181 -0
  270. package/package.json +1 -1
  271. package/siesa-agents/EXTENSIONS.md +151 -0
  272. package/siesa-agents/bmm/workflows/2-plan-workflows/create-ux-design/workflow_ext.md +177 -4
  273. package/siesa-agents/bmm/workflows/2-plan-workflows/prd/workflow_ext.md +136 -0
  274. package/siesa-agents/bmm/workflows/3-solutioning/create-architecture/workflow_ext.md +202 -1
  275. package/siesa-agents/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +46 -0
  276. package/siesa-agents/bmm/workflows/3-solutioning/create-epics-and-stories/workflow_ext.md +59 -0
  277. package/siesa-agents/bmm/workflows/3-solutioning/quality-process/workflow.md +4 -7
  278. package/siesa-agents/bmm/workflows/4-implementation/code-review/steps/step-01-load-story.md +101 -0
  279. package/siesa-agents/bmm/workflows/4-implementation/code-review/steps/step-02-build-plan.md +89 -0
  280. package/siesa-agents/bmm/workflows/4-implementation/code-review/steps/step-03-review.md +91 -0
  281. package/siesa-agents/bmm/workflows/4-implementation/code-review/steps/step-04-fix.md +92 -0
  282. package/siesa-agents/bmm/workflows/4-implementation/code-review/steps/step-05-sync-sprint.md +70 -0
  283. package/siesa-agents/bmm/workflows/4-implementation/code-review/steps/step-06-jira-sync.md +372 -0
  284. package/siesa-agents/bmm/workflows/4-implementation/code-review/steps/step-07-commit-push.md +174 -0
  285. package/siesa-agents/bmm/workflows/4-implementation/code-review/workflow.md +57 -0
  286. package/siesa-agents/bmm/workflows/4-implementation/code-review/workflow_ext.md +8 -6
  287. package/siesa-agents/bmm/workflows/4-implementation/correct-course/workflow_ext.md +8 -8
  288. package/siesa-agents/bmm/workflows/4-implementation/create-story/steps/step-01-determine-story.md +85 -0
  289. package/siesa-agents/bmm/workflows/4-implementation/create-story/steps/step-02-analyze.md +67 -0
  290. package/siesa-agents/bmm/workflows/4-implementation/create-story/steps/step-03-architecture.md +71 -0
  291. package/siesa-agents/bmm/workflows/4-implementation/create-story/steps/step-04-web-research.md +58 -0
  292. package/siesa-agents/bmm/workflows/4-implementation/create-story/steps/step-05-create-file.md +76 -0
  293. package/siesa-agents/bmm/workflows/4-implementation/create-story/steps/step-06-finalize.md +106 -0
  294. package/siesa-agents/bmm/workflows/4-implementation/create-story/template.md +49 -0
  295. package/siesa-agents/bmm/workflows/4-implementation/create-story/workflow_ext.md +2 -2
  296. package/siesa-agents/bmm/workflows/4-implementation/dev-story/checklist_ext.md +13 -0
  297. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-01-find-story.md +109 -0
  298. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-02-check-branch.md +108 -0
  299. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-03-load-context.md +46 -0
  300. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-04-env-readiness.md +45 -0
  301. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-05-review-check.md +57 -0
  302. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-06-mark-in-progress.md +52 -0
  303. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-07-implement.md +62 -0
  304. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-08-test-authoring.md +39 -0
  305. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-09-run-tests.md +43 -0
  306. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-10-validate-task.md +63 -0
  307. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-11-mark-review.md +50 -0
  308. package/siesa-agents/bmm/workflows/4-implementation/dev-story/steps/step-12-communication.md +45 -0
  309. package/siesa-agents/bmm/workflows/4-implementation/dev-story/workflow_ext.md +7 -1
  310. package/siesa-agents/bmm/workflows/4-implementation/sprint-planning/workflow_ext.md +60 -0
  311. package/siesa-agents/bmm/workflows/4-implementation/sprint-status/workflow_ext.md +1 -1
  312. package/siesa-agents/bmm/workflows/5-documentation/README.md +235 -0
  313. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/steps/step-01-init.md +213 -0
  314. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/steps/step-01b-continue.md +268 -0
  315. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/steps/step-02-seleccion-features.md +197 -0
  316. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/steps/step-03-analisis-fuentes.md +235 -0
  317. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/steps/step-04-elicitacion.md +116 -0
  318. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/steps/step-05-generacion-espanol.md +611 -0
  319. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/steps/step-06-traduccion-ingles.md +615 -0
  320. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/steps/step-07-validacion-guardado.md +467 -0
  321. package/siesa-agents/bmm/workflows/5-documentation/create-user-guide/workflow-plan-create-user-guide.md +949 -0
  322. package/siesa-agents/bmm/workflows/generate-project-context/workflow_ext.md +52 -0
  323. package/siesa-agents/bmm/workflows/testarch/framework/workflow_ext.md +20 -0
  324. package/siesa-agents/bmm/workflows/workflow-status/init/workflow_ext.md +194 -0
  325. package/siesa-agents/observability/README.md +254 -43
  326. package/siesa-agents/observability/scripts/sa-emit.js +30 -5
  327. package/siesa-agents/observability/scripts/sa-init-env.js +219 -0
  328. package/siesa-agents/observability/scripts/sa-init-project.js +294 -0
  329. package/siesa-agents/resources/architecture/architecture-both.md +64 -58
  330. package/siesa-agents/resources/architecture/architecture-single-backend.md +31 -27
  331. package/siesa-agents/resources/ux-ui/ux-design-specification.md +2 -0
  332. package/siesa-agents/sa/sync-epics-stories/steps/step-01-init.md +2 -2
  333. package/siesa-agents/sa/sync-epics-stories/steps/step-01b-continue.md +2 -2
  334. package/bmad/_config/agent-manifest.csv +0 -20
  335. package/bmad/_config/agents/bmb-agent-builder.customize.yaml +0 -41
  336. package/bmad/_config/agents/bmb-module-builder.customize.yaml +0 -41
  337. package/bmad/_config/agents/bmb-workflow-builder.customize.yaml +0 -41
  338. package/bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
  339. package/bmad/_config/agents/bmm-architect.customize.yaml +0 -41
  340. package/bmad/_config/agents/bmm-dev.customize.yaml +0 -41
  341. package/bmad/_config/agents/bmm-pm.customize.yaml +0 -41
  342. package/bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
  343. package/bmad/_config/agents/bmm-sm.customize.yaml +0 -41
  344. package/bmad/_config/agents/bmm-tea.customize.yaml +0 -41
  345. package/bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
  346. package/bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
  347. package/bmad/_config/agents/cis-brainstorming-coach.customize.yaml +0 -41
  348. package/bmad/_config/agents/cis-creative-problem-solver.customize.yaml +0 -41
  349. package/bmad/_config/agents/cis-design-thinking-coach.customize.yaml +0 -41
  350. package/bmad/_config/agents/cis-innovation-strategist.customize.yaml +0 -41
  351. package/bmad/_config/agents/cis-presentation-master.customize.yaml +0 -41
  352. package/bmad/_config/agents/cis-storyteller.customize.yaml +0 -41
  353. package/bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
  354. package/bmad/_config/files-manifest.csv +0 -469
  355. package/bmad/_config/ides/claude-code.yaml +0 -6
  356. package/bmad/_config/manifest.yaml +0 -14
  357. package/bmad/_config/task-manifest.csv +0 -6
  358. package/bmad/_config/tool-manifest.csv +0 -1
  359. package/bmad/_config/workflow-manifest.csv +0 -46
  360. package/bmad/_memory/config.yaml +0 -11
  361. package/bmad/_memory/storyteller-sidecar/stories-told.md +0 -7
  362. package/bmad/_memory/storyteller-sidecar/story-preferences.md +0 -7
  363. package/bmad/bmb/README.md +0 -25
  364. package/bmad/bmb/agents/agent-builder.md +0 -57
  365. package/bmad/bmb/agents/module-builder.md +0 -60
  366. package/bmad/bmb/agents/workflow-builder.md +0 -56
  367. package/bmad/bmb/config.yaml +0 -12
  368. package/bmad/bmb/docs/workflows/architecture.md +0 -220
  369. package/bmad/bmb/docs/workflows/common-workflow-tools.csv +0 -19
  370. package/bmad/bmb/docs/workflows/csv-data-file-standards.md +0 -206
  371. package/bmad/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +0 -220
  372. package/bmad/bmb/docs/workflows/step-file-rules.md +0 -469
  373. package/bmad/bmb/docs/workflows/templates/step-01-init-continuable-template.md +0 -241
  374. package/bmad/bmb/docs/workflows/templates/step-1b-template.md +0 -223
  375. package/bmad/bmb/docs/workflows/templates/step-file.md +0 -139
  376. package/bmad/bmb/docs/workflows/templates/step-template.md +0 -290
  377. package/bmad/bmb/docs/workflows/templates/workflow-template.md +0 -104
  378. package/bmad/bmb/docs/workflows/templates/workflow.md +0 -58
  379. package/bmad/bmb/docs/workflows/terms.md +0 -97
  380. package/bmad/bmb/reference/agents/simple-examples/README.md +0 -223
  381. package/bmad/bmb/reference/readme.md +0 -3
  382. package/bmad/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +0 -18
  383. package/bmad/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +0 -16
  384. package/bmad/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +0 -28
  385. package/bmad/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +0 -177
  386. package/bmad/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +0 -121
  387. package/bmad/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +0 -165
  388. package/bmad/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +0 -154
  389. package/bmad/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +0 -183
  390. package/bmad/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +0 -168
  391. package/bmad/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +0 -195
  392. package/bmad/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +0 -25
  393. package/bmad/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +0 -68
  394. package/bmad/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +0 -29
  395. package/bmad/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +0 -47
  396. package/bmad/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +0 -37
  397. package/bmad/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +0 -18
  398. package/bmad/bmb/reference/workflows/meal-prep-nutrition/workflow.md +0 -59
  399. package/bmad/bmb/workflows/agent/data/agent-compilation.md +0 -273
  400. package/bmad/bmb/workflows/agent/data/agent-menu-patterns.md +0 -233
  401. package/bmad/bmb/workflows/agent/data/agent-metadata.md +0 -208
  402. package/bmad/bmb/workflows/agent/data/brainstorm-context.md +0 -146
  403. package/bmad/bmb/workflows/agent/data/communication-presets.csv +0 -61
  404. package/bmad/bmb/workflows/agent/data/critical-actions.md +0 -120
  405. package/bmad/bmb/workflows/agent/data/expert-agent-architecture.md +0 -236
  406. package/bmad/bmb/workflows/agent/data/expert-agent-validation.md +0 -173
  407. package/bmad/bmb/workflows/agent/data/module-agent-validation.md +0 -124
  408. package/bmad/bmb/workflows/agent/data/persona-properties.md +0 -266
  409. package/bmad/bmb/workflows/agent/data/principles-crafting.md +0 -292
  410. package/bmad/bmb/workflows/agent/data/reference/expert-examples/journal-keeper/journal-keeper-sidecar/entries/yy-mm-dd-entry-template.md +0 -17
  411. package/bmad/bmb/workflows/agent/data/reference/module-examples/architect.md +0 -68
  412. package/bmad/bmb/workflows/agent/data/simple-agent-architecture.md +0 -204
  413. package/bmad/bmb/workflows/agent/data/simple-agent-validation.md +0 -132
  414. package/bmad/bmb/workflows/agent/data/understanding-agent-types.md +0 -222
  415. package/bmad/bmb/workflows/agent/steps-c/step-01-brainstorm.md +0 -126
  416. package/bmad/bmb/workflows/agent/steps-c/step-02-discovery.md +0 -168
  417. package/bmad/bmb/workflows/agent/steps-c/step-03-type-metadata.md +0 -294
  418. package/bmad/bmb/workflows/agent/steps-c/step-04-persona.md +0 -210
  419. package/bmad/bmb/workflows/agent/steps-c/step-05-commands-menu.md +0 -176
  420. package/bmad/bmb/workflows/agent/steps-c/step-06-activation.md +0 -275
  421. package/bmad/bmb/workflows/agent/steps-c/step-07a-build-simple.md +0 -185
  422. package/bmad/bmb/workflows/agent/steps-c/step-07b-build-expert.md +0 -201
  423. package/bmad/bmb/workflows/agent/steps-c/step-07c-build-module.md +0 -258
  424. package/bmad/bmb/workflows/agent/steps-c/step-08a-plan-traceability.md +0 -203
  425. package/bmad/bmb/workflows/agent/steps-c/step-08b-metadata-validation.md +0 -135
  426. package/bmad/bmb/workflows/agent/steps-c/step-08c-persona-validation.md +0 -161
  427. package/bmad/bmb/workflows/agent/steps-c/step-08d-menu-validation.md +0 -158
  428. package/bmad/bmb/workflows/agent/steps-c/step-08e-structure-validation.md +0 -306
  429. package/bmad/bmb/workflows/agent/steps-c/step-08f-sidecar-validation.md +0 -462
  430. package/bmad/bmb/workflows/agent/steps-c/step-09-celebrate.md +0 -244
  431. package/bmad/bmb/workflows/agent/steps-e/e-01-load-existing.md +0 -214
  432. package/bmad/bmb/workflows/agent/steps-e/e-02-discover-edits.md +0 -191
  433. package/bmad/bmb/workflows/agent/steps-e/e-03a-validate-metadata.md +0 -78
  434. package/bmad/bmb/workflows/agent/steps-e/e-03b-validate-persona.md +0 -76
  435. package/bmad/bmb/workflows/agent/steps-e/e-03c-validate-menu.md +0 -75
  436. package/bmad/bmb/workflows/agent/steps-e/e-03d-validate-structure.md +0 -75
  437. package/bmad/bmb/workflows/agent/steps-e/e-03e-validate-sidecar.md +0 -78
  438. package/bmad/bmb/workflows/agent/steps-e/e-03f-validation-summary.md +0 -119
  439. package/bmad/bmb/workflows/agent/steps-e/e-04-type-metadata.md +0 -122
  440. package/bmad/bmb/workflows/agent/steps-e/e-05-persona.md +0 -132
  441. package/bmad/bmb/workflows/agent/steps-e/e-06-commands-menu.md +0 -120
  442. package/bmad/bmb/workflows/agent/steps-e/e-07-activation.md +0 -122
  443. package/bmad/bmb/workflows/agent/steps-e/e-08a-edit-simple.md +0 -134
  444. package/bmad/bmb/workflows/agent/steps-e/e-08b-edit-expert.md +0 -117
  445. package/bmad/bmb/workflows/agent/steps-e/e-08c-edit-module.md +0 -120
  446. package/bmad/bmb/workflows/agent/steps-e/e-09a-validate-metadata.md +0 -70
  447. package/bmad/bmb/workflows/agent/steps-e/e-09b-validate-persona.md +0 -70
  448. package/bmad/bmb/workflows/agent/steps-e/e-09c-validate-menu.md +0 -69
  449. package/bmad/bmb/workflows/agent/steps-e/e-09d-validate-structure.md +0 -69
  450. package/bmad/bmb/workflows/agent/steps-e/e-09e-validate-sidecar.md +0 -70
  451. package/bmad/bmb/workflows/agent/steps-e/e-09f-validation-summary.md +0 -111
  452. package/bmad/bmb/workflows/agent/steps-e/e-10-celebrate.md +0 -150
  453. package/bmad/bmb/workflows/agent/steps-v/v-01-load-review.md +0 -128
  454. package/bmad/bmb/workflows/agent/steps-v/v-02a-validate-metadata.md +0 -73
  455. package/bmad/bmb/workflows/agent/steps-v/v-02b-validate-persona.md +0 -72
  456. package/bmad/bmb/workflows/agent/steps-v/v-02c-validate-menu.md +0 -71
  457. package/bmad/bmb/workflows/agent/steps-v/v-02d-validate-structure.md +0 -71
  458. package/bmad/bmb/workflows/agent/steps-v/v-02e-validate-sidecar.md +0 -76
  459. package/bmad/bmb/workflows/agent/steps-v/v-03-summary.md +0 -100
  460. package/bmad/bmb/workflows/agent/templates/agent-plan.template.md +0 -5
  461. package/bmad/bmb/workflows/agent/templates/expert-agent-template/expert-agent.template.md +0 -76
  462. package/bmad/bmb/workflows/agent/templates/simple-agent.template.md +0 -71
  463. package/bmad/bmb/workflows/agent/workflow.md +0 -123
  464. package/bmad/bmb/workflows/create-module/steps/step-01-init.md +0 -156
  465. package/bmad/bmb/workflows/create-module/steps/step-01b-continue.md +0 -170
  466. package/bmad/bmb/workflows/create-module/steps/step-02-concept.md +0 -218
  467. package/bmad/bmb/workflows/create-module/steps/step-03-components.md +0 -268
  468. package/bmad/bmb/workflows/create-module/steps/step-04-structure.md +0 -229
  469. package/bmad/bmb/workflows/create-module/steps/step-05-config.md +0 -234
  470. package/bmad/bmb/workflows/create-module/steps/step-06-agents.md +0 -297
  471. package/bmad/bmb/workflows/create-module/steps/step-07-workflows.md +0 -229
  472. package/bmad/bmb/workflows/create-module/steps/step-08-installer.md +0 -187
  473. package/bmad/bmb/workflows/create-module/steps/step-09-documentation.md +0 -310
  474. package/bmad/bmb/workflows/create-module/steps/step-10-roadmap.md +0 -338
  475. package/bmad/bmb/workflows/create-module/steps/step-11-validate.md +0 -336
  476. package/bmad/bmb/workflows/create-module/templates/agent.template.md +0 -313
  477. package/bmad/bmb/workflows/create-module/templates/installer.template.js +0 -47
  478. package/bmad/bmb/workflows/create-module/templates/module-plan.template.md +0 -5
  479. package/bmad/bmb/workflows/create-module/templates/module.template.yaml +0 -53
  480. package/bmad/bmb/workflows/create-module/templates/workflow-plan-template.md +0 -23
  481. package/bmad/bmb/workflows/create-module/validation.md +0 -126
  482. package/bmad/bmb/workflows/create-module/workflow.md +0 -56
  483. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/data/dietary-restrictions.csv +0 -18
  484. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/data/macro-calculator.csv +0 -16
  485. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/data/recipe-database.csv +0 -28
  486. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/steps/step-01-init.md +0 -177
  487. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/steps/step-01b-continue.md +0 -150
  488. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/steps/step-02-profile.md +0 -164
  489. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/steps/step-03-assessment.md +0 -152
  490. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/steps/step-04-strategy.md +0 -182
  491. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/steps/step-05-shopping.md +0 -167
  492. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/steps/step-06-prep-schedule.md +0 -194
  493. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/templates/assessment-section.md +0 -25
  494. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/templates/nutrition-plan.md +0 -68
  495. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/templates/prep-schedule-section.md +0 -29
  496. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/templates/profile-section.md +0 -47
  497. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/templates/shopping-section.md +0 -37
  498. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/templates/strategy-section.md +0 -18
  499. package/bmad/bmb/workflows/create-workflow/data/examples/meal-prep-nutrition/workflow.md +0 -58
  500. package/bmad/bmb/workflows/create-workflow/steps/step-01-init.md +0 -158
  501. package/bmad/bmb/workflows/create-workflow/steps/step-02-gather.md +0 -212
  502. package/bmad/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +0 -251
  503. package/bmad/bmb/workflows/create-workflow/steps/step-04-plan-review.md +0 -217
  504. package/bmad/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +0 -290
  505. package/bmad/bmb/workflows/create-workflow/steps/step-06-design.md +0 -272
  506. package/bmad/bmb/workflows/create-workflow/steps/step-07-build.md +0 -323
  507. package/bmad/bmb/workflows/create-workflow/steps/step-08-review.md +0 -285
  508. package/bmad/bmb/workflows/create-workflow/steps/step-09-complete.md +0 -188
  509. package/bmad/bmb/workflows/create-workflow/workflow.md +0 -59
  510. package/bmad/bmb/workflows/edit-workflow/steps/step-01-analyze.md +0 -217
  511. package/bmad/bmb/workflows/edit-workflow/steps/step-02-discover.md +0 -254
  512. package/bmad/bmb/workflows/edit-workflow/steps/step-03-improve.md +0 -218
  513. package/bmad/bmb/workflows/edit-workflow/steps/step-04-validate.md +0 -194
  514. package/bmad/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +0 -246
  515. package/bmad/bmb/workflows/edit-workflow/templates/completion-summary.md +0 -75
  516. package/bmad/bmb/workflows/edit-workflow/templates/improvement-goals.md +0 -68
  517. package/bmad/bmb/workflows/edit-workflow/templates/improvement-log.md +0 -40
  518. package/bmad/bmb/workflows/edit-workflow/templates/validation-results.md +0 -51
  519. package/bmad/bmb/workflows/edit-workflow/templates/workflow-analysis.md +0 -56
  520. package/bmad/bmb/workflows/edit-workflow/workflow.md +0 -59
  521. package/bmad/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +0 -153
  522. package/bmad/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +0 -244
  523. package/bmad/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +0 -275
  524. package/bmad/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +0 -296
  525. package/bmad/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +0 -265
  526. package/bmad/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +0 -361
  527. package/bmad/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +0 -259
  528. package/bmad/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +0 -302
  529. package/bmad/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +0 -140
  530. package/bmad/bmb/workflows/workflow-compliance-check/workflow.md +0 -59
  531. package/bmad/bmb/workflows-legacy/edit-module/README.md +0 -171
  532. package/bmad/bmb/workflows-legacy/edit-module/checklist.md +0 -163
  533. package/bmad/bmb/workflows-legacy/edit-module/instructions.md +0 -340
  534. package/bmad/bmb/workflows-legacy/edit-module/workflow.yaml +0 -33
  535. package/bmad/bmb/workflows-legacy/module-brief/README.md +0 -264
  536. package/bmad/bmb/workflows-legacy/module-brief/checklist.md +0 -116
  537. package/bmad/bmb/workflows-legacy/module-brief/instructions.md +0 -268
  538. package/bmad/bmb/workflows-legacy/module-brief/template.md +0 -275
  539. package/bmad/bmb/workflows-legacy/module-brief/workflow.yaml +0 -35
  540. package/bmad/bmm/agents/analyst.md +0 -76
  541. package/bmad/bmm/agents/architect.md +0 -68
  542. package/bmad/bmm/agents/dev.md +0 -70
  543. package/bmad/bmm/agents/pm.md +0 -70
  544. package/bmad/bmm/agents/quick-flow-solo-dev.md +0 -68
  545. package/bmad/bmm/agents/sm.md +0 -71
  546. package/bmad/bmm/agents/tea.md +0 -71
  547. package/bmad/bmm/agents/tech-writer.md +0 -72
  548. package/bmad/bmm/agents/ux-designer.md +0 -68
  549. package/bmad/bmm/data/README.md +0 -29
  550. package/bmad/bmm/data/documentation-standards.md +0 -262
  551. package/bmad/bmm/data/project-context-template.md +0 -40
  552. package/bmad/bmm/teams/default-party.csv +0 -21
  553. package/bmad/bmm/teams/team-fullstack.yaml +0 -12
  554. package/bmad/bmm/testarch/knowledge/api-request.md +0 -303
  555. package/bmad/bmm/testarch/knowledge/auth-session.md +0 -356
  556. package/bmad/bmm/testarch/knowledge/burn-in.md +0 -273
  557. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  558. package/bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  559. package/bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  560. package/bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  561. package/bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  562. package/bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  563. package/bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  564. package/bmad/bmm/testarch/knowledge/file-utils.md +0 -260
  565. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  566. package/bmad/bmm/testarch/knowledge/fixtures-composition.md +0 -382
  567. package/bmad/bmm/testarch/knowledge/intercept-network-call.md +0 -280
  568. package/bmad/bmm/testarch/knowledge/log.md +0 -294
  569. package/bmad/bmm/testarch/knowledge/network-error-monitor.md +0 -272
  570. package/bmad/bmm/testarch/knowledge/network-first.md +0 -486
  571. package/bmad/bmm/testarch/knowledge/network-recorder.md +0 -265
  572. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  573. package/bmad/bmm/testarch/knowledge/overview.md +0 -283
  574. package/bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  575. package/bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  576. package/bmad/bmm/testarch/knowledge/recurse.md +0 -296
  577. package/bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  578. package/bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  579. package/bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  580. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  581. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  582. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  583. package/bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  584. package/bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  585. package/bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  586. package/bmad/bmm/testarch/tea-index.csv +0 -33
  587. package/bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
  588. package/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -182
  589. package/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -166
  590. package/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -204
  591. package/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -207
  592. package/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -210
  593. package/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -224
  594. package/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -199
  595. package/bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -58
  596. package/bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -443
  597. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
  598. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
  599. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +0 -200
  600. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
  601. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
  602. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
  603. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -475
  604. package/bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
  605. package/bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -239
  606. package/bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -486
  607. package/bmad/bmm/workflows/1-analysis/research/workflow.md +0 -173
  608. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
  609. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
  610. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
  611. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
  612. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
  613. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
  614. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
  615. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
  616. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
  617. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
  618. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
  619. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -338
  620. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
  621. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
  622. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -228
  623. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -59
  624. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  625. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -11
  626. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +0 -197
  627. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +0 -166
  628. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +0 -421
  629. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +0 -290
  630. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +0 -291
  631. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +0 -271
  632. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +0 -262
  633. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +0 -258
  634. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +0 -299
  635. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +0 -270
  636. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +0 -294
  637. package/bmad/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +0 -186
  638. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.md +0 -63
  639. package/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -190
  640. package/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -178
  641. package/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -179
  642. package/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -139
  643. package/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -252
  644. package/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -133
  645. package/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -55
  646. package/bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -11
  647. package/bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
  648. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -174
  649. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -164
  650. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
  651. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -342
  652. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -328
  653. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -368
  654. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -381
  655. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -366
  656. package/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -352
  657. package/bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -51
  658. package/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
  659. package/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -274
  660. package/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
  661. package/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -209
  662. package/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -72
  663. package/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -59
  664. package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  665. package/bmad/bmm/workflows/4-implementation/code-review/instructions.xml.bak +0 -225
  666. package/bmad/bmm/workflows/4-implementation/code-review/steps/step-01-load-story.md +0 -101
  667. package/bmad/bmm/workflows/4-implementation/code-review/steps/step-02-build-plan.md +0 -89
  668. package/bmad/bmm/workflows/4-implementation/code-review/steps/step-03-review.md +0 -91
  669. package/bmad/bmm/workflows/4-implementation/code-review/steps/step-04-fix.md +0 -92
  670. package/bmad/bmm/workflows/4-implementation/code-review/steps/step-05-sync-sprint.md +0 -70
  671. package/bmad/bmm/workflows/4-implementation/code-review/steps/step-06-jira-sync.md +0 -135
  672. package/bmad/bmm/workflows/4-implementation/code-review/steps/step-07-commit-push.md +0 -174
  673. package/bmad/bmm/workflows/4-implementation/code-review/workflow.md +0 -57
  674. package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml.bak +0 -50
  675. package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  676. package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  677. package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -58
  678. package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
  679. package/bmad/bmm/workflows/4-implementation/create-story/steps/step-01-determine-story.md +0 -85
  680. package/bmad/bmm/workflows/4-implementation/create-story/steps/step-02-analyze.md +0 -67
  681. package/bmad/bmm/workflows/4-implementation/create-story/steps/step-03-architecture.md +0 -71
  682. package/bmad/bmm/workflows/4-implementation/create-story/steps/step-04-web-research.md +0 -58
  683. package/bmad/bmm/workflows/4-implementation/create-story/steps/step-05-create-file.md +0 -76
  684. package/bmad/bmm/workflows/4-implementation/create-story/steps/step-06-finalize.md +0 -106
  685. package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml.bak +0 -63
  686. package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -85
  687. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-01-find-story.md +0 -109
  688. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-02-check-branch.md +0 -108
  689. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-03-load-context.md +0 -46
  690. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-04-env-readiness.md +0 -45
  691. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-05-review-check.md +0 -57
  692. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-06-mark-in-progress.md +0 -52
  693. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-07-implement.md +0 -62
  694. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-08-test-authoring.md +0 -39
  695. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-09-run-tests.md +0 -43
  696. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-10-validate-task.md +0 -63
  697. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-11-mark-review.md +0 -50
  698. package/bmad/bmm/workflows/4-implementation/dev-story/steps/step-12-communication.md +0 -45
  699. package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  700. package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -57
  701. package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -34
  702. package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -276
  703. package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -63
  704. package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -52
  705. package/bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -229
  706. package/bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -35
  707. package/bmad/bmm/workflows/5-documentation/README.md +0 -235
  708. package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-01-init.md +0 -213
  709. package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-01b-continue.md +0 -268
  710. package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-02-seleccion-features.md +0 -197
  711. package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-03-analisis-fuentes.md +0 -235
  712. package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-04-elicitacion.md +0 -116
  713. package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-05-generacion-espanol.md +0 -611
  714. package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-06-traduccion-ingles.md +0 -615
  715. package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-07-validacion-guardado.md +0 -467
  716. package/bmad/bmm/workflows/5-documentation/create-user-guide/workflow-plan-create-user-guide.md +0 -949
  717. package/bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-01-understand.md +0 -189
  718. package/bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-02-investigate.md +0 -144
  719. package/bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-03-generate.md +0 -128
  720. package/bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-04-review.md +0 -173
  721. package/bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/tech-spec-template.md +0 -74
  722. package/bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.md +0 -79
  723. package/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -156
  724. package/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -120
  725. package/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -113
  726. package/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -113
  727. package/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -106
  728. package/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -140
  729. package/bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -52
  730. package/bmad/bmm/workflows/document-project/instructions.md +0 -221
  731. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  732. package/bmad/bmm/workflows/document-project/workflow.yaml +0 -28
  733. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  734. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  735. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  736. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  737. package/bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +0 -90
  738. package/bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +0 -127
  739. package/bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +0 -39
  740. package/bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +0 -130
  741. package/bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +0 -26
  742. package/bmad/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +0 -43
  743. package/bmad/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +0 -141
  744. package/bmad/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +0 -26
  745. package/bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +0 -49
  746. package/bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +0 -241
  747. package/bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +0 -26
  748. package/bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +0 -38
  749. package/bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +0 -133
  750. package/bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +0 -26
  751. package/bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -261
  752. package/bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -342
  753. package/bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
  754. package/bmad/bmm/workflows/generate-project-context/workflow.md +0 -51
  755. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -364
  756. package/bmad/bmm/workflows/testarch/atdd/checklist.md +0 -374
  757. package/bmad/bmm/workflows/testarch/atdd/instructions.md +0 -806
  758. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  759. package/bmad/bmm/workflows/testarch/automate/checklist.md +0 -582
  760. package/bmad/bmm/workflows/testarch/automate/instructions.md +0 -1324
  761. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  762. package/bmad/bmm/workflows/testarch/ci/checklist.md +0 -248
  763. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -198
  764. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -149
  765. package/bmad/bmm/workflows/testarch/ci/instructions.md +0 -536
  766. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  767. package/bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  768. package/bmad/bmm/workflows/testarch/framework/instructions.md +0 -481
  769. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  770. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -407
  771. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  772. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -445
  773. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  774. package/bmad/bmm/workflows/testarch/test-design/checklist.md +0 -235
  775. package/bmad/bmm/workflows/testarch/test-design/instructions.md +0 -788
  776. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -294
  777. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -54
  778. package/bmad/bmm/workflows/testarch/test-review/checklist.md +0 -472
  779. package/bmad/bmm/workflows/testarch/test-review/instructions.md +0 -628
  780. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -390
  781. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  782. package/bmad/bmm/workflows/testarch/trace/checklist.md +0 -655
  783. package/bmad/bmm/workflows/testarch/trace/instructions.md +0 -1047
  784. package/bmad/bmm/workflows/testarch/trace/trace-template.md +0 -675
  785. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  786. package/bmad/bmm/workflows/workflow-status/init/instructions.md +0 -346
  787. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -29
  788. package/bmad/bmm/workflows/workflow-status/instructions.md +0 -395
  789. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -103
  790. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -100
  791. package/bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -103
  792. package/bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -100
  793. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  794. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  795. package/bmad/bmm/workflows/workflow-status/workflow.yaml +0 -30
  796. package/bmad/cis/agents/brainstorming-coach.md +0 -60
  797. package/bmad/cis/agents/creative-problem-solver.md +0 -60
  798. package/bmad/cis/agents/design-thinking-coach.md +0 -60
  799. package/bmad/cis/agents/innovation-strategist.md +0 -60
  800. package/bmad/cis/agents/presentation-master.md +0 -66
  801. package/bmad/cis/agents/storyteller/storyteller.md +0 -57
  802. package/bmad/cis/config.yaml +0 -11
  803. package/bmad/cis/teams/creative-squad.yaml +0 -7
  804. package/bmad/cis/teams/default-party.csv +0 -12
  805. package/bmad/cis/workflows/README.md +0 -139
  806. package/bmad/cis/workflows/design-thinking/README.md +0 -56
  807. package/bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
  808. package/bmad/cis/workflows/design-thinking/instructions.md +0 -202
  809. package/bmad/cis/workflows/design-thinking/template.md +0 -111
  810. package/bmad/cis/workflows/design-thinking/workflow.yaml +0 -27
  811. package/bmad/cis/workflows/innovation-strategy/README.md +0 -56
  812. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
  813. package/bmad/cis/workflows/innovation-strategy/instructions.md +0 -276
  814. package/bmad/cis/workflows/innovation-strategy/template.md +0 -189
  815. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -27
  816. package/bmad/cis/workflows/problem-solving/README.md +0 -56
  817. package/bmad/cis/workflows/problem-solving/instructions.md +0 -252
  818. package/bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
  819. package/bmad/cis/workflows/problem-solving/template.md +0 -165
  820. package/bmad/cis/workflows/problem-solving/workflow.yaml +0 -27
  821. package/bmad/cis/workflows/storytelling/README.md +0 -58
  822. package/bmad/cis/workflows/storytelling/instructions.md +0 -293
  823. package/bmad/cis/workflows/storytelling/story-types.csv +0 -26
  824. package/bmad/cis/workflows/storytelling/template.md +0 -113
  825. package/bmad/cis/workflows/storytelling/workflow.yaml +0 -27
  826. package/bmad/core/agents/bmad-master.md +0 -57
  827. package/bmad/core/config.yaml +0 -9
  828. package/bmad/core/resources/excalidraw/README.md +0 -160
  829. package/bmad/core/resources/excalidraw/excalidraw-helpers.md +0 -127
  830. package/bmad/core/resources/excalidraw/library-loader.md +0 -50
  831. package/bmad/core/resources/excalidraw/validate-json-instructions.md +0 -79
  832. package/bmad/core/tasks/index-docs.xml +0 -65
  833. package/bmad/core/tasks/review-adversarial-general.xml +0 -41
  834. package/bmad/core/tasks/shard-doc.xml +0 -109
  835. package/bmad/core/tasks/validate-workflow.xml +0 -89
  836. package/bmad/core/tasks/workflow.xml +0 -235
  837. package/bmad/core/workflows/advanced-elicitation/workflow.xml +0 -117
  838. package/bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -197
  839. package/bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
  840. package/bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
  841. package/bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
  842. package/bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
  843. package/bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
  844. package/bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -340
  845. package/bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
  846. package/bmad/core/workflows/brainstorming/workflow.md +0 -51
  847. package/bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -139
  848. package/bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -204
  849. package/bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -159
  850. package/bmad/core/workflows/party-mode/workflow.md +0 -206
  851. package/claude/commands/bmad/bmb/agents/agent-builder.md +0 -14
  852. package/claude/commands/bmad/bmb/agents/module-builder.md +0 -14
  853. package/claude/commands/bmad/bmb/agents/workflow-builder.md +0 -14
  854. package/claude/commands/bmad/bmb/workflows/Meal Prep & Nutrition Plan.md +0 -5
  855. package/claude/commands/bmad/bmb/workflows/agent.md +0 -5
  856. package/claude/commands/bmad/bmb/workflows/create-module.md +0 -5
  857. package/claude/commands/bmad/bmb/workflows/create-workflow.md +0 -5
  858. package/claude/commands/bmad/bmb/workflows/edit-workflow.md +0 -5
  859. package/claude/commands/bmad/bmb/workflows/workflow-compliance-check.md +0 -5
  860. package/claude/commands/bmad/bmm/agents/analyst.md +0 -14
  861. package/claude/commands/bmad/bmm/agents/architect.md +0 -14
  862. package/claude/commands/bmad/bmm/agents/dev.md +0 -14
  863. package/claude/commands/bmad/bmm/agents/pm.md +0 -14
  864. package/claude/commands/bmad/bmm/agents/quick-flow-solo-dev.md +0 -14
  865. package/claude/commands/bmad/bmm/agents/sm.md +0 -14
  866. package/claude/commands/bmad/bmm/agents/tea.md +0 -14
  867. package/claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  868. package/claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  869. package/claude/commands/bmad/bmm/workflows/check-implementation-readiness.md +0 -9
  870. package/claude/commands/bmad/bmm/workflows/code-review.md +0 -14
  871. package/claude/commands/bmad/bmm/workflows/correct-course.md +0 -14
  872. package/claude/commands/bmad/bmm/workflows/create-architecture.md +0 -9
  873. package/claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -9
  874. package/claude/commands/bmad/bmm/workflows/create-excalidraw-dataflow.md +0 -13
  875. package/claude/commands/bmad/bmm/workflows/create-excalidraw-diagram.md +0 -13
  876. package/claude/commands/bmad/bmm/workflows/create-excalidraw-flowchart.md +0 -13
  877. package/claude/commands/bmad/bmm/workflows/create-excalidraw-wireframe.md +0 -13
  878. package/claude/commands/bmad/bmm/workflows/create-prd.md +0 -11
  879. package/claude/commands/bmad/bmm/workflows/create-product-brief.md +0 -9
  880. package/claude/commands/bmad/bmm/workflows/create-story.md +0 -14
  881. package/claude/commands/bmad/bmm/workflows/create-tech-spec.md +0 -5
  882. package/claude/commands/bmad/bmm/workflows/create-user-guide.md +0 -5
  883. package/claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -9
  884. package/claude/commands/bmad/bmm/workflows/dev-story.md +0 -14
  885. package/claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  886. package/claude/commands/bmad/bmm/workflows/fast-track-dev.md +0 -5
  887. package/claude/commands/bmad/bmm/workflows/generate-project-context.md +0 -11
  888. package/claude/commands/bmad/bmm/workflows/quality-process.md +0 -5
  889. package/claude/commands/bmad/bmm/workflows/quick-dev.md +0 -5
  890. package/claude/commands/bmad/bmm/workflows/research.md +0 -5
  891. package/claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  892. package/claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -14
  893. package/claude/commands/bmad/bmm/workflows/sprint-status.md +0 -14
  894. package/claude/commands/bmad/bmm/workflows/testarch-atdd.md +0 -13
  895. package/claude/commands/bmad/bmm/workflows/testarch-automate.md +0 -13
  896. package/claude/commands/bmad/bmm/workflows/testarch-ci.md +0 -13
  897. package/claude/commands/bmad/bmm/workflows/testarch-framework.md +0 -13
  898. package/claude/commands/bmad/bmm/workflows/testarch-nfr.md +0 -13
  899. package/claude/commands/bmad/bmm/workflows/testarch-test-design.md +0 -13
  900. package/claude/commands/bmad/bmm/workflows/testarch-test-review.md +0 -13
  901. package/claude/commands/bmad/bmm/workflows/testarch-trace.md +0 -13
  902. package/claude/commands/bmad/bmm/workflows/workflow-init.md +0 -14
  903. package/claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  904. package/claude/commands/bmad/cis/agents/brainstorming-coach.md +0 -14
  905. package/claude/commands/bmad/cis/agents/creative-problem-solver.md +0 -14
  906. package/claude/commands/bmad/cis/agents/design-thinking-coach.md +0 -14
  907. package/claude/commands/bmad/cis/agents/innovation-strategist.md +0 -14
  908. package/claude/commands/bmad/cis/agents/presentation-master.md +0 -14
  909. package/claude/commands/bmad/cis/agents/storyteller.md +0 -14
  910. package/claude/commands/bmad/cis/workflows/design-thinking.md +0 -13
  911. package/claude/commands/bmad/cis/workflows/innovation-strategy.md +0 -13
  912. package/claude/commands/bmad/cis/workflows/problem-solving.md +0 -13
  913. package/claude/commands/bmad/cis/workflows/storytelling.md +0 -13
  914. package/claude/commands/bmad/core/agents/bmad-master.md +0 -14
  915. package/claude/commands/bmad/core/tasks/index-docs.md +0 -9
  916. package/claude/commands/bmad/core/workflows/brainstorming.md +0 -5
  917. package/claude/commands/bmad/core/workflows/party-mode.md +0 -5
  918. package/claude/commands/bmad/core/workflows/shard-docs.md +0 -10
  919. package/siesa-agents/bmm/workflows/fast-track-dev/completion-summary-fast-track-dev.md +0 -76
  920. package/siesa-agents/bmm/workflows/fast-track-dev/steps/step-01-init.md +0 -161
  921. package/siesa-agents/bmm/workflows/fast-track-dev/steps/step-02-configure.md +0 -195
  922. package/siesa-agents/bmm/workflows/fast-track-dev/steps/step-03-execute.md +0 -169
  923. package/siesa-agents/bmm/workflows/fast-track-dev/workflow-plan-fast-track-dev.md +0 -198
  924. package/siesa-agents/bmm/workflows/fast-track-dev/workflow.md +0 -57
  925. package/siesa-agents/bmm/workflows/workflow-status/Init/workflow_ext.md +0 -194
  926. package/siesa-agents/scripts/bmad_orchestrator.py +0 -900
  927. /package/{bmad/core/workflows/advanced-elicitation → claude/skills/bmad-advanced-elicitation}/methods.csv +0 -0
  928. /package/{bmad/core/workflows/brainstorming → claude/skills/bmad-brainstorming}/brain-methods.csv +0 -0
  929. /package/{bmad/core/workflows/brainstorming → claude/skills/bmad-brainstorming}/template.md +0 -0
  930. /package/{bmad/bmm/workflows/3-solutioning/check-implementation-readiness → claude/skills/bmad-check-implementation-readiness}/templates/readiness-report-template.md +0 -0
  931. /package/{bmad/bmm/workflows/3-solutioning/create-architecture → claude/skills/bmad-create-architecture}/architecture-decision-template.md +0 -0
  932. /package/{bmad/bmm/workflows/2-plan-workflows/prd → claude/skills/bmad-create-prd/data}/project-types.csv +0 -0
  933. /package/{bmad/bmm/workflows/4-implementation/create-story → claude/skills/bmad-create-story}/template.md +0 -0
  934. /package/{bmad/bmm/workflows/2-plan-workflows/create-ux-design → claude/skills/bmad-create-ux-design}/ux-design-template.md +0 -0
  935. /package/{bmad/bmm/workflows/document-project → claude/skills/bmad-document-project}/checklist.md +0 -0
  936. /package/{bmad/bmm/workflows/document-project → claude/skills/bmad-document-project}/documentation-requirements.csv +0 -0
  937. /package/{bmad/bmm/workflows/document-project → claude/skills/bmad-document-project}/templates/deep-dive-template.md +0 -0
  938. /package/{bmad/bmm/workflows/document-project → claude/skills/bmad-document-project}/templates/index-template.md +0 -0
  939. /package/{bmad/bmm/workflows/document-project → claude/skills/bmad-document-project}/templates/project-overview-template.md +0 -0
  940. /package/{bmad/bmm/workflows/document-project → claude/skills/bmad-document-project}/templates/source-tree-template.md +0 -0
  941. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-domain-research}/domain-steps/step-01-init.md +0 -0
  942. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-domain-research}/domain-steps/step-02-domain-analysis.md +0 -0
  943. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-domain-research}/domain-steps/step-03-competitive-landscape.md +0 -0
  944. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-domain-research}/domain-steps/step-04-regulatory-focus.md +0 -0
  945. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-domain-research}/domain-steps/step-05-technical-trends.md +0 -0
  946. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-domain-research}/research.template.md +0 -0
  947. /package/{bmad/bmm/workflows/generate-project-context → claude/skills/bmad-generate-project-context}/project-context-template.md +0 -0
  948. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-technical-research}/technical-steps/step-01-init.md +0 -0
  949. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-technical-research}/technical-steps/step-02-technical-overview.md +0 -0
  950. /package/{bmad/bmm/workflows/1-analysis/research → claude/skills/bmad-technical-research}/technical-steps/step-03-integration-patterns.md +0 -0
  951. /package/{bmad → siesa-agents}/bmm/data/git-flow-siesa.md +0 -0
  952. /package/{bmad → siesa-agents}/bmm/workflows/3-solutioning/create-architecture/data/company-standards/architecture-patterns.md +0 -0
  953. /package/{bmad → siesa-agents}/bmm/workflows/3-solutioning/create-architecture/data/company-standards/backend-standards.md +0 -0
  954. /package/{bmad → siesa-agents}/bmm/workflows/3-solutioning/create-architecture/data/company-standards/database-conventions.md +0 -0
  955. /package/{bmad → siesa-agents}/bmm/workflows/3-solutioning/create-architecture/data/company-standards/frontend-standards.md +0 -0
  956. /package/{bmad → siesa-agents}/bmm/workflows/3-solutioning/create-architecture/data/company-standards/mastercrud-use-reference.md +0 -0
  957. /package/{bmad → siesa-agents}/bmm/workflows/3-solutioning/create-architecture/data/company-standards/technical-preferences-ux.md +0 -0
  958. /package/{bmad → siesa-agents}/bmm/workflows/3-solutioning/create-architecture/data/company-standards/technology-stack.md +0 -0
  959. /package/{bmad → siesa-agents}/bmm/workflows/3-solutioning/create-architecture/data/company-standards/vite-config-standard.md +0 -0
  960. /package/{bmad → siesa-agents}/bmm/workflows/4-implementation/create-story/workflow.md +0 -0
  961. /package/{bmad → siesa-agents}/bmm/workflows/4-implementation/dev-story/workflow.md +0 -0
  962. /package/{bmad → siesa-agents}/bmm/workflows/5-documentation/create-user-guide/data/audience-types.csv +0 -0
  963. /package/{bmad → siesa-agents}/bmm/workflows/5-documentation/create-user-guide/data/diagram-types.csv +0 -0
  964. /package/{bmad → siesa-agents}/bmm/workflows/5-documentation/create-user-guide/data/section-structure.csv +0 -0
  965. /package/{bmad → siesa-agents}/bmm/workflows/5-documentation/create-user-guide/steps/step-02-seleccion-epicas.md +0 -0
  966. /package/{bmad → siesa-agents}/bmm/workflows/5-documentation/create-user-guide/templates/user-guide-template-en.md +0 -0
  967. /package/{bmad → siesa-agents}/bmm/workflows/5-documentation/create-user-guide/templates/user-guide-template-es.md +0 -0
  968. /package/{bmad → siesa-agents}/bmm/workflows/5-documentation/create-user-guide/workflow.md +0 -0
@@ -1,1324 +0,0 @@
1
- <!-- Powered by BMAD-CORE™ -->
2
-
3
- # Test Automation Expansion
4
-
5
- **Workflow ID**: `_bmad/bmm/testarch/automate`
6
- **Version**: 4.0 (BMad v6)
7
-
8
- ---
9
-
10
- ## Overview
11
-
12
- Expands test automation coverage by generating comprehensive test suites at appropriate levels (E2E, API, Component, Unit) with supporting infrastructure. This workflow operates in **dual mode**:
13
-
14
- 1. **BMad-Integrated Mode**: Works WITH BMad artifacts (story, tech-spec, PRD, test-design) to expand coverage after story implementation
15
- 2. **Standalone Mode**: Works WITHOUT BMad artifacts - analyzes existing codebase and generates tests independently
16
-
17
- **Core Principle**: Generate prioritized, deterministic tests that avoid duplicate coverage and follow testing best practices.
18
-
19
- ---
20
-
21
- ## Preflight Requirements
22
-
23
- **Flexible:** This workflow can run with minimal prerequisites. Only HALT if framework is completely missing.
24
-
25
- ### Required (Always)
26
-
27
- - ✅ Framework scaffolding configured (run `framework` workflow if missing)
28
- - ✅ Test framework configuration available (playwright.config.ts or cypress.config.ts)
29
-
30
- ### Optional (BMad-Integrated Mode)
31
-
32
- - Story markdown with acceptance criteria (enhances coverage targeting)
33
- - Tech spec or PRD (provides architectural context)
34
- - Test design document (provides risk/priority context)
35
-
36
- ### Optional (Standalone Mode)
37
-
38
- - Source code to analyze (feature implementation)
39
- - Existing tests (for gap analysis)
40
-
41
- **If framework is missing:** HALT with message: "Framework scaffolding required. Run `bmad tea *framework` first."
42
-
43
- ---
44
-
45
- ## Step 1: Determine Execution Mode and Load Context
46
-
47
- ### Actions
48
-
49
- 1. **Detect Execution Mode**
50
-
51
- Check if BMad artifacts are available:
52
- - If `{story_file}` variable is set → BMad-Integrated Mode
53
- - If `{target_feature}` or `{target_files}` set → Standalone Mode
54
- - If neither set → Auto-discover mode (scan codebase for features needing tests)
55
-
56
- 2. **Load BMad Artifacts (If Available)**
57
-
58
- **BMad-Integrated Mode:**
59
- - Read story markdown from `{story_file}`
60
- - Extract acceptance criteria and technical requirements
61
- - Load tech-spec.md if `{use_tech_spec}` is true
62
- - Load test-design.md if `{use_test_design}` is true
63
- - Load PRD.md if `{use_prd}` is true
64
- - Note: These are **optional enhancements**, not hard requirements
65
-
66
- **Standalone Mode:**
67
- - Skip BMad artifact loading
68
- - Proceed directly to source code analysis
69
-
70
- 3. **Load Framework Configuration**
71
- - Read test framework config (playwright.config.ts or cypress.config.ts)
72
- - Identify test directory structure from `{test_dir}`
73
- - Check existing test patterns in `{test_dir}`
74
- - Note test runner capabilities (parallel execution, fixtures, etc.)
75
-
76
- 4. **Analyze Existing Test Coverage**
77
-
78
- If `{analyze_coverage}` is true:
79
- - Search `{test_dir}` for existing test files
80
- - Identify tested features vs untested features
81
- - Map tests to source files (coverage gaps)
82
- - Check existing fixture and factory patterns
83
-
84
- 5. **Check Playwright Utils Flag**
85
-
86
- Read `{config_source}` and check `config.tea_use_playwright_utils`.
87
-
88
- 6. **Load Knowledge Base Fragments**
89
-
90
- **Critical:** Consult `{project-root}/_bmad/bmm/testarch/tea-index.csv` to load:
91
-
92
- **Core Testing Patterns (Always load):**
93
- - `test-levels-framework.md` - Test level selection (E2E vs API vs Component vs Unit with decision matrix, 467 lines, 4 examples)
94
- - `test-priorities-matrix.md` - Priority classification (P0-P3 with automated scoring, risk mapping, 389 lines, 2 examples)
95
- - `data-factories.md` - Factory patterns with faker (overrides, nested factories, API seeding, 498 lines, 5 examples)
96
- - `selective-testing.md` - Targeted test execution strategies (tag-based, spec filters, diff-based, promotion rules, 727 lines, 4 examples)
97
- - `ci-burn-in.md` - Flaky test detection patterns (10-iteration burn-in, sharding, selective execution, 678 lines, 4 examples)
98
- - `test-quality.md` - Test design principles (deterministic, isolated, explicit assertions, length/time limits, 658 lines, 5 examples)
99
-
100
- **If `config.tea_use_playwright_utils: true` (Playwright Utils Integration - All Utilities):**
101
- - `overview.md` - Playwright utils installation, design principles, fixture patterns
102
- - `api-request.md` - Typed HTTP client with schema validation
103
- - `network-recorder.md` - HAR record/playback for offline testing
104
- - `auth-session.md` - Token persistence and multi-user support
105
- - `intercept-network-call.md` - Network spy/stub with automatic JSON parsing
106
- - `recurse.md` - Cypress-style polling for async conditions
107
- - `log.md` - Playwright report-integrated logging
108
- - `file-utils.md` - CSV/XLSX/PDF/ZIP reading and validation
109
- - `burn-in.md` - Smart test selection (relevant for CI test generation)
110
- - `network-error-monitor.md` - Automatic HTTP error detection
111
- - `fixtures-composition.md` - mergeTests composition patterns
112
-
113
- **If `config.tea_use_playwright_utils: false` (Traditional Patterns):**
114
- - `fixture-architecture.md` - Test fixture patterns (pure function → fixture → mergeTests, auto-cleanup, 406 lines, 5 examples)
115
- - `network-first.md` - Route interception patterns (intercept before navigate, HAR capture, deterministic waiting, 489 lines, 5 examples)
116
-
117
- **Healing Knowledge (If `{auto_heal_failures}` is true):**
118
- - `test-healing-patterns.md` - Common failure patterns and automated fixes (stale selectors, race conditions, dynamic data, network errors, hard waits, 648 lines, 5 examples)
119
- - `selector-resilience.md` - Selector debugging and refactoring guide (data-testid > ARIA > text > CSS hierarchy, anti-patterns, 541 lines, 4 examples)
120
- - `timing-debugging.md` - Race condition identification and fixes (network-first, deterministic waiting, async debugging, 370 lines, 3 examples)
121
-
122
- ---
123
-
124
- ## Step 2: Identify Automation Targets
125
-
126
- ### Actions
127
-
128
- 1. **Determine What Needs Testing**
129
-
130
- **BMad-Integrated Mode (story available):**
131
- - Map acceptance criteria from story to test scenarios
132
- - Identify features implemented in this story
133
- - Check if story has existing ATDD tests (from `*atdd` workflow)
134
- - Expand beyond ATDD with edge cases and negative paths
135
-
136
- **Standalone Mode (no story):**
137
- - If `{target_feature}` specified: Analyze that specific feature
138
- - If `{target_files}` specified: Analyze those specific files
139
- - If `{auto_discover_features}` is true: Scan `{source_dir}` for features
140
- - Prioritize features with:
141
- - No test coverage (highest priority)
142
- - Complex business logic
143
- - External integrations (API calls, database, auth)
144
- - Critical user paths (login, checkout, etc.)
145
-
146
- 2. **Apply Test Level Selection Framework**
147
-
148
- **Knowledge Base Reference**: `test-levels-framework.md`
149
-
150
- For each feature or acceptance criterion, determine appropriate test level:
151
-
152
- **E2E (End-to-End)**:
153
- - Critical user journeys (login, checkout, core workflows)
154
- - Multi-system integration
155
- - Full user-facing scenarios
156
- - Characteristics: High confidence, slow, brittle
157
-
158
- **API (Integration)**:
159
- - Business logic validation
160
- - Service contracts and data transformations
161
- - Backend integration without UI
162
- - Characteristics: Fast feedback, stable, good balance
163
-
164
- **Component**:
165
- - UI component behavior (buttons, forms, modals)
166
- - Interaction testing (click, hover, keyboard)
167
- - State management within component
168
- - Characteristics: Fast, isolated, granular
169
-
170
- **Unit**:
171
- - Pure business logic and algorithms
172
- - Edge cases and error handling
173
- - Minimal dependencies
174
- - Characteristics: Fastest, most granular
175
-
176
- 3. **Avoid Duplicate Coverage**
177
-
178
- **Critical principle:** Don't test same behavior at multiple levels unless necessary
179
- - Use E2E for critical happy path only
180
- - Use API tests for business logic variations
181
- - Use component tests for UI interaction edge cases
182
- - Use unit tests for pure logic edge cases
183
-
184
- **Example:**
185
- - E2E: User can log in with valid credentials → Dashboard loads
186
- - API: POST /auth/login returns 401 for invalid credentials
187
- - API: POST /auth/login returns 200 and JWT token for valid credentials
188
- - Component: LoginForm disables submit button when fields are empty
189
- - Unit: validateEmail() returns false for malformed email addresses
190
-
191
- 4. **Assign Test Priorities**
192
-
193
- **Knowledge Base Reference**: `test-priorities-matrix.md`
194
-
195
- **P0 (Critical - Every commit)**:
196
- - Critical user paths that must always work
197
- - Security-critical functionality (auth, permissions)
198
- - Data integrity scenarios
199
- - Run in pre-commit hooks or PR checks
200
-
201
- **P1 (High - PR to main)**:
202
- - Important features with high user impact
203
- - Integration points between systems
204
- - Error handling for common failures
205
- - Run before merging to main branch
206
-
207
- **P2 (Medium - Nightly)**:
208
- - Edge cases with moderate impact
209
- - Less-critical feature variations
210
- - Performance/load testing
211
- - Run in nightly CI builds
212
-
213
- **P3 (Low - On-demand)**:
214
- - Nice-to-have validations
215
- - Rarely-used features
216
- - Exploratory testing scenarios
217
- - Run manually or weekly
218
-
219
- **Priority Variables:**
220
- - `{include_p0}` - Always include (default: true)
221
- - `{include_p1}` - High priority (default: true)
222
- - `{include_p2}` - Medium priority (default: true)
223
- - `{include_p3}` - Low priority (default: false)
224
-
225
- 5. **Create Test Coverage Plan**
226
-
227
- Document what will be tested at each level with priorities:
228
-
229
- ```markdown
230
- ## Test Coverage Plan
231
-
232
- ### E2E Tests (P0)
233
-
234
- - User login with valid credentials → Dashboard loads
235
- - User logout → Redirects to login page
236
-
237
- ### API Tests (P1)
238
-
239
- - POST /auth/login - valid credentials → 200 + JWT token
240
- - POST /auth/login - invalid credentials → 401 + error message
241
- - POST /auth/login - missing fields → 400 + validation errors
242
-
243
- ### Component Tests (P1)
244
-
245
- - LoginForm - empty fields → submit button disabled
246
- - LoginForm - valid input → submit button enabled
247
-
248
- ### Unit Tests (P2)
249
-
250
- - validateEmail() - valid email → returns true
251
- - validateEmail() - malformed email → returns false
252
- ```
253
-
254
- ---
255
-
256
- ## Step 3: Generate Test Infrastructure
257
-
258
- ### Actions
259
-
260
- 1. **Enhance Fixture Architecture**
261
-
262
- **Knowledge Base Reference**: `fixture-architecture.md`
263
-
264
- Check existing fixtures in `tests/support/fixtures/`:
265
- - If missing or incomplete, create fixture architecture
266
- - Use Playwright's `test.extend()` pattern
267
- - Ensure all fixtures have auto-cleanup in teardown
268
-
269
- **Common fixtures to create/enhance:**
270
- - **authenticatedUser**: User with valid session (auto-deletes user after test)
271
- - **apiRequest**: Authenticated API client with base URL and headers
272
- - **mockNetwork**: Network mocking for external services
273
- - **testDatabase**: Database with test data (auto-cleanup after test)
274
-
275
- **Example fixture:**
276
-
277
- ```typescript
278
- // tests/support/fixtures/auth.fixture.ts
279
- import { test as base } from '@playwright/test';
280
- import { createUser, deleteUser } from '../factories/user.factory';
281
-
282
- export const test = base.extend({
283
- authenticatedUser: async ({ page }, use) => {
284
- // Setup: Create and authenticate user
285
- const user = await createUser();
286
- await page.goto('/login');
287
- await page.fill('[data-testid="email"]', user.email);
288
- await page.fill('[data-testid="password"]', user.password);
289
- await page.click('[data-testid="login-button"]');
290
- await page.waitForURL('/dashboard');
291
-
292
- // Provide to test
293
- await use(user);
294
-
295
- // Cleanup: Delete user automatically
296
- await deleteUser(user.id);
297
- },
298
- });
299
- ```
300
-
301
- 2. **Enhance Data Factories**
302
-
303
- **Knowledge Base Reference**: `data-factories.md`
304
-
305
- Check existing factories in `tests/support/factories/`:
306
- - If missing or incomplete, create factory architecture
307
- - Use `@faker-js/faker` for all random data (no hardcoded values)
308
- - Support overrides for specific test scenarios
309
-
310
- **Common factories to create/enhance:**
311
- - User factory (email, password, name, role)
312
- - Product factory (name, price, description, SKU)
313
- - Order factory (items, total, status, customer)
314
-
315
- **Example factory:**
316
-
317
- ```typescript
318
- // tests/support/factories/user.factory.ts
319
- import { faker } from '@faker-js/faker';
320
-
321
- export const createUser = (overrides = {}) => ({
322
- id: faker.number.int(),
323
- email: faker.internet.email(),
324
- password: faker.internet.password(),
325
- name: faker.person.fullName(),
326
- role: 'user',
327
- createdAt: faker.date.recent().toISOString(),
328
- ...overrides,
329
- });
330
-
331
- export const createUsers = (count: number) => Array.from({ length: count }, () => createUser());
332
-
333
- // API helper for cleanup
334
- export const deleteUser = async (userId: number) => {
335
- await fetch(`/api/users/${userId}`, { method: 'DELETE' });
336
- };
337
- ```
338
-
339
- 3. **Create/Enhance Helper Utilities**
340
-
341
- If `{update_helpers}` is true:
342
-
343
- Check `tests/support/helpers/` for common utilities:
344
- - **waitFor**: Polling helper for complex conditions
345
- - **retry**: Retry helper for flaky operations
346
- - **testData**: Test data generation helpers
347
- - **assertions**: Custom assertion helpers
348
-
349
- **Example helper:**
350
-
351
- ```typescript
352
- // tests/support/helpers/wait-for.ts
353
- export const waitFor = async (condition: () => Promise<boolean>, timeout = 5000, interval = 100): Promise<void> => {
354
- const startTime = Date.now();
355
- while (Date.now() - startTime < timeout) {
356
- if (await condition()) return;
357
- await new Promise((resolve) => setTimeout(resolve, interval));
358
- }
359
- throw new Error(`Condition not met within ${timeout}ms`);
360
- };
361
- ```
362
-
363
- ---
364
-
365
- ## Step 4: Generate Test Files
366
-
367
- ### Actions
368
-
369
- 1. **Create Test File Structure**
370
-
371
- ```
372
- tests/
373
- ├── e2e/
374
- │ └── {feature-name}.spec.ts # E2E tests (P0-P1)
375
- ├── api/
376
- │ └── {feature-name}.api.spec.ts # API tests (P1-P2)
377
- ├── component/
378
- │ └── {ComponentName}.test.tsx # Component tests (P1-P2)
379
- ├── unit/
380
- │ └── {module-name}.test.ts # Unit tests (P2-P3)
381
- └── support/
382
- ├── fixtures/ # Test fixtures
383
- ├── factories/ # Data factories
384
- └── helpers/ # Utility functions
385
- ```
386
-
387
- 2. **Write E2E Tests (If Applicable)**
388
-
389
- **Follow Given-When-Then format:**
390
-
391
- ```typescript
392
- import { test, expect } from '@playwright/test';
393
-
394
- test.describe('User Authentication', () => {
395
- test('[P0] should login with valid credentials and load dashboard', async ({ page }) => {
396
- // GIVEN: User is on login page
397
- await page.goto('/login');
398
-
399
- // WHEN: User submits valid credentials
400
- await page.fill('[data-testid="email-input"]', 'user@example.com');
401
- await page.fill('[data-testid="password-input"]', 'Password123!');
402
- await page.click('[data-testid="login-button"]');
403
-
404
- // THEN: User is redirected to dashboard
405
- await expect(page).toHaveURL('/dashboard');
406
- await expect(page.locator('[data-testid="user-name"]')).toBeVisible();
407
- });
408
-
409
- test('[P1] should display error for invalid credentials', async ({ page }) => {
410
- // GIVEN: User is on login page
411
- await page.goto('/login');
412
-
413
- // WHEN: User submits invalid credentials
414
- await page.fill('[data-testid="email-input"]', 'invalid@example.com');
415
- await page.fill('[data-testid="password-input"]', 'wrongpassword');
416
- await page.click('[data-testid="login-button"]');
417
-
418
- // THEN: Error message is displayed
419
- await expect(page.locator('[data-testid="error-message"]')).toHaveText('Invalid email or password');
420
- });
421
- });
422
- ```
423
-
424
- **Critical patterns:**
425
- - Tag tests with priority: `[P0]`, `[P1]`, `[P2]`, `[P3]` in test name
426
- - One assertion per test (atomic tests)
427
- - Explicit waits (no hard waits/sleeps)
428
- - Network-first approach (route interception before navigation)
429
- - data-testid selectors for stability
430
- - Clear Given-When-Then structure
431
-
432
- 3. **Write API Tests (If Applicable)**
433
-
434
- ```typescript
435
- import { test, expect } from '@playwright/test';
436
-
437
- test.describe('User Authentication API', () => {
438
- test('[P1] POST /api/auth/login - should return token for valid credentials', async ({ request }) => {
439
- // GIVEN: Valid user credentials
440
- const credentials = {
441
- email: 'user@example.com',
442
- password: 'Password123!',
443
- };
444
-
445
- // WHEN: Logging in via API
446
- const response = await request.post('/api/auth/login', {
447
- data: credentials,
448
- });
449
-
450
- // THEN: Returns 200 and JWT token
451
- expect(response.status()).toBe(200);
452
- const body = await response.json();
453
- expect(body).toHaveProperty('token');
454
- expect(body.token).toMatch(/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+$/); // JWT format
455
- });
456
-
457
- test('[P1] POST /api/auth/login - should return 401 for invalid credentials', async ({ request }) => {
458
- // GIVEN: Invalid credentials
459
- const credentials = {
460
- email: 'invalid@example.com',
461
- password: 'wrongpassword',
462
- };
463
-
464
- // WHEN: Attempting login
465
- const response = await request.post('/api/auth/login', {
466
- data: credentials,
467
- });
468
-
469
- // THEN: Returns 401 with error
470
- expect(response.status()).toBe(401);
471
- const body = await response.json();
472
- expect(body).toMatchObject({
473
- error: 'Invalid credentials',
474
- });
475
- });
476
- });
477
- ```
478
-
479
- 4. **Write Component Tests (If Applicable)**
480
-
481
- **Knowledge Base Reference**: `component-tdd.md`
482
-
483
- ```typescript
484
- import { test, expect } from '@playwright/experimental-ct-react';
485
- import { LoginForm } from './LoginForm';
486
-
487
- test.describe('LoginForm Component', () => {
488
- test('[P1] should disable submit button when fields are empty', async ({ mount }) => {
489
- // GIVEN: LoginForm is mounted
490
- const component = await mount(<LoginForm />);
491
-
492
- // WHEN: Form is initially rendered
493
- const submitButton = component.locator('button[type="submit"]');
494
-
495
- // THEN: Submit button is disabled
496
- await expect(submitButton).toBeDisabled();
497
- });
498
-
499
- test('[P1] should enable submit button when fields are filled', async ({ mount }) => {
500
- // GIVEN: LoginForm is mounted
501
- const component = await mount(<LoginForm />);
502
-
503
- // WHEN: User fills in email and password
504
- await component.locator('[data-testid="email-input"]').fill('user@example.com');
505
- await component.locator('[data-testid="password-input"]').fill('Password123!');
506
-
507
- // THEN: Submit button is enabled
508
- const submitButton = component.locator('button[type="submit"]');
509
- await expect(submitButton).toBeEnabled();
510
- });
511
- });
512
- ```
513
-
514
- 5. **Write Unit Tests (If Applicable)**
515
-
516
- ```typescript
517
- import { validateEmail } from './validation';
518
-
519
- describe('Email Validation', () => {
520
- test('[P2] should return true for valid email', () => {
521
- // GIVEN: Valid email address
522
- const email = 'user@example.com';
523
-
524
- // WHEN: Validating email
525
- const result = validateEmail(email);
526
-
527
- // THEN: Returns true
528
- expect(result).toBe(true);
529
- });
530
-
531
- test('[P2] should return false for malformed email', () => {
532
- // GIVEN: Malformed email addresses
533
- const invalidEmails = ['notanemail', '@example.com', 'user@', 'user @example.com'];
534
-
535
- // WHEN/THEN: Each should fail validation
536
- invalidEmails.forEach((email) => {
537
- expect(validateEmail(email)).toBe(false);
538
- });
539
- });
540
- });
541
- ```
542
-
543
- 6. **Apply Network-First Pattern (E2E tests)**
544
-
545
- **Knowledge Base Reference**: `network-first.md`
546
-
547
- **Critical pattern to prevent race conditions:**
548
-
549
- ```typescript
550
- test('should load user dashboard after login', async ({ page }) => {
551
- // CRITICAL: Intercept routes BEFORE navigation
552
- await page.route('**/api/user', (route) =>
553
- route.fulfill({
554
- status: 200,
555
- body: JSON.stringify({ id: 1, name: 'Test User' }),
556
- }),
557
- );
558
-
559
- // NOW navigate
560
- await page.goto('/dashboard');
561
-
562
- await expect(page.locator('[data-testid="user-name"]')).toHaveText('Test User');
563
- });
564
- ```
565
-
566
- 7. **Enforce Quality Standards**
567
-
568
- **For every test:**
569
- - ✅ Uses Given-When-Then format
570
- - ✅ Has clear, descriptive name with priority tag
571
- - ✅ One assertion per test (atomic)
572
- - ✅ No hard waits or sleeps (use explicit waits)
573
- - ✅ Self-cleaning (uses fixtures with auto-cleanup)
574
- - ✅ Deterministic (no flaky patterns)
575
- - ✅ Fast (under {max_test_duration} seconds)
576
- - ✅ Lean (test file under {max_file_lines} lines)
577
-
578
- **Forbidden patterns:**
579
- - ❌ Hard waits: `await page.waitForTimeout(2000)`
580
- - ❌ Conditional flow: `if (await element.isVisible()) { ... }`
581
- - ❌ Try-catch for test logic (use for cleanup only)
582
- - ❌ Hardcoded test data (use factories)
583
- - ❌ Page objects (keep tests simple and direct)
584
- - ❌ Shared state between tests
585
-
586
- ---
587
-
588
- ## Step 5: Execute, Validate & Heal Generated Tests (NEW - Phase 2.5)
589
-
590
- **Purpose**: Automatically validate generated tests and heal common failures before delivery
591
-
592
- ### Actions
593
-
594
- 1. **Validate Generated Tests**
595
-
596
- Always validate (auto_validate is always true):
597
- - Run generated tests to verify they work
598
- - Continue with healing if config.tea_use_mcp_enhancements is true
599
-
600
- 2. **Run Generated Tests**
601
-
602
- Execute the full test suite that was just generated:
603
-
604
- ```bash
605
- npx playwright test {generated_test_files}
606
- ```
607
-
608
- Capture results:
609
- - Total tests run
610
- - Passing tests count
611
- - Failing tests count
612
- - Error messages and stack traces for failures
613
-
614
- 3. **Evaluate Results**
615
-
616
- **If ALL tests pass:**
617
- - ✅ Generate report with success summary
618
- - Proceed to Step 6 (Documentation and Scripts)
619
-
620
- **If tests FAIL:**
621
- - Check config.tea_use_mcp_enhancements setting
622
- - If true: Enter healing loop (Step 5.4)
623
- - If false: Document failures for manual review, proceed to Step 6
624
-
625
- 4. **Healing Loop (If config.tea_use_mcp_enhancements is true)**
626
-
627
- **Iteration limit**: 3 attempts per test (constant)
628
-
629
- **For each failing test:**
630
-
631
- **A. Load Healing Knowledge Fragments**
632
-
633
- Consult `tea-index.csv` to load healing patterns:
634
- - `test-healing-patterns.md` - Common failure patterns and fixes
635
- - `selector-resilience.md` - Selector debugging and refactoring
636
- - `timing-debugging.md` - Race condition identification and fixes
637
-
638
- **B. Identify Failure Pattern**
639
-
640
- Analyze error message and stack trace to classify failure type:
641
-
642
- **Stale Selector Failure:**
643
- - Error contains: "locator resolved to 0 elements", "element not found", "unable to find element"
644
- - Extract selector from error message
645
- - Apply selector healing (knowledge from `selector-resilience.md`):
646
- - If CSS class → Replace with `page.getByTestId()`
647
- - If nth() → Replace with `filter({ hasText })`
648
- - If ID → Replace with data-testid
649
- - If complex XPath → Replace with ARIA role
650
-
651
- **Race Condition Failure:**
652
- - Error contains: "timeout waiting for", "element not visible", "timed out retrying"
653
- - Detect missing network waits or hard waits in test code
654
- - Apply timing healing (knowledge from `timing-debugging.md`):
655
- - Add network-first interception before navigate
656
- - Replace `waitForTimeout()` with `waitForResponse()`
657
- - Add explicit element state waits (`waitFor({ state: 'visible' })`)
658
-
659
- **Dynamic Data Failure:**
660
- - Error contains: "Expected 'User 123' but received 'User 456'", timestamp mismatches
661
- - Identify hardcoded assertions
662
- - Apply data healing (knowledge from `test-healing-patterns.md`):
663
- - Replace hardcoded IDs with regex (`/User \d+/`)
664
- - Replace hardcoded dates with dynamic generation
665
- - Capture dynamic values and use in assertions
666
-
667
- **Network Error Failure:**
668
- - Error contains: "API call failed", "500 error", "network error"
669
- - Detect missing route interception
670
- - Apply network healing (knowledge from `test-healing-patterns.md`):
671
- - Add `page.route()` or `cy.intercept()` for API mocking
672
- - Mock error scenarios (500, 429, timeout)
673
-
674
- **Hard Wait Detection:**
675
- - Scan test code for `page.waitForTimeout()`, `cy.wait(number)`, `sleep()`
676
- - Apply hard wait healing (knowledge from `timing-debugging.md`):
677
- - Replace with event-based waits
678
- - Add network response waits
679
- - Use element state changes
680
-
681
- **C. MCP Healing Mode (If MCP Tools Available)**
682
-
683
- If Playwright MCP tools are available in your IDE:
684
-
685
- Use MCP tools for interactive healing:
686
- - `playwright_test_debug_test`: Pause on failure for visual inspection
687
- - `browser_snapshot`: Capture visual context at failure point
688
- - `browser_console_messages`: Retrieve console logs for JS errors
689
- - `browser_network_requests`: Analyze network activity
690
- - `browser_generate_locator`: Generate better selectors interactively
691
-
692
- Apply MCP-generated fixes to test code.
693
-
694
- **D. Pattern-Based Healing Mode (Fallback)**
695
-
696
- If MCP unavailable, use pattern-based analysis:
697
- - Parse error message and stack trace
698
- - Match against failure patterns from knowledge base
699
- - Apply fixes programmatically:
700
- - Selector fixes: Use suggestions from `selector-resilience.md`
701
- - Timing fixes: Apply patterns from `timing-debugging.md`
702
- - Data fixes: Use patterns from `test-healing-patterns.md`
703
-
704
- **E. Apply Healing Fix**
705
- - Modify test file with healed code
706
- - Re-run test to validate fix
707
- - If test passes: Mark as healed, move to next failure
708
- - If test fails: Increment iteration count, try different pattern
709
-
710
- **F. Iteration Limit Handling**
711
-
712
- After 3 failed healing attempts:
713
-
714
- Always mark unfixable tests:
715
- - Mark test with `test.fixme()` instead of `test()`
716
- - Add detailed comment explaining:
717
- - What failure occurred
718
- - What healing was attempted (3 iterations)
719
- - Why healing failed
720
- - Manual investigation needed
721
-
722
- ```typescript
723
- test.fixme('[P1] should handle complex interaction', async ({ page }) => {
724
- // FIXME: Test healing failed after 3 attempts
725
- // Failure: "Locator 'button[data-action="submit"]' resolved to 0 elements"
726
- // Attempted fixes:
727
- // 1. Replaced with page.getByTestId('submit-button') - still failing
728
- // 2. Replaced with page.getByRole('button', { name: 'Submit' }) - still failing
729
- // 3. Added waitForLoadState('networkidle') - still failing
730
- // Manual investigation needed: Selector may require application code changes
731
- // TODO: Review with team, may need data-testid added to button component
732
- // Original test code...
733
- });
734
- ```
735
-
736
- **Note**: Workflow continues even with unfixable tests (marked as test.fixme() for manual review)
737
-
738
- 5. **Generate Healing Report**
739
-
740
- Document healing outcomes:
741
-
742
- ```markdown
743
- ## Test Healing Report
744
-
745
- **Auto-Heal Enabled**: {auto_heal_failures}
746
- **Healing Mode**: {use_mcp_healing ? "MCP-assisted" : "Pattern-based"}
747
- **Iterations Allowed**: {max_healing_iterations}
748
-
749
- ### Validation Results
750
-
751
- - **Total tests**: {total_tests}
752
- - **Passing**: {passing_tests}
753
- - **Failing**: {failing_tests}
754
-
755
- ### Healing Outcomes
756
-
757
- **Successfully Healed ({healed_count} tests):**
758
-
759
- - `tests/e2e/login.spec.ts:15` - Stale selector (CSS class → data-testid)
760
- - `tests/e2e/checkout.spec.ts:42` - Race condition (added network-first interception)
761
- - `tests/api/users.spec.ts:28` - Dynamic data (hardcoded ID → regex pattern)
762
-
763
- **Unable to Heal ({unfixable_count} tests):**
764
-
765
- - `tests/e2e/complex-flow.spec.ts:67` - Marked as test.fixme() with manual investigation needed
766
- - Failure: Locator not found after 3 healing attempts
767
- - Requires application code changes (add data-testid to component)
768
-
769
- ### Healing Patterns Applied
770
-
771
- - **Selector fixes**: 2 (CSS class → data-testid, nth() → filter())
772
- - **Timing fixes**: 1 (added network-first interception)
773
- - **Data fixes**: 1 (hardcoded ID → regex)
774
-
775
- ### Knowledge Base References
776
-
777
- - `test-healing-patterns.md` - Common failure patterns
778
- - `selector-resilience.md` - Selector refactoring guide
779
- - `timing-debugging.md` - Race condition prevention
780
- ```
781
-
782
- 6. **Update Test Files with Healing Results**
783
- - Save healed test code to files
784
- - Mark unfixable tests with `test.fixme()` and detailed comments
785
- - Preserve original test logic in comments (for debugging)
786
-
787
- ---
788
-
789
- ## Step 6: Update Documentation and Scripts
790
-
791
- ### Actions
792
-
793
- 1. **Update Test README**
794
-
795
- If `{update_readme}` is true:
796
-
797
- Create or update `tests/README.md` with:
798
- - Overview of test suite structure
799
- - How to run tests (all, specific files, by priority)
800
- - Fixture and factory usage examples
801
- - Priority tagging convention ([P0], [P1], [P2], [P3])
802
- - How to write new tests
803
- - Common patterns and anti-patterns
804
-
805
- **Example section:**
806
-
807
- ````markdown
808
- ## Running Tests
809
-
810
- ```bash
811
- # Run all tests
812
- npm run test:e2e
813
-
814
- # Run by priority
815
- npm run test:e2e -- --grep "@P0"
816
- npm run test:e2e -- --grep "@P1"
817
-
818
- # Run specific file
819
- npm run test:e2e -- user-authentication.spec.ts
820
-
821
- # Run in headed mode
822
- npm run test:e2e -- --headed
823
-
824
- # Debug specific test
825
- npm run test:e2e -- user-authentication.spec.ts --debug
826
- ```
827
- ````
828
-
829
- ## Priority Tags
830
- - **[P0]**: Critical paths, run every commit
831
- - **[P1]**: High priority, run on PR to main
832
- - **[P2]**: Medium priority, run nightly
833
- - **[P3]**: Low priority, run on-demand
834
-
835
- ```
836
-
837
- ```
838
-
839
- 2. **Update package.json Scripts**
840
-
841
- If `{update_package_scripts}` is true:
842
-
843
- Add or update test execution scripts:
844
-
845
- ```json
846
- {
847
- "scripts": {
848
- "test:e2e": "playwright test",
849
- "test:e2e:p0": "playwright test --grep '@P0'",
850
- "test:e2e:p1": "playwright test --grep '@P1|@P0'",
851
- "test:api": "playwright test tests/api",
852
- "test:component": "playwright test tests/component",
853
- "test:unit": "vitest"
854
- }
855
- }
856
- ```
857
-
858
- 3. **Run Test Suite**
859
-
860
- If `{run_tests_after_generation}` is true:
861
- - Run full test suite locally
862
- - Capture results (passing/failing counts)
863
- - Verify no flaky patterns (tests should be deterministic)
864
- - Document any setup requirements or known issues
865
-
866
- ---
867
-
868
- ## Step 6: Generate Automation Summary
869
-
870
- ### Actions
871
-
872
- 1. **Create Automation Summary Document**
873
-
874
- Save to `{output_summary}` with:
875
-
876
- **BMad-Integrated Mode:**
877
-
878
- ````markdown
879
- # Automation Summary - {feature_name}
880
-
881
- **Date:** {date}
882
- **Story:** {story_id}
883
- **Coverage Target:** {coverage_target}
884
-
885
- ## Tests Created
886
-
887
- ### E2E Tests (P0-P1)
888
-
889
- - `tests/e2e/user-authentication.spec.ts` (2 tests, 87 lines)
890
- - [P0] Login with valid credentials → Dashboard loads
891
- - [P1] Display error for invalid credentials
892
-
893
- ### API Tests (P1-P2)
894
-
895
- - `tests/api/auth.api.spec.ts` (3 tests, 102 lines)
896
- - [P1] POST /auth/login - valid credentials → 200 + token
897
- - [P1] POST /auth/login - invalid credentials → 401 + error
898
- - [P2] POST /auth/login - missing fields → 400 + validation
899
-
900
- ### Component Tests (P1)
901
-
902
- - `tests/component/LoginForm.test.tsx` (2 tests, 45 lines)
903
- - [P1] Empty fields → submit button disabled
904
- - [P1] Valid input → submit button enabled
905
-
906
- ## Infrastructure Created
907
-
908
- ### Fixtures
909
-
910
- - `tests/support/fixtures/auth.fixture.ts` - authenticatedUser with auto-cleanup
911
-
912
- ### Factories
913
-
914
- - `tests/support/factories/user.factory.ts` - createUser(), deleteUser()
915
-
916
- ### Helpers
917
-
918
- - `tests/support/helpers/wait-for.ts` - Polling helper for complex conditions
919
-
920
- ## Test Execution
921
-
922
- ```bash
923
- # Run all new tests
924
- npm run test:e2e
925
-
926
- # Run by priority
927
- npm run test:e2e:p0 # Critical paths only
928
- npm run test:e2e:p1 # P0 + P1 tests
929
- ```
930
- ````
931
-
932
- ## Coverage Analysis
933
-
934
- **Total Tests:** 7
935
- - P0: 1 test (critical path)
936
- - P1: 5 tests (high priority)
937
- - P2: 1 test (medium priority)
938
-
939
- **Test Levels:**
940
- - E2E: 2 tests (user journeys)
941
- - API: 3 tests (business logic)
942
- - Component: 2 tests (UI behavior)
943
-
944
- **Coverage Status:**
945
- - ✅ All acceptance criteria covered
946
- - ✅ Happy path covered (E2E + API)
947
- - ✅ Error cases covered (API)
948
- - ✅ UI validation covered (Component)
949
- - ⚠️ Edge case: Password reset flow not yet covered (future story)
950
-
951
- ## Definition of Done
952
- - [x] All tests follow Given-When-Then format
953
- - [x] All tests use data-testid selectors
954
- - [x] All tests have priority tags
955
- - [x] All tests are self-cleaning (fixtures with auto-cleanup)
956
- - [x] No hard waits or flaky patterns
957
- - [x] Test files under 300 lines
958
- - [x] All tests run under 1.5 minutes each
959
- - [x] README updated with test execution instructions
960
- - [x] package.json scripts updated
961
-
962
- ## Next Steps
963
- 1. Review generated tests with team
964
- 2. Run tests in CI pipeline: `npm run test:e2e`
965
- 3. Integrate with quality gate: `bmad tea *gate`
966
- 4. Monitor for flaky tests in burn-in loop
967
-
968
- ````
969
-
970
- **Standalone Mode:**
971
- ```markdown
972
- # Automation Summary - {target_feature}
973
-
974
- **Date:** {date}
975
- **Target:** {target_feature} (standalone analysis)
976
- **Coverage Target:** {coverage_target}
977
-
978
- ## Feature Analysis
979
-
980
- **Source Files Analyzed:**
981
- - `src/auth/login.ts` - Login logic and validation
982
- - `src/auth/session.ts` - Session management
983
- - `src/auth/validation.ts` - Email/password validation
984
-
985
- **Existing Coverage:**
986
- - E2E tests: 0 found
987
- - API tests: 0 found
988
- - Component tests: 0 found
989
- - Unit tests: 0 found
990
-
991
- **Coverage Gaps Identified:**
992
- - ❌ No E2E tests for login flow
993
- - ❌ No API tests for /auth/login endpoint
994
- - ❌ No component tests for LoginForm
995
- - ❌ No unit tests for validateEmail()
996
-
997
- ## Tests Created
998
-
999
- {Same structure as BMad-Integrated Mode}
1000
-
1001
- ## Recommendations
1002
-
1003
- 1. **High Priority (P0-P1):**
1004
- - Add E2E test for password reset flow
1005
- - Add API tests for token refresh endpoint
1006
- - Add component tests for logout button
1007
-
1008
- 2. **Medium Priority (P2):**
1009
- - Add unit tests for session timeout logic
1010
- - Add E2E test for "remember me" functionality
1011
-
1012
- 3. **Future Enhancements:**
1013
- - Consider contract testing for auth API
1014
- - Add visual regression tests for login page
1015
- - Set up burn-in loop for flaky test detection
1016
-
1017
- ## Definition of Done
1018
-
1019
- {Same checklist as BMad-Integrated Mode}
1020
- ````
1021
-
1022
- 2. **Provide Summary to User**
1023
-
1024
- Output concise summary:
1025
-
1026
- ```markdown
1027
- ## Automation Complete
1028
-
1029
- **Coverage:** {total_tests} tests created across {test_levels} levels
1030
- **Priority Breakdown:** P0: {p0_count}, P1: {p1_count}, P2: {p2_count}, P3: {p3_count}
1031
- **Infrastructure:** {fixture_count} fixtures, {factory_count} factories
1032
- **Output:** {output_summary}
1033
-
1034
- **Run tests:** `npm run test:e2e`
1035
- **Next steps:** Review tests, run in CI, integrate with quality gate
1036
- ```
1037
-
1038
- ---
1039
-
1040
- ## Important Notes
1041
-
1042
- ### Dual-Mode Operation
1043
-
1044
- **BMad-Integrated Mode** (story available):
1045
-
1046
- - Uses story acceptance criteria for coverage targeting
1047
- - Aligns with test-design risk/priority assessment
1048
- - Expands ATDD tests with edge cases and negative paths
1049
- - Updates BMad status tracking
1050
-
1051
- **Standalone Mode** (no story):
1052
-
1053
- - Analyzes source code independently
1054
- - Identifies coverage gaps automatically
1055
- - Generates tests based on code analysis
1056
- - Works with any project (BMad or non-BMad)
1057
-
1058
- **Auto-discover Mode** (no targets specified):
1059
-
1060
- - Scans codebase for features needing tests
1061
- - Prioritizes features with no coverage
1062
- - Generates comprehensive test plan
1063
-
1064
- ### Avoid Duplicate Coverage
1065
-
1066
- **Critical principle:** Don't test same behavior at multiple levels
1067
-
1068
- **Good coverage:**
1069
-
1070
- - E2E: User can login → Dashboard loads (critical happy path)
1071
- - API: POST /auth/login returns correct status codes (variations)
1072
- - Component: LoginForm validates input (UI edge cases)
1073
-
1074
- **Bad coverage (duplicate):**
1075
-
1076
- - E2E: User can login → Dashboard loads
1077
- - E2E: User can login with different emails → Dashboard loads (unnecessary duplication)
1078
- - API: POST /auth/login returns 200 (already covered in E2E)
1079
-
1080
- Use E2E sparingly for critical paths. Use API/Component for variations and edge cases.
1081
-
1082
- ### Priority Tagging
1083
-
1084
- **Tag every test with priority in test name:**
1085
-
1086
- ```typescript
1087
- test('[P0] should login with valid credentials', async ({ page }) => { ... });
1088
- test('[P1] should display error for invalid credentials', async ({ page }) => { ... });
1089
- test('[P2] should remember login preference', async ({ page }) => { ... });
1090
- ```
1091
-
1092
- **Enables selective test execution:**
1093
-
1094
- ```bash
1095
- # Run only P0 tests (critical paths)
1096
- npm run test:e2e -- --grep "@P0"
1097
-
1098
- # Run P0 + P1 tests (pre-merge)
1099
- npm run test:e2e -- --grep "@P0|@P1"
1100
- ```
1101
-
1102
- ### No Page Objects
1103
-
1104
- **Do NOT create page object classes.** Keep tests simple and direct:
1105
-
1106
- ```typescript
1107
- // ✅ CORRECT: Direct test
1108
- test('should login', async ({ page }) => {
1109
- await page.goto('/login');
1110
- await page.fill('[data-testid="email"]', 'user@example.com');
1111
- await page.click('[data-testid="login-button"]');
1112
- await expect(page).toHaveURL('/dashboard');
1113
- });
1114
-
1115
- // ❌ WRONG: Page object abstraction
1116
- class LoginPage {
1117
- async login(email, password) { ... }
1118
- }
1119
- ```
1120
-
1121
- Use fixtures for setup/teardown, not page objects for actions.
1122
-
1123
- ### Deterministic Tests Only
1124
-
1125
- **No flaky patterns allowed:**
1126
-
1127
- ```typescript
1128
- // ❌ WRONG: Hard wait
1129
- await page.waitForTimeout(2000);
1130
-
1131
- // ✅ CORRECT: Explicit wait
1132
- await page.waitForSelector('[data-testid="user-name"]');
1133
- await expect(page.locator('[data-testid="user-name"]')).toBeVisible();
1134
-
1135
- // ❌ WRONG: Conditional flow
1136
- if (await element.isVisible()) {
1137
- await element.click();
1138
- }
1139
-
1140
- // ✅ CORRECT: Deterministic assertion
1141
- await expect(element).toBeVisible();
1142
- await element.click();
1143
-
1144
- // ❌ WRONG: Try-catch for test logic
1145
- try {
1146
- await element.click();
1147
- } catch (e) {
1148
- // Test shouldn't catch errors
1149
- }
1150
-
1151
- // ✅ CORRECT: Let test fail if element not found
1152
- await element.click();
1153
- ```
1154
-
1155
- ### Self-Cleaning Tests
1156
-
1157
- **Every test must clean up its data:**
1158
-
1159
- ```typescript
1160
- // ✅ CORRECT: Fixture with auto-cleanup
1161
- export const test = base.extend({
1162
- testUser: async ({ page }, use) => {
1163
- const user = await createUser();
1164
- await use(user);
1165
- await deleteUser(user.id); // Auto-cleanup
1166
- },
1167
- });
1168
-
1169
- // ❌ WRONG: Manual cleanup (can be forgotten)
1170
- test('should login', async ({ page }) => {
1171
- const user = await createUser();
1172
- // ... test logic ...
1173
- // Forgot to delete user!
1174
- });
1175
- ```
1176
-
1177
- ### File Size Limits
1178
-
1179
- **Keep test files lean (under {max_file_lines} lines):**
1180
-
1181
- - If file exceeds limit, split into multiple files by feature area
1182
- - Group related tests in describe blocks
1183
- - Extract common setup to fixtures
1184
-
1185
- ### Knowledge Base Integration
1186
-
1187
- **Core Fragments (Auto-loaded in Step 1):**
1188
-
1189
- - `test-levels-framework.md` - E2E vs API vs Component vs Unit decision framework with characteristics matrix (467 lines, 4 examples)
1190
- - `test-priorities-matrix.md` - P0-P3 classification with automated scoring and risk mapping (389 lines, 2 examples)
1191
- - `fixture-architecture.md` - Pure function → fixture → mergeTests composition with auto-cleanup (406 lines, 5 examples)
1192
- - `data-factories.md` - Factory patterns with faker: overrides, nested factories, API seeding (498 lines, 5 examples)
1193
- - `selective-testing.md` - Tag-based, spec filters, diff-based selection, promotion rules (727 lines, 4 examples)
1194
- - `ci-burn-in.md` - 10-iteration burn-in loop, parallel sharding, selective execution (678 lines, 4 examples)
1195
- - `test-quality.md` - Deterministic tests, isolated with cleanup, explicit assertions, length/time optimization (658 lines, 5 examples)
1196
- - `network-first.md` - Intercept before navigate, HAR capture, deterministic waiting strategies (489 lines, 5 examples)
1197
-
1198
- **Healing Fragments (Auto-loaded if `{auto_heal_failures}` enabled):**
1199
-
1200
- - `test-healing-patterns.md` - Common failure patterns: stale selectors, race conditions, dynamic data, network errors, hard waits (648 lines, 5 examples)
1201
- - `selector-resilience.md` - Selector hierarchy (data-testid > ARIA > text > CSS), dynamic patterns, anti-patterns refactoring (541 lines, 4 examples)
1202
- - `timing-debugging.md` - Race condition prevention, deterministic waiting, async debugging techniques (370 lines, 3 examples)
1203
-
1204
- **Manual Reference (Optional):**
1205
-
1206
- - Use `tea-index.csv` to find additional specialized fragments as needed
1207
-
1208
- ---
1209
-
1210
- ## Output Summary
1211
-
1212
- After completing this workflow, provide a summary:
1213
-
1214
- ````markdown
1215
- ## Automation Complete
1216
-
1217
- **Mode:** {standalone_mode ? "Standalone" : "BMad-Integrated"}
1218
- **Target:** {story_id || target_feature || "Auto-discovered features"}
1219
-
1220
- **Tests Created:**
1221
-
1222
- - E2E: {e2e_count} tests ({p0_count} P0, {p1_count} P1, {p2_count} P2)
1223
- - API: {api_count} tests ({p0_count} P0, {p1_count} P1, {p2_count} P2)
1224
- - Component: {component_count} tests ({p1_count} P1, {p2_count} P2)
1225
- - Unit: {unit_count} tests ({p2_count} P2, {p3_count} P3)
1226
-
1227
- **Infrastructure:**
1228
-
1229
- - Fixtures: {fixture_count} created/enhanced
1230
- - Factories: {factory_count} created/enhanced
1231
- - Helpers: {helper_count} created/enhanced
1232
-
1233
- **Documentation Updated:**
1234
-
1235
- - ✅ Test README with execution instructions
1236
- - ✅ package.json scripts for test execution
1237
-
1238
- **Test Execution:**
1239
-
1240
- ```bash
1241
- # Run all tests
1242
- npm run test:e2e
1243
-
1244
- # Run by priority
1245
- npm run test:e2e:p0 # Critical paths only
1246
- npm run test:e2e:p1 # P0 + P1 tests
1247
-
1248
- # Run specific file
1249
- npm run test:e2e -- {first_test_file}
1250
- ```
1251
- ````
1252
-
1253
- **Coverage Status:**
1254
-
1255
- - ✅ {coverage_percentage}% of features covered
1256
- - ✅ All P0 scenarios covered
1257
- - ✅ All P1 scenarios covered
1258
- - ⚠️ {gap_count} coverage gaps identified (documented in summary)
1259
-
1260
- **Quality Checks:**
1261
-
1262
- - ✅ All tests follow Given-When-Then format
1263
- - ✅ All tests have priority tags
1264
- - ✅ All tests use data-testid selectors
1265
- - ✅ All tests are self-cleaning
1266
- - ✅ No hard waits or flaky patterns
1267
- - ✅ All test files under {max_file_lines} lines
1268
-
1269
- **Output File:** {output_summary}
1270
-
1271
- **Next Steps:**
1272
-
1273
- 1. Review generated tests with team
1274
- 2. Run tests in CI pipeline
1275
- 3. Monitor for flaky tests in burn-in loop
1276
- 4. Integrate with quality gate: `bmad tea *gate`
1277
-
1278
- **Knowledge Base References Applied:**
1279
-
1280
- - Test level selection framework (E2E vs API vs Component vs Unit)
1281
- - Priority classification (P0-P3)
1282
- - Fixture architecture patterns with auto-cleanup
1283
- - Data factory patterns using faker
1284
- - Selective testing strategies
1285
- - Test quality principles
1286
-
1287
- ```
1288
-
1289
- ---
1290
-
1291
- ## Validation
1292
-
1293
- After completing all steps, verify:
1294
-
1295
- - [ ] Execution mode determined (BMad-Integrated, Standalone, or Auto-discover)
1296
- - [ ] BMad artifacts loaded if available (story, tech-spec, test-design, PRD)
1297
- - [ ] Framework configuration loaded
1298
- - [ ] Existing test coverage analyzed (gaps identified)
1299
- - [ ] Knowledge base fragments loaded (test-levels, test-priorities, fixture-architecture, data-factories, selective-testing)
1300
- - [ ] Automation targets identified (what needs testing)
1301
- - [ ] Test levels selected appropriately (E2E, API, Component, Unit)
1302
- - [ ] Duplicate coverage avoided (same behavior not tested at multiple levels)
1303
- - [ ] Test priorities assigned (P0, P1, P2, P3)
1304
- - [ ] Fixture architecture created/enhanced (with auto-cleanup)
1305
- - [ ] Data factories created/enhanced (using faker)
1306
- - [ ] Helper utilities created/enhanced (if needed)
1307
- - [ ] E2E tests written (Given-When-Then, priority tags, data-testid selectors)
1308
- - [ ] API tests written (Given-When-Then, priority tags, comprehensive coverage)
1309
- - [ ] Component tests written (Given-When-Then, priority tags, UI behavior)
1310
- - [ ] Unit tests written (Given-When-Then, priority tags, pure logic)
1311
- - [ ] Network-first pattern applied (route interception before navigation)
1312
- - [ ] Quality standards enforced (no hard waits, no flaky patterns, self-cleaning, deterministic)
1313
- - [ ] Test README updated (execution instructions, priority tagging, patterns)
1314
- - [ ] package.json scripts updated (test execution commands)
1315
- - [ ] Test suite run locally (results captured)
1316
- - [ ] Tests validated (if auto_validate enabled)
1317
- - [ ] Failures healed (if auto_heal_failures enabled)
1318
- - [ ] Healing report generated (if healing attempted)
1319
- - [ ] Unfixable tests marked with test.fixme() (if any)
1320
- - [ ] Automation summary created (tests, infrastructure, coverage, healing, DoD)
1321
- - [ ] Output file formatted correctly
1322
-
1323
- Refer to `checklist.md` for comprehensive validation criteria.
1324
- ```