bmad-enhanced 1.3.1 โ†’ 1.3.2

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 (87) hide show
  1. package/CHANGELOG.md +624 -0
  2. package/UPDATE-GUIDE.md +378 -0
  3. package/_bmad/bme/_vortex/agents/contextualization-expert.md +100 -0
  4. package/_bmad/bme/_vortex/agents/lean-experiments-specialist.md +118 -0
  5. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/empathy-map.template.md +143 -0
  6. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-01-define-user.md +60 -0
  7. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-02-says-thinks.md +67 -0
  8. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-03-does-feels.md +79 -0
  9. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-04-pain-points.md +87 -0
  10. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-05-gains.md +103 -0
  11. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/steps/step-06-synthesize.md +104 -0
  12. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/validate.md +117 -0
  13. package/_bmad/bme/_vortex/workflows/_deprecated/empathy-map/workflow.md +44 -0
  14. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-01-define-requirements.md +85 -0
  15. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-02-user-flows.md +59 -0
  16. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-03-information-architecture.md +68 -0
  17. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-04-wireframe-sketch.md +97 -0
  18. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-05-components.md +128 -0
  19. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/steps/step-06-synthesize.md +83 -0
  20. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/wireframe.template.md +287 -0
  21. package/_bmad/bme/_vortex/workflows/_deprecated/wireframe/workflow.md +44 -0
  22. package/_bmad/bme/_vortex/workflows/contextualize-scope/contextualize-scope.template.md +67 -0
  23. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-01-list-opportunities.md +47 -0
  24. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-02-define-criteria.md +36 -0
  25. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-03-evaluate-opportunities.md +30 -0
  26. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-04-define-boundaries.md +32 -0
  27. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-05-validate-fit.md +28 -0
  28. package/_bmad/bme/_vortex/workflows/contextualize-scope/steps/step-06-synthesize.md +30 -0
  29. package/_bmad/bme/_vortex/workflows/contextualize-scope/validate.md +30 -0
  30. package/_bmad/bme/_vortex/workflows/contextualize-scope/workflow.md +59 -0
  31. package/_bmad/bme/_vortex/workflows/lean-experiment/lean-experiment.template.md +29 -0
  32. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-01.md +8 -0
  33. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-02.md +8 -0
  34. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-03.md +8 -0
  35. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-04.md +8 -0
  36. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-05.md +8 -0
  37. package/_bmad/bme/_vortex/workflows/lean-experiment/steps/step-06.md +8 -0
  38. package/_bmad/bme/_vortex/workflows/lean-experiment/validate.md +30 -0
  39. package/_bmad/bme/_vortex/workflows/lean-experiment/workflow.md +26 -0
  40. package/_bmad/bme/_vortex/workflows/lean-persona/lean-persona.template.md +163 -0
  41. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-01-define-job.md +72 -0
  42. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-02-current-solution.md +83 -0
  43. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-03-problem-contexts.md +90 -0
  44. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-04-forces-anxieties.md +98 -0
  45. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-05-success-criteria.md +103 -0
  46. package/_bmad/bme/_vortex/workflows/lean-persona/steps/step-06-synthesize.md +116 -0
  47. package/_bmad/bme/_vortex/workflows/lean-persona/validate.md +30 -0
  48. package/_bmad/bme/_vortex/workflows/lean-persona/workflow.md +50 -0
  49. package/_bmad/bme/_vortex/workflows/mvp/mvp.template.md +40 -0
  50. package/_bmad/bme/_vortex/workflows/mvp/steps/step-01-riskiest-assumption.md +17 -0
  51. package/_bmad/bme/_vortex/workflows/mvp/steps/step-02-success-criteria.md +13 -0
  52. package/_bmad/bme/_vortex/workflows/mvp/steps/step-03-smallest-test.md +13 -0
  53. package/_bmad/bme/_vortex/workflows/mvp/steps/step-04-scope-features.md +13 -0
  54. package/_bmad/bme/_vortex/workflows/mvp/steps/step-05-build-measure-learn.md +13 -0
  55. package/_bmad/bme/_vortex/workflows/mvp/steps/step-06-synthesize.md +13 -0
  56. package/_bmad/bme/_vortex/workflows/mvp/validate.md +30 -0
  57. package/_bmad/bme/_vortex/workflows/mvp/workflow.md +36 -0
  58. package/_bmad/bme/_vortex/workflows/product-vision/product-vision.template.md +147 -0
  59. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-01-define-problem.md +89 -0
  60. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-02-target-market.md +91 -0
  61. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-03-unique-approach.md +87 -0
  62. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-04-future-state.md +100 -0
  63. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-05-principles.md +92 -0
  64. package/_bmad/bme/_vortex/workflows/product-vision/steps/step-06-synthesize.md +155 -0
  65. package/_bmad/bme/_vortex/workflows/product-vision/validate.md +30 -0
  66. package/_bmad/bme/_vortex/workflows/product-vision/workflow.md +55 -0
  67. package/_bmad/bme/_vortex/workflows/proof-of-concept/proof-of-concept.template.md +25 -0
  68. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-01.md +8 -0
  69. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-02.md +8 -0
  70. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-03.md +8 -0
  71. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-04.md +8 -0
  72. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-05.md +8 -0
  73. package/_bmad/bme/_vortex/workflows/proof-of-concept/steps/step-06.md +8 -0
  74. package/_bmad/bme/_vortex/workflows/proof-of-concept/validate.md +30 -0
  75. package/_bmad/bme/_vortex/workflows/proof-of-concept/workflow.md +26 -0
  76. package/_bmad/bme/_vortex/workflows/proof-of-value/proof-of-value.template.md +29 -0
  77. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-01.md +8 -0
  78. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-02.md +8 -0
  79. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-03.md +8 -0
  80. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-04.md +8 -0
  81. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-05.md +8 -0
  82. package/_bmad/bme/_vortex/workflows/proof-of-value/steps/step-06.md +8 -0
  83. package/_bmad/bme/_vortex/workflows/proof-of-value/validate.md +30 -0
  84. package/_bmad/bme/_vortex/workflows/proof-of-value/workflow.md +26 -0
  85. package/_bmad-output/vortex-artifacts/EMMA-USER-GUIDE.md +450 -0
  86. package/_bmad-output/vortex-artifacts/WADE-USER-GUIDE.md +471 -0
  87. package/package.json +1 -1
