The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml
You MUST have already loaded and processed: {installed_path}/workflow.yaml
This validates EVERY epic in the project - comprehensive health check
Load {{sprint_status_file}}
HALT
Parse development_status section
Extract all epic keys (entries starting with "epic-")
Filter out retrospectives (ending with "-retrospective")
Store as {{epic_list}}
Run validate-epic-status for EACH epic
Initialize counters:
- total_stories_scanned = 0
- total_valid_stories = 0
- total_invalid_stories = 0
- total_updates_applied = 0
- epics_validated = []
Set {{current_epic}} = current loop item
Execute validation script:
python3 scripts/lib/sprint-status-updater.py --epic {{current_epic}} --mode validate
Parse script output:
- Story count
- Valid/invalid/missing counts
- Inferred statuses
- Updates needed
Execute fix script:
python3 scripts/lib/sprint-status-updater.py --epic {{current_epic}} --mode fix
Count updates applied
Add to total_updates_applied
Store validation results for {{current_epic}}
Increment totals
Write comprehensive report to {{default_output_file}}