convoke-agents 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/CHANGELOG.md +920 -0
  2. package/INSTALLATION.md +230 -0
  3. package/LICENSE +21 -0
  4. package/README.md +330 -0
  5. package/UPDATE-GUIDE.md +220 -0
  6. package/_bmad/bme/_vortex/README.md +150 -0
  7. package/_bmad/bme/_vortex/agents/contextualization-expert.md +100 -0
  8. package/_bmad/bme/_vortex/agents/discovery-empathy-expert.md +117 -0
  9. package/_bmad/bme/_vortex/agents/hypothesis-engineer.md +117 -0
  10. package/_bmad/bme/_vortex/agents/lean-experiments-specialist.md +118 -0
  11. package/_bmad/bme/_vortex/agents/learning-decision-expert.md +117 -0
  12. package/_bmad/bme/_vortex/agents/production-intelligence-specialist.md +117 -0
  13. package/_bmad/bme/_vortex/agents/research-convergence-specialist.md +117 -0
  14. package/_bmad/bme/_vortex/compass-routing-reference.md +312 -0
  15. package/_bmad/bme/_vortex/config.yaml +46 -0
  16. package/_bmad/bme/_vortex/contracts/hc1-empathy-artifacts.md +152 -0
  17. package/_bmad/bme/_vortex/contracts/hc2-problem-definition.md +125 -0
  18. package/_bmad/bme/_vortex/contracts/hc3-hypothesis-contract.md +112 -0
  19. package/_bmad/bme/_vortex/contracts/hc4-experiment-context.md +140 -0
  20. package/_bmad/bme/_vortex/contracts/hc5-signal-report.md +130 -0
  21. package/_bmad/bme/_vortex/examples/hc2-example-problem-definition.md +85 -0
  22. package/_bmad/bme/_vortex/examples/hc3-example-hypothesis-contract.md +103 -0
  23. package/_bmad/bme/_vortex/examples/hc5-example-signal-report.md +76 -0
  24. package/_bmad/bme/_vortex/guides/EMMA-USER-GUIDE.md +232 -0
  25. package/_bmad/bme/_vortex/guides/ISLA-USER-GUIDE.md +208 -0
  26. package/_bmad/bme/_vortex/guides/LIAM-USER-GUIDE.md +255 -0
  27. package/_bmad/bme/_vortex/guides/MAX-USER-GUIDE.md +213 -0
  28. package/_bmad/bme/_vortex/guides/MILA-USER-GUIDE.md +235 -0
  29. package/_bmad/bme/_vortex/guides/NOAH-USER-GUIDE.md +258 -0
  30. package/_bmad/bme/_vortex/guides/WADE-USER-GUIDE.md +245 -0
  31. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/empathy-map.template.md +143 -0
  32. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-01-define-user.md +60 -0
  33. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-02-says-thinks.md +67 -0
  34. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-03-does-feels.md +79 -0
  35. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-04-pain-points.md +87 -0
  36. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-05-gains.md +103 -0
  37. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-06-synthesize.md +104 -0
  38. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/validate.md +117 -0
  39. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/workflow.md +44 -0
  40. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-01-define-requirements.md +85 -0
  41. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-02-user-flows.md +59 -0
  42. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-03-information-architecture.md +68 -0
  43. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-04-wireframe-sketch.md +97 -0
  44. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-05-components.md +128 -0
  45. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-06-synthesize.md +83 -0
  46. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/wireframe.template.md +287 -0
  47. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/workflow.md +44 -0
  48. package/_bmad/bme/_vortex/workflows/assumption-mapping/steps/step-01-setup.md +66 -0
  49. package/_bmad/bme/_vortex/workflows/assumption-mapping/steps/step-02-context.md +93 -0
  50. package/_bmad/bme/_vortex/workflows/assumption-mapping/steps/step-03-risk-mapping.md +103 -0
  51. package/_bmad/bme/_vortex/workflows/assumption-mapping/steps/step-04-synthesize.md +101 -0
  52. package/_bmad/bme/_vortex/workflows/assumption-mapping/workflow.md +49 -0
  53. package/_bmad/bme/_vortex/workflows/behavior-analysis/steps/step-01-setup.md +81 -0
  54. package/_bmad/bme/_vortex/workflows/behavior-analysis/steps/step-02-context.md +67 -0
  55. package/_bmad/bme/_vortex/workflows/behavior-analysis/steps/step-03-classification.md +98 -0
  56. package/_bmad/bme/_vortex/workflows/behavior-analysis/steps/step-04-evidence.md +100 -0
  57. package/_bmad/bme/_vortex/workflows/behavior-analysis/steps/step-05-synthesize.md +174 -0
  58. package/_bmad/bme/_vortex/workflows/behavior-analysis/workflow.md +52 -0
  59. package/_bmad/bme/_vortex/workflows/contextualize-scope/contextualize-scope.template.md +67 -0
  60. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-01-list-opportunities.md +47 -0
  61. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-02-define-criteria.md +36 -0
  62. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-03-evaluate-opportunities.md +30 -0
  63. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-04-define-boundaries.md +32 -0
  64. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-05-validate-fit.md +28 -0
  65. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-06-synthesize.md +36 -0
  66. package/_bmad/bme/_vortex/workflows/contextualize-scope/validate.md +30 -0
  67. package/_bmad/bme/_vortex/workflows/contextualize-scope/workflow.md +59 -0
  68. package/_bmad/bme/_vortex/workflows/empathy-map/empathy-map.template.md +143 -0
  69. package/_bmad/bme/_vortex/workflows/empathy-map/steps/step-01-define-user.md +60 -0
  70. package/_bmad/bme/_vortex/workflows/empathy-map/steps/step-02-says-thinks.md +67 -0
  71. package/_bmad/bme/_vortex/workflows/empathy-map/steps/step-03-does-feels.md +79 -0
  72. package/_bmad/bme/_vortex/workflows/empathy-map/steps/step-04-pain-points.md +87 -0
  73. package/_bmad/bme/_vortex/workflows/empathy-map/steps/step-05-gains.md +103 -0
  74. package/_bmad/bme/_vortex/workflows/empathy-map/steps/step-06-synthesize.md +107 -0
  75. package/_bmad/bme/_vortex/workflows/empathy-map/validate.md +117 -0
  76. package/_bmad/bme/_vortex/workflows/empathy-map/workflow.md +45 -0
  77. package/_bmad/bme/_vortex/workflows/experiment-design/steps/step-01-setup.md +66 -0
  78. package/_bmad/bme/_vortex/workflows/experiment-design/steps/step-02-context.md +77 -0
  79. package/_bmad/bme/_vortex/workflows/experiment-design/steps/step-03-design.md +114 -0
  80. package/_bmad/bme/_vortex/workflows/experiment-design/steps/step-04-synthesize.md +128 -0
  81. package/_bmad/bme/_vortex/workflows/experiment-design/workflow.md +51 -0
  82. package/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-01-setup.md +66 -0
  83. package/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-02-context.md +80 -0
  84. package/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-03-brainwriting.md +79 -0
  85. package/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-04-assumption-mapping.md +102 -0
  86. package/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-05-synthesize.md +130 -0
  87. package/_bmad/bme/_vortex/workflows/hypothesis-engineering/workflow.md +52 -0
  88. package/_bmad/bme/_vortex/workflows/lean-experiment/lean-experiment.template.md +29 -0
  89. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-01-hypothesis.md +58 -0
  90. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-02-design.md +68 -0
  91. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-03-metrics.md +73 -0
  92. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-04-run.md +75 -0
  93. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-05-analyze.md +84 -0
  94. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-06-decide.md +111 -0
  95. package/_bmad/bme/_vortex/workflows/lean-experiment/validate.md +30 -0
  96. package/_bmad/bme/_vortex/workflows/lean-experiment/workflow.md +26 -0
  97. package/_bmad/bme/_vortex/workflows/lean-persona/lean-persona.template.md +163 -0
  98. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-01-define-job.md +72 -0
  99. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-02-current-solution.md +83 -0
  100. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-03-problem-contexts.md +90 -0
  101. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-04-forces-anxieties.md +98 -0
  102. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-05-success-criteria.md +103 -0
  103. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-06-synthesize.md +129 -0
  104. package/_bmad/bme/_vortex/workflows/lean-persona/validate.md +30 -0
  105. package/_bmad/bme/_vortex/workflows/lean-persona/workflow.md +50 -0
  106. package/_bmad/bme/_vortex/workflows/learning-card/learning-card.template.md +179 -0
  107. package/_bmad/bme/_vortex/workflows/learning-card/steps/step-01-experiment-context.md +100 -0
  108. package/_bmad/bme/_vortex/workflows/learning-card/steps/step-02-raw-results.md +125 -0
  109. package/_bmad/bme/_vortex/workflows/learning-card/steps/step-03-analysis.md +125 -0
  110. package/_bmad/bme/_vortex/workflows/learning-card/steps/step-04-validated-learning.md +139 -0
  111. package/_bmad/bme/_vortex/workflows/learning-card/steps/step-05-implications.md +134 -0
  112. package/_bmad/bme/_vortex/workflows/learning-card/steps/step-06-synthesize.md +121 -0
  113. package/_bmad/bme/_vortex/workflows/learning-card/validate.md +134 -0
  114. package/_bmad/bme/_vortex/workflows/learning-card/workflow.md +51 -0
  115. package/_bmad/bme/_vortex/workflows/mvp/mvp.template.md +40 -0
  116. package/_bmad/bme/_vortex/workflows/mvp/steps/step-01-riskiest-assumption.md +17 -0
  117. package/_bmad/bme/_vortex/workflows/mvp/steps/step-02-success-criteria.md +13 -0
  118. package/_bmad/bme/_vortex/workflows/mvp/steps/step-03-smallest-test.md +13 -0
  119. package/_bmad/bme/_vortex/workflows/mvp/steps/step-04-scope-features.md +13 -0
  120. package/_bmad/bme/_vortex/workflows/mvp/steps/step-05-build-measure-learn.md +13 -0
  121. package/_bmad/bme/_vortex/workflows/mvp/steps/step-06-synthesize.md +28 -0
  122. package/_bmad/bme/_vortex/workflows/mvp/validate.md +30 -0
  123. package/_bmad/bme/_vortex/workflows/mvp/workflow.md +36 -0
  124. package/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-01-setup.md +102 -0
  125. package/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-02-context.md +81 -0
  126. package/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-03-pattern-identification.md +88 -0
  127. package/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-04-theme-clustering.md +100 -0
  128. package/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-05-synthesize.md +135 -0
  129. package/_bmad/bme/_vortex/workflows/pattern-mapping/workflow.md +58 -0
  130. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/pivot-patch-persevere.template.md +201 -0
  131. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/steps/step-01-evidence-review.md +125 -0
  132. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/steps/step-02-hypothesis-assessment.md +132 -0
  133. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/steps/step-03-option-analysis.md +167 -0
  134. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/steps/step-04-stakeholder-input.md +141 -0
  135. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/steps/step-05-decision.md +161 -0
  136. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/steps/step-06-action-plan.md +188 -0
  137. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/validate.md +159 -0
  138. package/_bmad/bme/_vortex/workflows/pivot-patch-persevere/workflow.md +51 -0
  139. package/_bmad/bme/_vortex/workflows/pivot-resynthesis/steps/step-01-setup.md +97 -0
  140. package/_bmad/bme/_vortex/workflows/pivot-resynthesis/steps/step-02-context.md +86 -0
  141. package/_bmad/bme/_vortex/workflows/pivot-resynthesis/steps/step-03-jtbd-reframing.md +88 -0
  142. package/_bmad/bme/_vortex/workflows/pivot-resynthesis/steps/step-04-pains-gains-revision.md +76 -0
  143. package/_bmad/bme/_vortex/workflows/pivot-resynthesis/steps/step-05-synthesize.md +158 -0
  144. package/_bmad/bme/_vortex/workflows/pivot-resynthesis/workflow.md +52 -0
  145. package/_bmad/bme/_vortex/workflows/product-vision/product-vision.template.md +147 -0
  146. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-01-define-problem.md +89 -0
  147. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-02-target-market.md +91 -0
  148. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-03-unique-approach.md +87 -0
  149. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-04-future-state.md +100 -0
  150. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-05-principles.md +92 -0
  151. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-06-synthesize.md +170 -0
  152. package/_bmad/bme/_vortex/workflows/product-vision/validate.md +30 -0
  153. package/_bmad/bme/_vortex/workflows/product-vision/workflow.md +55 -0
  154. package/_bmad/bme/_vortex/workflows/production-monitoring/steps/step-01-setup.md +84 -0
  155. package/_bmad/bme/_vortex/workflows/production-monitoring/steps/step-02-context.md +66 -0
  156. package/_bmad/bme/_vortex/workflows/production-monitoring/steps/step-03-monitoring.md +74 -0
  157. package/_bmad/bme/_vortex/workflows/production-monitoring/steps/step-04-prioritization.md +97 -0
  158. package/_bmad/bme/_vortex/workflows/production-monitoring/steps/step-05-synthesize.md +183 -0
  159. package/_bmad/bme/_vortex/workflows/production-monitoring/workflow.md +52 -0
  160. package/_bmad/bme/_vortex/workflows/proof-of-concept/proof-of-concept.template.md +25 -0
  161. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-01-risk.md +79 -0
  162. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-02-scope.md +105 -0
  163. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-03-build.md +92 -0
  164. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-04-test.md +103 -0
  165. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-05-evaluate.md +114 -0
  166. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-06-document.md +125 -0
  167. package/_bmad/bme/_vortex/workflows/proof-of-concept/validate.md +30 -0
  168. package/_bmad/bme/_vortex/workflows/proof-of-concept/workflow.md +26 -0
  169. package/_bmad/bme/_vortex/workflows/proof-of-value/proof-of-value.template.md +29 -0
  170. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-01-value-hypothesis.md +75 -0
  171. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-02-validation-design.md +94 -0
  172. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-03-willingness.md +96 -0
  173. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-04-test.md +107 -0
  174. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-05-analyze.md +116 -0
  175. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-06-document.md +147 -0
  176. package/_bmad/bme/_vortex/workflows/proof-of-value/validate.md +30 -0
  177. package/_bmad/bme/_vortex/workflows/proof-of-value/workflow.md +26 -0
  178. package/_bmad/bme/_vortex/workflows/research-convergence/steps/step-01-setup.md +69 -0
  179. package/_bmad/bme/_vortex/workflows/research-convergence/steps/step-02-context.md +70 -0
  180. package/_bmad/bme/_vortex/workflows/research-convergence/steps/step-03-jtbd-framing.md +81 -0
  181. package/_bmad/bme/_vortex/workflows/research-convergence/steps/step-04-pains-gains.md +77 -0
  182. package/_bmad/bme/_vortex/workflows/research-convergence/steps/step-05-synthesize.md +147 -0
  183. package/_bmad/bme/_vortex/workflows/research-convergence/workflow.md +50 -0
  184. package/_bmad/bme/_vortex/workflows/signal-interpretation/steps/step-01-setup.md +68 -0
  185. package/_bmad/bme/_vortex/workflows/signal-interpretation/steps/step-02-context.md +67 -0
  186. package/_bmad/bme/_vortex/workflows/signal-interpretation/steps/step-03-signal-analysis.md +85 -0
  187. package/_bmad/bme/_vortex/workflows/signal-interpretation/steps/step-04-anomaly-detection.md +93 -0
  188. package/_bmad/bme/_vortex/workflows/signal-interpretation/steps/step-05-synthesize.md +163 -0
  189. package/_bmad/bme/_vortex/workflows/signal-interpretation/workflow.md +52 -0
  190. package/_bmad/bme/_vortex/workflows/user-discovery/steps/step-01-discovery-scope.md +77 -0
  191. package/_bmad/bme/_vortex/workflows/user-discovery/steps/step-02-research-methods.md +152 -0
  192. package/_bmad/bme/_vortex/workflows/user-discovery/steps/step-03-research-plan.md +159 -0
  193. package/_bmad/bme/_vortex/workflows/user-discovery/steps/step-04-execute.md +169 -0
  194. package/_bmad/bme/_vortex/workflows/user-discovery/steps/step-05-organize-data.md +149 -0
  195. package/_bmad/bme/_vortex/workflows/user-discovery/steps/step-06-synthesize.md +159 -0
  196. package/_bmad/bme/_vortex/workflows/user-discovery/user-discovery.template.md +231 -0
  197. package/_bmad/bme/_vortex/workflows/user-discovery/validate.md +153 -0
  198. package/_bmad/bme/_vortex/workflows/user-discovery/workflow.md +45 -0
  199. package/_bmad/bme/_vortex/workflows/user-interview/steps/step-01-research-goals.md +100 -0
  200. package/_bmad/bme/_vortex/workflows/user-interview/steps/step-02-interview-script.md +123 -0
  201. package/_bmad/bme/_vortex/workflows/user-interview/steps/step-03-recruitment.md +144 -0
  202. package/_bmad/bme/_vortex/workflows/user-interview/steps/step-04-conduct.md +154 -0
  203. package/_bmad/bme/_vortex/workflows/user-interview/steps/step-05-findings.md +163 -0
  204. package/_bmad/bme/_vortex/workflows/user-interview/steps/step-06-synthesize.md +171 -0
  205. package/_bmad/bme/_vortex/workflows/user-interview/user-interview.template.md +250 -0
  206. package/_bmad/bme/_vortex/workflows/user-interview/validate.md +142 -0
  207. package/_bmad/bme/_vortex/workflows/user-interview/workflow.md +51 -0
  208. package/_bmad/bme/_vortex/workflows/vortex-navigation/steps/step-01-current-state.md +56 -0
  209. package/_bmad/bme/_vortex/workflows/vortex-navigation/steps/step-02-evidence-inventory.md +70 -0
  210. package/_bmad/bme/_vortex/workflows/vortex-navigation/steps/step-03-gap-analysis.md +76 -0
  211. package/_bmad/bme/_vortex/workflows/vortex-navigation/steps/step-04-stream-evaluation.md +57 -0
  212. package/_bmad/bme/_vortex/workflows/vortex-navigation/steps/step-05-recommendation.md +65 -0
  213. package/_bmad/bme/_vortex/workflows/vortex-navigation/steps/step-06-navigation-plan.md +72 -0
  214. package/_bmad/bme/_vortex/workflows/vortex-navigation/validate.md +75 -0
  215. package/_bmad/bme/_vortex/workflows/vortex-navigation/vortex-navigation.template.md +105 -0
  216. package/_bmad/bme/_vortex/workflows/vortex-navigation/workflow.md +54 -0
  217. package/index.js +56 -0
  218. package/package.json +77 -0
  219. package/scripts/README.md +226 -0
  220. package/scripts/convoke-doctor.js +322 -0
  221. package/scripts/docs-audit.js +584 -0
  222. package/scripts/install-all-agents.js +9 -0
  223. package/scripts/install-vortex-agents.js +208 -0
  224. package/scripts/postinstall.js +104 -0
  225. package/scripts/update/convoke-migrate.js +169 -0
  226. package/scripts/update/convoke-update.js +272 -0
  227. package/scripts/update/convoke-version.js +134 -0
  228. package/scripts/update/lib/agent-registry.js +144 -0
  229. package/scripts/update/lib/backup-manager.js +243 -0
  230. package/scripts/update/lib/config-merger.js +242 -0
  231. package/scripts/update/lib/migration-runner.js +367 -0
  232. package/scripts/update/lib/refresh-installation.js +171 -0
  233. package/scripts/update/lib/utils.js +96 -0
  234. package/scripts/update/lib/validator.js +360 -0
  235. package/scripts/update/lib/version-detector.js +241 -0
  236. package/scripts/update/migrations/1.0.x-to-1.3.0.js +128 -0
  237. package/scripts/update/migrations/1.1.x-to-1.3.0.js +29 -0
  238. package/scripts/update/migrations/1.2.x-to-1.3.0.js +29 -0
  239. package/scripts/update/migrations/1.3.x-to-1.5.0.js +29 -0
  240. package/scripts/update/migrations/1.4.x-to-1.5.0.js +29 -0
  241. package/scripts/update/migrations/1.5.x-to-1.6.0.js +95 -0
  242. package/scripts/update/migrations/1.6.x-to-1.7.0.js +29 -0
  243. package/scripts/update/migrations/1.7.x-to-2.0.0.js +31 -0
  244. package/scripts/update/migrations/registry.js +194 -0
