From f64d296d0bcc07befe5e31009906a8109e33973f Mon Sep 17 00:00:00 2001 From: Michael Pursifull Date: Sun, 8 Feb 2026 17:05:03 -0600 Subject: [PATCH] fix: correct relative path depth for module data and template references All module workflow steps referenced ../../data/ and ../../templates/ but the actual files are at ../data/ and ../templates/ (one level closer). Also corrects agent-spec-template.md references from templates/ to data/ where it actually lives. Fixes #9, #10, #11, #12, #13, #14 Found by file reference validator (PR #8) --- src/workflows/module/steps-b/step-13-review.md | 2 +- src/workflows/module/steps-b/step-14-finalize.md | 2 +- src/workflows/module/steps-c/step-01-load-brief.md | 8 ++++---- src/workflows/module/steps-c/step-02-structure.md | 2 +- src/workflows/module/steps-c/step-03-config.md | 2 +- src/workflows/module/steps-c/step-04-agents.md | 4 ++-- src/workflows/module/steps-c/step-05-workflows.md | 2 +- src/workflows/module/steps-e/step-01-load-target.md | 2 +- src/workflows/module/steps-v/step-02-file-structure.md | 2 +- src/workflows/module/steps-v/step-03-module-yaml.md | 2 +- src/workflows/module/steps-v/step-04-agent-specs.md | 4 ++-- src/workflows/module/steps-v/step-05-workflow-specs.md | 2 +- 12 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/workflows/module/steps-b/step-13-review.md b/src/workflows/module/steps-b/step-13-review.md index e28ceb0..d0c8fee 100644 --- a/src/workflows/module/steps-b/step-13-review.md +++ b/src/workflows/module/steps-b/step-13-review.md @@ -3,7 +3,7 @@ name: 'step-13-review' description: 'Read through the brief together, "Does this excite you?"' nextStepFile: './step-14-finalize.md' -briefTemplateFile: '../../templates/brief-template.md' +briefTemplateFile: '../templates/brief-template.md' --- # Step 13: Review diff --git a/src/workflows/module/steps-b/step-14-finalize.md b/src/workflows/module/steps-b/step-14-finalize.md index 1e7fc4c..594915f 100644 --- a/src/workflows/module/steps-b/step-14-finalize.md +++ b/src/workflows/module/steps-b/step-14-finalize.md @@ -2,7 +2,7 @@ name: 'step-14-finalize' description: 'Final polish, output the brief document' -briefTemplateFile: '../../templates/brief-template.md' +briefTemplateFile: '../templates/brief-template.md' bmbCreationsOutputFolder: '{bmb_creations_output_folder}' --- diff --git a/src/workflows/module/steps-c/step-01-load-brief.md b/src/workflows/module/steps-c/step-01-load-brief.md index d2cf4c3..dac7592 100644 --- a/src/workflows/module/steps-c/step-01-load-brief.md +++ b/src/workflows/module/steps-c/step-01-load-brief.md @@ -4,10 +4,10 @@ description: 'Load brief or user write-up, validate completeness' nextStepFile: './step-02-structure.md' continueFile: './step-01b-continue.md' -agentSpecTemplate: '../../templates/agent-spec-template.md' -workflowSpecTemplate: '../../templates/workflow-spec-template.md' -moduleStandardsFile: '../../data/module-standards.md' -moduleYamlConventionsFile: '../../data/module-yaml-conventions.md' +agentSpecTemplate: '../data/agent-spec-template.md' +workflowSpecTemplate: '../templates/workflow-spec-template.md' +moduleStandardsFile: '../data/module-standards.md' +moduleYamlConventionsFile: '../data/module-yaml-conventions.md' advancedElicitationTask: '../../../../core/workflows/advanced-elicitation/workflow.xml' partyModeWorkflow: '../../../../core/workflows/party-mode/workflow.md' --- diff --git a/src/workflows/module/steps-c/step-02-structure.md b/src/workflows/module/steps-c/step-02-structure.md index 4cc67f3..e9d1611 100644 --- a/src/workflows/module/steps-c/step-02-structure.md +++ b/src/workflows/module/steps-c/step-02-structure.md @@ -3,7 +3,7 @@ name: 'step-02-structure' description: 'Create directory structure based on module type' nextStepFile: './step-03-config.md' -moduleStandardsFile: '../../data/module-standards.md' +moduleStandardsFile: '../data/module-standards.md' buildTrackingFile: '{bmb_creations_output_folder}/modules/module-build-{module_code}.md' --- diff --git a/src/workflows/module/steps-c/step-03-config.md b/src/workflows/module/steps-c/step-03-config.md index e23a903..35b0bec 100644 --- a/src/workflows/module/steps-c/step-03-config.md +++ b/src/workflows/module/steps-c/step-03-config.md @@ -3,7 +3,7 @@ name: 'step-03-config' description: 'Generate module.yaml with install questions' nextStepFile: './step-04-agents.md' -moduleYamlConventionsFile: '../../data/module-yaml-conventions.md' +moduleYamlConventionsFile: '../data/module-yaml-conventions.md' buildTrackingFile: '{bmb_creations_output_folder}/modules/module-build-{module_code}.md' targetLocation: '{build_tracking_targetLocation}' --- diff --git a/src/workflows/module/steps-c/step-04-agents.md b/src/workflows/module/steps-c/step-04-agents.md index b6fa5a4..14a762e 100644 --- a/src/workflows/module/steps-c/step-04-agents.md +++ b/src/workflows/module/steps-c/step-04-agents.md @@ -3,8 +3,8 @@ name: 'step-04-agents' description: 'Create agent placeholder/spec files' nextStepFile: './step-05-workflows.md' -agentSpecTemplate: '../../templates/agent-spec-template.md' -agentArchitectureFile: '../../data/agent-architecture.md' +agentSpecTemplate: '../data/agent-spec-template.md' +agentArchitectureFile: '../data/agent-architecture.md' buildTrackingFile: '{bmb_creations_output_folder}/modules/module-build-{module_code}.md' targetLocation: '{build_tracking_targetLocation}' --- diff --git a/src/workflows/module/steps-c/step-05-workflows.md b/src/workflows/module/steps-c/step-05-workflows.md index 3a98dc7..60482b6 100644 --- a/src/workflows/module/steps-c/step-05-workflows.md +++ b/src/workflows/module/steps-c/step-05-workflows.md @@ -3,7 +3,7 @@ name: 'step-05-workflows' description: 'Create workflow placeholder/spec files' nextStepFile: './step-06-docs.md' -workflowSpecTemplate: '../../templates/workflow-spec-template.md' +workflowSpecTemplate: '../templates/workflow-spec-template.md' buildTrackingFile: '{bmad_creations_output_folder}/modules/module-build-{module_code}.md' targetLocation: '{build_tracking_targetLocation}' --- diff --git a/src/workflows/module/steps-e/step-01-load-target.md b/src/workflows/module/steps-e/step-01-load-target.md index 40ee3a5..023864d 100644 --- a/src/workflows/module/steps-e/step-01-load-target.md +++ b/src/workflows/module/steps-e/step-01-load-target.md @@ -3,7 +3,7 @@ name: 'step-01-load-target' description: 'Load target for editing' nextStepFile: './step-02-select-edit.md' -moduleStandardsFile: '../../data/module-standards.md' +moduleStandardsFile: '../data/module-standards.md' --- # Step 1: Load Target (Edit Mode) diff --git a/src/workflows/module/steps-v/step-02-file-structure.md b/src/workflows/module/steps-v/step-02-file-structure.md index e5911cb..966f3ce 100644 --- a/src/workflows/module/steps-v/step-02-file-structure.md +++ b/src/workflows/module/steps-v/step-02-file-structure.md @@ -3,7 +3,7 @@ name: 'step-02-file-structure' description: 'Validate file structure compliance' nextStepFile: './step-03-module-yaml.md' -moduleStandardsFile: '../../data/module-standards.md' +moduleStandardsFile: '../data/module-standards.md' validationReportOutput: '{validation_report_output}' --- diff --git a/src/workflows/module/steps-v/step-03-module-yaml.md b/src/workflows/module/steps-v/step-03-module-yaml.md index ba6a13c..48f73dd 100644 --- a/src/workflows/module/steps-v/step-03-module-yaml.md +++ b/src/workflows/module/steps-v/step-03-module-yaml.md @@ -3,7 +3,7 @@ name: 'step-03-module-yaml' description: 'Validate module.yaml against conventions' nextStepFile: './step-04-agent-specs.md' -moduleYamlConventionsFile: '../../data/module-yaml-conventions.md' +moduleYamlConventionsFile: '../data/module-yaml-conventions.md' validationReportOutput: '{validation_report_output}' targetPath: '{validation_target_path}' --- diff --git a/src/workflows/module/steps-v/step-04-agent-specs.md b/src/workflows/module/steps-v/step-04-agent-specs.md index 3a2d931..8420397 100644 --- a/src/workflows/module/steps-v/step-04-agent-specs.md +++ b/src/workflows/module/steps-v/step-04-agent-specs.md @@ -3,8 +3,8 @@ name: 'step-04-agent-specs' description: 'Validate agent specifications and built agents' nextStepFile: './step-05-workflow-specs.md' -agentSpecTemplate: '../../templates/agent-spec-template.md' -agentArchitectureFile: '../../data/agent-architecture.md' +agentSpecTemplate: '../data/agent-spec-template.md' +agentArchitectureFile: '../data/agent-architecture.md' agentValidationWorkflow: '{project-root}/_bmad/bmb/workflows/agent/steps-v/step-01-validate.md' validationReportOutput: '{validation_report_output}' targetPath: '{validation_target_path}' diff --git a/src/workflows/module/steps-v/step-05-workflow-specs.md b/src/workflows/module/steps-v/step-05-workflow-specs.md index 24490bd..10ec49a 100644 --- a/src/workflows/module/steps-v/step-05-workflow-specs.md +++ b/src/workflows/module/steps-v/step-05-workflow-specs.md @@ -3,7 +3,7 @@ name: 'step-05-workflow-specs' description: 'Validate workflow specifications and built workflows' nextStepFile: './step-06-documentation.md' -workflowSpecTemplate: '../../templates/workflow-spec-template.md' +workflowSpecTemplate: '../templates/workflow-spec-template.md' workflowValidationWorkflow: '{project-root}/_bmad/bmb/workflows/workflow/steps-v/step-01-validate.md' validationReportOutput: '{validation_report_output}' targetPath: '{validation_target_path}'