fix: align workflow path guidance with installed runtime

This commit is contained in:
Dicky Moore 2026-02-08 13:07:55 +00:00
parent d7a55394c5
commit 00a2334969
3 changed files with 6 additions and 7 deletions

View File

@ -56,7 +56,7 @@ areas:
- "src/**/workflows/**"
rules:
- id: "workflow_entry_point_required"
description: "Every workflow folder must have workflow.yaml, workflow.md, or workflow.xml as entry point"
description: "Every workflow folder must have workflow.md (or workflow-*.md variant) as entry point"
severity: "high"
- id: "sharded_workflow_steps_folder"
@ -64,7 +64,7 @@ areas:
severity: "high"
- id: "standard_workflow_instructions"
description: "Standard workflows using workflow.yaml must include instructions.md for execution guidance"
description: "Standard workflows using workflow.md should include instructions.md for execution guidance"
severity: "medium"
- id: "workflow_step_limit"
@ -75,11 +75,10 @@ areas:
# WORKFLOW ENTRY FILE RULES
# ============================================
workflow_definitions:
description: "Workflow entry files (workflow.yaml, workflow.md, workflow.xml)"
description: "Workflow entry files (workflow.md variants)"
globs:
- "src/**/workflows/**/workflow.yaml"
- "src/**/workflows/**/workflow.md"
- "src/**/workflows/**/workflow.xml"
- "src/**/workflows/**/workflow-*.md"
rules:
- id: "workflow_name_required"
description: "Workflow entry files must define 'name' field in frontmatter or root element"

View File

@ -30,7 +30,7 @@ This step will generate content and present choices:
## PROTOCOL INTEGRATION:
- When 'A' selected: Read fully and follow: src/core/workflows/advanced-elicitation/workflow.md
- When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md
- When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
- PROTOCOLS always return to this step's A/P/C menu
- User accepts/rejects protocol changes before proceeding

View File

@ -310,7 +310,7 @@
</step>
<step n="6" goal="Update sprint status and finalize">
<invoke-task>Validate against checklist at {installed_path}/checklist.md using src/core/tasks/validate-workflow.md</invoke-task>
<invoke-task>Validate against checklist at {installed_path}/checklist.md using {project-root}/_bmad/core/tasks/validate-workflow.md</invoke-task>
<action>Save story document unconditionally</action>
<!-- Update sprint status -->