@@ -0,0 +1,102 @@
1
+ ---
2
+ step: 1
3
+ workflow: pattern-mapping
4
+ title: Setup & Input Validation
5
+ ---
6
+
7
+ # Step 1: Setup & Input Validation
8
+
9
+ Before we map any patterns, we need to know exactly what research we're working with and assess whether it's ready for cross-source analysis.
10
+
11
+ ## Why This Matters
12
+
13
+ One data point is an anecdote, three are a pattern. Pattern mapping only works when you have multiple research streams to compare. This step ensures we have enough material to identify meaningful cross-artifact patterns — and that we understand what each artifact brings to the table.
14
+
15
+ ## What Pattern Mapping Does
16
+
17
+ Pattern mapping identifies cross-cutting themes and convergent patterns across multiple research artifacts. It's the **reconnaissance before convergence** — you're surveying what's there before committing to a full problem definition.
18
+
19
+ **How it differs from Research Convergence:**
20
+ - **Pattern mapping** identifies patterns (reconnaissance) — "What are the artifacts telling us?"
21
+ - **Research convergence** produces a full HC2 problem definition (commitment) — "What is the problem?"
22
+
23
+ Pattern mapping is lighter-weight. It helps you see whether your research converges before investing in full JTBD framing and Pains & Gains analysis.
24
+
25
+ ### When Pattern Mapping Helps
26
+
27
+ - **You have 2+ artifacts but haven't synthesized them yet** — you want to see what patterns emerge before committing to full synthesis
28
+ - **You suspect convergence but want to validate** — map patterns first to confirm your research streams agree
29
+ - **You're identifying gaps before committing** — discover what's missing before running research-convergence
30
+
31
+ Once patterns are clear, run Mila's **research-convergence** workflow as the next step to produce the full problem definition.
32
+
33
+ ## Your Task
34
+
35
+ ### 1. What Artifacts Do You Have?
36
+
37
+ Mila accepts two categories of input for pattern mapping:
38
+
39
+ **Primary: HC1 Empathy Artifacts from Isla**
40
+ - Empathy maps (from Isla's `empathy-map` workflow)
41
+ - Interview syntheses (from Isla's `user-interview` workflow)
42
+ - Observation reports (from Isla's `user-discovery` workflow)
43
+
44
+ **Also accepted: Any well-formed research input**
45
+ - Informal research notes, external reports, prior pattern analyses
46
+ - Non-Vortex research from other tools or methodologies
47
+ - Minimum **2 artifacts recommended** for meaningful cross-source pattern identification
48
+
49
+ ### 2. List Your Input Artifacts
50
+
51
+ Please provide the file paths or describe the artifacts you want to analyze. For example:
52
+ - `_bmad-output/vortex-artifacts/hc1-empathy-map-busy-parents-2026-02-20.md`
53
+ - `_bmad-output/vortex-artifacts/hc1-interview-synthesis-2026-02-21.md`
54
+ - Or: "I have interview notes and survey results from an external tool"
55
+
56
+ ### 3. Input Assessment
57
+
58
+ I'll assess each artifact using the appropriate mode:
59
+
60
+ **For HC1-conforming artifacts — schema validation:**
61
+
62
+ *Frontmatter check:*
63
+ - `contract: HC1`
64
+ - `type: artifact`
65
+ - `source_agent` (who produced it)
66
+ - `source_workflow` (which workflow)
67
+ - `target_agents` includes `mila`
68
+ - `input_artifacts` (upstream references)
69
+ - `created` (date)
70
+
71
+ *Body section check:*
72
+ - Executive Summary
73
+ - Research Context
74
+ - Synthesized Insights
75
+ - Key Themes
76
+ - Pain Points
77
+ - Desired Gains
78
+ - Recommendations
79
+
80
+ **For non-HC1 research — structural clarity assessment:**
81
+
82
+ I'll check for minimal structure without rejecting:
83
+ - **Source identification** — author, date, method if known
84
+ - **Scope/context** — who was researched, what was studied
85
+ - **Findings** — key discoveries
86
+ - **Evidence summary** — how strong is the data
87
+
88
+ **If artifacts are non-conforming:** That's okay — we don't reject research. I'll note which sections are present and which are missing, then ask clarification questions to fill gaps. The data shows that even partial research reveals patterns when we're explicit about what evidence we have and what we're working without.
89
+
90
+ > For the full HC1 schema reference, see `{project-root}/_bmad/bme/_vortex/contracts/hc1-empathy-artifacts.md`
91
+
92
+ ---
93
+
94
+ ## Your Turn
95
+
96
+ Please list your input artifacts — file paths, descriptions, or both. I'll assess them and we'll proceed to loading and analysis.
97
+
98
+ ## Next Step
99
+
100
+ When your artifacts are listed and assessed, I'll load:
101
+
102
+ {project-root}/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-02-context.md
@@ -0,0 +1,81 @@
1
+ ---
2
+ step: 2
3
+ workflow: pattern-mapping
4
+ title: Context Loading & Analysis
5
+ ---
6
+
7
+ # Step 2: Context Loading & Analysis
8
+
9
+ Now that we know what artifacts we're working with, let's load them all and understand what each one individually reveals before we start looking for cross-artifact patterns.
10
+
11
+ ## Why This Matters
12
+
13
+ Before you can see patterns across artifacts, you need to understand what each artifact says on its own. The data shows that rushing to cross-artifact comparison without per-artifact analysis leads to shallow pattern identification. Take the time to understand each piece before looking at the whole picture.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Load All Input Artifacts
18
+
19
+ Read through each of your input artifacts completely. Don't skim — the details matter for pattern identification.
20
+
21
+ For each artifact, note:
22
+ - **Who** was researched (user segments, personas, interview subjects)
23
+ - **What** was discovered (key findings, insights, themes)
24
+ - **How strong** the evidence is (direct quotes, observed behavior, survey data, or assumptions)
25
+ - **Themes identified** within this single artifact
26
+ - **Contradictions** with other artifacts (if you notice any while reading)
27
+
28
+ ### 2. Per-Artifact Analysis
29
+
30
+ For each artifact, build a brief analysis note. Here's the structure:
31
+
32
+ **Artifact: [Name/Path]**
33
+ - **Source:** [Who produced it, when, using what method]
34
+ - **Scope:** [Who was researched, what was studied]
35
+ - **Top 3 Findings:** [The strongest insights from this artifact]
36
+ - **Evidence Strength:** Strong (direct quotes/observed behavior) / Moderate (survey data/indirect evidence) / Weak (assumptions/anecdotal)
37
+ - **Initial Themes:** [Themes this artifact surfaces on its own]
38
+
39
+ ### 3. Establish the Artifact Landscape
40
+
41
+ Once you've analyzed each artifact individually, summarize the landscape:
42
+ - **Strongest individual artifact:** Which artifact has the most robust evidence?
43
+ - **Broadest coverage:** Which artifact covers the most ground?
44
+ - **Most surprising content:** What did you find that you didn't expect?
45
+ - **Obvious overlaps:** Even before formal pattern identification, what topics appear in multiple artifacts?
46
+
47
+ ---
48
+
49
+ ## Example Per-Artifact Analysis
50
+
51
+ **From 2 artifacts** (empathy map + interview synthesis):
52
+
53
+ **Artifact 1: HC1 Empathy Map — Busy Parents Segment**
54
+ - **Source:** Isla's empathy-map workflow, 2026-02-20
55
+ - **Scope:** 12 busy parents, ages 28-42, dual-income households
56
+ - **Top 3 Findings:** (1) Morning routine is the highest-stress period; (2) Parents build workarounds for meal planning; (3) "I just want someone to tell me it's okay to not do everything"
57
+ - **Evidence Strength:** Strong — direct quotes from empathy mapping sessions
58
+ - **Initial Themes:** Time pressure, decision fatigue, guilt
59
+
60
+ **Artifact 2: HC1 Interview Synthesis — Working Parents**
61
+ - **Source:** Isla's user-interview workflow, 2026-02-21
62
+ - **Scope:** 8 working parents, semi-structured interviews, 45 min each
63
+ - **Top 3 Findings:** (1) 6 of 8 participants mention morning routine as pain point; (2) Existing tools feel designed for "people with more time"; (3) Partner coordination is a hidden complexity layer
64
+ - **Evidence Strength:** Strong — direct quotes, behavioral observations
65
+ - **Initial Themes:** Time pressure, tool inadequacy, coordination overhead
66
+
67
+ **Artifact Landscape:**
68
+ - **Strongest evidence:** Artifact 2 (longer interviews, richer quotes)
69
+ - **Broadest coverage:** Artifact 1 (more participants, wider demographic)
70
+ - **Most surprising:** Partner coordination theme — appeared strongly in interviews but was absent from empathy map
71
+ - **Obvious overlaps:** Time pressure and morning routine pain appear in both
72
+
73
+ ## Your Turn
74
+
75
+ Walk me through your per-artifact analysis. What does each artifact independently reveal? Three patterns converge on this insight — but first we need to understand the parts before we see the whole.
76
+
77
+ ## Next Step
78
+
79
+ When we've established the per-artifact landscape, I'll load:
80
+
81
+ {project-root}/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-03-pattern-identification.md
@@ -0,0 +1,88 @@
1
+ ---
2
+ step: 3
3
+ workflow: pattern-mapping
4
+ title: Pattern Identification
5
+ ---
6
+
7
+ # Step 3: Pattern Identification
8
+
9
+ Now that we understand what each artifact individually reveals, it's time to look across all artifacts together and identify the patterns that no single artifact shows alone.
10
+
11
+ ## Why This Matters
12
+
13
+ Cross-source triangulation is where the real insights emerge. One data point is an anecdote, three are a pattern. When the same theme, behavior, or pain appears across multiple independent research streams, that's a signal worth paying attention to. This step systematically maps those cross-artifact patterns.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Cross-Artifact Pattern Identification
18
+
19
+ Look across all your artifacts and identify:
20
+
21
+ **Recurring Themes** — What topics or concerns appear in multiple artifacts?
22
+ - Example: "Both the empathy map and interview synthesis mention time pressure as a recurring theme"
23
+
24
+ **Convergent Behaviors** — What user behaviors show up repeatedly?
25
+ - Example: "Three separate artifacts reference users creating workarounds for the same limitation"
26
+
27
+ **Contradictions** — Where do artifacts disagree or present conflicting evidence?
28
+ - Example: "Empathy map suggests users want more features, but interviews reveal they feel overwhelmed by current complexity"
29
+
30
+ **Evidence Gaps** — What questions remain unanswered across all artifacts?
31
+ - Example: "We have strong evidence about pain points but almost no data on what users would consider a successful outcome"
32
+
33
+ ### 2. Pattern Strength Assessment
34
+
35
+ For each pattern you identify, assess its strength:
36
+
37
+ | Strength | Criteria | Implication |
38
+ |----------|----------|-------------|
39
+ | **Universal** | Appears in all artifacts with consistent evidence | Strong signal — likely a real pattern |
40
+ | **Multi-source** | Appears in 2+ artifacts | Pattern emerging — worth investigating |
41
+ | **Single** | Appears in only 1 artifact | Anecdote — needs more evidence before acting on it |
42
+
43
+ ### 3. Build Your Pattern Inventory
44
+
45
+ Capture each pattern in this format:
46
+
47
+ | Pattern | Source Artifacts | Strength | Type | Evidence Count |
48
+ |---------|-----------------|----------|------|---------------|
49
+ | *Name the pattern* | *Which artifacts* | *Universal / Multi-source / Single* | *Theme / Behavior / Contradiction / Gap* | *Number of data points* |
50
+
51
+ **Pattern types:**
52
+ - **Theme** — A recurring topic or concern (e.g., "time pressure")
53
+ - **Behavior** — A repeated user action or coping mechanism (e.g., "building personal workarounds")
54
+ - **Contradiction** — Conflicting evidence between artifacts (e.g., "want more features vs. overwhelmed by complexity")
55
+ - **Gap** — Missing evidence or unanswered questions (e.g., "no data on success criteria")
56
+
57
+ ---
58
+
59
+ ## Example Pattern Inventory
60
+
61
+ **From 3 artifacts** (empathy map, interview synthesis, observation report):
62
+
63
+ | Pattern | Source Artifacts | Strength | Type | Evidence Count |
64
+ |---------|-----------------|----------|------|---------------|
65
+ | Morning routine is highest-stress period | Empathy map, Interviews, Observations | Universal | Theme | 18 data points across all 3 |
66
+ | Users build personal workarounds (spreadsheets, sticky notes) | Interviews, Observations | Multi-source | Behavior | 8 instances across 2 artifacts |
67
+ | Want more features vs. overwhelmed by complexity | Empathy map vs. Interviews | Multi-source | Contradiction | 5 + 6 data points in opposition |
68
+ | No data on what "success" looks like to users | All 3 (by absence) | Universal | Gap | 0 — completely absent |
69
+
70
+ Here's what the research is telling us: the first pattern (morning stress) has the strongest evidence — 18 data points across all three artifacts. That's not an anecdote; that's a clear signal. The contradiction (features vs. complexity) is also critical — it may reveal a deeper pattern about users who want capability without cognitive load.
71
+
72
+ ## Your Turn
73
+
74
+ Build your pattern inventory. What patterns emerge when you lay your artifacts side by side? Across these artifacts, the evidence clusters around — share what you're finding.
75
+
76
+ ---
77
+
78
+ **[a]** Advanced Elicitation — Deep dive into pattern identification with guided questioning
79
+ **[p]** Party Mode — Bring in other Vortex agents for collaborative discussion
80
+ **[c]** Continue — Move to theme clustering
81
+
82
+ ---
83
+
84
+ ## Next Step
85
+
86
+ When your pattern inventory is complete, I'll load:
87
+
88
+ {project-root}/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-04-theme-clustering.md
@@ -0,0 +1,100 @@
1
+ ---
2
+ step: 4
3
+ workflow: pattern-mapping
4
+ title: Theme Clustering
5
+ ---
6
+
7
+ # Step 4: Theme Clustering
8
+
9
+ With your patterns identified, it's time to group them into coherent themes. Individual patterns are data points — theme clusters reveal the bigger story.
10
+
11
+ ## Why This Matters
12
+
13
+ Patterns on their own are fragments. Theme clustering organizes those fragments into a coherent picture. The data shows that teams who cluster patterns before defining problems produce stronger, more focused problem statements. This step transforms your pattern inventory into a thematic map of what the research collectively reveals.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Group Related Patterns into Themes
18
+
19
+ Look at your pattern inventory and ask: which patterns belong together? Which ones tell different parts of the same story?
20
+
21
+ **Clustering criteria:**
22
+ - Patterns that share the same root cause
23
+ - Patterns that affect the same user need or job
24
+ - Patterns that would be addressed by the same type of solution
25
+ - Contradictions that illuminate different facets of the same issue
26
+
27
+ ### 2. Assess Theme Confidence
28
+
29
+ For each theme cluster, assign a confidence level:
30
+
31
+ | Confidence | Criteria |
32
+ |------------|----------|
33
+ | **Strong** | 3+ artifacts converge with consistent evidence — this theme is well-established |
34
+ | **Moderate** | 2 artifacts converge, or 1 artifact with multiple independent data points |
35
+ | **Emerging** | Single-source evidence, or contradictions exist within the theme |
36
+
37
+ ### 3. Build Your Theme Summary
38
+
39
+ For each theme cluster, capture:
40
+
41
+ **Theme: [Name]**
42
+ - **Contributing Patterns:** [List the patterns from Step 3 that belong to this theme]
43
+ - **Evidence Count:** [Total data points across all contributing patterns]
44
+ - **Confidence:** Strong / Moderate / Emerging
45
+ - **Key Insight:** [One sentence capturing what this theme tells us]
46
+ - **Implications:** [What does this mean for problem definition?]
47
+
48
+ ### 4. Cross-Theme Synthesis
49
+
50
+ Once your themes are clustered, step back and ask:
51
+
52
+ - **Do the themes collectively point toward a problem definition?** If strong themes converge on a clear problem, you may be ready for research-convergence or even hypothesis-engineering.
53
+ - **Do themes contradict each other?** Conflicting themes may signal that you're looking at multiple user segments or that more research is needed.
54
+ - **Are there theme gaps?** Missing themes (e.g., strong evidence on pains but no evidence on desired outcomes) suggest where further research would be most valuable.
55
+ - **Which themes are actionable?** Strong themes with clear implications can drive next steps. Emerging themes may need more evidence.
56
+
57
+ ---
58
+
59
+ ## Example Theme Clusters
60
+
61
+ **From the pattern inventory in Step 3:**
62
+
63
+ **Theme 1: Time as the Core Constraint**
64
+ - **Contributing Patterns:** Morning routine stress (Universal), Personal workarounds (Multi-source)
65
+ - **Evidence Count:** 26 data points (18 + 8)
66
+ - **Confidence:** Strong
67
+ - **Key Insight:** Users consistently experience time as their primary constraint — they build workarounds because existing tools don't respect their time limitations.
68
+ - **Implications:** Any solution must reduce time-to-value. Features that add steps will fail regardless of utility.
69
+
70
+ **Theme 2: Capability vs. Complexity Tension**
71
+ - **Contributing Patterns:** Want more features vs. overwhelmed by complexity (Contradiction)
72
+ - **Evidence Count:** 11 data points (5 + 6)
73
+ - **Confidence:** Moderate
74
+ - **Key Insight:** Users want more capability but experience current complexity as a burden. This isn't contradictory — they want capability without cognitive load.
75
+ - **Implications:** The problem may be about information architecture, not feature set. Suggests progressive disclosure as a design principle.
76
+
77
+ **Theme 3: Undefined Success Criteria**
78
+ - **Contributing Patterns:** No data on what "success" looks like (Gap)
79
+ - **Evidence Count:** 0 (gap identified by absence)
80
+ - **Confidence:** Emerging
81
+ - **Key Insight:** Across all research, we never asked users what a good outcome looks like — we only documented their pains.
82
+ - **Implications:** Before defining the problem, we may need Isla to investigate what success means to users. Without this, any problem definition risks being pain-reactive rather than outcome-oriented.
83
+
84
+ ## Your Turn
85
+
86
+ Group your patterns into theme clusters, assess confidence levels, and synthesize across themes. The patterns are starting to emerge — share what picture they paint.
87
+
88
+ ---
89
+
90
+ **[a]** Advanced Elicitation — Deep dive into theme clustering with guided questioning
91
+ **[p]** Party Mode — Bring in other Vortex agents for collaborative discussion
92
+ **[c]** Continue — Move to synthesis and routing
93
+
94
+ ---
95
+
96
+ ## Next Step
97
+
98
+ When your theme clusters are complete, I'll load:
99
+
100
+ {project-root}/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-05-synthesize.md
@@ -0,0 +1,135 @@
1
+ ---
2
+ step: 5
3
+ workflow: pattern-mapping
4
+ title: Synthesize & Route
5
+ ---
6
+
7
+ # Step 5: Synthesize & Route
8
+
9
+ Time to bring everything together. We've assessed artifacts, analyzed individual contributions, identified cross-artifact patterns, and clustered them into themes. Now we produce the pattern analysis output — a document that captures what the research collectively reveals.
10
+
11
+ ## Why This Matters
12
+
13
+ This is reconnaissance — we're documenting what's there before committing to a problem definition. Here's what the research is telling us: across all your artifacts, the evidence clusters around certain themes. The pattern analysis output gives you (and your team) a clear picture of where your research converges, where it contradicts, and where the gaps are. One data point is an anecdote, three are a pattern — and this output captures which patterns have earned that distinction. It can feed into research-convergence for full synthesis, or stand alone as a valuable reference.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Pattern Analysis Summary
18
+
19
+ Summarize the key findings from your pattern mapping:
20
+
21
+ - **How many patterns did you identify?** (from Step 3)
22
+ - **How many theme clusters emerged?** (from Step 4)
23
+ - **What is the strongest signal?** — the theme with the highest confidence and most evidence
24
+ - **What is the most significant contradiction?** — where does the evidence pull in different directions
25
+ - **What is the biggest gap?** — what would change your conclusions if you had this data
26
+
27
+ ### 2. Generate the Pattern Analysis Artifact
28
+
29
+ I'll produce the pattern analysis output with this structure:
30
+
31
+ ```yaml
32
+ ---
33
+ source_agent: mila
34
+ source_workflow: pattern-mapping
35
+ target_agents: [mila, liam, isla]
36
+ input_artifacts:
37
+ - path: "_bmad-output/vortex-artifacts/{your-artifact-1}"
38
+ contract: HC1
39
+ - path: "{path-to-your-artifact-2}"
40
+ contract: null
41
+ created: YYYY-MM-DD
42
+ ---
43
+ ```
44
+
45
+ **Note:** This is NOT an HC2 problem definition. There is no `contract` field — this is a working document for internal Vortex use, not a handoff contract. It can feed into research-convergence for full problem definition or stand alone as a reference.
46
+
47
+ **Required Body Sections (6):**
48
+
49
+ 1. **Pattern Summary** — Strongest cross-artifact patterns with evidence sources
50
+ - List each pattern with: name, strength (Universal/Multi-source/Single), evidence count, and which artifacts support it
51
+
52
+ 2. **Theme Clusters** — Grouped patterns with confidence levels
53
+ - For each theme: name, contributing patterns, confidence (Strong/Moderate/Emerging), key insight
54
+
55
+ 3. **Convergence Assessment** — How strongly patterns point toward a unified picture
56
+ - Do patterns converge on a clear direction? How many themes are Strong vs. Emerging?
57
+ - Overall convergence: High (most themes Strong) / Moderate (mix of Strong and Moderate) / Low (mostly Emerging or contradictory)
58
+
59
+ 4. **Contradictions** — Conflicting evidence and possible explanations
60
+ - List each contradiction with: what conflicts, which artifacts, possible reconciliation
61
+
62
+ 5. **Evidence Gaps** — What's missing
63
+ - List gaps that would change conclusions if filled
64
+ - Note which gaps block confident routing vs. which are nice-to-have
65
+
66
+ 6. **Recommendations** — Suggested next steps based on pattern strength
67
+ - Which Compass route does the evidence support? Why?
68
+ - What would strengthen the analysis?
69
+
70
+ **Save to:** `{output_folder}/vortex-artifacts/pattern-analysis-{date}.md`
71
+
72
+ I'll create this file with all sections once you confirm the content is ready.
73
+
74
+ ### 3. Validation Questions
75
+
76
+ Before we finalize, let's validate:
77
+
78
+ **Evidence Check:**
79
+ - [ ] Is every pattern backed by at least one artifact reference?
80
+ - [ ] Are confidence levels honest given the evidence count?
81
+ - [ ] Did we document contradictions and gaps rather than hiding them?
82
+
83
+ **Completeness Check:**
84
+ - [ ] Does the pattern summary capture all significant cross-artifact patterns?
85
+ - [ ] Do theme clusters account for all identified patterns?
86
+ - [ ] Is the convergence assessment consistent with theme confidence levels?
87
+
88
+ ---
89
+
90
+ ## Your Turn
91
+
92
+ Let's build the Pattern Analysis Summary and confirm the content for each section. Once you're ready, I'll generate the artifact.
93
+
94
+ ---
95
+
96
+ **[a]** Advanced Elicitation — Deep dive into synthesis with guided questioning
97
+ **[p]** Party Mode — Bring in other Vortex agents for collaborative discussion
98
+ **[c]** Continue — Generate the pattern analysis artifact and proceed to routing
99
+
100
+ ---
101
+
102
+ ## Vortex Compass
103
+
104
+ Based on what your pattern analysis reveals, here are your evidence-driven options:
105
+
106
+ | If you learned... | Consider next... | Agent | Why |
107
+ |---|---|---|---|
108
+ | Patterns identified and ready for full synthesis | research-convergence | Mila 🔬 | Patterns provide strong foundation for full JTBD + Pains & Gains problem definition (HC2) |
109
+ | Patterns already point to a clear, well-evidenced problem | hypothesis-engineering | Liam 💡 | Sufficient evidence to skip synthesis and go directly to hypothesis generation |
110
+ | Patterns reveal significant knowledge gaps | user-discovery | Isla 🔍 | More discovery needed to fill gaps before synthesis is meaningful |
111
+
112
+ **Self-routing note:** Route 1 sends you back to Mila's own research-convergence workflow. This is the expected successful completion path — pattern mapping is reconnaissance, research-convergence is commitment. This is not a failure state.
113
+
114
+ > **Note:** These are evidence-based recommendations. You can navigate to any Vortex agent
115
+ > at any time based on your judgment.
116
+
117
+ **Or run Max's [VN] Vortex Navigation** for a full gap analysis across all streams.
118
+
119
+ ### ⚠️ Insufficient Evidence for Routing
120
+
121
+ If the evidence gathered so far doesn't clearly point to a single next step:
122
+
123
+ | To route to... | You need... |
124
+ |----------------|-------------|
125
+ | Mila 🔬 research-convergence | Identified patterns with at least Moderate confidence themes that can ground JTBD framing |
126
+ | Liam 💡 hypothesis-engineering | Strong convergence across themes pointing to a clear, well-evidenced problem |
127
+ | Isla 🔍 user-discovery | Identified gaps or contradictions that block confident problem definition |
128
+
129
+ **Workflow-specific signals:**
130
+ - Patterns don't converge on any clear theme → more artifacts needed, consider **Isla** for focused research
131
+ - Contradictions dominate over convergence → **Isla** for focused investigation to resolve conflicting evidence
132
+ - Strong patterns but unclear which job they serve → proceed to **research-convergence** for JTBD framing
133
+ - Fewer than 2 artifacts with converging insights → patterns emerge from cross-artifact convergence. Consider collecting more artifacts or using **Isla's** workflows to deepen existing research before proceeding.
134
+
135
+ **Recommended:** If routing is unclear, revisit your theme clusters from Step 4 or run **Max's [VN] Vortex Navigation** for a full gap analysis.
@@ -0,0 +1,58 @@
1
+ ---
2
+ workflow: pattern-mapping
3
+ type: step-file
4
+ description: Map cross-source patterns across research artifacts to identify convergent themes before full synthesis
5
+ author: Mila (research-convergence-specialist)
6
+ version: 1.6.0
7
+ ---
8
+
9
+ # Pattern Mapping Workflow
10
+
11
+ This workflow guides you through mapping cross-source patterns across multiple research artifacts to identify convergent themes, contradictions, and evidence gaps — before committing to a full problem definition.
12
+
13
+ ## What is Pattern Mapping?
14
+
15
+ Pattern mapping is the reconnaissance before convergence. Where research-convergence produces a full HC2 problem definition (commitment), pattern mapping identifies cross-cutting patterns and themes across your research artifacts (reconnaissance). It answers: "What are the artifacts collectively telling us?" without yet committing to a formal problem statement.
16
+
17
+ Here's what the research is telling us: you don't always need to jump straight to problem definition. Sometimes the most valuable step is laying your research side by side and seeing what patterns emerge. That's what this workflow does.
18
+
19
+ **When Pattern Mapping Helps:**
20
+ - You have 2+ artifacts but haven't synthesized them yet — you want to see what's there before committing
21
+ - You suspect convergence but want to map patterns before investing in a full problem definition
22
+ - You want to validate that research streams agree before running research-convergence
23
+ - You're identifying gaps that need more Isla research before synthesis is worthwhile
24
+
25
+ Once patterns are clear, run **research-convergence** to produce the full HC2 problem definition.
26
+
27
+ ## Workflow Structure
28
+
29
+ **Step-file architecture:**
30
+ - Just-in-time loading (each step loads only when needed)
31
+ - Sequential enforcement (must complete step N before step N+1)
32
+ - State tracking in frontmatter (progress preserved)
33
+
34
+ ## Steps Overview
35
+
36
+ 1. **Setup & Input Validation** — Validate your input artifacts (HC1 empathy artifacts or any well-formed research)
37
+ 2. **Context Loading & Analysis** — Load artifacts and analyze what each one individually reveals
38
+ 3. **Pattern Identification** — Identify cross-artifact patterns: recurring themes, convergent behaviors, contradictions, evidence gaps
39
+ 4. **Theme Clustering** — Group related patterns into coherent themes with confidence levels
40
+ 5. **Synthesize & Route** — Produce a pattern analysis output and route via Compass
41
+
42
+ ## Output
43
+
44
+ **Artifact:** Pattern analysis markdown file in `{output_folder}/vortex-artifacts/pattern-analysis-{date}.md`
45
+
46
+ **Template:** None
47
+
48
+ **Schema:** This is a working document — NOT an HC2 problem definition. No handoff contract applies. The output can feed into research-convergence for full synthesis or stand alone as a pattern analysis reference.
49
+
50
+ **Consumers:** Mila (research-convergence), Liam (hypothesis-engineering), Isla (user-discovery) — depending on Compass routing.
51
+
52
+ ---
53
+
54
+ ## INITIALIZATION
55
+
56
+ Load config from {project-root}/_bmad/bme/_vortex/config.yaml
57
+
58
+ Load step: {project-root}/_bmad/bme/_vortex/workflows/pattern-mapping/steps/step-01-setup.md