Ensure workflow launcher loads core workflow
This commit is contained in:
parent
c79d081128
commit
3a67661913
|
|
@ -120,12 +120,15 @@ class WorkflowCommandGenerator {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const coreWorkflowPath = `${this.bmadFolderName}/core/tasks/workflow.xml`;
|
||||||
|
|
||||||
// Replace template variables
|
// Replace template variables
|
||||||
return template
|
return template
|
||||||
.replaceAll('{{name}}', workflow.name)
|
.replaceAll('{{name}}', workflow.name)
|
||||||
.replaceAll('{{module}}', workflow.module)
|
.replaceAll('{{module}}', workflow.module)
|
||||||
.replaceAll('{{description}}', workflow.description)
|
.replaceAll('{{description}}', workflow.description)
|
||||||
.replaceAll('{{workflow_path}}', workflowPath)
|
.replaceAll('{{workflow_path}}', workflowPath)
|
||||||
|
.replaceAll('{{core_workflow_path}}', coreWorkflowPath)
|
||||||
.replaceAll('{bmad_folder}', this.bmadFolderName)
|
.replaceAll('{bmad_folder}', this.bmadFolderName)
|
||||||
.replaceAll('{*bmad_folder*}', '{bmad_folder}')
|
.replaceAll('{*bmad_folder*}', '{bmad_folder}')
|
||||||
.replaceAll('{{interactive}}', workflow.interactive)
|
.replaceAll('{{interactive}}', workflow.interactive)
|
||||||
|
|
|
||||||
|
|
@ -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:
|
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||||
|
|
||||||
<steps CRITICAL="TRUE">
|
<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}}
|
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
|
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
|
4. Follow workflow.xml instructions EXACTLY as written to process and follow the specific workflow config and its instructions
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue