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,80 @@
1
+ ---
2
+ step: 2
3
+ workflow: hypothesis-engineering
4
+ title: Problem Context & Opportunity Mapping
5
+ ---
6
+
7
+ # Step 2: Problem Context & Opportunity Mapping
8
+
9
+ Now that we have a validated problem definition, let's unpack it and map the opportunity space for hypothesis generation.
10
+
11
+ ## Why This Matters
12
+
13
+ Structured brainwriting produces better ideas than unstructured brainstorming — but only if you start from a deep understanding of the problem space. Before we generate a single hypothesis, we need to see the full landscape: which pains are screaming for solutions, which gains represent the biggest behavioral shifts, and where the assumptions in the problem definition create openings for bold, testable bets.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Unpack the Problem Definition
18
+
19
+ Let's extract the key elements from your HC2 artifact (or equivalent input):
20
+
21
+ **Core Problem:**
22
+ - What is the converged problem statement?
23
+ - What is the confidence level (High/Medium/Low)?
24
+ - What is explicitly in and out of scope?
25
+
26
+ **Jobs-to-be-Done:**
27
+ - What is the primary JTBD? (When [situation], I want to [motivation], so I can [outcome])
28
+ - What functional, emotional, and social jobs are at play?
29
+
30
+ **Pains & Gains:**
31
+ - Which pains are highest priority? Which are most frequent or intense?
32
+ - Which gains are most desired? Which have the highest expected impact?
33
+ - Where do pains and gains cluster around the same JTBD?
34
+
35
+ **Evidence & Assumptions:**
36
+ - How strong is the evidence base? How many artifacts, how many evidence points?
37
+ - What contradictions exist in the evidence?
38
+ - What assumptions were flagged? Which are highest risk?
39
+ - Where are the evidence gaps?
40
+
41
+ ### 2. Map the Hypothesis Landscape
42
+
43
+ Based on the unpacked problem definition, let's identify the opportunity space:
44
+
45
+ | Dimension | Your Assessment |
46
+ |-----------|----------------|
47
+ | **Strongest opportunities** | Which pain-gain combinations suggest the clearest hypothesis targets? |
48
+ | **Riskiest areas** | Where are assumptions most dangerous (high lethality, high uncertainty)? |
49
+ | **Evidence strength** | Where is evidence strongest? Where are we flying blind? |
50
+ | **Behavioral shift potential** | Which pains, if solved, would create the most visible behavior change? |
51
+ | **Bold vs. safe territory** | What's the safe, obvious hypothesis? What's the bold version? |
52
+
53
+ What if we looked at this from a completely different angle? Consider:
54
+ - What would happen if the **opposite** of the problem statement were true?
55
+ - Which pain is everyone assuming is the biggest — and what if it's not?
56
+ - Where is the evidence **suspiciously** unanimous? (Consensus can hide blind spots)
57
+
58
+ ### 3. Prioritize Hypothesis Targets
59
+
60
+ Based on your landscape mapping, identify 1-3 hypothesis targets to pursue in Step 3:
61
+
62
+ | # | Target Pain/Gain | Why This One | Evidence Strength | Bold Factor |
63
+ |---|-----------------|--------------|-------------------|-------------|
64
+ | 1 | *Most promising target* | *Why it deserves a hypothesis* | High/Medium/Low | Safe / Bold / Radical |
65
+ | 2 | *(optional)* | | | |
66
+ | 3 | *(optional)* | | | |
67
+
68
+ **Guidance:** Start with the target that has the strongest evidence AND the highest bold factor. That's a safe bet — what's the bold version? Push yourself to include at least one hypothesis target that challenges the obvious answer.
69
+
70
+ ---
71
+
72
+ ## Your Turn
73
+
74
+ Unpack your problem definition, map the hypothesis landscape, and identify 1-3 hypothesis targets. Share your analysis and I'll help you sharpen the targets before we move to hypothesis drafting.
75
+
76
+ ## Next Step
77
+
78
+ When your hypothesis targets are identified and prioritized, I'll load:
79
+
80
+ {project-root}/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-03-brainwriting.md
@@ -0,0 +1,79 @@
1
+ ---
2
+ step: 3
3
+ workflow: hypothesis-engineering
4
+ title: Structured Brainwriting & Hypothesis Drafting
5
+ ---
6
+
7
+ # Step 3: Structured Brainwriting & Hypothesis Drafting
8
+
9
+ Time to engineer hypotheses. Not brainstorm. Not wish. Engineer — with structure, precision, and the courage to make falsifiable bets.
10
+
11
+ ## Why This Matters
12
+
13
+ 4-field hypothesis contracts force clarity: belief, evidence needed, experiment, success criteria. Without this structure, teams produce vague aspirations disguised as hypotheses — "We think users will like it" is not a hypothesis. A real hypothesis specifies exactly what outcome you expect, what behavior will change, why you believe it, and the single assumption that could destroy the entire idea. That's the craft of hypothesis engineering.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Structured Brainwriting
18
+
19
+ For each hypothesis target identified in Step 2, we'll use structured brainwriting to generate candidate hypotheses. This is NOT unstructured brainstorming — each round has a specific focus:
20
+
21
+ **Round 1 — Obvious Hypotheses:**
22
+ For each target, write the most obvious hypothesis. The one everyone would agree with. Get it out of the way.
23
+
24
+ **Round 2 — Bold Alternatives:**
25
+ Now challenge each obvious hypothesis. What's the bold version? What if the opposite were true? What if the pain is actually a symptom of something deeper?
26
+
27
+ **Round 3 — Synthesis:**
28
+ From rounds 1 and 2, select the 1-3 strongest hypotheses to engineer as formal contracts. Strongest = most evidence-grounded AND most falsifiable.
29
+
30
+ ### 2. Draft Hypothesis Contracts (4-Field Format)
31
+
32
+ For each selected hypothesis, complete the 4-field contract:
33
+
34
+ #### Hypothesis {N}: {Title}
35
+
36
+ **The 4-Field Contract:**
37
+
38
+ | Field | Your Answer |
39
+ |-------|-------------|
40
+ | **Expected Outcome** | What we expect to happen if the hypothesis is correct. Be specific and measurable — "users will engage more" is too vague. What exactly will happen? |
41
+ | **Target Behavior Change** | What specific user behavior will change, and in what direction? This must be observable and measurable. |
42
+ | **Rationale** | Why we believe this will work — grounded in evidence from the problem definition. Reference specific pains, gains, or JTBD elements. |
43
+ | **Riskiest Assumption** | The single assumption that, if wrong, invalidates the entire hypothesis. This is what must be tested first. |
44
+
45
+ **Hypothesis Statement:**
46
+
47
+ > We believe that [target users] will [expected behavior] because [rationale].
48
+
49
+ ### 3. Quality Check Each Hypothesis
50
+
51
+ Before finalizing, stress-test each hypothesis:
52
+
53
+ - [ ] **Falsifiable?** Can you describe a result that would prove this hypothesis wrong? If not, sharpen it.
54
+ - [ ] **Specific?** Would two different people interpret the expected outcome the same way?
55
+ - [ ] **Evidence-grounded?** Does the rationale cite specific evidence from the problem definition, or is it gut feeling?
56
+ - [ ] **Riskiest assumption identified?** Is it truly the most lethal assumption, or the most comfortable one to test?
57
+ - [ ] **Bold enough?** Is this the safe bet, or does it push past the obvious? What's the bold version?
58
+
59
+ Let's stress-test that assumption before we build anything. If your riskiest assumption feels comfortable, it's probably not the riskiest one.
60
+
61
+ ---
62
+
63
+ ## Your Turn
64
+
65
+ Draft 1-3 hypothesis contracts using the 4-field format above. For each, include the hypothesis statement and complete the quality check. Share your drafts and I'll help sharpen them.
66
+
67
+ ---
68
+
69
+ **[a]** Advanced Elicitation — Deep dive into hypothesis refinement with guided questioning
70
+ **[p]** Party Mode — Bring in other Vortex agents for collaborative hypothesis critique
71
+ **[c]** Continue — Proceed to assumption extraction and risk mapping
72
+
73
+ ---
74
+
75
+ ## Next Step
76
+
77
+ When your hypothesis contracts are drafted and quality-checked, I'll load:
78
+
79
+ {project-root}/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-04-assumption-mapping.md
@@ -0,0 +1,102 @@
1
+ ---
2
+ step: 4
3
+ workflow: hypothesis-engineering
4
+ title: Assumption Extraction & Risk Mapping
5
+ ---
6
+
7
+ # Step 4: Assumption Extraction & Risk Mapping
8
+
9
+ You've drafted hypothesis contracts. Now let's surface every assumption hiding inside them and figure out which ones could kill us.
10
+
11
+ ## Why This Matters
12
+
13
+ Assumption mapping separates what we know from what we think we know. Every hypothesis embeds assumptions — about users, about behavior, about the market, about technology. Most teams test the easy assumptions first and ignore the lethal ones. The riskiest assumption gets tested first, not the easiest one. This step ensures you know exactly which assumptions matter most and in what order to validate them.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Extract All Assumptions
18
+
19
+ For each hypothesis contract from Step 3, extract every assumption — stated and unstated:
20
+
21
+ **Hypothesis 1: {Title}**
22
+ - Assumption from Expected Outcome: *What are we assuming about the measurable result?*
23
+ - Assumption from Target Behavior Change: *What are we assuming about how users will respond?*
24
+ - Assumption from Rationale: *What evidence-based claims could be wrong?*
25
+ - Assumption from Riskiest Assumption: *Is this truly the riskiest, or are there hidden ones?*
26
+ - Unstated assumptions: *What are we taking for granted that we haven't examined?*
27
+
28
+ Repeat for each hypothesis. Be thorough — the assumptions you don't surface are the ones that blindside you.
29
+
30
+ ### 2. Classify Each Assumption
31
+
32
+ For every extracted assumption, assess two dimensions:
33
+
34
+ **Lethality** — If this assumption is wrong, what happens?
35
+ - **High:** Kills the hypothesis entirely. The whole idea collapses.
36
+ - **Medium:** Requires a significant pivot. The direction changes.
37
+ - **Low:** Minor adjustment needed. The core idea survives.
38
+
39
+ **Uncertainty** — How much evidence do we have?
40
+ - **High:** No evidence. We're guessing.
41
+ - **Medium:** Some evidence, but indirect or incomplete.
42
+ - **Low:** Strong evidence from multiple sources.
43
+
44
+ ### 3. Build the Assumption Risk Map
45
+
46
+ | Assumption | Hypothesis | Lethality | Uncertainty | Priority | Validation Status |
47
+ |------------|-----------|-----------|-------------|----------|-------------------|
48
+ | *What we're assuming* | 1, 2, or 3 | High/Med/Low | High/Med/Low | *Derived* | `Unvalidated` |
49
+
50
+ **Priority derivation (lethality × uncertainty):**
51
+
52
+ | | High Uncertainty | Medium Uncertainty | Low Uncertainty |
53
+ |--|-----------------|-------------------|-----------------|
54
+ | **High Lethality** | **Test First** | **Test First** | Monitor |
55
+ | **Medium Lethality** | **Test Soon** | Test Soon | Monitor |
56
+ | **Low Lethality** | Test Soon | Monitor | Monitor |
57
+
58
+ - **Test First:** High lethality + High/Medium uncertainty = validate before any experiment
59
+ - **Test Soon:** Medium risk = validate early in the experiment cycle
60
+ - **Monitor:** Low risk = track but don't delay for validation
61
+
62
+ ### 4. Recommended Testing Order
63
+
64
+ Based on the risk map, sequence your assumptions for validation:
65
+
66
+ | Priority | Assumption | Hypothesis | Suggested Method | Minimum Evidence |
67
+ |----------|-----------|-----------|-----------------|-----------------|
68
+ | 1 | *Riskiest assumption — test this first* | *Which hypothesis* | *How to test it* | *What would validate or invalidate* |
69
+ | 2 | *Next riskiest* | | | |
70
+ | 3 | *And so on* | | | |
71
+
72
+ **Guidance:** The testing order should follow the risk map priorities. If two assumptions have equal priority, test the one that affects the most hypotheses first. What if we're wrong about assumption #1? Does it invalidate just one hypothesis, or all of them?
73
+
74
+ ### 5. Flag Concerns (Optional)
75
+
76
+ If any assumptions feel too risky to test without additional discovery, flag them for potential routing to Isla:
77
+
78
+ | Concern | Impact | Recommended Action |
79
+ |---------|--------|-------------------|
80
+ | *Unvalidated assumption or knowledge gap* | *How it affects hypothesis quality* | *e.g., "Route to Isla for targeted user research"* |
81
+
82
+ These flags may trigger HC9 routing in the Compass step — sending specific assumptions back to Isla for validation before proceeding to Wade's experiments.
83
+
84
+ ---
85
+
86
+ ## Your Turn
87
+
88
+ Extract assumptions from each hypothesis, classify them by lethality × uncertainty, build the risk map, and produce the recommended testing order. Share your analysis and I'll help you challenge any assumptions that feel too comfortable.
89
+
90
+ ---
91
+
92
+ **[a]** Advanced Elicitation — Deep dive into assumption analysis with guided questioning
93
+ **[p]** Party Mode — Bring in other Vortex agents to challenge your assumptions
94
+ **[c]** Continue — Proceed to synthesis and HC3 artifact generation
95
+
96
+ ---
97
+
98
+ ## Next Step
99
+
100
+ When your assumption risk map and testing order are complete, I'll load:
101
+
102
+ {project-root}/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-05-synthesize.md
@@ -0,0 +1,130 @@
1
+ ---
2
+ step: 5
3
+ workflow: hypothesis-engineering
4
+ title: Synthesize & Route
5
+ ---
6
+
7
+ # Step 5: Synthesize & Route
8
+
9
+ Time to bring everything together. We've validated the problem definition, mapped the opportunity space, engineered hypothesis contracts, and mapped assumptions by risk. Now we produce the HC3 Hypothesis Contract artifact and route to the next step in the Vortex.
10
+
11
+ ## Why This Matters
12
+
13
+ Every hypothesis we've engineered is a testable bet — but bets are worthless if they're not packaged for action. The HC3 artifact gives Wade everything needed to design experiments: what to test, what to measure, what the riskiest assumptions are, and in what order to validate them. If you can't prove it wrong, it's not a hypothesis — and now we're about to hand these hypotheses to someone who will try to prove them wrong.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Review Your Hypothesis Contracts
18
+
19
+ Before we package everything, let's do a final quality pass on each hypothesis:
20
+
21
+ **For each hypothesis (1-3):**
22
+
23
+ | Field | Check |
24
+ |-------|-------|
25
+ | **Expected Outcome** | Is it specific and measurable? Would two people agree on what "success" looks like? |
26
+ | **Target Behavior Change** | Is the behavior observable? Can it be measured without subjective interpretation? |
27
+ | **Rationale** | Does it cite specific evidence from the problem definition? Or is it intuition? |
28
+ | **Riskiest Assumption** | Is it truly the most lethal assumption? Or the most comfortable one? |
29
+ | **Hypothesis Statement** | Does "We believe that [users] will [behavior] because [rationale]" feel falsifiable? |
30
+
31
+ ### 2. Review Your Assumption Risk Map
32
+
33
+ Verify the risk classifications and testing order from Step 4:
34
+
35
+ - [ ] Every assumption has a lethality and uncertainty score
36
+ - [ ] Priorities are correctly derived (Test First / Test Soon / Monitor)
37
+ - [ ] Testing order prioritizes by lethality × uncertainty, not by convenience
38
+ - [ ] Flagged concerns (if any) identify specific routing to Isla
39
+
40
+ ### 3. Generate the HC3 Artifact
41
+
42
+ I'll produce the HC3 Hypothesis Contract artifact with this structure:
43
+
44
+ ```yaml
45
+ ---
46
+ contract: HC3
47
+ type: artifact
48
+ source_agent: liam
49
+ source_workflow: hypothesis-engineering
50
+ target_agents: [wade]
51
+ input_artifacts:
52
+ - path: "_bmad-output/vortex-artifacts/{your-hc2-artifact}"
53
+ contract: HC2
54
+ created: YYYY-MM-DD
55
+ ---
56
+ ```
57
+
58
+ **HC3 Required Body Sections:**
59
+ 1. **Problem Context** — Problem Statement (from HC2), JTBD Reference, Key Pains Targeted
60
+ 2. **Hypothesis Contracts** (1-3) — 4-field format for each: Expected Outcome, Target Behavior Change, Rationale, Riskiest Assumption + Hypothesis Statement
61
+ 3. **Assumption Risk Map** — Full table: Assumption, Hypothesis, Lethality, Uncertainty, Priority, Validation Status
62
+ 4. **Recommended Testing Order** — Prioritized sequence: Priority, Assumption, Suggested Method, Minimum Evidence
63
+ 5. **Flagged Concerns** (optional) — Concern, Impact, Recommended Action
64
+
65
+ **Save to:** `{output_folder}/vortex-artifacts/hc3-hypothesis-contract-{date}.md`
66
+
67
+ I'll create this file with all the sections above once you confirm the content is ready.
68
+
69
+ ### 4. Validation Questions
70
+
71
+ Before we finalize, let's validate:
72
+
73
+ **Evidence Check:**
74
+ - [ ] Is every hypothesis grounded in specific evidence from the problem definition?
75
+ - [ ] Can we trace each riskiest assumption back to an evidence gap or contradiction?
76
+ - [ ] Did we document the rationale honestly rather than post-hoc rationalizing?
77
+
78
+ **Falsifiability Check:**
79
+ - [ ] Can each hypothesis be proven wrong? What result would invalidate it?
80
+ - [ ] Are the expected outcomes specific enough to measure unambiguously?
81
+ - [ ] Would Wade know exactly what experiment to design from these contracts?
82
+
83
+ **Assumption Check:**
84
+ - [ ] Did we surface unstated assumptions, not just the obvious ones?
85
+ - [ ] Is the riskiest assumption truly the most lethal, not just the most visible?
86
+ - [ ] Does the testing order make strategic sense (riskiest first, not easiest first)?
87
+
88
+ ---
89
+
90
+ ## Your Turn
91
+
92
+ Review the hypothesis contracts and assumption risk map. Confirm when you're ready for me to generate the final HC3 artifact.
93
+
94
+ ---
95
+
96
+ **[a]** Advanced Elicitation — Deep dive into hypothesis refinement with guided questioning
97
+ **[p]** Party Mode — Bring in other Vortex agents for collaborative hypothesis critique
98
+ **[c]** Continue — Generate the HC3 artifact and proceed to routing
99
+
100
+ ---
101
+
102
+ ## Vortex Compass
103
+
104
+ Based on what you just completed, here are your evidence-driven options:
105
+
106
+ | If you learned... | Consider next... | Agent | Why |
107
+ |---|---|---|---|
108
+ | Hypotheses are solid with testable assumptions | lean-experiment | Wade 🧪 | Hypothesis contracts ready for testing (HC3) |
109
+ | ⚡ Critical assumption is unvalidated and too risky to test blind | user-interview | Isla 🔍 | Unvalidated assumption needs discovery before experimentation (HC9) |
110
+
111
+ > **Note:** These are evidence-based recommendations. You can navigate to any Vortex agent
112
+ > at any time based on your judgment.
113
+
114
+ **Or run Max's [VN] Vortex Navigation** for a full gap analysis across all streams.
115
+
116
+ ### ⚠️ Insufficient Evidence for Routing
117
+
118
+ If the evidence gathered so far doesn't clearly point to a single next step:
119
+
120
+ | To route to... | You need... |
121
+ |----------------|-------------|
122
+ | Wade 🧪 | 1-3 hypothesis contracts with explicit riskiest assumptions and testing order |
123
+ | Isla 🔍 | Specific unvalidated assumption identified with clear research question |
124
+
125
+ **Workflow-specific signals:**
126
+ - Cannot identify a riskiest assumption → consider revisiting **step-04** for deeper mapping
127
+ - Hypotheses feel vague or unfalsifiable → consider revisiting **step-03** for sharper brainwriting
128
+ - Problem definition itself seems shaky → consider routing back to **Mila** for re-synthesis
129
+
130
+ **Recommended:** Revisit earlier steps to strengthen your hypotheses, or run **Max's [VN] Vortex Navigation** for a full gap analysis.
@@ -0,0 +1,52 @@
1
+ ---
2
+ workflow: hypothesis-engineering
3
+ type: step-file
4
+ description: Engineer testable hypotheses from validated problem definitions using structured brainwriting and 4-field contracts
5
+ author: Liam (hypothesis-engineer)
6
+ version: 1.6.0
7
+ ---
8
+
9
+ # Hypothesis Engineering Workflow
10
+
11
+ This workflow guides you through turning a validated problem definition into 1-3 rigorous, testable hypothesis contracts — each with explicit assumptions, expected outcomes, and a clear riskiest assumption to test first.
12
+
13
+ ## What is Hypothesis Engineering?
14
+
15
+ Hypothesis engineering is the craft of turning a validated problem into testable bets. Not vague ideas. Not wishful thinking. Structured, falsifiable hypotheses with explicit assumptions you can prove wrong.
16
+
17
+ That's a safe bet — what's the bold version? Most teams skip this step and jump straight to building. They treat hypotheses as afterthoughts, not engineering artifacts. The result? They build experiments that test nothing, measure the wrong things, and learn nothing useful.
18
+
19
+ This workflow forces clarity: for each hypothesis, you'll define what you expect to happen, what behavior will change, why you believe it, and — most importantly — the single assumption that could kill the whole idea. If you can't prove it wrong, it's not a hypothesis.
20
+
21
+ ## Workflow Structure
22
+
23
+ **Step-file architecture:**
24
+ - Just-in-time loading (each step loads only when needed)
25
+ - Sequential enforcement (must complete step N before step N+1)
26
+ - State tracking in frontmatter (progress preserved)
27
+
28
+ ## Steps Overview
29
+
30
+ 1. **Setup & Input Validation** - Validate your problem definition (HC2 artifact or equivalent input)
31
+ 2. **Problem Context & Opportunity Mapping** - Unpack JTBD, pains, gains, and identify the hypothesis landscape
32
+ 3. **Structured Brainwriting & Hypothesis Drafting** - Engineer 1-3 hypothesis contracts using the 4-field format
33
+ 4. **Assumption Extraction & Risk Mapping** - Map all assumptions by lethality × uncertainty and prioritize testing order
34
+ 5. **Synthesize & Route** - Produce HC3 hypothesis contract artifact and route via Compass
35
+
36
+ ## Output
37
+
38
+ **Artifact:** HC3 Hypothesis Contract markdown file in `{output_folder}/vortex-artifacts/hc3-hypothesis-contract-{date}.md`
39
+
40
+ **Template:** None (HC3 artifact is generated inline during Step 5)
41
+
42
+ **Schema:** Conforms to HC3 contract (`_bmad/bme/_vortex/contracts/hc3-hypothesis-contract.md`)
43
+
44
+ **Consumer:** Wade (lean-experiment) uses this to design experiments targeting the riskiest assumptions first.
45
+
46
+ ---
47
+
48
+ ## INITIALIZATION
49
+
50
+ Load config from {project-root}/_bmad/bme/_vortex/config.yaml
51
+
52
+ Load step: {project-root}/_bmad/bme/_vortex/workflows/hypothesis-engineering/steps/step-01-setup.md
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: "Lean Experiment: {experiment-name}"
3
+ date: {date}
4
+ type: lean-experiment
5
+ status: {status}
6
+ ---
7
+
8
+ # Lean Experiment: {experiment-name}
9
+
10
+ ## Hypothesis
11
+
12
+ {hypothesis}
13
+
14
+ ## Experiment Design
15
+
16
+ {experiment-design}
17
+
18
+ ## Results
19
+
20
+ {results}
21
+
22
+ ## Decision
23
+
24
+ {pivot-or-persevere}
25
+
26
+ ---
27
+
28
+ **Created with:** Convoke v2.0.0
29
+ **Workflow:** lean-experiment
@@ -0,0 +1,58 @@
1
+ ---
2
+ step: 1
3
+ workflow: lean-experiment
4
+ title: State Hypothesis & Input Validation
5
+ ---
6
+
7
+ # Step 1: State Hypothesis & Input Validation
8
+
9
+ Before we run any experiment, we need a clear hypothesis to test. Not a hunch. Not a wish. A falsifiable bet with explicit assumptions you can prove wrong.
10
+
11
+ ## Why This Matters
12
+
13
+ Experiments without hypotheses produce data without direction. You'll measure things, but you won't know what the results mean. A clear hypothesis tells you exactly what result would change your mind — and that's what makes it an experiment instead of a demo.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. What Hypothesis Are You Testing?
18
+
19
+ Wade expects a hypothesis — ideally from Liam's hypothesis-engineering workflow as an HC3-compliant artifact:
20
+ - **HC3 Hypothesis Contract** (from Liam's `hypothesis-engineering` workflow)
21
+ - **HC3 with Assumption Risk Map** showing which assumptions to test first
22
+
23
+ You can also bring **any well-formed hypothesis** — Wade accepts input from outside the Vortex pattern. It doesn't have to be HC3-compliant, but having a structured hypothesis with an explicit riskiest assumption makes experiment design dramatically stronger.
24
+
25
+ ### 2. Provide Your Input
26
+
27
+ Please provide the file path or describe the hypothesis you want to test. For example:
28
+ - `_bmad-output/vortex-artifacts/hc3-hypothesis-contract-2026-03-01.md`
29
+ - Or: "I believe that [users] will [behavior] because [rationale], and the riskiest assumption is [assumption]"
30
+
31
+ ### 3. Input Validation
32
+
33
+ I'll check your hypothesis for experiment-readiness:
34
+
35
+ **Hypothesis Statement Check:**
36
+ - [ ] States what you believe will happen (expected outcome)
37
+ - [ ] Identifies a specific behavior change you expect to observe
38
+ - [ ] Provides rationale grounded in evidence (not intuition)
39
+ - [ ] Names the riskiest assumption — the one thing that could kill this
40
+
41
+ **Falsifiability Check:**
42
+ - [ ] Can you describe a result that would prove this hypothesis wrong?
43
+ - [ ] Are the expected outcomes specific enough that two people would agree on success vs. failure?
44
+ - [ ] Is the riskiest assumption something you can actually observe or measure?
45
+
46
+ **If your input is incomplete:** That's okay — we'll work through the gaps. But let's be honest about what we know vs. what we're assuming. The experiment will only be as strong as the hypothesis driving it.
47
+
48
+ ---
49
+
50
+ ## Your Turn
51
+
52
+ Please provide your hypothesis — file path, description, or both. I'll validate it and we'll proceed to designing the experiment.
53
+
54
+ ## Next Step
55
+
56
+ When your hypothesis is validated and experiment-ready, I'll load:
57
+
58
+ {project-root}/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-02-design.md
@@ -0,0 +1,68 @@
1
+ ---
2
+ step: 2
3
+ workflow: lean-experiment
4
+ title: Design Experiment
5
+ ---
6
+
7
+ # Step 2: Design Experiment
8
+
9
+ Now that we have a validated hypothesis, we need to design the leanest possible experiment to test it. Not the best experiment. Not the most thorough. The fastest, cheapest experiment that produces a clear signal.
10
+
11
+ ## Why This Matters
12
+
13
+ The goal of a lean experiment is learning, not building. Every dollar and day spent on experiment infrastructure is a dollar and day not spent on the next experiment. The leanest experiment that produces a clear pass/fail signal wins — always. Overengineering an experiment is the same mistake as overengineering a product: you invested in confidence you didn't need yet.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Choose Your Experiment Type
18
+
19
+ Based on the hypothesis and its riskiest assumption, select the experiment type that produces a clear signal with the least investment:
20
+
21
+ | Type | When to Use | Example | Investment |
22
+ |------|-------------|---------|------------|
23
+ | **Concierge** | Manually deliver the product experience to a small group | Text dinner suggestions to 15 parents by hand | Days, minimal cost |
24
+ | **Wizard of Oz** | Simulate automation with manual behind-the-scenes work | Users see an "AI" recommendation; a human picks it | Days-weeks |
25
+ | **Smoke Test** | Test demand before building anything | Landing page with signup button, measure conversion | Hours-days |
26
+ | **A/B Test** | Compare two approaches with existing traffic | Show Feature A to 50%, Feature B to 50% | Requires existing traffic |
27
+ | **Prototype Test** | Test usability and comprehension | Clickable mockup with think-aloud observation | Days |
28
+
29
+ **Selection criteria:** Which type tests the **riskiest assumption** with the **least effort** and produces an **unambiguous signal**?
30
+
31
+ ### 2. Define Your Experiment Design
32
+
33
+ | Field | Your Answer |
34
+ |-------|-------------|
35
+ | **Experiment Name** | A descriptive name for this experiment |
36
+ | **Type** | Selected from the table above |
37
+ | **Duration** | How long will the experiment run? |
38
+ | **Sample Size** | How many participants/users? (minimum viable for signal clarity) |
39
+ | **Target Population** | Who participates? How will you recruit them? |
40
+ | **What You'll Build** | The minimum artifact needed (landing page, script, prototype, etc.) |
41
+ | **What You Won't Build** | Explicitly list what's out of scope — this prevents scope creep |
42
+
43
+ ### 3. Validate the Design
44
+
45
+ Before proceeding, stress-test your experiment design:
46
+
47
+ - [ ] **Does it test the riskiest assumption?** Not a secondary assumption. Not the easy one. The lethal one.
48
+ - [ ] **Is it truly minimal?** Could you make it cheaper, faster, or simpler and still get a clear signal?
49
+ - [ ] **Can it fail?** If every possible outcome looks like success, the experiment isn't testing anything.
50
+ - [ ] **Is the sample meaningful?** Too small = noise. Too large = wasted effort. What's the minimum for a clear signal?
51
+
52
+ ---
53
+
54
+ ## Your Turn
55
+
56
+ Define your experiment design using the fields above. Share your design and I'll help you trim it to the minimum viable experiment.
57
+
58
+ ---
59
+
60
+ **[a]** Advanced Elicitation — Deep dive into experiment design trade-offs
61
+ **[p]** Party Mode — Bring in other Vortex agents for experiment critique
62
+ **[c]** Continue — Proceed to defining success metrics
63
+
64
+ ## Next Step
65
+
66
+ When your experiment design is validated, I'll load:
67
+
68
+ {project-root}/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-03-metrics.md