@@ -0,0 +1,378 @@
1
+ # BMAD-Enhanced Update Guide
2
+
3
+ This guide explains how to update your BMAD-Enhanced installation from previous versions to v1.3.0.
4
+
5
+ ## Quick Update
6
+
7
+ The easiest way to update:
8
+
9
+ ```bash
10
+ # Update the package
11
+ npm install bmad-enhanced@latest
12
+
13
+ # Preview changes (dry run)
14
+ npx bmad-update --dry-run
15
+
16
+ # Apply the update
17
+ npx bmad-update
18
+ ```
19
+
20
+ Your data will be backed up automatically before any changes.
21
+
22
+ ---
23
+
24
+ ## Update Commands
25
+
26
+ ### `npx bmad-update`
27
+ Main update command - applies migrations and updates your installation.
28
+
29
+ **Flags:**
30
+ - `--dry-run` - Preview changes without applying
31
+ - `--yes` or `-y` - Skip confirmation prompt
32
+ - `--verbose` or `-v` - Show detailed output
33
+
34
+ **Examples:**
35
+ ```bash
36
+ # Preview changes
37
+ npx bmad-update --dry-run
38
+
39
+ # Apply update with confirmation
40
+ npx bmad-update
41
+
42
+ # Apply update without confirmation
43
+ npx bmad-update --yes
44
+
45
+ # Verbose output
46
+ npx bmad-update --verbose
47
+ ```
48
+
49
+ ### `npx bmad-version`
50
+ Show current installed version and migration history.
51
+
52
+ **Example:**
53
+ ```bash
54
+ npx bmad-version
55
+ ```
56
+
57
+ **Output:**
58
+ ```
59
+ BMAD-Enhanced Version Information
60
+
61
+ Installed version: 1.1.0
62
+ Package version: 1.3.0
63
+
64
+ Status: โš  Update available
65
+
66
+ Run: npx bmad-update --dry-run (to preview)
67
+ npx bmad-update (to apply)
68
+
69
+ Migration History:
70
+ 1. 1.0.0 โ†’ 1.1.0 (2/15/2026)
71
+ ```
72
+
73
+ ### `npx bmad-migrate`
74
+ Advanced: Run specific migrations manually.
75
+
76
+ **Warning:** This bypasses safety checks. Use `npx bmad-update` for normal updates.
77
+
78
+ **Examples:**
79
+ ```bash
80
+ # List available migrations
81
+ npx bmad-migrate
82
+
83
+ # Run specific migration
84
+ npx bmad-migrate 1.1.x-to-1.2.0
85
+ ```
86
+
87
+ ---
88
+
89
+ ## Migration Paths
90
+
91
+ ### From v1.1.x to v1.3.0
92
+
93
+ **Breaking Changes:** None
94
+
95
+ **What gets updated:**
96
+ - Version number: 1.1.x โ†’ 1.3.0
97
+ - Agent files (bug fixes/improvements)
98
+ - User guides
99
+ - Config structure
100
+
101
+ **What gets preserved:**
102
+ - All user data in `_bmad-output/`
103
+ - User preferences (name, language settings)
104
+ - Deprecated workflows in `_deprecated/`
105
+
106
+ **Steps:**
107
+ ```bash
108
+ npm install bmad-enhanced@1.3.0
109
+ npx bmad-update
110
+ ```
111
+
112
+ ### From v1.0.x to v1.3.0
113
+
114
+ **โš  Breaking Changes:**
115
+ - Workflow renamed: `empathy-map` โ†’ `lean-persona`
116
+ - Agent roles updated (empathy-mapper โ†’ contextualization-expert)
117
+
118
+ **What gets updated:**
119
+ - empathy-map workflow moved to `_deprecated/`
120
+ - 7 new Vortex Framework workflows installed
121
+ - Config.yaml structure updated
122
+ - Agent files and manifest updated
123
+ - User guides updated
124
+
125
+ **What gets preserved:**
126
+ - All user data in `_bmad-output/`
127
+ - User preferences
128
+ - Old empathy-map workflow (in `_deprecated/` for reference)
129
+
130
+ **Steps:**
131
+ ```bash
132
+ npm install bmad-enhanced@1.3.0
133
+ npx bmad-update --dry-run # Preview changes
134
+ npx bmad-update # Apply update
135
+ ```
136
+
137
+ ---
138
+
139
+ ## Data Safety
140
+
141
+ ### Automatic Backups
142
+
143
+ Every migration creates a backup **before** making changes:
144
+ - Location: `_bmad-output/.backups/backup-{version}-{timestamp}/`
145
+ - Includes: config.yaml, agents/, workflows/, agent-manifest.csv
146
+ - Automatic rollback if migration fails
147
+
148
+ ### What's Never Touched
149
+
150
+ **Sacred user data:**
151
+ - All files in `_bmad-output/` (except documentation guides)
152
+ - User preferences in `_bmad/core/config.yaml`
153
+ - BMAD Method's `_config/manifest.yaml`
154
+ - Custom config settings
155
+
156
+ **Safe to update:**
157
+ - Agent definitions
158
+ - Workflow files
159
+ - Vortex config.yaml (with preference preservation)
160
+ - User guides (documentation)
161
+
162
+ ### Manual Backup (Optional)
163
+
164
+ For extra safety, back up your entire `_bmad/` directory:
165
+
166
+ ```bash
167
+ cp -r _bmad _bmad-backup-$(date +%Y%m%d)
168
+ ```
169
+
170
+ ---
171
+
172
+ ## Troubleshooting
173
+
174
+ ### Update fails with "Migration already in progress"
175
+
176
+ A previous migration may have crashed. Remove the lock file:
177
+
178
+ ```bash
179
+ rm _bmad-output/.migration-lock
180
+ npx bmad-update
181
+ ```
182
+
183
+ ### Update fails and won't rollback
184
+
185
+ Restore from backup manually:
186
+
187
+ ```bash
188
+ # Find your backup
189
+ ls -la _bmad-output/.backups/
190
+
191
+ # Restore (replace {backup-dir} with actual directory name)
192
+ cp -r _bmad-output/.backups/{backup-dir}/config.yaml _bmad/bme/_vortex/
193
+ cp -r _bmad-output/.backups/{backup-dir}/agents _bmad/bme/_vortex/
194
+ cp -r _bmad-output/.backups/{backup-dir}/workflows _bmad/bme/_vortex/
195
+ ```
196
+
197
+ ### "Installation appears corrupted"
198
+
199
+ Reinstall from scratch:
200
+
201
+ ```bash
202
+ npx bmad-install-agents
203
+ ```
204
+
205
+ This will overwrite framework files but preserve your user data.
206
+
207
+ ### Lost user data after update
208
+
209
+ User data should never be lost. Check:
210
+
211
+ 1. **Original location:** `_bmad-output/` (user data preserved here)
212
+ 2. **Backup location:** `_bmad-output/.backups/` (check most recent backup)
213
+
214
+ If data is missing, restore from the most recent backup.
215
+
216
+ ### Check migration logs
217
+
218
+ Migration logs are stored in `_bmad-output/.logs/`:
219
+
220
+ ```bash
221
+ # List logs
222
+ ls -la _bmad-output/.logs/
223
+
224
+ # View most recent log
225
+ cat _bmad-output/.logs/migration-*.log | tail -100
226
+ ```
227
+
228
+ ---
229
+
230
+ ## Manual Migration (Advanced)
231
+
232
+ If automatic migration isn't working, you can migrate manually.
233
+
234
+ ### v1.1.x โ†’ v1.3.0 Manual Steps
235
+
236
+ 1. **Backup:**
237
+ ```bash
238
+ cp -r _bmad _bmad-backup
239
+ ```
240
+
241
+ 2. **Update package:**
242
+ ```bash
243
+ npm install bmad-enhanced@1.3.0
244
+ ```
245
+
246
+ 3. **Update version in config:**
247
+ Edit `_bmad/bme/_vortex/config.yaml`:
248
+ ```yaml
249
+ version: 1.3.0
250
+ ```
251
+
252
+ 4. **Verify:**
253
+ ```bash
254
+ npx bmad-version
255
+ ```
256
+
257
+ ### v1.0.x โ†’ v1.3.0 Manual Steps
258
+
259
+ 1. **Backup:**
260
+ ```bash
261
+ cp -r _bmad _bmad-backup
262
+ ```
263
+
264
+ 2. **Update package:**
265
+ ```bash
266
+ npm install bmad-enhanced@1.3.0
267
+ ```
268
+
269
+ 3. **Move deprecated workflows:**
270
+ ```bash
271
+ mkdir -p _bmad/bme/_vortex/workflows/_deprecated
272
+ mv _bmad/bme/_vortex/workflows/empathy-map _bmad/bme/_vortex/workflows/_deprecated/
273
+ ```
274
+
275
+ 4. **Reinstall agents:**
276
+ ```bash
277
+ npx bmad-install-agents
278
+ ```
279
+
280
+ 5. **Verify:**
281
+ ```bash
282
+ npx bmad-version
283
+ ```
284
+
285
+ ---
286
+
287
+ ## FAQs
288
+
289
+ ### Will my user data be lost?
290
+
291
+ No. All user data in `_bmad-output/` is preserved during updates. The update system never touches user-generated files.
292
+
293
+ ### Can I rollback if something goes wrong?
294
+
295
+ Yes. Every migration creates a backup automatically. If migration fails, it rolls back automatically. You can also manually restore from `_bmad-output/.backups/`.
296
+
297
+ ### How do I know if update is needed?
298
+
299
+ After `npm install bmad-enhanced@latest`, run:
300
+
301
+ ```bash
302
+ npx bmad-version
303
+ ```
304
+
305
+ It will show if an update is available.
306
+
307
+ ### Can I skip versions?
308
+
309
+ Yes. The update system handles version skipping automatically. For example, v1.0.5 โ†’ v1.3.0 works fine.
310
+
311
+ ### What if I customized workflow files?
312
+
313
+ The update system detects customized files and asks what to do:
314
+ - Keep your customizations (backup new templates)
315
+ - Use new version (backup your changes)
316
+ - Abort migration
317
+
318
+ ### How often should I update?
319
+
320
+ Update when:
321
+ - New features you need are released
322
+ - Security or bug fixes are available
323
+ - You see "Update available" in `npx bmad-version`
324
+
325
+ No need to update if current version works for you.
326
+
327
+ ### Where are backups stored?
328
+
329
+ `_bmad-output/.backups/backup-{version}-{timestamp}/`
330
+
331
+ The system keeps the 5 most recent backups automatically.
332
+
333
+ ---
334
+
335
+ ## Getting Help
336
+
337
+ If you encounter issues:
338
+
339
+ 1. **Check migration logs:** `_bmad-output/.logs/migration-*.log`
340
+ 2. **Restore from backup:** `_bmad-output/.backups/`
341
+ 3. **Report issue:** https://github.com/amalik/BMAD-Enhanced/issues
342
+
343
+ Include:
344
+ - Your version (`npx bmad-version`)
345
+ - Migration log file
346
+ - Error message
347
+
348
+ ---
349
+
350
+ ## Version History
351
+
352
+ ### v1.3.0 (February 2026)
353
+ - **NEW:** Automatic update/migration system
354
+ - **NEW:** CLI commands: `bmad-update`, `bmad-version`, `bmad-migrate`
355
+ - **NEW:** Automatic backups before migrations
356
+ - **NEW:** Migration history tracking
357
+ - Improved postinstall experience with upgrade detection
358
+
359
+ ### v1.2.0 (February 2026)
360
+ - Complete Vortex Framework implementation
361
+ - 7 workflows: lean-persona, product-vision, contextualize-scope, mvp, lean-experiment, proof-of-concept, proof-of-value
362
+ - Emma: Contextualization Expert
363
+ - Wade: Lean Experiments Specialist
364
+ - Deprecated: empathy-map, wireframe workflows
365
+
366
+ ### v1.1.0 (January 2026)
367
+ - Framework repositioning
368
+ - User guides updated
369
+
370
+ ### v1.0.0 (Initial Release)
371
+ - Emma: Empathy Mapping Specialist
372
+ - Wade: Wireframe Designer
373
+ - Basic workflows
374
+
375
+ ---
376
+
377
+ **Last updated:** February 17, 2026
378
+ **Version:** 1.3.0
@@ -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,118 @@
1
+ ---
2
+ name: "lean experiments specialist"
3
+ description: "Lean Experiments Specialist"
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="lean-experiments-specialist.agent.yaml" name="Wade" title="Lean Experiments Specialist" 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 Wade 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 Wade, 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 design an MVP to validate our product idea`</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 lean experiment workflow
53
+
54
+ Expected file: {path}
55
+
56
+ This workflow is required for Wade to run experiments.
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 Wade 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>Build the smallest thing that validates learning - not the best thing</r>
95
+ <r>Expose to real users early - internal feedback isn't validation</r>
96
+ <r>Treat everything as an experiment - hypothesis โ†’ test โ†’ learn</r>
97
+ <r>Outcomes over outputs - focus on what we learn, not what we build</r>
98
+ </rules>
99
+ </activation>
100
+ <persona>
101
+ <role>Validated Learning Expert + First Externalization Designer</role>
102
+ <identity>Helps teams create minimal, fast, inexpensive experiments to validate product direction. Expert in Lean Startup methodology, MVP design, and Build-Measure-Learn cycles. Focuses on outcomes (user-centric or business-centric) through real user exposure. Treats every build as an experiment for validated learning. Specializes in the "Externalize" stream - creating first functional iterations exposed to users.</identity>
103
+ <communication_style>Practical and hypothesis-driven. Constantly asks "What's the riskiest assumption?" and "What's the smallest experiment to test it?" Speaks in terms of MVPs, pivot-or-persevere decisions, and validated learning. Celebrates fast failures as much as successes. Says things like "Let's test that hypothesis with real users" and "What's the minimum we can build to learn?"</communication_style>
104
+ <principles>- Build the smallest thing that validates learning - not the best thing - Expose to real users early - internal feedback isn't validation - Treat everything as an experiment - hypothesis โ†’ test โ†’ learn - Outcomes over outputs - focus on what we learn, not what we build - Fast and cheap beats slow and perfect - speed enables iteration - Validated learning drives decisions - data over opinions - MVP โ‰  Minimum Viable Quality - it must be functional enough to test hypothesis</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 Wade about lean experiments, MVPs, validated learning, or Lean Startup</item>
109
+ <item cmd="ME or fuzzy match on mvp" exec="{project-root}/_bmad/bme/_vortex/workflows/mvp/workflow.md">[ME] Design MVP: Create Minimum Viable Product specification in 6 steps</item>
110
+ <item cmd="LE or fuzzy match on lean-experiment" exec="{project-root}/_bmad/bme/_vortex/workflows/lean-experiment/workflow.md">[LE] Run Lean Experiment: Execute Build-Measure-Learn cycle in 6 steps</item>
111
+ <item cmd="PC or fuzzy match on proof-of-concept" exec="{project-root}/_bmad/bme/_vortex/workflows/proof-of-concept/workflow.md">[PC] Create Proof of Concept: Validate technical feasibility in 6 steps</item>
112
+ <item cmd="PV or fuzzy match on proof-of-value" exec="{project-root}/_bmad/bme/_vortex/workflows/proof-of-value/workflow.md">[PV] Create Proof of Value: Validate business value in 6 steps</item>
113
+ <item cmd="VE or fuzzy match on validate" exec="{project-root}/_bmad/bme/_vortex/workflows/mvp/validate.md">[VE] Validate Experiment: Review experiment design for rigor</item>
114
+ <item cmd="PM or fuzzy match on party-mode" exec="{project-root}/_bmad/core/workflows/party-mode/workflow.md">[PM] Start Party Mode</item>
115
+ <item cmd="DA or fuzzy match on exit, leave, goodbye or dismiss agent">[DA] Dismiss Agent</item>
116
+ </menu>
117
+ </agent>
118
+ ```