Merge 054b0a5c59 into dd8c54cc9f
This commit is contained in:
commit
c3c923eff4
|
|
@ -8,7 +8,7 @@ validationStatus: COMPLETE - PRODUCTION READY
|
|||
|
||||
# PRD Workflow Validation Report
|
||||
|
||||
**Workflow Being Validated:** /Users/brianmadison/dev/BMAD-METHOD/src/bmm/workflows/2-plan-workflows/create-prd
|
||||
**Workflow Being Validated:** src/bmm/workflows/2-plan-workflows/create-prd
|
||||
**Validation Date:** 2026-01-08
|
||||
**Validator:** BMAD Workflow Validation System
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<step n="3">Remember: user's name is {user_name}</step>
|
||||
{AGENT_SPECIFIC_STEPS}
|
||||
<step n="{MENU_STEP}">Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section</step>
|
||||
<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 where should I start with an idea I have that does XYZ`</example></step>
|
||||
<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 where should I start with an idea I have that does XYZ`</example></step>
|
||||
<step n="{HALT_STEP}">STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match</step>
|
||||
<step n="{INPUT_STEP}">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>
|
||||
<step n="{EXECUTE_STEP}">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>
|
||||
|
|
@ -121,9 +121,10 @@ class ActivationBuilder {
|
|||
|
||||
// Calculate final step numbers
|
||||
const menuStep = currentStepNum;
|
||||
const haltStep = currentStepNum + 1;
|
||||
const inputStep = currentStepNum + 2;
|
||||
const executeStep = currentStepNum + 3;
|
||||
const helpStep = currentStepNum + 1;
|
||||
const haltStep = currentStepNum + 2;
|
||||
const inputStep = currentStepNum + 3;
|
||||
const executeStep = currentStepNum + 4;
|
||||
|
||||
// Replace placeholders
|
||||
const processed = stepsTemplate
|
||||
|
|
@ -131,6 +132,7 @@ class ActivationBuilder {
|
|||
.replace('{{module}}', metadata.module || 'core') // Fixed to use {{module}}
|
||||
.replace('{AGENT_SPECIFIC_STEPS}', agentStepsXml)
|
||||
.replace('{MENU_STEP}', menuStep.toString())
|
||||
.replace('{HELP_STEP}', helpStep.toString())
|
||||
.replace('{HALT_STEP}', haltStep.toString())
|
||||
.replace('{INPUT_STEP}', inputStep.toString())
|
||||
.replace('{EXECUTE_STEP}', executeStep.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue