fix: route IDE workflow templates through workflow runner

This commit is contained in:
Dicky Moore 2026-02-08 22:37:04 +00:00
parent 0a3f48f13f
commit 3aaa37125b
11 changed files with 52 additions and 43 deletions

View File

@ -3,6 +3,7 @@ name: '{{name}}'
description: '{{description}}'
---
Read the entire workflow file at: {project-root}/_bmad/{{workflow_path}}
Follow all instructions in the workflow file exactly as written.
1. Load the workflow runner at {project-root}/_bmad/core/tasks/workflow.md
2. Read the runner fully
3. Run it with workflow-config: {{workflow_path}}
4. Follow all runner instructions exactly

View File

@ -4,4 +4,8 @@ description: '{{description}}'
disable-model-invocation: true
---
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{project-root}/{{bmadFolderName}}/{{path}}, READ its entire contents and follow its directions exactly!
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS:
1. LOAD the FULL @{project-root}/{{bmadFolderName}}/core/tasks/workflow.md
2. READ its entire contents
3. Execute workflow runner with parameter: workflow-config: {{bmadFolderName}}/{{path}}
4. FOLLOW the runner instructions exactly as written

View File

@ -2,15 +2,11 @@ description = """{{description}}"""
prompt = """
Execute the BMAD '{{name}}' workflow.
CRITICAL: This is a structured YAML workflow. Follow these steps precisely:
CRITICAL: Use the workflow runner task, not direct workflow-file execution.
1. LOAD the workflow definition from {project-root}/{{bmadFolderName}}/{{workflow_path}}
2. PARSE the YAML structure to understand:
- Workflow phases and steps
- Required inputs and outputs
- Dependencies between steps
3. EXECUTE each step in order
4. VALIDATE outputs before proceeding to next step
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
WORKFLOW INSTRUCTIONS:
1. LOAD the workflow runner from {project-root}/{{bmadFolderName}}/core/tasks/workflow.md
2. READ its entire contents
3. PASS this parameter to the runner: workflow-config: {{workflow_path}}
4. FOLLOW every runner step exactly as specified
"""

View File

@ -2,13 +2,11 @@ description = """{{description}}"""
prompt = """
Execute the BMAD '{{name}}' workflow.
CRITICAL: You must load and follow the workflow definition exactly.
CRITICAL: Use the workflow runner task, not direct workflow-file execution.
WORKFLOW INSTRUCTIONS:
1. LOAD the workflow file from {project-root}/{{bmadFolderName}}/{{workflow_path}}
1. LOAD the workflow runner from {project-root}/{{bmadFolderName}}/core/tasks/workflow.md
2. READ its entire contents
3. FOLLOW every step precisely as specified
4. DO NOT skip or modify any steps
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
3. PASS this parameter to the runner: workflow-config: {{workflow_path}}
4. FOLLOW every runner step exactly as specified
"""

View File

@ -4,4 +4,11 @@ inclusion: manual
# {{name}}
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL #[[file:{{bmadFolderName}}/{{path}}]], READ its entire contents and follow its directions exactly!
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS:
1. Always LOAD the FULL #[[file:{{bmadFolderName}}/core/tasks/workflow.md]]
2. READ its entire contents
3. Execute workflow runner with YAML parameter:
```yaml
workflow-config: {{bmadFolderName}}/{{path}}
```
4. FOLLOW the runner instructions exactly as written

View File

@ -4,12 +4,10 @@ description: '{{description}}'
Execute the BMAD '{{name}}' workflow.
CRITICAL: You must load and follow the workflow definition exactly.
CRITICAL: Use the workflow runner task, not direct workflow-file execution.
WORKFLOW INSTRUCTIONS:
1. LOAD the workflow file from {project-root}/{{bmadFolderName}}/{{path}}
1. LOAD the workflow runner from {project-root}/{{bmadFolderName}}/core/tasks/workflow.md
2. READ its entire contents
3. FOLLOW every step precisely as specified
4. DO NOT skip or modify any steps
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
3. PASS this parameter to the runner: workflow-config: {{bmadFolderName}}/{{path}}
4. FOLLOW every runner step exactly as specified

View File

@ -4,12 +4,10 @@ description: '{{description}}'
Execute the BMAD '{{name}}' workflow.
CRITICAL: You must load and follow the workflow definition exactly.
CRITICAL: Use the workflow runner task, not direct workflow-file execution.
WORKFLOW INSTRUCTIONS:
1. LOAD the workflow file from {project-root}/{{bmadFolderName}}/{{path}}
1. LOAD the workflow runner from {project-root}/{{bmadFolderName}}/core/tasks/workflow.md
2. READ its entire contents
3. FOLLOW every step precisely as specified
4. DO NOT skip or modify any steps
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
3. PASS this parameter to the runner: workflow-config: {{bmadFolderName}}/{{path}}
4. FOLLOW every runner step exactly as specified

View File

@ -4,6 +4,7 @@
---
Read the entire workflow file at: {project-root}/_bmad/{{workflow_path}}
Follow all instructions in the workflow file exactly as written.
1. Load the workflow runner at {project-root}/_bmad/core/tasks/workflow.md
2. Read the runner fully
3. Run it with workflow-config: {{workflow_path}}
4. Follow all runner instructions exactly

View File

@ -4,6 +4,7 @@
## Instructions
Read the entire workflow file at: {project-root}/_bmad/{{workflow_path}}
Follow all instructions in the workflow file exactly as written.
1. Load the workflow runner at {project-root}/_bmad/core/tasks/workflow.md
2. Read the runner fully
3. Run it with workflow-config: {{workflow_path}}
4. Follow all runner instructions exactly

View File

@ -5,6 +5,7 @@ auto_execution_mode: "iterate"
# {{name}}
Read the entire workflow file at {project-root}/_bmad/{{workflow_path}}
Follow all instructions in the workflow file exactly as written.
1. Load the workflow runner at {project-root}/_bmad/core/tasks/workflow.md
2. Read the runner fully
3. Run it with workflow-config: {{workflow_path}}
4. Follow all runner instructions exactly

View File

@ -3,4 +3,8 @@ description: '{{description}}'
disable-model-invocation: true
---
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{{workflow_path}}, READ its entire contents and follow its directions exactly!
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS:
1. LOAD the FULL @{project-root}/_bmad/core/tasks/workflow.md
2. READ its entire contents
3. Execute workflow runner with parameter: workflow-config: {{workflow_path}}
4. FOLLOW the runner instructions exactly as written