From 44850e64087ab4bc87a56d626e20cd9610004ed1 Mon Sep 17 00:00:00 2001 From: Alex Verkhovsky Date: Sat, 14 Mar 2026 06:07:17 -0600 Subject: [PATCH] fix: remove workflow_path indirection, use direct relative paths Replace the custom workflow_path variable with direct relative paths (../workflow.md, ../templates/epics-template.md) in all step files. Also remove duplicate epicsTemplate entry in step-01. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../steps/step-01-validate-prerequisites.md | 10 ++-------- .../steps/step-02-design-epics.md | 9 ++------- .../steps/step-03-create-stories.md | 9 ++------- .../steps/step-04-final-validation.md | 9 ++------- 4 files changed, 8 insertions(+), 29 deletions(-) diff --git a/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md b/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md index 189d84c0f..2ebd07562 100644 --- a/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +++ b/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md @@ -2,22 +2,16 @@ name: 'step-01-validate-prerequisites' description: 'Validate required documents exist and extract all requirements for epic and story creation' -# Path Definitions -workflow_path: '.' - # File References thisStepFile: './step-01-validate-prerequisites.md' nextStepFile: './step-02-design-epics.md' -workflowFile: '{workflow_path}/workflow.md' +workflowFile: '../workflow.md' outputFile: '{planning_artifacts}/epics.md' -epicsTemplate: '{workflow_path}/templates/epics-template.md' +epicsTemplate: '../templates/epics-template.md' # Task References advancedElicitationTask: 'skill:bmad-advanced-elicitation' partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md' - -# Template References -epicsTemplate: '{workflow_path}/templates/epics-template.md' --- # Step 1: Validate Prerequisites and Extract Requirements diff --git a/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-02-design-epics.md b/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-02-design-epics.md index fb0ea01e9..032232fa2 100644 --- a/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-02-design-epics.md +++ b/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-02-design-epics.md @@ -2,21 +2,16 @@ name: 'step-02-design-epics' description: 'Design and approve the epics_list that will organize all requirements into user-value-focused epics' -# Path Definitions -workflow_path: '.' - # File References thisStepFile: './step-02-design-epics.md' nextStepFile: './step-03-create-stories.md' -workflowFile: '{workflow_path}/workflow.md' +workflowFile: '../workflow.md' outputFile: '{planning_artifacts}/epics.md' +epicsTemplate: '../templates/epics-template.md' # Task References advancedElicitationTask: 'skill:bmad-advanced-elicitation' partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md' - -# Template References -epicsTemplate: '{workflow_path}/templates/epics-template.md' --- # Step 2: Design Epic List diff --git a/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-03-create-stories.md b/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-03-create-stories.md index 7a3f5801e..6ac34f4ca 100644 --- a/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-03-create-stories.md +++ b/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-03-create-stories.md @@ -2,21 +2,16 @@ name: 'step-03-create-stories' description: 'Generate all epics with their stories following the template structure' -# Path Definitions -workflow_path: '.' - # File References thisStepFile: './step-03-create-stories.md' nextStepFile: './step-04-final-validation.md' -workflowFile: '{workflow_path}/workflow.md' +workflowFile: '../workflow.md' outputFile: '{planning_artifacts}/epics.md' +epicsTemplate: '../templates/epics-template.md' # Task References advancedElicitationTask: 'skill:bmad-advanced-elicitation' partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md' - -# Template References -epicsTemplate: '{workflow_path}/templates/epics-template.md' --- # Step 3: Generate Epics and Stories diff --git a/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md b/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md index aa123a9ca..e0b2e3699 100644 --- a/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md +++ b/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md @@ -2,20 +2,15 @@ name: 'step-04-final-validation' description: 'Validate complete coverage of all requirements and ensure implementation readiness' -# Path Definitions -workflow_path: '.' - # File References thisStepFile: './step-04-final-validation.md' -workflowFile: '{workflow_path}/workflow.md' +workflowFile: '../workflow.md' outputFile: '{planning_artifacts}/epics.md' +epicsTemplate: '../templates/epics-template.md' # Task References advancedElicitationTask: 'skill:bmad-advanced-elicitation' partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md' - -# Template References -epicsTemplate: '{workflow_path}/templates/epics-template.md' --- # Step 4: Final Validation