workflow builder understand existing_workflows tag for web bundles, and cleanup comtinues

This commit is contained in:
Brian Madison
2025-10-16 07:24:38 -05:00
parent 73ba7afa90
commit a28a350e14
22 changed files with 73 additions and 28 deletions

View File

@@ -146,7 +146,12 @@ If creating new web bundle:
- Any included files
5. Scan template.md for any includes
6. Create complete web_bundle_files array
7. Generate web_bundle section
7. **CRITICAL**: Check for <invoke-workflow> calls in instructions:
- If workflow invokes other workflows, add existing_workflows field
- Maps workflow variable name to bmad/-relative path
- Signals bundler to recursively include invoked workflow's web_bundle
- Example: `existing_workflows: - core_brainstorming: "bmad/core/workflows/brainstorming/workflow.yaml"`
8. Generate web_bundle section
If updating existing web bundle: