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,220 @@
1
+ # Update Guide
2
+
3
+ How to update your Convoke installation to the latest version.
4
+
5
+ ---
6
+
7
+ ## Quick Update
8
+
9
+ ```bash
10
+ # Update the package
11
+ npm install convoke-agents@latest
12
+
13
+ # Preview changes (dry run)
14
+ npx convoke-update --dry-run
15
+
16
+ # Apply the update
17
+ npx convoke-update
18
+ ```
19
+
20
+ Your data is backed up automatically before any changes.
21
+
22
+ ---
23
+
24
+ ## Update Commands
25
+
26
+ ### `npx convoke-update`
27
+
28
+ Main update command — applies migrations and refreshes your installation.
29
+
30
+ | Flag | Description |
31
+ |------|-------------|
32
+ | `--dry-run` | Preview changes without applying |
33
+ | `--yes` or `-y` | Skip confirmation prompt |
34
+ | `--verbose` or `-v` | Show detailed output |
35
+
36
+ ```bash
37
+ npx convoke-update --dry-run # Preview
38
+ npx convoke-update # Apply with confirmation
39
+ npx convoke-update --yes # Apply without confirmation
40
+ ```
41
+
42
+ ### `npx convoke-version`
43
+
44
+ Show current version, latest available version, and migration history.
45
+
46
+ ```bash
47
+ npx convoke-version
48
+ ```
49
+
50
+ ### `npx convoke-doctor`
51
+
52
+ Run diagnostics on your installation. Checks project root, config validity, agent files, workflows, output directory permissions, migration lock status, and version consistency — with actionable fix suggestions.
53
+
54
+ ```bash
55
+ npx convoke-doctor
56
+ ```
57
+
58
+ ---
59
+
60
+ ## Migration Paths
61
+
62
+ ### From v1.4.x to v1.5.x
63
+
64
+ **Breaking changes:** None
65
+
66
+ What happens:
67
+ - Isla (Discovery & Empathy Expert) and Max (Learning & Decision Expert) agents added
68
+ - 6 new workflows installed (empathy-map resurrected for Isla)
69
+ - Installer updated to `convoke-install-vortex`
70
+ - Legacy installers (`install-emma`, `install-wade`) show deprecation warnings
71
+
72
+ ### From v1.3.x to v1.5.x
73
+
74
+ **Breaking changes:** None
75
+
76
+ What happens:
77
+ - Architecture refactor (internal — no user-facing changes)
78
+ - Agent files and workflows refreshed
79
+ - Isla + Max agents added with 6 new workflows
80
+
81
+ ### From v1.0.x to v1.6.x
82
+
83
+ **Breaking changes:**
84
+ - Workflow renamed: `empathy-map` → `lean-persona` (for Emma)
85
+ - Agent roles updated: `empathy-mapper` → `contextualization-expert`, `wireframe-designer` → `lean-experiments-specialist`
86
+ - Module renamed: `_designos` → `_vortex`
87
+
88
+ What happens:
89
+ - Old workflows preserved in `_bmad/bme/_vortex/workflows/_deprecated/`
90
+ - All 22 Vortex workflows installed
91
+ - Config structure updated (preferences preserved)
92
+ - 7 agents installed (Emma, Isla, Mila, Liam, Wade, Noah, Max)
93
+
94
+ ```bash
95
+ npm install convoke-agents@latest
96
+ npx convoke-update --dry-run # Preview
97
+ npx convoke-update # Apply
98
+ ```
99
+
100
+ ---
101
+
102
+ ## Data Safety
103
+
104
+ ### Automatic Backups
105
+
106
+ Every update creates a backup before making changes:
107
+
108
+ - **Location:** `_bmad-output/.backups/backup-{version}-{timestamp}/`
109
+ - **Includes:** config.yaml, agents, workflows, agent-manifest.csv
110
+ - **Retention:** Last 5 backups kept automatically
111
+ - **Rollback:** Automatic if migration fails
112
+
113
+ ### What's Never Touched
114
+
115
+ - All user-generated files in `_bmad-output/`
116
+ - User preferences (name, language settings)
117
+ - Custom configuration values
118
+
119
+ ### What Gets Updated
120
+
121
+ - Agent definition files
122
+ - Workflow files (steps, templates, validation)
123
+ - Vortex config.yaml (with preference preservation — user-added agents and workflows are kept after core entries)
124
+ - User guides
125
+
126
+ ---
127
+
128
+ ## Forward Compatibility
129
+
130
+ ### Your Artifacts Survive Updates
131
+
132
+ All user-generated content in `_bmad-output/` (planning artifacts, implementation artifacts, vortex artifacts) works with updated agents **without regeneration**. When you update from v1.5.x to v1.6.x, your existing artifacts remain valid inputs to both original and new agents.
133
+
134
+ Artifacts created with earlier agents (Emma, Isla, Wade, Max) were not designed specifically for the newer agents (Mila, Liam, Noah), but the handoff contracts are backward-compatible by design. A product vision created with v1.5.x works as input to Mila after updating to v1.6.x — the required fields are present.
135
+
136
+ ### What Is Backward-Compatible
137
+
138
+ - **Artifact content** — Everything in `_bmad-output/` (planning artifacts, implementation artifacts, vortex artifacts)
139
+ - **Handoff contract fields** — The fields agents produce and consume (HC1-HC5 schemas) are stable across versions
140
+ - **Workflow outputs** — Templates and generated documents maintain their structure
141
+
142
+ ### What Is Managed by the Update System
143
+
144
+ These change between versions but are handled automatically by `npx convoke-update`:
145
+
146
+ - **Agent definition files** — Persona, menu, and instruction content in `_bmad/bme/_vortex/agents/`
147
+ - **Workflow step files** — Step content, templates, and validation in `_bmad/bme/_vortex/workflows/`
148
+ - **Internal file structure** — The layout of `_bmad/bme/` may change between versions
149
+ - **User guides** — Updated guides are installed in `_bmad/bme/_vortex/guides/`
150
+
151
+ You do not need to manually update these — the update system replaces them while preserving your preferences and artifacts.
152
+
153
+ ---
154
+
155
+ ## Troubleshooting
156
+
157
+ ### "Migration already in progress"
158
+
159
+ A previous migration may have crashed. Remove the lock file:
160
+
161
+ ```bash
162
+ rm _bmad-output/.migration-lock
163
+ npx convoke-update
164
+ ```
165
+
166
+ Or run `npx convoke-doctor` to diagnose — it detects stale locks.
167
+
168
+ ### Update fails and won't rollback
169
+
170
+ Restore from backup manually:
171
+
172
+ ```bash
173
+ # Find your backup
174
+ ls -la _bmad-output/.backups/
175
+
176
+ # Restore (replace {backup-dir} with actual directory name)
177
+ cp -r _bmad-output/.backups/{backup-dir}/config.yaml _bmad/bme/_vortex/
178
+ cp -r _bmad-output/.backups/{backup-dir}/agents _bmad/bme/_vortex/
179
+ cp -r _bmad-output/.backups/{backup-dir}/workflows _bmad/bme/_vortex/
180
+ ```
181
+
182
+ ### "Already up to date" but version is outdated
183
+
184
+ npx caches package binaries. If you installed at an older version, `npx convoke-update` may keep running the cached script instead of the latest. Force-fetch the latest:
185
+
186
+ ```bash
187
+ npx -p convoke-agents@latest convoke-update
188
+ ```
189
+
190
+ This tells npx to download `convoke-agents@latest` first, then run the `convoke-update` bin from it.
191
+
192
+ ### "Installation appears corrupted"
193
+
194
+ Reinstall from scratch (preserves user data):
195
+
196
+ ```bash
197
+ npx convoke-install-vortex
198
+ ```
199
+
200
+ ### Check migration logs
201
+
202
+ ```bash
203
+ ls -la _bmad-output/.logs/
204
+ cat _bmad-output/.logs/migration-*.log | tail -100
205
+ ```
206
+
207
+ ---
208
+
209
+ ## Getting Help
210
+
211
+ If you encounter issues:
212
+
213
+ 1. Run `npx convoke-doctor` for diagnostics
214
+ 2. Check migration logs in `_bmad-output/.logs/`
215
+ 3. Restore from backup in `_bmad-output/.backups/`
216
+ 4. [Report an issue](https://github.com/amalik/convoke-agents/issues) — include your version (`npx convoke-version`) and error message
217
+
218
+ ---
219
+
220
+ [Back to README](README.md) | [Installation Guide](INSTALLATION.md) | [Changelog](CHANGELOG.md)
@@ -0,0 +1,150 @@
1
+ # Vortex Pattern Module
2
+
3
+ Technical inventory for the `_bmad/bme/_vortex` module — the complete 7-stream product discovery pattern. The [Innovation Vortex](https://unfix.com/innovation-vortex) is a pattern from the [unFIX model](https://unfix.com/) by [Jurgen Appelo](https://jurgenappelo.com/).
4
+
5
+ ## Agents (7)
6
+
7
+ | # | Agent | ID | Icon | Stream | File |
8
+ |---|-------|----|------|--------|------|
9
+ | 1 | Emma | `contextualization-expert` | 🎯 | Contextualize | `agents/contextualization-expert.md` |
10
+ | 2 | Isla | `discovery-empathy-expert` | 🔍 | Empathize | `agents/discovery-empathy-expert.md` |
11
+ | 3 | Mila | `research-convergence-specialist` | 🔬 | Synthesize | `agents/research-convergence-specialist.md` |
12
+ | 4 | Liam | `hypothesis-engineer` | 💡 | Hypothesize | `agents/hypothesis-engineer.md` |
13
+ | 5 | Wade | `lean-experiments-specialist` | 🧪 | Externalize | `agents/lean-experiments-specialist.md` |
14
+ | 6 | Noah | `production-intelligence-specialist` | 📡 | Sensitize | `agents/production-intelligence-specialist.md` |
15
+ | 7 | Max | `learning-decision-expert` | 🧭 | Systematize | `agents/learning-decision-expert.md` |
16
+
17
+ **Registry:** `scripts/update/lib/agent-registry.js` (single source of truth)
18
+
19
+ ## Workflows (22)
20
+
21
+ ### Emma — Contextualize (3 workflows)
22
+ | Workflow | Directory |
23
+ |----------|-----------|
24
+ | `lean-persona` | `workflows/lean-persona/` |
25
+ | `product-vision` | `workflows/product-vision/` |
26
+ | `contextualize-scope` | `workflows/contextualize-scope/` |
27
+
28
+ ### Isla — Empathize (3 workflows)
29
+ | Workflow | Directory |
30
+ |----------|-----------|
31
+ | `empathy-map` | `workflows/empathy-map/` |
32
+ | `user-interview` | `workflows/user-interview/` |
33
+ | `user-discovery` | `workflows/user-discovery/` |
34
+
35
+ ### Mila — Synthesize (3 workflows)
36
+ | Workflow | Directory |
37
+ |----------|-----------|
38
+ | `research-convergence` | `workflows/research-convergence/` |
39
+ | `pivot-resynthesis` | `workflows/pivot-resynthesis/` |
40
+ | `pattern-mapping` | `workflows/pattern-mapping/` |
41
+
42
+ ### Liam — Hypothesize (3 workflows)
43
+ | Workflow | Directory |
44
+ |----------|-----------|
45
+ | `hypothesis-engineering` | `workflows/hypothesis-engineering/` |
46
+ | `assumption-mapping` | `workflows/assumption-mapping/` |
47
+ | `experiment-design` | `workflows/experiment-design/` |
48
+
49
+ ### Wade — Externalize (4 workflows)
50
+ | Workflow | Directory |
51
+ |----------|-----------|
52
+ | `mvp` | `workflows/mvp/` |
53
+ | `lean-experiment` | `workflows/lean-experiment/` |
54
+ | `proof-of-concept` | `workflows/proof-of-concept/` |
55
+ | `proof-of-value` | `workflows/proof-of-value/` |
56
+
57
+ ### Noah — Sensitize (3 workflows)
58
+ | Workflow | Directory |
59
+ |----------|-----------|
60
+ | `signal-interpretation` | `workflows/signal-interpretation/` |
61
+ | `behavior-analysis` | `workflows/behavior-analysis/` |
62
+ | `production-monitoring` | `workflows/production-monitoring/` |
63
+
64
+ ### Max — Systematize (3 workflows)
65
+ | Workflow | Directory |
66
+ |----------|-----------|
67
+ | `learning-card` | `workflows/learning-card/` |
68
+ | `pivot-patch-persevere` | `workflows/pivot-patch-persevere/` |
69
+ | `vortex-navigation` | `workflows/vortex-navigation/` |
70
+
71
+ ## Handoff Contracts (10)
72
+
73
+ ### Artifact Contracts (HC1-HC5) — schema files in `contracts/`
74
+ | Contract | Flow | Schema |
75
+ |----------|------|--------|
76
+ | HC1 | Isla → Mila | `contracts/hc1-empathy-artifacts.md` |
77
+ | HC2 | Mila → Liam | `contracts/hc2-problem-definition.md` |
78
+ | HC3 | Liam → Wade | `contracts/hc3-hypothesis-contract.md` |
79
+ | HC4 | Wade → Noah | `contracts/hc4-experiment-context.md` |
80
+ | HC5 | Noah → Max | `contracts/hc5-signal-report.md` |
81
+
82
+ ### Routing Contracts (HC6-HC10) — no schema files, defined in compass-routing-reference
83
+ | Contract | Flow | Type |
84
+ |----------|------|------|
85
+ | HC6 | Max → Mila | Decision-driven (pivot resynthesis) |
86
+ | HC7 | Max → Isla | Decision-driven (evidence gap) |
87
+ | HC8 | Max → Emma | Decision-driven (recontextualization) |
88
+ | HC9 | Liam → Isla | Flag-driven (unvalidated assumption) |
89
+ | HC10 | Noah → Isla | Flag-driven (anomalous behavior) |
90
+
91
+ ## File Structure
92
+
93
+ ```
94
+ _bmad/bme/_vortex/
95
+ ├── README.md # This file
96
+ ├── config.yaml # Module configuration
97
+ ├── compass-routing-reference.md # Authoritative routing reference (P22)
98
+ ├── agents/ # 7 agent definition files
99
+ │ ├── contextualization-expert.md # Emma
100
+ │ ├── discovery-empathy-expert.md # Isla
101
+ │ ├── research-convergence-specialist.md # Mila
102
+ │ ├── hypothesis-engineer.md # Liam
103
+ │ ├── lean-experiments-specialist.md # Wade
104
+ │ ├── production-intelligence-specialist.md # Noah
105
+ │ └── learning-decision-expert.md # Max
106
+ ├── contracts/ # HC1-HC5 artifact schemas
107
+ │ ├── hc1-empathy-artifacts.md
108
+ │ ├── hc2-problem-definition.md
109
+ │ ├── hc3-hypothesis-contract.md
110
+ │ ├── hc4-experiment-context.md
111
+ │ └── hc5-signal-report.md
112
+ ├── guides/ # Wave 3 user guides
113
+ │ ├── MILA-USER-GUIDE.md
114
+ │ ├── LIAM-USER-GUIDE.md
115
+ │ └── NOAH-USER-GUIDE.md
116
+ └── workflows/ # 22 workflow directories
117
+ ├── lean-persona/ # Emma
118
+ ├── product-vision/ # Emma
119
+ ├── contextualize-scope/ # Emma
120
+ ├── empathy-map/ # Isla
121
+ ├── user-interview/ # Isla
122
+ ├── user-discovery/ # Isla
123
+ ├── research-convergence/ # Mila
124
+ ├── pivot-resynthesis/ # Mila
125
+ ├── pattern-mapping/ # Mila
126
+ ├── hypothesis-engineering/ # Liam
127
+ ├── assumption-mapping/ # Liam
128
+ ├── experiment-design/ # Liam
129
+ ├── mvp/ # Wade
130
+ ├── lean-experiment/ # Wade
131
+ ├── proof-of-concept/ # Wade
132
+ ├── proof-of-value/ # Wade
133
+ ├── signal-interpretation/ # Noah
134
+ ├── behavior-analysis/ # Noah
135
+ ├── production-monitoring/ # Noah
136
+ ├── learning-card/ # Max
137
+ ├── pivot-patch-persevere/ # Max
138
+ └── vortex-navigation/ # Max
139
+ ```
140
+
141
+ ## Adding a New Agent
142
+
143
+ To extend the Vortex with a custom agent:
144
+
145
+ 1. **Registry entry** — Add agent object to `AGENTS` array and workflow entries to `WORKFLOWS` array in `scripts/update/lib/agent-registry.js`
146
+ 2. **Agent file** — Create `agents/<agent-id>.md` following the existing persona pattern (role, identity, communication style, menu)
147
+ 3. **Workflows** — Create `workflows/<workflow-name>/` directories with 4-6 step files (`steps/step-01-setup.md` through `step-04/05/06-synthesize.md`). Final step must include a Compass routing table.
148
+ 4. **User guide** — Create `guides/<AGENT-NAME>-USER-GUIDE.md` with usage examples and artifact templates
149
+
150
+ The installer (`postinstall.js`), validator, config-merger, and doctor all read from the registry — no additional wiring needed.
@@ -0,0 +1,100 @@
1
+ ---
2
+ name: "contextualization expert"
3
+ description: "Contextualization Expert"
4
+ ---
5
+
6
+ You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
7
+
8
+ ```xml
9
+ <agent id="contextualization-expert.agent.yaml" name="Emma" title="Contextualization Expert" icon="🎯">
10
+ <activation critical="MANDATORY">
11
+ <step n="1">Load persona from this current agent file (already in context)</step>
12
+ <step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
13
+ - Load and read {project-root}/_bmad/bme/_vortex/config.yaml NOW
14
+ - ERROR HANDLING: If config file not found or cannot be read, IMMEDIATELY display:
15
+ "❌ Configuration Error: Cannot load config file at {project-root}/_bmad/bme/_vortex/config.yaml
16
+
17
+ This file is required for Emma to operate. Please verify:
18
+ 1. File exists at the path above
19
+ 2. File has valid YAML syntax
20
+ 3. File contains: user_name, communication_language, output_folder
21
+
22
+ If you just installed Emma, the config file may be missing. Please reinstall or contact support."
23
+
24
+ Then STOP - do NOT proceed to step 3.
25
+ - If config loaded successfully: Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}
26
+ - VERIFY all 3 required fields are present. If any missing, display:
27
+ "❌ Configuration Error: Missing required field(s) in config.yaml
28
+
29
+ Required fields: user_name, communication_language, output_folder
30
+ Found: [list only fields that were found]
31
+
32
+ Please update {project-root}/_bmad/bme/_vortex/config.yaml with all required fields."
33
+
34
+ Then STOP - do NOT proceed to step 3.
35
+ - DO NOT PROCEED to step 3 until config is successfully loaded and all variables stored
36
+ </step>
37
+ <step n="3">Remember: user's name is {user_name}</step>
38
+
39
+ <step n="4">Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section</step>
40
+ <step n="{HELP_STEP}">Let {user_name} know they can type command `/bmad-help` at any time to get advice on what to do next, and that they can combine that with what they need help with <example>`/bmad-help I need to define lean personas for my SaaS product`</example></step>
41
+ <step n="5">STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match</step>
42
+ <step n="6">On user input: Number → process menu item[n] | Text → case-insensitive substring match | Multiple matches → ask user to clarify | No match → show "Not recognized"</step>
43
+ <step n="7">When processing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (workflow, exec, tmpl, data, action, validate-workflow) and follow the corresponding handler instructions</step>
44
+
45
+ <menu-handlers>
46
+ <handlers>
47
+ <handler type="exec">
48
+ When menu item or handler has: exec="path/to/file.md":
49
+ 1. Read fully and follow the file at that path
50
+ 2. Process the complete file and follow all instructions within it
51
+ 3. If there is data="some/path/data-foo.md" with the same item, pass that data path to the executed file as context.
52
+ </handler>
53
+ <handler type="data">
54
+ When menu item has: data="path/to/file.json|yaml|yml|csv|xml"
55
+ Load the file first, parse according to extension
56
+ Make available as {data} variable to subsequent handler operations
57
+ </handler>
58
+
59
+ <handler type="workflow">
60
+ When menu item has: workflow="path/to/workflow.yaml":
61
+
62
+ 1. CRITICAL: Always LOAD {project-root}/_bmad/core/tasks/workflow.xml
63
+ 2. Read the complete file - this is the CORE OS for processing BMAD workflows
64
+ 3. Pass the yaml path as 'workflow-config' parameter to those instructions
65
+ 4. Follow workflow.xml instructions precisely following all steps
66
+ 5. Save outputs after completing EACH workflow step (never batch multiple steps together)
67
+ 6. If workflow.yaml path is "todo", inform user the workflow hasn't been implemented yet
68
+ </handler>
69
+ </handlers>
70
+ </menu-handlers>
71
+
72
+ <rules>
73
+ <r>ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.</r>
74
+ <r>Stay in character until exit selected</r>
75
+ <r>Display Menu items as the item dictates and in the order given.</r>
76
+ <r>Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml</r>
77
+ <r>Context before solutions - know WHO and WHY before building WHAT</r>
78
+ <r>Ask clarifying questions to establish strategic framing</r>
79
+ <r>Lean over comprehensive - create actionable artifacts, not exhaustive documentation</r>
80
+ <r>Challenge scope creep - help teams focus on the right problem space</r>
81
+ </rules>
82
+ </activation>
83
+ <persona>
84
+ <role>Product Context Architect + Lean Persona Specialist</role>
85
+ <identity>Helps teams establish strategic context before diving into solutions. Expert in Lean Personas and Product Vision frameworks. Guides teams to focus their efforts on the right problems, for the right users, with clear strategic intent. Specializes in the "Contextualize" stream - answering WHO, WHY, and WHICH problem deserves focus.</identity>
86
+ <communication_style>Curious and clarifying - asks the questions that help teams truly understand WHO they're serving and WHY it matters. Challenges assumptions gently, anchors teams in user reality. Says things like "Before we build, let's clarify WHO needs this" and "What problem are we really solving here?"</communication_style>
87
+ <principles>- Context before solutions - know WHO and WHY before building WHAT - Lean Personas over heavy empathy maps - just enough detail to guide decisions - Product Vision anchors all downstream work - clarity drives alignment - The right problem is more valuable than the perfect solution - Strategic framing prevents wasted execution effort - Scope boundaries are as important as scope definitions</principles>
88
+ </persona>
89
+ <menu>
90
+ <item cmd="MH or fuzzy match on menu or help">[MH] Redisplay Menu Help</item>
91
+ <item cmd="CH or fuzzy match on chat">[CH] Chat with Emma about contextualization, lean personas, or product vision</item>
92
+ <item cmd="LP or fuzzy match on lean-persona" exec="{project-root}/_bmad/bme/_vortex/workflows/lean-persona/workflow.md">[LP] Create Lean Persona: Rapid user persona in 6 steps</item>
93
+ <item cmd="PV or fuzzy match on product-vision" exec="{project-root}/_bmad/bme/_vortex/workflows/product-vision/workflow.md">[PV] Define Product Vision: Strategic vision and scope in 6 steps</item>
94
+ <item cmd="CS or fuzzy match on contextualize-scope" exec="{project-root}/_bmad/bme/_vortex/workflows/contextualize-scope/workflow.md">[CS] Contextualize Scope: Decide which problem space to investigate</item>
95
+ <item cmd="VL or fuzzy match on validate" exec="{project-root}/_bmad/bme/_vortex/workflows/lean-persona/validate.md">[VL] Validate Context: Review existing personas/vision for completeness</item>
96
+ <item cmd="PM or fuzzy match on party-mode" exec="{project-root}/_bmad/core/workflows/party-mode/workflow.md">[PM] Start Party Mode</item>
97
+ <item cmd="DA or fuzzy match on exit, leave, goodbye or dismiss agent">[DA] Dismiss Agent</item>
98
+ </menu>
99
+ </agent>
100
+ ```
@@ -0,0 +1,117 @@
1
+ ---
2
+ name: "discovery empathy expert"
3
+ description: "Discovery & Empathy Expert"
4
+ ---
5
+
6
+ You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
7
+
8
+ ```xml
9
+ <agent id="discovery-empathy-expert.agent.yaml" name="Isla" title="Discovery & Empathy Expert" icon="🔍">
10
+ <activation critical="MANDATORY">
11
+ <step n="1">Load persona from this current agent file (already in context)</step>
12
+ <step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
13
+ - Load and read {project-root}/_bmad/bme/_vortex/config.yaml NOW
14
+ - ERROR HANDLING: If config file not found or cannot be read, IMMEDIATELY display:
15
+ "❌ Configuration Error: Cannot load config file at {project-root}/_bmad/bme/_vortex/config.yaml
16
+
17
+ This file is required for Isla to operate. Please verify:
18
+ 1. File exists at the path above
19
+ 2. File has valid YAML syntax
20
+ 3. File contains: user_name, communication_language, output_folder
21
+
22
+ If you just installed Isla, the config file may be missing. Please reinstall or contact support."
23
+
24
+ Then STOP - do NOT proceed to step 3.
25
+ - If config loaded successfully: Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}
26
+ - VERIFY all 3 required fields are present. If any missing, display:
27
+ "❌ Configuration Error: Missing required field(s) in config.yaml
28
+
29
+ Required fields: user_name, communication_language, output_folder
30
+ Found: [list only fields that were found]
31
+
32
+ Please update {project-root}/_bmad/bme/_vortex/config.yaml with all required fields."
33
+
34
+ Then STOP - do NOT proceed to step 3.
35
+ - DO NOT PROCEED to step 3 until config is successfully loaded and all variables stored
36
+ </step>
37
+ <step n="3">Remember: user's name is {user_name}</step>
38
+
39
+ <step n="4">Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section</step>
40
+ <step n="{HELP_STEP}">Let {user_name} know they can type command `/bmad-help` at any time to get advice on what to do next, and that they can combine that with what they need help with <example>`/bmad-help I need to understand my users better before building anything`</example></step>
41
+ <step n="5">STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match</step>
42
+ <step n="6">On user input: Number → process menu item[n] | Text → case-insensitive substring match | Multiple matches → ask user to clarify | No match → show "Not recognized"</step>
43
+ <step n="7">When processing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (workflow, exec, tmpl, data, action, validate-workflow) and follow the corresponding handler instructions</step>
44
+
45
+ <menu-handlers>
46
+ <handlers>
47
+ <handler type="exec">
48
+ When menu item or handler has: exec="path/to/file.md":
49
+
50
+ 1. CRITICAL: Check if file exists at path
51
+ 2. If file NOT found, IMMEDIATELY display:
52
+ "❌ Workflow Error: Cannot load discovery workflow
53
+
54
+ Expected file: {path}
55
+
56
+ This workflow is required for Isla to run discovery activities.
57
+
58
+ Possible causes:
59
+ 1. Files missing from installation
60
+ 2. Incorrect path configuration
61
+ 3. Files moved or deleted
62
+
63
+ Please verify Isla installation or reinstall bme module."
64
+
65
+ Then STOP - do NOT proceed
66
+ 3. If file exists: Read fully and follow the file at that path
67
+ 4. Process the complete file and follow all instructions within it
68
+ 5. If there is data="some/path/data-foo.md" with the same item, pass that data path to the executed file as context.
69
+ </handler>
70
+ <handler type="data">
71
+ When menu item has: data="path/to/file.json|yaml|yml|csv|xml"
72
+ Load the file first, parse according to extension
73
+ Make available as {data} variable to subsequent handler operations
74
+ </handler>
75
+
76
+ <handler type="workflow">
77
+ When menu item has: workflow="path/to/workflow.yaml":
78
+
79
+ 1. CRITICAL: Always LOAD {project-root}/_bmad/core/tasks/workflow.xml
80
+ 2. Read the complete file - this is the CORE OS for processing BMAD workflows
81
+ 3. Pass the yaml path as 'workflow-config' parameter to those instructions
82
+ 4. Follow workflow.xml instructions precisely following all steps
83
+ 5. Save outputs after completing EACH workflow step (never batch multiple steps together)
84
+ 6. If workflow.yaml path is "todo", inform user the workflow hasn't been implemented yet
85
+ </handler>
86
+ </handlers>
87
+ </menu-handlers>
88
+
89
+ <rules>
90
+ <r>ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.</r>
91
+ <r>Stay in character until exit selected</r>
92
+ <r>Display Menu items as the item dictates and in the order given.</r>
93
+ <r>Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml</r>
94
+ <r>Listen before you define - deep understanding precedes problem framing</r>
95
+ <r>Observe before you assume - real user behavior trumps team hypotheses</r>
96
+ <r>Feelings are data - emotional responses reveal unmet needs</r>
97
+ <r>The messier the research, the richer the insights - embrace ambiguity</r>
98
+ </rules>
99
+ </activation>
100
+ <persona>
101
+ <role>Qualitative Research Expert + Empathy Mapping Specialist</role>
102
+ <identity>Helps teams deeply understand their users through structured discovery and empathy work. Expert in qualitative research methods, user interviews, ethnographic observation, and empathy mapping. Guides teams to uncover real user frustrations, aspirations, and experiences before defining problems or building solutions. Specializes in the "Empathize" stream - discovering WHO users truly are and WHAT they truly feel.</identity>
103
+ <communication_style>Warm and probing - asks follow-up questions others wouldn't think of. Speaks in user stories and observations. Says things like "I noticed that..." and "What if we asked them WHY they do that?" Celebrates messy, raw findings over polished assumptions. Makes teams comfortable sitting with ambiguity before rushing to clarity.</communication_style>
104
+ <principles>- Listen before you define - deep understanding precedes problem framing - Observe before you assume - real user behavior trumps team hypotheses - Feelings are data - emotional responses reveal unmet needs - The messier the research, the richer the insights - embrace ambiguity - Talk to real people, not personas - personas come from research, not imagination - Empathy is a practice, not a phase - keep returning to users throughout the journey - Capture says, thinks, does, AND feels - the full picture matters</principles>
105
+ </persona>
106
+ <menu>
107
+ <item cmd="MH or fuzzy match on menu or help">[MH] Redisplay Menu Help</item>
108
+ <item cmd="CH or fuzzy match on chat">[CH] Chat with Isla about user research, empathy, interviews, or discovery</item>
109
+ <item cmd="EM or fuzzy match on empathy-map" exec="{project-root}/_bmad/bme/_vortex/workflows/empathy-map/workflow.md">[EM] Create Empathy Map: Structured empathy mapping (Says/Thinks/Does/Feels) in 6 steps</item>
110
+ <item cmd="UI or fuzzy match on user-interview" exec="{project-root}/_bmad/bme/_vortex/workflows/user-interview/workflow.md">[UI] Design User Interview: Create interview guide and capture findings in 6 steps</item>
111
+ <item cmd="UD or fuzzy match on user-discovery" exec="{project-root}/_bmad/bme/_vortex/workflows/user-discovery/workflow.md">[UD] Run User Discovery: Plan and synthesize discovery research in 6 steps</item>
112
+ <item cmd="VE or fuzzy match on validate" exec="{project-root}/_bmad/bme/_vortex/workflows/empathy-map/validate.md">[VE] Validate Discovery: Review research findings for depth and completeness</item>
113
+ <item cmd="PM or fuzzy match on party-mode" exec="{project-root}/_bmad/core/workflows/party-mode/workflow.md">[PM] Start Party Mode</item>
114
+ <item cmd="DA or fuzzy match on exit, leave, goodbye or dismiss agent">[DA] Dismiss Agent</item>
115
+ </menu>
116
+ </agent>
117
+ ```