Ensure workflow launcher loads core workflow
This commit is contained in:
parent
9d510fc075
commit
a4c394fc78
|
|
@ -120,12 +120,15 @@ class WorkflowCommandGenerator {
|
|||
}
|
||||
}
|
||||
|
||||
const coreWorkflowPath = `${this.bmadFolderName}/core/tasks/workflow.xml`;
|
||||
|
||||
// Replace template variables
|
||||
return template
|
||||
.replaceAll('{{name}}', workflow.name)
|
||||
.replaceAll('{{module}}', workflow.module)
|
||||
.replaceAll('{{description}}', workflow.description)
|
||||
.replaceAll('{{workflow_path}}', workflowPath)
|
||||
.replaceAll('{{core_workflow_path}}', coreWorkflowPath)
|
||||
.replaceAll('{bmad_folder}', this.bmadFolderName)
|
||||
.replaceAll('{{interactive}}', workflow.interactive)
|
||||
.replaceAll('{{author}}', workflow.author || 'BMAD');
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ description: '{{description}}'
|
|||
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||
|
||||
<steps CRITICAL="TRUE">
|
||||
1. Always LOAD the FULL @{bmad_folder}/core/tasks/workflow.xml
|
||||
1. Always LOAD the FULL @{{core_workflow_path}}
|
||||
2. READ its entire contents - this is the CORE OS for EXECUTING the specific workflow-config @{{workflow_path}}
|
||||
3. Pass the yaml path {{workflow_path}} as 'workflow-config' parameter to the workflow.xml instructions
|
||||
4. Follow workflow.xml instructions EXACTLY as written to process and follow the specific workflow config and its instructions
|
||||
|
|
|
|||
Loading…
Reference in New Issue