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,312 @@
1
+ # Compass Routing Reference — Vortex Pattern
2
+
3
+ > **Status:** Authoritative | **Version:** 1.0 | **Created:** 2026-02-24 | **Framework:** v1.6.0
4
+ >
5
+ > This is the **authoritative** routing reference for the Vortex Pattern. The routing table in `architecture.md` is a point-in-time snapshot only (P22). All step-file Compass sections MUST reference this document for routing decisions.
6
+
7
+ ---
8
+
9
+ ## Vortex Overview
10
+
11
+ The Vortex Pattern has 7 agents across 7 streams, connected by 10 handoff contracts:
12
+
13
+ ```
14
+ ┌─────────────────────────────────────────────┐
15
+ │ VORTEX PATTERN │
16
+ │ 7 Streams · 7 Agents │
17
+ └─────────────────────────────────────────────┘
18
+
19
+ ┌──────────┐ HC1 ┌──────────┐ HC2 ┌──────────┐ HC3 ┌──────────┐
20
+ │ Isla 🔍 │─────────▶│ Mila 🔬 │─────────▶│ Liam 💡 │─────────▶│ Wade 🧪 │
21
+ │ Empathize │ artifact │Synthesize│ artifact │Hypothesiz│ artifact │Externaliz│
22
+ └──────────┘ └──────────┘ └──────────┘ └──────────┘
23
+ ▲ ▲ │ │
24
+ │ │ HC9│flag HC4│artifact
25
+ │ HC6│routing │ │
26
+ │ │ ▼ ▼
27
+ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐
28
+ │ Emma 🎯 │◀── HC8 ──│ Max 🧭 │◀── HC5 ──│ Noah 📡 │◀─────────┘
29
+ │Contextual│ routing │Systematiz│ artifact │ Sensitize│
30
+ └──────────┘ └──────────┘ └──────────┘
31
+ │ │ │
32
+ │ HC7│routing HC10│flag
33
+ │ │ │
34
+ └──────────────────────┴────────────────────┘
35
+ ▼ to Isla 🔍
36
+ ```
37
+
38
+ **Contract Types:**
39
+ - **HC1–HC5** (solid lines): Artifact contracts — agent produces a schema-compliant artifact file
40
+ - **HC6–HC8** (dashed lines): Decision-driven routing — Max routes based on strategic evidence
41
+ - **HC9–HC10** (flag lines): Flag-driven routing — mid-workflow flag triggers Compass guidance
42
+
43
+ ---
44
+
45
+ ## Routing Mechanisms
46
+
47
+ Each route uses one of three mechanisms. Step-file authors should match the Compass UX to the mechanism type.
48
+
49
+ | Mechanism | Description | Contracts | Compass Row Pattern |
50
+ |-----------|-------------|-----------|-------------------|
51
+ | **Schema-driven** | Artifact produced, schema declares target | HC1–HC5 | "Your [artifact type] is ready for [Agent] — they expect [HC schema]" |
52
+ | **Decision-driven** | Max makes strategic routing decision | HC6, HC7, HC8 | "Based on evidence, route to [Agent] for [action]" |
53
+ | **Flag-driven** | Mid-workflow flag triggers routing | HC9, HC10 | "Flagged: [issue] → consider routing to [Agent]" |
54
+
55
+ **Note on HC9/HC10 (Wave 3.0):** These ship as Compass guidance rows in the source agent's final step. A full mid-workflow interrupt pattern is deferred to Wave 3.1 (architecture D5, P2).
56
+
57
+ ---
58
+
59
+ ## Three-Way Routing Distinction (FR20)
60
+
61
+ When evidence suggests the current direction needs change, Compass must distinguish three scenarios. This distinction appears in multiple agents' Compass steps — Emma is read-only in Wave 3 (A4).
62
+
63
+ ### Decision Criteria
64
+
65
+ | Scenario | Route To | Trigger | Key Question |
66
+ |----------|----------|---------|-------------|
67
+ | **New problem space** | Emma 🎯 `contextualize-scope` | Evidence reveals the problem itself is wrong | "Is the problem we're solving the wrong problem entirely?" |
68
+ | **Reframe within known space** | Mila 🔬 `research-convergence` | Problem is correct, but synthesis needs revision | "Is the problem right but our pains/gains/JTBD framing wrong?" |
69
+ | **Zoom out** | Emma 🎯 `contextualize-scope` | Current scope is too narrow, need wider context | "Are we looking at too small a piece of the problem?" |
70
+
71
+ ### Decision Flowchart
72
+
73
+ ```
74
+ Is the fundamental problem wrong?
75
+ ├── YES → Emma 🎯 (contextualize-scope) — "New problem space"
76
+ │ HC8 if coming from Max
77
+ └── NO → Is the problem scope too narrow?
78
+ ├── YES → Emma 🎯 (contextualize-scope) — "Zoom out"
79
+ │ HC8 if coming from Max
80
+ └── NO → Does the JTBD/pains/gains framing need revision?
81
+ ├── YES → Mila 🔬 (research-convergence or pivot-resynthesis) — "Reframe"
82
+ │ HC6 if coming from Max
83
+ └── NO → Continue forward in current Vortex direction
84
+ ```
85
+
86
+ ### Examples
87
+
88
+ 1. **New problem space:** "We spent 3 sprints on faster checkout. Production data shows users don't abandon at checkout — they abandon at product comparison. The problem is navigation, not checkout." → **Emma** (new problem space)
89
+
90
+ 2. **Reframe within known space:** "Our JTBD for onboarding is correct (users want to feel productive fast), but our assumed pains were wrong. Users don't struggle with the UI — they struggle with understanding which features to try first." → **Mila** (reframe pains/gains)
91
+
92
+ 3. **Zoom out:** "We scoped to mobile-only users but production signals show 40% of the behavior comes from tablet users we excluded from our scope." → **Emma** (widen scope)
93
+
94
+ ---
95
+
96
+ ## Handoff Contract Reference
97
+
98
+ ### Artifact Contracts (HC1–HC5)
99
+
100
+ These contracts have schema definitions in `_bmad/bme/_vortex/contracts/`. Each artifact produced by the source agent must conform to the schema.
101
+
102
+ | Contract | Flow | Schema File | Expected Artifact | Trigger Condition |
103
+ |----------|------|-------------|-------------------|-------------------|
104
+ | **HC1** | Isla 🔍 → Mila 🔬 | `contracts/hc1-empathy-artifacts.md` | Empathy artifacts (maps, interviews, observations) with synthesized insights, key themes, pain points, desired gains | Discovery research complete; one or more artifacts ready for convergence |
105
+ | **HC2** | Mila 🔬 → Liam 💡 | `contracts/hc2-problem-definition.md` | Converged problem definition (JTBD + Pains & Gains) with evidence summary and assumptions | Problem synthesized from Isla artifacts; single actionable problem statement produced |
106
+ | **HC3** | Liam 💡 → Wade 🧪 | `contracts/hc3-hypothesis-contract.md` | 1–3 hypothesis contracts in 4-field format (expected outcome, behavior change, rationale, riskiest assumption) with risk map | Hypotheses engineered; riskiest assumptions identified and prioritized |
107
+ | **HC4** | Wade 🧪 → Noah 📡 | `contracts/hc4-experiment-context.md` | Graduated experiment context (results, success criteria, metrics, confirmed/rejected hypotheses, production readiness) | Experiment graduated to production; results and baselines captured |
108
+ | **HC5** | Noah 📡 → Max 🧭 | `contracts/hc5-signal-report.md` | Signal report (signal description + experiment lineage context + trend analysis) — intelligence only, no strategic recommendations | Production signal interpreted through experiment lineage; signal ready for Max's decision |
109
+
110
+ ### Routing Contracts (HC6–HC10)
111
+
112
+ These contracts have **no artifact file** — they are Compass table guidance entries that carry decision context in conversation (architecture D2). This section is their authoritative definition.
113
+
114
+ | Contract | Flow | Routing Type | Trigger Condition | What the Target Agent Receives |
115
+ |----------|------|-------------|-------------------|-------------------------------|
116
+ | **HC6** | Max 🧭 → Mila 🔬 | Decision-driven | Max's pivot-patch-persevere decides "pivot": problem is correct but solution direction failed | Mila receives: original Isla artifacts + new evidence from failed experiments. Re-synthesizes pains/gains while preserving the JTBD. |
117
+ | **HC7** | Max 🧭 → Isla 🔍 | Decision-driven | Max's vortex-navigation identifies critical evidence gap that needs discovery research | Isla receives: specific questions to investigate + context on what evidence is missing and why it matters. |
118
+ | **HC8** | Max 🧭 → Emma 🎯 | Decision-driven | Max determines the fundamental problem space needs recontextualization — either wrong problem or scope too narrow | Emma receives: evidence that triggered recontextualization + current Vortex state summary. |
119
+ | **HC9** | Liam 💡 → Isla 🔍 | Flag-driven | During hypothesis engineering, Liam flags an unvalidated assumption that is too risky to test without prior validation (FR10) | Isla receives: the specific assumption to validate + the hypothesis it supports + why it's flagged (lethality × uncertainty). |
120
+ | **HC10** | Noah 📡 → Isla 🔍 | Flag-driven | During signal interpretation, Noah detects unexpected user behavior not covered by the original experiment hypothesis (FR15, FR16) | Isla receives: anomaly description + how it deviates from experiment expectations + suggested discovery focus questions. |
121
+
122
+ ---
123
+
124
+ ## Insufficient Evidence Guidance (FR18)
125
+
126
+ When a workflow's final step cannot determine the appropriate Compass route, use this pattern:
127
+
128
+ ### When to Use
129
+
130
+ - User has not completed enough of the workflow to produce meaningful routing evidence
131
+ - Results are ambiguous — no clear signal pointing to a specific next agent
132
+ - Multiple routes seem equally valid with no differentiating evidence
133
+
134
+ ### Template for Step-File Authors
135
+
136
+ ```markdown
137
+ ### ⚠️ Insufficient Evidence for Routing
138
+
139
+ The evidence gathered so far doesn't clearly point to a single next step. Before choosing a direction:
140
+
141
+ **Evidence needed for each route:**
142
+
143
+ | To route to... | You need... |
144
+ |----------------|-------------|
145
+ | [Agent A] | [Specific evidence or artifact that would justify this route] |
146
+ | [Agent B] | [Specific evidence or artifact that would justify this route] |
147
+ | [Agent C] | [Specific evidence or artifact that would justify this route] |
148
+
149
+ **Recommended:** Revisit [specific workflow step] to strengthen your evidence, or run **Max's [VN] Vortex Navigation** for a full gap analysis.
150
+ ```
151
+
152
+ ### Evidence Requirements Per Agent Transition
153
+
154
+ | Target Agent | Minimum Evidence Required |
155
+ |-------------|-------------------------|
156
+ | Emma 🎯 | Clear signal that the problem space or scope needs fundamental change |
157
+ | Isla 🔍 | Identified knowledge gap, unvalidated assumption, or anomalous behavior requiring investigation |
158
+ | Mila 🔬 | Multiple research artifacts ready for convergence, or evidence that current problem framing needs revision |
159
+ | Liam 💡 | Converged problem definition with clear JTBD, pains, and gains |
160
+ | Wade 🧪 | At least one hypothesis contract with identified riskiest assumption and proposed experiment |
161
+ | Noah 📡 | Graduated experiment with production metrics, baselines, and monitoring criteria |
162
+ | Max 🧭 | Signal report, learning card, or accumulated evidence requiring strategic decision |
163
+
164
+ ---
165
+
166
+ ## User Override (FR22)
167
+
168
+ Users can override any Compass recommendation and navigate to any agent directly. The Compass provides evidence-based guidance, not mandatory instructions. Step-file authors should include:
169
+
170
+ ```markdown
171
+ > **Note:** These are evidence-based recommendations. You can navigate to any Vortex agent at any time
172
+ > based on your judgment. Run **Max's [VN] Vortex Navigation** to see all available options.
173
+ ```
174
+
175
+ ---
176
+
177
+ ## Complete Routing Decision Matrix
178
+
179
+ This compact table maps every workflow to its recommended routing targets.
180
+
181
+ ### Emma 🎯 — Contextualize (Stream 1)
182
+
183
+ | Workflow | Route 1 | Route 2 | Route 3 |
184
+ |----------|---------|---------|---------|
185
+ | `contextualize-scope` | → Emma 🎯 `lean-persona` — Scope defined, understand who exists in this space | → Isla 🔍 `user-interview` — Scope chosen, validate with real users | → Wade 🧪 `mvp` — Ready to test scope assumptions |
186
+ | `lean-persona` | → Wade 🧪 `lean-experiment` — Riskiest persona assumptions identified | → Isla 🔍 `user-interview` — Validate persona with actual users | → Isla 🔍 `empathy-map` — Multiple segments need deeper understanding |
187
+ | `product-vision` | → Emma 🎯 `lean-persona` — Vision clear, users are not | → Wade 🧪 `lean-experiment` — Strategic assumptions need testing | → Isla 🔍 `user-discovery` — User needs assumed, not researched |
188
+
189
+ ### Isla 🔍 — Empathize (Stream 2)
190
+
191
+ | Workflow | Route 1 | Route 2 | Route 3 |
192
+ |----------|---------|---------|---------|
193
+ | `empathy-map` | → Mila 🔬 `research-convergence` — Multiple artifacts ready for synthesis (HC1) | → Wade 🧪 `lean-experiment` — Pain points need behavioral validation | → Isla 🔍 `user-interview` — Deeper understanding needed |
194
+ | `user-discovery` | → Mila 🔬 `research-convergence` — Discovery findings ready for convergence (HC1) | → Wade 🧪 `lean-experiment` — Ready to test hypotheses from discovery | → Isla 🔍 `empathy-map` — Map key users discovered in depth |
195
+ | `user-interview` | → Mila 🔬 `research-convergence` — Interview insights ready for synthesis (HC1) | → Wade 🧪 `lean-experiment` — Riskiest insight ready for testing | → Isla 🔍 `empathy-map` — Synthesize patterns across interview subjects |
196
+
197
+ ### Mila 🔬 — Synthesize (Stream 3)
198
+
199
+ | Workflow | Route 1 | Route 2 | Route 3 |
200
+ |----------|---------|---------|---------|
201
+ | `research-convergence` | → Liam 💡 `hypothesis-engineering` — Problem converged, ready for hypothesis (HC2) | → Isla 🔍 `user-discovery` — Gaps found, more discovery needed | → Emma 🎯 `contextualize-scope` — Problem space itself is wrong (three-way: new problem) |
202
+ | `pivot-resynthesis` | → Liam 💡 `hypothesis-engineering` — Revised problem definition ready (HC2) | → Isla 🔍 `user-interview` — Assumptions from pivot need validation | |
203
+ | `pattern-mapping` | → Mila 🔬 `research-convergence` — Patterns identified, proceed to full synthesis | → Liam 💡 `hypothesis-engineering` — Patterns already point to clear problem (HC2) | → Isla 🔍 `user-discovery` — Patterns reveal knowledge gaps |
204
+
205
+ ### Liam 💡 — Hypothesize (Stream 4)
206
+
207
+ | Workflow | Route 1 | Route 2 | Route 3 |
208
+ |----------|---------|---------|---------|
209
+ | `hypothesis-engineering` | → Wade 🧪 `lean-experiment` — Hypothesis contracts ready for testing (HC3) | → Isla 🔍 `user-interview` — ⚡ Unvalidated assumption flagged (HC9) | |
210
+ | `assumption-mapping` | → Isla 🔍 `user-discovery` — High-risk assumptions need validation | → Wade 🧪 `lean-experiment` — Assumptions acceptable, proceed to test (HC3) | → Liam 💡 `hypothesis-engineering` — Refine hypotheses based on risk map |
211
+ | `experiment-design` | → Wade 🧪 `lean-experiment` — Experiment design ready for execution (HC3) | → Liam 💡 `hypothesis-engineering` — Revise hypothesis based on design constraints | → Isla 🔍 `user-interview` — Pre-experiment validation needed |
212
+
213
+ ### Wade 🧪 — Externalize (Stream 5)
214
+
215
+ | Workflow | Route 1 | Route 2 | Route 3 |
216
+ |----------|---------|---------|---------|
217
+ | `lean-experiment` | → Max 🧭 `learning-card` — Experiment complete, capture learning | → Noah 📡 `signal-interpretation` — Experiment graduated, monitor production (HC4) | → Isla 🔍 `empathy-map` — User behavior surprising, investigate |
218
+ | `proof-of-concept` | → Wade 🧪 `proof-of-value` — Technically feasible, validate business case | → Wade 🧪 `lean-experiment` — Feasibility uncertain, focused technical test | → Max 🧭 `learning-card` — Document technical learnings |
219
+ | `proof-of-value` | → Max 🧭 `learning-card` — Business value validated, capture evidence | → Isla 🔍 `user-interview` — Value unclear, understand willingness | → Max 🧭 `pivot-patch-persevere` — Pivot decision needed |
220
+ | `mvp` | → Wade 🧪 `lean-experiment` — MVP designed, execute build-measure-learn | → Isla 🔍 `user-interview` — Validate user need before building | → Max 🧭 `learning-card` — MVP results available, capture learnings |
221
+
222
+ ### Noah 📡 — Sensitize (Stream 6)
223
+
224
+ | Workflow | Route 1 | Route 2 | Route 3 |
225
+ |----------|---------|---------|---------|
226
+ | `signal-interpretation` | → Max 🧭 `learning-card` — Signal report ready for decision (HC5) | → Isla 🔍 `user-discovery` — ⚡ Anomalous behavior detected (HC10) | |
227
+ | `behavior-analysis` | → Max 🧭 `pivot-patch-persevere` — Behavioral signal report triggers decision (HC5) | → Isla 🔍 `user-discovery` — Novel behavior warrants discovery (HC10) | → Noah 📡 `signal-interpretation` — Deeper signal analysis needed |
228
+ | `production-monitoring` | → Max 🧭 `learning-card` — Portfolio signal report ready (HC5) | → Isla 🔍 `user-discovery` — Anomalies across experiments (HC10) | → Noah 📡 `signal-interpretation` — Deep dive on specific signal |
229
+
230
+ **Note:** All three Noah workflows produce HC5-compliant signal reports when routing to Max. `signal-interpretation` produces focused single-signal reports, `behavior-analysis` produces behavioral signal reports, and `production-monitoring` produces portfolio-level signal reports. All conform to the HC5 schema.
231
+
232
+ ### Max 🧭 — Systematize (Stream 7)
233
+
234
+ | Workflow | Route 1 | Route 2 | Route 3 |
235
+ |----------|---------|---------|---------|
236
+ | `learning-card` | → Max 🧭 `pivot-patch-persevere` — Learning triggers strategic decision | → Wade 🧪 `lean-experiment` — Need more experimental data | → Emma 🎯 `contextualize-scope` — Assumptions invalidated, re-frame (HC8) |
237
+ | `pivot-patch-persevere` | → Mila 🔬 `pivot-resynthesis` — **Pivot:** problem correct, solution wrong (HC6) | → Wade 🧪 `lean-experiment` — **Patch:** adjust approach and re-test | → Isla 🔍 `user-discovery` — **Persevere** but need deeper insight (HC7) |
238
+ | `vortex-navigation` | _(No Compass table — this IS the terminal navigation tool. Routes to any agent based on 7-stream gap analysis.)_ | | |
239
+
240
+ ---
241
+
242
+ ## Inbound Route Summary
243
+
244
+ Every agent must have at least one inbound route. This table verifies completeness.
245
+
246
+ | Agent | Inbound From | Contracts |
247
+ |-------|-------------|-----------|
248
+ | **Emma 🎯** | Max (HC8), various workflows for re-scoping | HC8 + organic routing |
249
+ | **Isla 🔍** | Max (HC7), Liam (HC9), Noah (HC10), various workflows for discovery | HC7, HC9, HC10 + organic routing |
250
+ | **Mila 🔬** | Isla (HC1), Max (HC6) | HC1, HC6 |
251
+ | **Liam 💡** | Mila (HC2) | HC2 |
252
+ | **Wade 🧪** | Liam (HC3), Max (patch decisions), various workflows for experimentation | HC3 + organic routing |
253
+ | **Noah 📡** | Wade (HC4) | HC4 |
254
+ | **Max 🧭** | Noah (HC5), Wade (learning-card), various workflows for decisions | HC5 + organic routing |
255
+
256
+ **Isla is the routing gravity well (G1):** 3 formal inbound contracts (HC7, HC9, HC10) plus organic routing from multiple workflows. She handles re-entry naturally through existing workflow context (D5).
257
+
258
+ **Architecture snapshot note:** The routing table in `architecture.md` line 257 lists Max's targets as "Emma, Mila, Liam" — this is incorrect. HC7 routes Max→**Isla** (evidence gap), not Max→Liam. This document is authoritative (P22); the architecture table is a snapshot only.
259
+
260
+ ---
261
+
262
+ ## Compass Table Format (D4)
263
+
264
+ All step-file Compass sections MUST use this uniform format:
265
+
266
+ ```markdown
267
+ ## Vortex Compass
268
+
269
+ Based on what you just completed, here are your evidence-driven options:
270
+
271
+ | If you learned... | Consider next... | Agent | Why |
272
+ |---|---|---|---|
273
+ | [evidence/condition] | [workflow-name] | [Agent Icon] | [rationale] |
274
+ | [evidence/condition] | [workflow-name] | [Agent Icon] | [rationale] |
275
+ | [evidence/condition] | [workflow-name] | [Agent Icon] | [rationale] |
276
+
277
+ > **Note:** These are evidence-based recommendations. You can navigate to any Vortex agent
278
+ > at any time based on your judgment.
279
+
280
+ **Or run Max's [VN] Vortex Navigation** for a full gap analysis across all streams.
281
+ ```
282
+
283
+ **Rules:**
284
+ - **2–3 rows** per Compass table (3 is the established convention; 2 is acceptable when only two natural routes exist)
285
+ - Agent display format: `AgentName Icon` (e.g., `Emma 🎯`, `Mila 🔬`)
286
+ - Routing type distinction lives in row content, not table structure (D4)
287
+ - Flag-driven routes (HC9, HC10) use ⚡ prefix to signal special attention
288
+ - `vortex-navigation` has NO Compass table — it is the terminal navigation tool
289
+ - Footer always references Max's Vortex Navigation
290
+
291
+ ### Agent Display Reference
292
+
293
+ | Agent | Display Format |
294
+ |-------|---------------|
295
+ | Emma | `Emma 🎯` |
296
+ | Isla | `Isla 🔍` |
297
+ | Mila | `Mila 🔬` |
298
+ | Liam | `Liam 💡` |
299
+ | Wade | `Wade 🧪` |
300
+ | Noah | `Noah 📡` |
301
+ | Max | `Max 🧭` |
302
+
303
+ ---
304
+
305
+ ## Version History
306
+
307
+ | Version | Date | Changes |
308
+ |---------|------|---------|
309
+ | 1.0.3 | 2026-02-26 | Story 5.2: Removed Wade and Max implementation-pending notes (step files now implement Noah HC4, Mila HC6, HC7, HC8 routes, FR22 notes) |
310
+ | 1.0.2 | 2026-02-26 | Story 5.1: Removed Isla section implementation-pending note (step files now implement Mila routes) |
311
+ | 1.0.1 | 2026-02-24 | Code review fixes: removed erroneous HC1 labels from Emma→Isla routes, relaxed 3-row rule to 2-3, noted architecture.md HC7 snapshot error, clarified HC5 scope across Noah workflows, added Max to Wade inbound summary |
312
+ | 1.0 | 2026-02-24 | Initial creation — all 10 contracts, 22 workflows, 7 agents |
@@ -0,0 +1,46 @@
1
+ submodule_name: _vortex
2
+ description: Vortex Pattern - Contextualize, Empathize, Externalize, and Systematize streams
3
+ module: bme
4
+ output_folder: '{project-root}/_bmad-output/vortex-artifacts'
5
+ agents:
6
+ - contextualization-expert
7
+ - discovery-empathy-expert
8
+ - research-convergence-specialist
9
+ - hypothesis-engineer
10
+ - lean-experiments-specialist
11
+ - production-intelligence-specialist
12
+ - learning-decision-expert
13
+ workflows:
14
+ - lean-persona
15
+ - product-vision
16
+ - contextualize-scope
17
+ - empathy-map
18
+ - user-interview
19
+ - user-discovery
20
+ - research-convergence
21
+ - pivot-resynthesis
22
+ - pattern-mapping
23
+ - hypothesis-engineering
24
+ - assumption-mapping
25
+ - experiment-design
26
+ - mvp
27
+ - lean-experiment
28
+ - proof-of-concept
29
+ - proof-of-value
30
+ - signal-interpretation
31
+ - behavior-analysis
32
+ - production-monitoring
33
+ - learning-card
34
+ - pivot-patch-persevere
35
+ - vortex-navigation
36
+ version: 1.6.2
37
+ user_name: '{user}'
38
+ communication_language: en
39
+ party_mode_enabled: true
40
+ core_module: bme
41
+ migration_history:
42
+ - timestamp: '2026-02-27T13:26:05.803Z'
43
+ from_version: 1.5.2
44
+ to_version: 1.6.2
45
+ migrations_applied:
46
+ - 1.5.x-to-1.6.0
@@ -0,0 +1,152 @@
1
+ # HC1: Empathy Artifacts — Schema Definition
2
+
3
+ > **Contract:** HC1 | **Type:** Artifact | **Flow:** Isla → Mila
4
+ >
5
+ > This schema defines the structure for empathy artifacts produced during discovery research. Any agent or user can produce a compliant artifact — the schema is not coupled to a specific producer.
6
+
7
+ ## Frontmatter Schema
8
+
9
+ ```yaml
10
+ ---
11
+ contract: HC1
12
+ type: artifact
13
+ source_agent: isla # or any producing agent/user
14
+ source_workflow: user-interview # workflow that produced this artifact
15
+ target_agents: [mila] # primary consumer(s)
16
+ input_artifacts: [] # populated with upstream artifact references
17
+ created: YYYY-MM-DD
18
+ ---
19
+ ```
20
+
21
+ ### Frontmatter Field Reference
22
+
23
+ | Field | Required | Type | Description |
24
+ |-------|----------|------|-------------|
25
+ | `contract` | Yes | string | Always `HC1` |
26
+ | `type` | Yes | string | Always `artifact` |
27
+ | `source_agent` | Yes | string | Agent ID that produced this artifact (e.g., `isla`) |
28
+ | `source_workflow` | Yes | string | Workflow name that produced this artifact (e.g., `user-interview`, `user-discovery`, `empathy-map`) |
29
+ | `target_agents` | Yes | array | Agent IDs that consume this artifact (e.g., `[mila]`) |
30
+ | `input_artifacts` | Yes | array | References to upstream artifacts used as input; empty array `[]` if none |
31
+ | `created` | Yes | date | ISO date when artifact was created |
32
+
33
+ ### input_artifacts Entry Format
34
+
35
+ HC1 is the first contract in the Vortex chain — it typically has no upstream HC artifact. The field is an empty array `[]` for first-in-chain artifacts, or references non-HC source material:
36
+
37
+ ```yaml
38
+ # First in chain — no upstream HC artifact
39
+ input_artifacts: []
40
+
41
+ # Or referencing non-HC source material (e.g., user-provided research)
42
+ input_artifacts:
43
+ - path: "_bmad-output/vortex-artifacts/prior-research-summary.md"
44
+ contract: null
45
+ ```
46
+
47
+ ---
48
+
49
+ ## Body Structure
50
+
51
+ ### 1. Executive Summary *(required)*
52
+
53
+ Brief overview of discovery research conducted: research question, participant/data count, top 3 insights, and recommended next steps.
54
+
55
+ ### 2. Research Context *(required)*
56
+
57
+ | Field | Required | Description |
58
+ |-------|----------|-------------|
59
+ | Research Goal | Yes | Primary question or objective driving the research |
60
+ | Methods Used | Yes | Research methods employed (interviews, observation, surveys, etc.) |
61
+ | Participant/Data Summary | Yes | Number of participants, segments, duration, or data sources |
62
+ | Scope & Boundaries | No | What was in/out of scope for this research |
63
+
64
+ ### 3. Synthesized Insights *(required)*
65
+
66
+ One or more insights in structured format. This is the primary value of the artifact.
67
+
68
+ **Per insight:**
69
+
70
+ | Field | Required | Description |
71
+ |-------|----------|-------------|
72
+ | Insight Statement | Yes | Structured as: `[User segment] [behavior/belief] because [underlying motivation], which means [implication]` |
73
+ | Strength | Yes | `Strong` / `Moderate` / `Emerging` |
74
+ | Evidence Count | Yes | N of total participants/sources supporting this insight |
75
+ | Supporting Evidence | Yes | Specific findings, quotes, or observations |
76
+ | Counter-Evidence | No | Contradicting findings or outliers |
77
+ | Confidence | Yes | `High` / `Medium` / `Low` |
78
+
79
+ ### 4. Key Themes *(required)*
80
+
81
+ Cross-cutting patterns identified across research data.
82
+
83
+ **Per theme:**
84
+
85
+ | Field | Required | Description |
86
+ |-------|----------|-------------|
87
+ | Theme Name | Yes | Concise label for the pattern |
88
+ | Pattern Description | Yes | What was observed consistently |
89
+ | Evidence | Yes | Supporting data points |
90
+ | Implication | Yes | What this means for the problem space |
91
+
92
+ ### 5. Pain Points *(required)*
93
+
94
+ Prioritized list of user pain points discovered during research.
95
+
96
+ | Field | Required | Description |
97
+ |-------|----------|-------------|
98
+ | Pain Point | Yes | Description of the pain |
99
+ | Priority | Yes | `High` / `Medium` / `Low` |
100
+ | Evidence | Yes | How this was observed or reported |
101
+ | Current Workaround | No | How users cope today |
102
+
103
+ ### 6. Desired Gains *(required)*
104
+
105
+ Prioritized list of desired outcomes users seek.
106
+
107
+ | Field | Required | Description |
108
+ |-------|----------|-------------|
109
+ | Gain | Yes | Description of the desired outcome |
110
+ | Priority | Yes | `High` / `Medium` / `Low` |
111
+ | Evidence | Yes | How this was expressed or observed |
112
+
113
+ ### 7. Empathy Map *(optional)*
114
+
115
+ When empathy mapping was conducted, include the quadrant data:
116
+
117
+ | Field | Required | Description |
118
+ |-------|----------|-------------|
119
+ | Says | Yes | Direct quotes from users |
120
+ | Thinks | Yes | Inferred thoughts and beliefs |
121
+ | Does | Yes | Observable actions and behaviors |
122
+ | Feels | Yes | Emotional states identified |
123
+
124
+ ### 8. Recommendations *(required)*
125
+
126
+ | Field | Required | Description |
127
+ |-------|----------|-------------|
128
+ | Immediate Actions | Yes | What should happen next based on findings |
129
+ | Further Research Needed | No | Gaps that need additional investigation |
130
+ | Validated Assumptions | No | Assumptions confirmed by this research |
131
+ | Invalidated Assumptions | No | Assumptions disproven by this research |
132
+ | New Questions Raised | No | Questions that emerged from the research |
133
+
134
+ ### 9. Research Quality Assessment *(optional)*
135
+
136
+ | Field | Required | Description |
137
+ |-------|----------|-------------|
138
+ | Sample Quality | No | Assessment of participant/data representativeness |
139
+ | Confidence Level | No | Overall confidence in findings |
140
+ | Known Limitations | No | Methodological or scope limitations |
141
+
142
+ ---
143
+
144
+ ## Downstream Consumption
145
+
146
+ **Mila** (primary consumer) uses this artifact to:
147
+ - Extract pain points and gains for Pains & Gains analysis
148
+ - Ground JTBD framing in research evidence
149
+ - Synthesize multiple HC1 artifacts into a single converged problem definition (HC2)
150
+ - Identify patterns across multiple research streams
151
+
152
+ **Other consumers:** Any agent needing empathy context (e.g., Emma for recontextualization, Liam for assumption validation).
@@ -0,0 +1,125 @@
1
+ # HC2: Problem Definition — Schema Definition
2
+
3
+ > **Contract:** HC2 | **Type:** Artifact | **Flow:** Mila → Liam
4
+ >
5
+ > This schema defines the structure for a converged problem definition grounded in Jobs-to-be-Done framing and Pains & Gains analysis. Any agent or user can produce a compliant artifact — the schema is not coupled to a specific producer.
6
+
7
+ ## Frontmatter Schema
8
+
9
+ ```yaml
10
+ ---
11
+ contract: HC2
12
+ type: artifact
13
+ source_agent: mila # or any producing agent/user
14
+ source_workflow: research-convergence # workflow that produced this artifact
15
+ target_agents: [liam] # primary consumer(s)
16
+ input_artifacts: # references to upstream HC1 artifacts consumed
17
+ - path: "_bmad-output/vortex-artifacts/hc1-example.md"
18
+ contract: HC1
19
+ created: YYYY-MM-DD
20
+ ---
21
+ ```
22
+
23
+ ### Frontmatter Field Reference
24
+
25
+ | Field | Required | Type | Description |
26
+ |-------|----------|------|-------------|
27
+ | `contract` | Yes | string | Always `HC2` |
28
+ | `type` | Yes | string | Always `artifact` |
29
+ | `source_agent` | Yes | string | Agent ID that produced this artifact (e.g., `mila`) |
30
+ | `source_workflow` | Yes | string | Workflow name (e.g., `research-convergence`, `pivot-resynthesis`) |
31
+ | `target_agents` | Yes | array | Agent IDs that consume this artifact (e.g., `[liam]`) |
32
+ | `input_artifacts` | Yes | array | References to HC1 empathy artifacts or other source material used |
33
+ | `created` | Yes | date | ISO date when artifact was created |
34
+
35
+ ---
36
+
37
+ ## Body Structure
38
+
39
+ ### 1. Converged Problem Statement *(required)*
40
+
41
+ A single, clear problem statement that synthesizes all input research into one actionable definition.
42
+
43
+ | Field | Required | Description |
44
+ |-------|----------|-------------|
45
+ | Problem Statement | Yes | One concise paragraph defining the core problem |
46
+ | Confidence | Yes | `High` / `Medium` / `Low` — based on evidence strength |
47
+ | Scope | Yes | What is in and out of scope for this problem |
48
+
49
+ ### 2. Jobs-to-be-Done (JTBD) *(required)*
50
+
51
+ Structured JTBD framing grounded in research evidence.
52
+
53
+ **Primary JTBD:**
54
+
55
+ > When [situation], I want to [motivation], so I can [expected outcome].
56
+
57
+ | Field | Required | Description |
58
+ |-------|----------|-------------|
59
+ | Situation | Yes | The triggering context or circumstance |
60
+ | Motivation | Yes | What the user wants to accomplish |
61
+ | Expected Outcome | Yes | The desired end state |
62
+ | Functional Job | Yes | The practical task to be done |
63
+ | Emotional Job | No | How the user wants to feel |
64
+ | Social Job | No | How the user wants to be perceived |
65
+
66
+ **Related Jobs** *(optional)*: Additional JTBD statements that emerged from the research, following the same format.
67
+
68
+ ### 3. Pains *(required)*
69
+
70
+ Prioritized list of pains synthesized from research evidence.
71
+
72
+ | Field | Required | Description |
73
+ |-------|----------|-------------|
74
+ | Pain Description | Yes | What the user struggles with |
75
+ | Priority | Yes | `High` / `Medium` / `Low` |
76
+ | Frequency | Yes | How often this pain is experienced |
77
+ | Intensity | Yes | How severely this pain affects the user |
78
+ | Evidence Sources | Yes | Which HC1 artifacts or data points support this pain |
79
+ | Current Coping | No | How users deal with this pain today |
80
+
81
+ ### 4. Gains *(required)*
82
+
83
+ Prioritized list of desired gains synthesized from research evidence.
84
+
85
+ | Field | Required | Description |
86
+ |-------|----------|-------------|
87
+ | Gain Description | Yes | What outcome the user desires |
88
+ | Priority | Yes | `High` / `Medium` / `Low` |
89
+ | Expected Impact | Yes | How achieving this gain changes the user's situation |
90
+ | Evidence Sources | Yes | Which HC1 artifacts or data points support this gain |
91
+
92
+ ### 5. Evidence Summary *(required)*
93
+
94
+ Traceability back to the research that grounded this problem definition.
95
+
96
+ | Field | Required | Description |
97
+ |-------|----------|-------------|
98
+ | Artifacts Analyzed | Yes | Count and list of input artifacts consumed |
99
+ | Total Evidence Points | Yes | Number of discrete evidence points synthesized |
100
+ | Convergence Assessment | Yes | How strongly the evidence points to a single problem |
101
+ | Contradictions | No | Any conflicting evidence and how it was resolved |
102
+ | Evidence Gaps | No | Areas where more research would strengthen the definition |
103
+
104
+ ### 6. Assumptions *(required)*
105
+
106
+ Assumptions embedded in this problem definition that have not been fully validated.
107
+
108
+ | Field | Required | Description |
109
+ |-------|----------|-------------|
110
+ | Assumption | Yes | Statement of what is assumed to be true |
111
+ | Basis | Yes | Why this assumption seems reasonable given evidence |
112
+ | Risk if Wrong | Yes | What happens if this assumption is incorrect |
113
+ | Validation Status | Yes | `Validated` / `Partially Validated` / `Assumed` |
114
+
115
+ ---
116
+
117
+ ## Downstream Consumption
118
+
119
+ **Liam** (primary consumer) uses this artifact to:
120
+ - Ground hypothesis engineering in a validated problem definition
121
+ - Extract assumptions for testing and risk classification
122
+ - Use JTBD framing to generate hypotheses about solutions
123
+ - Reference pains and gains when designing expected outcomes and behavior changes
124
+
125
+ **Other consumers:** Any agent needing problem context (e.g., Emma for scope validation, Wade for experiment framing).