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,169 @@
1
+ ---
2
+ step: 4
3
+ workflow: user-discovery
4
+ title: Execute Research
5
+ ---
6
+
7
+ # Step 4: Execute Research
8
+
9
+ Your plan is set. Now it's time to go into the field and learn. This step provides guidance for conducting rigorous, respectful research that produces trustworthy data.
10
+
11
+ ## Why This Matters
12
+
13
+ The quality of your discovery findings depends entirely on the quality of your data collection. Sloppy notes, leading questions, or confirmation bias during execution will undermine everything that follows. Good fieldwork requires discipline, humility, and genuine curiosity.
14
+
15
+ ## Guidance by Method
16
+
17
+ ### Conducting Contextual Inquiry
18
+
19
+ **Before the session:**
20
+ - Review your discussion guide but do not memorize it -- you need flexibility
21
+ - Arrive early and observe the environment before engaging
22
+ - Test your recording equipment
23
+
24
+ **During the session:**
25
+ - Start with rapport building (5 minutes of casual conversation)
26
+ - Ask the participant to walk you through their normal process
27
+ - Use the "master-apprentice" model: "Teach me how you do this"
28
+ - Follow their lead -- if they go off-script, follow the thread
29
+ - Ask "why" and "tell me more" rather than closed questions
30
+ - Note the environment: what's on their desk, screen, walls?
31
+ - Capture exact quotes when something feels important
32
+
33
+ **Key phrases to use:**
34
+ - "Can you show me how you'd normally do that?"
35
+ - "What were you thinking just now when you paused?"
36
+ - "Is that what usually happens, or was that unusual?"
37
+ - "You mentioned [X] -- can you tell me more about that?"
38
+ - "What would happen if you didn't do that step?"
39
+
40
+ **Key phrases to avoid:**
41
+ - "Would you like it if the product did [X]?" (leading)
42
+ - "Don't you think [X] would be better?" (leading)
43
+ - "Most people we've talked to say [X]..." (anchoring)
44
+ - "That's interesting!" (can steer the conversation)
45
+
46
+ **After the session:**
47
+ - Write up expanded notes within 2 hours while memory is fresh
48
+ - Highlight surprising moments, contradictions, and strong emotions
49
+ - Note your own reactions and biases ("I assumed X but saw Y")
50
+
51
+ ### Running Diary Studies
52
+
53
+ **Launch phase:**
54
+ - Brief each participant individually (not just via email)
55
+ - Walk them through one example entry so they understand the format
56
+ - Set expectations: "This should take about 5 minutes per entry"
57
+ - Confirm their preferred reminder channel (text, email, app notification)
58
+
59
+ **During the study:**
60
+ - Send daily reminders at consistent times
61
+ - Respond to entries within 24 hours with brief acknowledgments
62
+ - Ask clarifying follow-up questions on entries that seem rich
63
+ - Monitor completion rates -- reach out personally to participants who stop logging
64
+ - Do NOT judge or evaluate entries ("There are no wrong answers")
65
+
66
+ **Managing quality:**
67
+ - If entries are too brief, ask: "Can you tell me a bit more about what happened right before/after?"
68
+ - If entries are too long, gently remind: "Focus on the moment that felt most significant"
69
+ - If entries become repetitive, introduce a prompt variation: "Today, focus specifically on moments of frustration"
70
+
71
+ ### Conducting Ethnographic Observation
72
+
73
+ **Positioning:**
74
+ - Find a vantage point where you can see without being in the way
75
+ - Avoid hovering directly behind someone's screen
76
+ - If observing a shared space, position yourself as a natural part of the environment
77
+
78
+ **What to record:**
79
+ - Timestamp every observation
80
+ - Describe actions objectively: "User clicked back button 3 times" not "User was confused"
81
+ - Note the sequence of actions, especially unexpected detours
82
+ - Record environmental factors: interruptions, conversations with colleagues, phone checks
83
+ - Sketch the physical layout if relevant
84
+
85
+ **Staying objective:**
86
+ - Separate observations from interpretations in your notes
87
+ - Use two columns: "I saw/heard" and "I think this means"
88
+ - Resist the urge to interpret in the moment -- just capture
89
+ - After the session, review your interpretation column critically
90
+
91
+ **The debrief:**
92
+ - After observing, sit with the participant for 15-20 minutes
93
+ - Ask them to explain key moments you observed
94
+ - Share what surprised you and ask if your interpretation matches their experience
95
+ - This is where the richest insights often emerge
96
+
97
+ ### Administering Surveys
98
+
99
+ **Before launch:**
100
+ - Pilot with 3-5 people and watch them complete it (time them, note confusion)
101
+ - Revise any question where someone hesitates or asks "what do you mean?"
102
+ - Check that response options are mutually exclusive and collectively exhaustive
103
+ - Test on mobile -- many respondents will use their phone
104
+
105
+ **During collection:**
106
+ - Monitor response rates daily
107
+ - Send one reminder after 3 days, a final reminder at 1 day before close
108
+ - Watch for suspicious patterns (all same answers, impossibly fast completion)
109
+ - If open-ended responses are thin, consider a follow-up prompt
110
+
111
+ **Quality checks:**
112
+ - Remove responses completed in under 30% of median time
113
+ - Flag straight-line responses (same answer for every question)
114
+ - Check for contradictory answers that suggest inattention
115
+
116
+ ### Conducting Analytics Review
117
+
118
+ **Approach:**
119
+ - Start with the user journey map and overlay behavioral data at each stage
120
+ - Look for drop-offs, loops, and unexpected paths
121
+ - Compare segments: do different user groups behave differently?
122
+ - Check for temporal patterns: time of day, day of week, seasonality
123
+
124
+ **What to capture:**
125
+ - Key metrics with context (not just numbers, but what they mean)
126
+ - Anomalies that warrant qualitative investigation
127
+ - Hypotheses generated from the data (to test with other methods)
128
+ - Confidence level for each finding (strong signal vs. noisy data)
129
+
130
+ ## Universal Field Notes Best Practices
131
+
132
+ ### The AEIOU Framework
133
+
134
+ Use this structure for every observation session:
135
+
136
+ - **A - Activities:** What are people doing? What tasks and steps are involved?
137
+ - **E - Environments:** What is the physical or digital space like? What objects and tools are present?
138
+ - **I - Interactions:** How do people interact with each other, with tools, with the environment?
139
+ - **O - Objects:** What artifacts, devices, and items do people use or create?
140
+ - **U - Users:** Who are the people involved? What are their roles, relationships, and emotional states?
141
+
142
+ ### Staying Open
143
+
144
+ The hardest part of discovery research is staying open to being wrong. Watch for these traps:
145
+
146
+ - **Confirmation bias:** Noticing evidence that supports your hypothesis and ignoring evidence that contradicts it
147
+ - **Premature synthesis:** Jumping to conclusions after 2 sessions instead of waiting for patterns
148
+ - **Solution fixation:** Hearing problems and immediately designing solutions in your head
149
+ - **Expert blindness:** Assuming you understand the user's perspective because you've been in the domain a long time
150
+
151
+ **Antidote:** After each session, write down one thing that surprised you. If nothing surprised you, you probably were not listening carefully enough.
152
+
153
+ ---
154
+
155
+ ## Your Turn
156
+
157
+ As you execute your research, come back and share:
158
+ 1. Key observations and quotes from your sessions
159
+ 2. Anything that surprised you or contradicted your assumptions
160
+ 3. Emerging patterns you're noticing across sessions
161
+ 4. Any adjustments you need to make to your plan
162
+
163
+ I'll help you make sense of what you're finding and suggest adjustments to remaining sessions based on what emerges.
164
+
165
+ ## Next Step
166
+
167
+ When your research execution is complete (or you have enough data to synthesize), I'll load:
168
+
169
+ {project-root}/_bmad/bme/_vortex/workflows/user-discovery/steps/step-05-organize-data.md
@@ -0,0 +1,149 @@
1
+ ---
2
+ step: 5
3
+ workflow: user-discovery
4
+ title: Organize Raw Data
5
+ ---
6
+
7
+ # Step 5: Organize Raw Data
8
+
9
+ You've collected research data across multiple sessions and methods. Before you can synthesize insights, you need to organize this raw material into a structure that makes patterns visible.
10
+
11
+ ## Why This Matters
12
+
13
+ Raw research data -- scattered notes, recordings, survey exports, analytics screenshots -- is overwhelming and unusable in its unprocessed form. Organization is the bridge between "we did research" and "we know something." Teams that skip this step end up with anecdotes instead of insights, and recency bias instead of patterns.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Consolidate All Data Sources
18
+
19
+ Gather everything into one accessible location:
20
+
21
+ - Expanded field notes from contextual inquiry sessions
22
+ - Diary study entries (exported and compiled)
23
+ - Observation field notes and environment sketches
24
+ - Survey responses (raw export + summary statistics)
25
+ - Analytics findings (screenshots, charts, key metrics)
26
+ - Audio/video recordings (timestamped for reference)
27
+ - Photos and artifacts collected during fieldwork
28
+
29
+ **Naming convention:** `[method]-[participant/source]-[date]`
30
+ - Example: `contextual-P03-2026-02-15.md`
31
+ - Example: `diary-entries-compiled-2026-02-20.md`
32
+ - Example: `analytics-onboarding-funnel-2026-02-18.md`
33
+
34
+ ### 2. Extract Atomic Observations
35
+
36
+ Go through each data source and pull out individual observations. Each observation should be:
37
+
38
+ - **Atomic:** One idea, one behavior, one quote per item
39
+ - **Evidence-based:** Tied to a specific source (participant code, session date, data point)
40
+ - **Descriptive:** What happened, not what you think it means (interpretation comes later)
41
+
42
+ **Format each observation as:**
43
+ ```
44
+ [Source: P03, contextual inquiry, 2026-02-15]
45
+ User keeps a separate spreadsheet to track which emails she's sent because
46
+ the CRM doesn't show sent-email status on the contact list view.
47
+ ```
48
+
49
+ ```
50
+ [Source: Survey Q7, n=142]
51
+ 68% of respondents report checking their dashboard "several times a day"
52
+ but only 12% take action based on what they see.
53
+ ```
54
+
55
+ ```
56
+ [Source: Analytics, Jan 2026]
57
+ Average session duration for the reporting feature is 47 seconds.
58
+ Users who export reports spend 8 minutes. Most users view but don't act.
59
+ ```
60
+
61
+ **Tip:** Aim for 100-300 atomic observations for a thorough discovery. This sounds like a lot, but 8 contextual inquiry sessions alone typically produce 150+.
62
+
63
+ ### 3. Affinity Mapping
64
+
65
+ Affinity mapping is the core technique for finding patterns in qualitative data. Here is how to do it rigorously:
66
+
67
+ **Step A: Spread out all observations**
68
+ - If physical: write each observation on a sticky note or index card
69
+ - If digital: use a tool like Miro, FigJam, or a simple spreadsheet
70
+
71
+ **Step B: Group silently (if working with a team)**
72
+ - Each person moves observations into clusters based on similarity
73
+ - No talking during initial grouping -- this prevents one voice dominating
74
+ - It's okay to move someone else's placement (disagreement is data)
75
+ - Aim for 10-20 clusters initially
76
+
77
+ **Step C: Name the clusters**
78
+ - Once grouping stabilizes, give each cluster a descriptive name
79
+ - The name should describe the PATTERN, not just the topic
80
+ - Bad: "Onboarding" (topic label)
81
+ - Good: "Users skip onboarding steps and return later when stuck" (pattern)
82
+ - Good: "Workarounds reveal gaps in core workflow" (insight-oriented)
83
+
84
+ **Step D: Identify super-clusters**
85
+ - Look for clusters that relate to each other
86
+ - Group related clusters into 3-7 themes
87
+ - These themes become the backbone of your synthesis
88
+
89
+ ### 4. Tagging System
90
+
91
+ Apply consistent tags to every observation for cross-cutting analysis:
92
+
93
+ **Recommended tag categories:**
94
+
95
+ | Category | Example Tags |
96
+ |----------|-------------|
97
+ | Method | `contextual`, `diary`, `observation`, `survey`, `analytics` |
98
+ | Participant segment | `power-user`, `new-user`, `churned`, `enterprise`, `smb` |
99
+ | Topic | `onboarding`, `collaboration`, `reporting`, `mobile` |
100
+ | Sentiment | `frustration`, `delight`, `confusion`, `confidence` |
101
+ | Behavior type | `workaround`, `habit`, `avoidance`, `exploration` |
102
+ | Evidence strength | `observed`, `self-reported`, `quantified`, `inferred` |
103
+
104
+ **Why tags matter:** They let you ask questions like "Show me all frustration moments from enterprise users during onboarding" -- slicing the data in ways that affinity clusters alone cannot.
105
+
106
+ ### 5. Quantify Where Possible
107
+
108
+ Even in qualitative research, counting matters. It helps you distinguish between "one person said this" and "this came up in every single session."
109
+
110
+ **Track frequency:**
111
+ - How many participants mentioned or exhibited each pattern?
112
+ - How many data sources support each theme?
113
+ - What is the distribution of survey responses for key questions?
114
+
115
+ **Use a simple evidence matrix:**
116
+
117
+ | Theme / Pattern | P01 | P02 | P03 | P04 | P05 | Survey | Analytics | Count |
118
+ |----------------|-----|-----|-----|-----|-----|--------|-----------|-------|
119
+ | Workaround spreadsheets | X | | X | X | X | 34% | - | 4+survey |
120
+ | Skip onboarding | X | X | X | | X | 61% | 72% bounce | 4+both |
121
+ | Mobile frustration | | X | | X | | 28% | 45% mobile | 2+both |
122
+
123
+ ### 6. Note Contradictions and Outliers
124
+
125
+ Do NOT discard data that doesn't fit the emerging patterns. Contradictions and outliers are often the most valuable findings.
126
+
127
+ **Record:**
128
+ - Observations that contradict a strong pattern (might reveal a segment difference)
129
+ - Participants who behaved very differently from others (might be early adopters or edge cases)
130
+ - Survey responses that conflict with qualitative findings (might indicate social desirability bias)
131
+ - Analytics data that contradicts self-reports (what people do vs. what they say)
132
+
133
+ ---
134
+
135
+ ## Your Turn
136
+
137
+ Please share:
138
+ 1. What data sources you have collected (list them)
139
+ 2. Your initial affinity clusters (even rough groupings are useful)
140
+ 3. Any patterns that are already emerging
141
+ 4. Any contradictions or surprises in the data
142
+
143
+ I'll help you refine your organization and prepare for synthesis.
144
+
145
+ ## Next Step
146
+
147
+ When your data is organized and initial patterns are identified, I'll load:
148
+
149
+ {project-root}/_bmad/bme/_vortex/workflows/user-discovery/steps/step-06-synthesize.md
@@ -0,0 +1,159 @@
1
+ ---
2
+ step: 6
3
+ workflow: user-discovery
4
+ title: Synthesize Discovery Findings
5
+ ---
6
+
7
+ # Step 6: Synthesize Discovery Findings
8
+
9
+ This is where everything comes together. You'll distill your organized data into a clear, actionable discovery report that answers your research questions and reveals opportunity areas for your product.
10
+
11
+ ## Why This Matters
12
+
13
+ Data without synthesis is just noise. Your stakeholders don't need 200 sticky notes -- they need 5 key themes, 3 opportunity areas, and a clear recommendation for what to do next. Synthesis is the intellectual work that transforms research into strategy.
14
+
15
+ ## Your Task
16
+
17
+ ### 1. Answer Your Research Questions
18
+
19
+ Go back to the research questions you defined in Step 1. For each one:
20
+
21
+ **State the answer clearly:**
22
+ - One paragraph summary of what you learned
23
+ - Confidence level: High (multiple sources, consistent pattern), Medium (some evidence, needs more validation), Low (limited data, emerging signal)
24
+ - Key evidence supporting the answer (cite specific sources)
25
+
26
+ **Example:**
27
+ > **Question:** "What does a typical day look like for a small-business owner managing finances?"
28
+ >
29
+ > **Answer:** Small-business owners manage finances in fragmented bursts, not dedicated sessions. Across 6 contextual inquiry sessions, we observed that financial tasks (invoicing, expense tracking, bank reconciliation) are interleaved with core business activities and rarely receive more than 10 minutes of focused attention. Owners rely on 3-5 different tools and maintain at least one "backup" spreadsheet. The primary trigger for financial tasks is anxiety (upcoming tax deadline, low account balance alert), not routine.
30
+ >
31
+ > **Confidence:** High -- consistent across all participants and supported by diary study entries showing average 4.2 financial micro-sessions per day.
32
+
33
+ ### 2. Identify Key Themes (3-7)
34
+
35
+ Themes are the big patterns that cut across multiple research questions and data sources. A good theme is:
36
+
37
+ - Supported by evidence from multiple participants AND multiple methods
38
+ - Descriptive of a pattern, not just a topic
39
+ - Relevant to product decisions
40
+
41
+ **Theme format:**
42
+
43
+ **Theme: [Descriptive name]**
44
+ - **Pattern:** What you observed happening consistently
45
+ - **Evidence:** Sources and frequency (e.g., "6 of 8 participants, 68% of survey respondents, confirmed by analytics")
46
+ - **Implication:** What this means for your product or strategy
47
+ - **Quote:** One representative quote that brings the theme to life
48
+
49
+ **Example:**
50
+ > **Theme: Anxiety-driven financial management**
51
+ > - **Pattern:** Financial tasks are triggered by fear of consequences (missed deadlines, cash flow problems) rather than proactive planning. Users react rather than plan.
52
+ > - **Evidence:** Observed in 6/8 contextual sessions. Diary entries show 73% of financial tasks triggered by notifications or deadlines. Survey: 61% agree "I only look at my finances when something forces me to."
53
+ > - **Implication:** Our product should reduce anxiety by providing early, gentle alerts rather than assuming users will proactively check dashboards.
54
+ > - **Quote:** "I know I should look at this stuff more often, but honestly I only open it when I'm scared." -- P04
55
+
56
+ ### 3. Map Opportunity Areas
57
+
58
+ Opportunity areas bridge research findings and product strategy. They answer: "Given what we learned, where should we invest?"
59
+
60
+ **For each opportunity area:**
61
+
62
+ - **Opportunity:** A clear statement of the unmet need or underserved job
63
+ - **User evidence:** What you saw or heard that reveals this opportunity
64
+ - **Size signal:** How many users are affected? How frequently? How severely?
65
+ - **Current alternatives:** How do users solve this today? (Workarounds, competitors, manual processes)
66
+ - **Strategic fit:** How does this align with your product vision and business goals?
67
+ - **Priority:** High / Medium / Low based on evidence strength, user impact, and strategic fit
68
+
69
+ **Example:**
70
+ > **Opportunity: Proactive cash flow forecasting**
71
+ > - **User evidence:** 7/8 participants expressed anxiety about cash flow surprises. 5 maintain manual spreadsheets to predict upcoming expenses.
72
+ > - **Size signal:** 61% of survey respondents (n=142) report cash flow uncertainty as their #1 financial stress.
73
+ > - **Current alternatives:** Manual spreadsheets (43%), gut feel (31%), accountant calls (15%), competitor tool (11%)
74
+ > - **Strategic fit:** Aligns with our mission to "remove financial anxiety from running a business."
75
+ > - **Priority:** High
76
+
77
+ ### 4. Document What You Did NOT Learn
78
+
79
+ Intellectual honesty is a hallmark of rigorous research. State clearly:
80
+
81
+ - Which research questions remain partially answered
82
+ - What populations or contexts you did not study
83
+ - What biases may exist in your sample
84
+ - What follow-up research you recommend
85
+
86
+ This builds credibility and helps future researchers avoid duplicating work or inheriting your blind spots.
87
+
88
+ ### 5. Create the Discovery Report
89
+
90
+ I'll use the template at `user-discovery.template.md` to generate your final artifact.
91
+
92
+ **Output File:** `{output_folder}/user-discovery-{topic}-{date}.md`
93
+
94
+ ### 6. Validation Questions
95
+
96
+ Before we finalize, let's validate the synthesis:
97
+
98
+ **Evidence rigor:**
99
+ - [ ] Every theme is supported by evidence from at least 2 methods
100
+ - [ ] Every opportunity area cites specific participant data or metrics
101
+ - [ ] Confidence levels are honestly assessed
102
+ - [ ] Contradictions and limitations are documented
103
+
104
+ **Actionability:**
105
+ - [ ] A product manager could use this to prioritize the next quarter's roadmap
106
+ - [ ] A designer could use the themes to inform persona updates or journey maps
107
+ - [ ] Stakeholders can understand the key findings in under 5 minutes
108
+ - [ ] The report answers the original discovery goal from Step 1
109
+
110
+ **Completeness:**
111
+ - [ ] All research questions are addressed (even if partially)
112
+ - [ ] Key themes cover the breadth of what was discovered
113
+ - [ ] Opportunity areas include size signals and priority
114
+ - [ ] Limitations and next steps are documented
115
+
116
+ ---
117
+
118
+ ## Your Turn
119
+
120
+ Please provide:
121
+ 1. Your answers to each research question (with confidence levels)
122
+ 2. Your 3-7 key themes with evidence
123
+ 3. Your opportunity areas ranked by priority
124
+ 4. What you did NOT learn and what follow-up research you'd recommend
125
+
126
+ I'll review your synthesis and help refine it into the final discovery report.
127
+
128
+ ## Output
129
+
130
+ Once you confirm, I'll create:
131
+
132
+ **File:** `{output_folder}/user-discovery-{topic}-{date}.md`
133
+
134
+ **Contents:**
135
+ - Executive Summary
136
+ - Discovery Scope (goal, questions, population)
137
+ - Research Methods Used
138
+ - Key Themes (with evidence)
139
+ - Opportunity Areas (prioritized)
140
+ - Research Question Answers
141
+ - Limitations and Next Steps
142
+ - Research Sources
143
+
144
+ ---
145
+
146
+ ## Vortex Compass
147
+
148
+ Based on what you just completed, here are your evidence-driven options:
149
+
150
+ | If you learned... | Consider next... | Agent | Why |
151
+ |---|---|---|---|
152
+ | Discovery findings ready for convergence | research-convergence | Mila ๐Ÿ”ฌ | Converge discovery findings into problem definition (HC1) |
153
+ | Ready to test hypotheses | lean-experiment | Wade ๐Ÿงช | Design experiments from discovery insights |
154
+ | Need deeper empathy for key users | empathy-map | Isla ๐Ÿ” | Map the users you discovered in depth |
155
+
156
+ > **Note:** These are evidence-based recommendations. You can navigate to any Vortex agent
157
+ > at any time based on your judgment.
158
+
159
+ **Or run Max's [VN] Vortex Navigation** for a full gap analysis across all streams.