bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
- package/.github/scripts/discord-helpers.sh +15 -0
- package/.github/workflows/discord.yaml +278 -8
- package/.github/workflows/quality.yaml +19 -0
- package/.markdownlint-cli2.yaml +42 -0
- package/.prettierignore +3 -0
- package/CHANGELOG.md +95 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/bmad-method-6.0.0-alpha.14.tgz +0 -0
- package/docs/agent-customization-guide.md +2 -2
- package/docs/custom-agent-installation.md +56 -102
- package/docs/document-sharding-guide.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +4 -0
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +4 -4
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +17 -16
- package/example-custom-content/custom.yaml +3 -0
- package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
- package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
- package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
- package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
- package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
- package/example-custom-content/workflows/quiz-master/workflow-plan-quiz-master.md +269 -0
- package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
- package/example-custom-content/workflows/wassup/workflow.md +26 -0
- package/example-custom-module/mwm/README.md +4 -0
- package/example-custom-module/mwm/_module-installer/install-config.yaml +27 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +150 -0
- package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +137 -0
- package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +137 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +124 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
- package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
- package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
- package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
- package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
- package/package.json +9 -4
- package/src/core/_module-installer/install-config.yaml +5 -1
- package/src/core/resources/excalidraw/library-loader.md +2 -2
- package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
- package/src/core/workflows/brainstorming/workflow.md +1 -1
- package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
- package/src/core/workflows/party-mode/workflow.md +2 -3
- package/src/modules/bmb/README.md +1 -1
- package/src/modules/bmb/_module-installer/install-config.yaml +4 -9
- package/src/modules/bmb/_module-installer/installer.js +76 -0
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +32 -9
- package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
- package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
- package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
- package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
- package/src/modules/bmb/docs/workflows/architecture.md +1 -1
- package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
- package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
- package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
- package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
- package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
- package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
- package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
- package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
- package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
- package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
- package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
- package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +308 -0
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +336 -0
- package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
- package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
- package/src/modules/bmb/workflows/create-module/templates/install-config.template.yaml +53 -0
- package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
- package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
- package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
- package/src/modules/bmb/workflows/create-module/validation.md +126 -0
- package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +45 -56
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
- package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md} +76 -44
- package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +70 -24
- package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
- package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
- package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/install-config.yaml +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
- package/src/modules/bmm/agents/architect.agent.yaml +1 -5
- package/src/modules/bmm/agents/pm.agent.yaml +5 -5
- package/src/modules/bmm/docs/README.md +23 -1
- package/src/modules/bmm/docs/agents-guide.md +16 -35
- package/src/modules/bmm/docs/brownfield-guide.md +17 -30
- package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
- package/src/modules/bmm/docs/faq.md +6 -39
- package/src/modules/bmm/docs/glossary.md +11 -24
- package/src/modules/bmm/docs/images/README.md +37 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
- package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
- package/src/modules/bmm/docs/quick-start.md +9 -25
- package/src/modules/bmm/docs/test-architecture.md +6 -6
- package/src/modules/bmm/docs/troubleshooting.md +680 -0
- package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
- package/src/modules/bmm/docs/workflows-implementation.md +143 -3
- package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
- package/src/modules/bmm/tasks/daily-standup.xml +85 -0
- package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
- package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
- package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
- package/src/modules/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +10 -10
- package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +104 -7
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -0
- package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
- package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -1
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
- package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
- package/tools/cli/README.md +3 -3
- package/tools/cli/commands/build.js +9 -184
- package/tools/cli/commands/install.js +1 -6
- package/tools/cli/installers/lib/core/config-collector.js +70 -10
- package/tools/cli/installers/lib/core/installer.js +153 -388
- package/tools/cli/installers/lib/core/manifest-generator.js +91 -30
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
- package/tools/cli/installers/lib/custom/handler.js +266 -0
- package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
- package/tools/cli/installers/lib/ide/auggie.js +19 -7
- package/tools/cli/installers/lib/ide/crush.js +19 -6
- package/tools/cli/installers/lib/ide/cursor.js +29 -13
- package/tools/cli/installers/lib/ide/gemini.js +49 -1
- package/tools/cli/installers/lib/ide/iflow.js +20 -1
- package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
- package/tools/cli/installers/lib/ide/opencode.js +3 -3
- package/tools/cli/installers/lib/ide/roo.js +120 -184
- package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
- package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
- package/tools/cli/installers/lib/modules/manager.js +486 -53
- package/tools/cli/lib/agent/compiler.js +54 -5
- package/tools/cli/lib/agent/installer.js +127 -27
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +65 -4
- package/tools/cli/lib/yaml-xml-builder.js +0 -15
- package/tools/schema/agent.js +149 -89
- package/tools/validate-svg-changes.sh +356 -0
- package/custom/src/agents/commit-poet/installation-guide.md +0 -36
- package/custom/src/agents/toolsmith/installation-guide.md +0 -36
- package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
- package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
- package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
- package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
- package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
- package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
- package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
- package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
- package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
- package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
- package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
- package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
- package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
- package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
- package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
- package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -387
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
- package/tools/cli/commands/agent-install.js +0 -409
- package/tools/cli/commands/cleanup.js +0 -141
- /package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-05-output-format-design'
|
|
3
|
+
description: 'Design the output format for workflows that produce documents or files'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/{bmad_folder}/bmb/workflows/create-workflow'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-05-output-format-design.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-06-design.md'
|
|
11
|
+
|
|
12
|
+
targetWorkflowPath: '{custom_stand_alone_location}/workflows/{new_workflow_name}'
|
|
13
|
+
workflowPlanFile: '{targetWorkflowPath}/workflow-plan-{new_workflow_name}.md'
|
|
14
|
+
|
|
15
|
+
# Task References
|
|
16
|
+
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
|
17
|
+
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Step 5: Output Format Design
|
|
21
|
+
|
|
22
|
+
## STEP GOAL:
|
|
23
|
+
|
|
24
|
+
To design and document the output format for workflows that produce documents or files, determining whether they need strict templates or flexible formatting.
|
|
25
|
+
|
|
26
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
27
|
+
|
|
28
|
+
### Universal Rules:
|
|
29
|
+
|
|
30
|
+
- 🛑 NEVER generate content without user input
|
|
31
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
32
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
33
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
34
|
+
|
|
35
|
+
### Role Reinforcement:
|
|
36
|
+
|
|
37
|
+
- ✅ You are a workflow architect and output format specialist
|
|
38
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
39
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
40
|
+
- ✅ You bring expertise in document design and template creation
|
|
41
|
+
- ✅ User brings their specific output requirements and preferences
|
|
42
|
+
|
|
43
|
+
### Step-Specific Rules:
|
|
44
|
+
|
|
45
|
+
- 🎯 Focus ONLY on output format design
|
|
46
|
+
- 🚫 FORBIDDEN to design workflow steps in this step
|
|
47
|
+
- 💬 Help user understand the format spectrum
|
|
48
|
+
- 🚫 DO NOT proceed without clear format requirements
|
|
49
|
+
|
|
50
|
+
## EXECUTION PROTOCOLS:
|
|
51
|
+
|
|
52
|
+
- 🎯 Guide user through format spectrum with examples
|
|
53
|
+
- 💾 Document format decisions in workflow plan
|
|
54
|
+
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5]` before loading next step
|
|
55
|
+
- 🚫 FORBIDDEN to load next step until user selects 'C'
|
|
56
|
+
|
|
57
|
+
## CONTEXT BOUNDARIES:
|
|
58
|
+
|
|
59
|
+
- Approved plan from step 4 is available
|
|
60
|
+
- Focus ONLY on output document formatting
|
|
61
|
+
- Skip this step if workflow produces no documents
|
|
62
|
+
- This step only runs when documents need structure
|
|
63
|
+
|
|
64
|
+
## OUTPUT FORMAT DESIGN PROCESS:
|
|
65
|
+
|
|
66
|
+
### 1. Initialize Output Format Discussion
|
|
67
|
+
|
|
68
|
+
"**Designing Your Output Format**
|
|
69
|
+
|
|
70
|
+
Based on your approved plan, your workflow will produce output documents. Let's design how these outputs should be formatted."
|
|
71
|
+
|
|
72
|
+
### 2. Present the Format Spectrum
|
|
73
|
+
|
|
74
|
+
"**Output Format Spectrum - Where does your workflow fit?**
|
|
75
|
+
|
|
76
|
+
**Strictly Structured Examples:**
|
|
77
|
+
|
|
78
|
+
- Government forms - exact fields, precise positions
|
|
79
|
+
- Legal documents - must follow specific templates
|
|
80
|
+
- Technical specifications - required sections, specific formats
|
|
81
|
+
- Compliance reports - mandatory fields, validation rules
|
|
82
|
+
|
|
83
|
+
**Structured Examples:**
|
|
84
|
+
|
|
85
|
+
- Project reports - required sections, flexible content
|
|
86
|
+
- Business proposals - consistent format, customizable sections
|
|
87
|
+
- Technical documentation - standard structure, adaptable content
|
|
88
|
+
- Research papers - IMRAD format, discipline-specific variations
|
|
89
|
+
|
|
90
|
+
**Semi-structured Examples:**
|
|
91
|
+
|
|
92
|
+
- Character sheets (D&D) - core stats + flexible background
|
|
93
|
+
- Lesson plans - required components, flexible delivery
|
|
94
|
+
- Recipes - ingredients/method format, flexible descriptions
|
|
95
|
+
- Meeting minutes - agenda/attendees/actions, flexible details
|
|
96
|
+
|
|
97
|
+
**Free-form Examples:**
|
|
98
|
+
|
|
99
|
+
- Creative stories - narrative flow, minimal structure
|
|
100
|
+
- Blog posts - title/body, organic organization
|
|
101
|
+
- Personal journals - date/entry, free expression
|
|
102
|
+
- Brainstorming outputs - ideas, flexible organization"
|
|
103
|
+
|
|
104
|
+
### 3. Determine Format Type
|
|
105
|
+
|
|
106
|
+
"**Which format type best fits your workflow?**
|
|
107
|
+
|
|
108
|
+
1. **Strict Template** - Must follow exact format with specific fields
|
|
109
|
+
2. **Structured** - Required sections but flexible within each
|
|
110
|
+
3. **Semi-structured** - Core sections plus optional additions
|
|
111
|
+
4. **Free-form** - Content-driven with minimal structure
|
|
112
|
+
|
|
113
|
+
Please choose 1-4:"
|
|
114
|
+
|
|
115
|
+
### 4. Deep Dive Based on Choice
|
|
116
|
+
|
|
117
|
+
#### IF Strict Template (Choice 1):
|
|
118
|
+
|
|
119
|
+
"**Strict Template Design**
|
|
120
|
+
|
|
121
|
+
You need exact formatting. Let's define your requirements:
|
|
122
|
+
|
|
123
|
+
**Template Source Options:**
|
|
124
|
+
A. Upload existing template/image to follow
|
|
125
|
+
B. Create new template from scratch
|
|
126
|
+
C. Use standard form (e.g., government, industry)
|
|
127
|
+
D. AI proposes template based on your needs
|
|
128
|
+
|
|
129
|
+
**Template Requirements:**
|
|
130
|
+
|
|
131
|
+
- Exact field names and positions
|
|
132
|
+
- Required vs optional fields
|
|
133
|
+
- Validation rules
|
|
134
|
+
- File format (PDF, DOCX, etc.)
|
|
135
|
+
- Any legal/compliance considerations"
|
|
136
|
+
|
|
137
|
+
#### IF Structured (Choice 2):
|
|
138
|
+
|
|
139
|
+
"**Structured Document Design**
|
|
140
|
+
|
|
141
|
+
You need consistent sections with flexibility:
|
|
142
|
+
|
|
143
|
+
**Section Definition:**
|
|
144
|
+
|
|
145
|
+
- What sections are required?
|
|
146
|
+
- Any optional sections?
|
|
147
|
+
- Section ordering rules?
|
|
148
|
+
- Cross-document consistency needs?
|
|
149
|
+
|
|
150
|
+
**Format Guidelines:**
|
|
151
|
+
|
|
152
|
+
- Any formatting standards (APA, MLA, corporate)?
|
|
153
|
+
- Section header styles?
|
|
154
|
+
- Content organization principles?"
|
|
155
|
+
|
|
156
|
+
#### IF Semi-structured (Choice 3):
|
|
157
|
+
|
|
158
|
+
"**Semi-structured Design**
|
|
159
|
+
|
|
160
|
+
Core sections with flexibility:
|
|
161
|
+
|
|
162
|
+
**Core Components:**
|
|
163
|
+
|
|
164
|
+
- What information must always appear?
|
|
165
|
+
- Which parts can vary?
|
|
166
|
+
- Any organizational preferences?
|
|
167
|
+
|
|
168
|
+
**Polishing Options:**
|
|
169
|
+
|
|
170
|
+
- Would you like automatic TOC generation?
|
|
171
|
+
- Summary section at the end?
|
|
172
|
+
- Consistent formatting options?"
|
|
173
|
+
|
|
174
|
+
#### IF Free-form (Choice 4):
|
|
175
|
+
|
|
176
|
+
"**Free-form Content Design**
|
|
177
|
+
|
|
178
|
+
Focus on content with minimal structure:
|
|
179
|
+
|
|
180
|
+
**Organization Needs:**
|
|
181
|
+
|
|
182
|
+
- Basic headers for readability?
|
|
183
|
+
- Date/title information?
|
|
184
|
+
- Any categorization needs?
|
|
185
|
+
|
|
186
|
+
**Final Polish Options:**
|
|
187
|
+
|
|
188
|
+
- Auto-generated summary?
|
|
189
|
+
- TOC based on content?
|
|
190
|
+
- Formatting for readability?"
|
|
191
|
+
|
|
192
|
+
### 5. Template Creation (if applicable)
|
|
193
|
+
|
|
194
|
+
For Strict/Structured workflows:
|
|
195
|
+
|
|
196
|
+
"**Template Creation Approach:**
|
|
197
|
+
|
|
198
|
+
A. **Design Together** - We'll create the template step by step
|
|
199
|
+
B. **AI Proposes** - I'll suggest a structure based on your needs
|
|
200
|
+
C. **Import Existing** - Use/upload your existing template
|
|
201
|
+
|
|
202
|
+
Which approach would you prefer?"
|
|
203
|
+
|
|
204
|
+
If A or B:
|
|
205
|
+
|
|
206
|
+
- Design/create template sections
|
|
207
|
+
- Define placeholders
|
|
208
|
+
- Specify field types and validation
|
|
209
|
+
- Document template structure in plan
|
|
210
|
+
|
|
211
|
+
If C:
|
|
212
|
+
|
|
213
|
+
- Request file upload or detailed description
|
|
214
|
+
- Analyze template structure
|
|
215
|
+
- Document requirements
|
|
216
|
+
|
|
217
|
+
### 6. Document Format Decisions
|
|
218
|
+
|
|
219
|
+
Append to {workflowPlanFile}:
|
|
220
|
+
|
|
221
|
+
```markdown
|
|
222
|
+
## Output Format Design
|
|
223
|
+
|
|
224
|
+
**Format Type**: [Strict/Structured/Semi-structured/Free-form]
|
|
225
|
+
|
|
226
|
+
**Output Requirements**:
|
|
227
|
+
|
|
228
|
+
- Document type: [report/form/story/etc]
|
|
229
|
+
- File format: [PDF/MD/DOCX/etc]
|
|
230
|
+
- Frequency: [single/batch/continuous]
|
|
231
|
+
|
|
232
|
+
**Structure Specifications**:
|
|
233
|
+
[Detailed structure based on format type]
|
|
234
|
+
|
|
235
|
+
**Template Information**:
|
|
236
|
+
|
|
237
|
+
- Template source: [created/imported/standard]
|
|
238
|
+
- Template file: [path if applicable]
|
|
239
|
+
- Placeholders: [list if applicable]
|
|
240
|
+
|
|
241
|
+
**Special Considerations**:
|
|
242
|
+
|
|
243
|
+
- Legal/compliance requirements
|
|
244
|
+
- Validation needs
|
|
245
|
+
- Accessibility requirements
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### 7. Present MENU OPTIONS
|
|
249
|
+
|
|
250
|
+
Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue
|
|
251
|
+
|
|
252
|
+
#### EXECUTION RULES:
|
|
253
|
+
|
|
254
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
255
|
+
- ONLY proceed to next step when user selects 'C'
|
|
256
|
+
- After other menu items execution, return to this menu
|
|
257
|
+
- User can chat or ask questions - always respond and then end with display again of the menu options
|
|
258
|
+
- Use menu handling logic section below
|
|
259
|
+
|
|
260
|
+
#### Menu Handling Logic:
|
|
261
|
+
|
|
262
|
+
- IF A: Execute {advancedElicitationTask}
|
|
263
|
+
- IF P: Execute {partyModeWorkflow}
|
|
264
|
+
- IF C: Save output format design to {workflowPlanFile}, update frontmatter, then load, read entire file, then execute {nextStepFile}
|
|
265
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#7-present-menu-options)
|
|
266
|
+
|
|
267
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
268
|
+
|
|
269
|
+
ONLY WHEN C is selected and output format is documented will you load {nextStepFile} to begin workflow step design.
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
274
|
+
|
|
275
|
+
### ✅ SUCCESS:
|
|
276
|
+
|
|
277
|
+
- User understands format spectrum
|
|
278
|
+
- Format type clearly identified
|
|
279
|
+
- Template requirements documented (if applicable)
|
|
280
|
+
- Output format saved in plan
|
|
281
|
+
|
|
282
|
+
### ❌ SYSTEM FAILURE:
|
|
283
|
+
|
|
284
|
+
- Not showing format examples
|
|
285
|
+
- Skipping format requirements
|
|
286
|
+
- Not documenting decisions in plan
|
|
287
|
+
- Assuming format without asking
|
|
288
|
+
|
|
289
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md}
RENAMED
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-
|
|
3
|
-
description: 'Design the workflow structure and step sequence based on gathered requirements and
|
|
2
|
+
name: 'step-06-design'
|
|
3
|
+
description: 'Design the workflow structure and step sequence based on gathered requirements, tools configuration, and output format'
|
|
4
4
|
|
|
5
5
|
# Path Definitions
|
|
6
6
|
workflow_path: '{project-root}/{bmad_folder}/bmb/workflows/create-workflow'
|
|
7
7
|
|
|
8
8
|
# File References
|
|
9
|
-
thisStepFile: '{workflow_path}/steps/step-
|
|
10
|
-
nextStepFile: '{workflow_path}/steps/step-
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-06-design.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-07-build.md'
|
|
11
11
|
workflowFile: '{workflow_path}/workflow.md'
|
|
12
12
|
# Output files for workflow creation process
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
targetWorkflowPath: '{custom_stand_alone_location}/workflows/{new_workflow_name}'
|
|
14
|
+
workflowPlanFile: '{targetWorkflowPath}/workflow-plan-{new_workflow_name}.md'
|
|
15
15
|
|
|
16
16
|
# Task References
|
|
17
17
|
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
|
18
18
|
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
|
19
|
-
|
|
20
19
|
# Template References
|
|
21
|
-
|
|
20
|
+
# No template needed - will append design details directly to workflow plan
|
|
22
21
|
---
|
|
23
22
|
|
|
24
|
-
# Step
|
|
23
|
+
# Step 6: Workflow Structure Design
|
|
25
24
|
|
|
26
25
|
## STEP GOAL:
|
|
27
26
|
|
|
28
|
-
To collaboratively design the workflow structure, step sequence, and interaction patterns based on the
|
|
27
|
+
To collaboratively design the workflow structure, step sequence, and interaction patterns based on the approved plan and output format requirements.
|
|
29
28
|
|
|
30
29
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
31
30
|
|
|
@@ -55,12 +54,13 @@ To collaboratively design the workflow structure, step sequence, and interaction
|
|
|
55
54
|
|
|
56
55
|
- 🎯 Guide collaborative design process
|
|
57
56
|
- 💾 After completing design, append to {workflowPlanFile}
|
|
58
|
-
- 📖 Update plan frontmatter `stepsCompleted: [1, 2, 3]` before loading next step
|
|
57
|
+
- 📖 Update plan frontmatter `stepsCompleted: [1, 2, 3, 4, 5, 6]` before loading next step
|
|
59
58
|
- 🚫 FORBIDDEN to load next step until user selects 'C' and design is saved
|
|
60
59
|
|
|
61
60
|
## CONTEXT BOUNDARIES:
|
|
62
61
|
|
|
63
|
-
-
|
|
62
|
+
- Approved plan from step 4 is available and should inform design
|
|
63
|
+
- Output format design from step 5 (if completed) guides structure
|
|
64
64
|
- Load architecture documentation when needed for guidance
|
|
65
65
|
- Focus ONLY on structure and flow design
|
|
66
66
|
- Don't implement actual files in this step
|
|
@@ -70,9 +70,10 @@ To collaboratively design the workflow structure, step sequence, and interaction
|
|
|
70
70
|
|
|
71
71
|
When designing, you may load these documents as needed:
|
|
72
72
|
|
|
73
|
-
- `{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md` - Step file structure
|
|
74
|
-
- `{project-root}/{bmad_folder}/bmb/docs/workflows/
|
|
75
|
-
- `{project-root}/{bmad_folder}/bmb/docs/workflows/
|
|
73
|
+
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md` - Step file structure
|
|
74
|
+
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-01-init-continuable-template.md` - Continuable init step template
|
|
75
|
+
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-1b-template.md` - Continuation step template
|
|
76
|
+
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md` - Workflow configuration
|
|
76
77
|
- `{project-root}/{bmad_folder}/bmb/reference/workflows/meal-prep-nutrition/workflow.md` - Complete example
|
|
77
78
|
|
|
78
79
|
## WORKFLOW DESIGN PROCESS:
|
|
@@ -84,10 +85,18 @@ Let's reference our step creation documentation for best practices:
|
|
|
84
85
|
Load and reference step-file architecture guide:
|
|
85
86
|
|
|
86
87
|
```
|
|
87
|
-
Read: {project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md
|
|
88
|
+
Read: {project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
This shows the standard structure for step files. Also reference:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
Read: {project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-1b-template.md
|
|
88
95
|
```
|
|
89
96
|
|
|
90
|
-
This shows the
|
|
97
|
+
This shows the continuation step pattern for workflows that might take multiple sessions.
|
|
98
|
+
|
|
99
|
+
Based on the approved plan, collaboratively design:
|
|
91
100
|
|
|
92
101
|
- How many major steps does this workflow need? (Recommend 3-7)
|
|
93
102
|
- What is the goal of each step?
|
|
@@ -95,6 +104,25 @@ This shows the standard structure for step files. Based on the requirements, col
|
|
|
95
104
|
- Should any steps repeat or loop?
|
|
96
105
|
- What are the decision points within steps?
|
|
97
106
|
|
|
107
|
+
### 1a. Continuation Support Assessment
|
|
108
|
+
|
|
109
|
+
**Ask the user:**
|
|
110
|
+
"Will this workflow potentially take multiple sessions to complete? Consider:
|
|
111
|
+
|
|
112
|
+
- Does this workflow generate a document/output file?
|
|
113
|
+
- Might users need to pause and resume the workflow?
|
|
114
|
+
- Does the workflow involve extensive data collection or analysis?
|
|
115
|
+
- Are there complex decisions that might require multiple sessions?
|
|
116
|
+
|
|
117
|
+
If **YES** to any of these, we should include continuation support using step-01b-continue.md."
|
|
118
|
+
|
|
119
|
+
**If continuation support is needed:**
|
|
120
|
+
|
|
121
|
+
- Include step-01-init.md (with continuation detection logic)
|
|
122
|
+
- Include step-01b-continue.md (for resuming workflows)
|
|
123
|
+
- Ensure every step updates `stepsCompleted` in output frontmatter
|
|
124
|
+
- Design the workflow to persist state between sessions
|
|
125
|
+
|
|
98
126
|
### 2. Interaction Pattern Design
|
|
99
127
|
|
|
100
128
|
Design how users will interact with the workflow:
|
|
@@ -170,31 +198,35 @@ Present the design for review:
|
|
|
170
198
|
- Ensure steps can be loaded independently
|
|
171
199
|
- Design for Just-In-Time loading
|
|
172
200
|
|
|
173
|
-
###
|
|
201
|
+
### Sequential Flow with Clear Progression
|
|
174
202
|
|
|
175
|
-
-
|
|
176
|
-
- Include decision points
|
|
177
|
-
-
|
|
203
|
+
- Each step should build on previous work
|
|
204
|
+
- Include clear decision points
|
|
205
|
+
- Maintain logical progression toward goal
|
|
178
206
|
|
|
179
|
-
###
|
|
207
|
+
### Menu-Based Interactions
|
|
180
208
|
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
-
|
|
209
|
+
- Include consistent menu patterns
|
|
210
|
+
- Provide clear options at decision points
|
|
211
|
+
- Allow for conversation within steps
|
|
184
212
|
|
|
185
|
-
###
|
|
213
|
+
### State Management
|
|
186
214
|
|
|
187
|
-
-
|
|
188
|
-
-
|
|
189
|
-
-
|
|
215
|
+
- Track progress using `stepsCompleted` array
|
|
216
|
+
- Persist state in output file frontmatter
|
|
217
|
+
- Support continuation where appropriate
|
|
190
218
|
|
|
191
|
-
|
|
219
|
+
### 9. Document Design in Plan
|
|
192
220
|
|
|
193
|
-
|
|
221
|
+
Append to {workflowPlanFile}:
|
|
194
222
|
|
|
195
|
-
|
|
223
|
+
- Complete step outline with names and purposes
|
|
224
|
+
- Flow diagram or sequence description
|
|
225
|
+
- Interaction patterns
|
|
226
|
+
- File structure requirements
|
|
227
|
+
- Special features and handling
|
|
196
228
|
|
|
197
|
-
###
|
|
229
|
+
### 10. Present MENU OPTIONS
|
|
198
230
|
|
|
199
231
|
Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue
|
|
200
232
|
|
|
@@ -210,12 +242,12 @@ Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Conti
|
|
|
210
242
|
|
|
211
243
|
- IF A: Execute {advancedElicitationTask}
|
|
212
244
|
- IF P: Execute {partyModeWorkflow}
|
|
213
|
-
- IF C: Save
|
|
214
|
-
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#
|
|
245
|
+
- IF C: Save design to {workflowPlanFile}, update frontmatter, then load, read entire file, then execute {nextStepFile}
|
|
246
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#10-present-menu-options)
|
|
215
247
|
|
|
216
248
|
## CRITICAL STEP COMPLETION NOTE
|
|
217
249
|
|
|
218
|
-
ONLY WHEN C is selected and
|
|
250
|
+
ONLY WHEN C is selected and design is saved will you load {nextStepFile} to begin implementation.
|
|
219
251
|
|
|
220
252
|
---
|
|
221
253
|
|
|
@@ -224,16 +256,16 @@ ONLY WHEN C is selected and content is saved to workflow plan and frontmatter is
|
|
|
224
256
|
### ✅ SUCCESS:
|
|
225
257
|
|
|
226
258
|
- Workflow structure designed collaboratively
|
|
227
|
-
-
|
|
228
|
-
- Interaction patterns
|
|
229
|
-
-
|
|
230
|
-
-
|
|
259
|
+
- All steps clearly defined and sequenced
|
|
260
|
+
- Interaction patterns established
|
|
261
|
+
- File structure planned
|
|
262
|
+
- User agreement on design
|
|
231
263
|
|
|
232
264
|
### ❌ SYSTEM FAILURE:
|
|
233
265
|
|
|
234
|
-
-
|
|
235
|
-
- Skipping design
|
|
236
|
-
-
|
|
237
|
-
-
|
|
266
|
+
- Designing without user collaboration
|
|
267
|
+
- Skipping design principles
|
|
268
|
+
- Not documenting design in plan
|
|
269
|
+
- Proceeding without user agreement
|
|
238
270
|
|
|
239
271
|
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md}
RENAMED
|
@@ -1,34 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-
|
|
2
|
+
name: 'step-07-build'
|
|
3
3
|
description: 'Generate all workflow files based on the approved plan'
|
|
4
4
|
|
|
5
5
|
# Path Definitions
|
|
6
6
|
workflow_path: '{project-root}/{bmad_folder}/bmb/workflows/create-workflow'
|
|
7
7
|
|
|
8
8
|
# File References
|
|
9
|
-
thisStepFile: '{workflow_path}/steps/step-
|
|
10
|
-
nextStepFile: '{workflow_path}/steps/step-
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-07-build.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-08-review.md'
|
|
11
11
|
workflowFile: '{workflow_path}/workflow.md'
|
|
12
12
|
# Output files for workflow creation process
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
# Task References
|
|
17
|
-
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
|
18
|
-
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
|
13
|
+
targetWorkflowPath: '{custom_stand_alone_location}/workflows/{new_workflow_name}'
|
|
14
|
+
workflowPlanFile: '{targetWorkflowPath}/workflow-plan-{new_workflow_name}.md'
|
|
19
15
|
|
|
20
16
|
# Template References
|
|
21
|
-
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
|
22
|
-
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
|
18
|
+
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
|
19
|
+
stepInitContinuableTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-01-init-continuable-template.md'
|
|
20
|
+
step1bTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-1b-template.md'
|
|
21
|
+
# No content templates needed - will create content as needed during build
|
|
22
|
+
# No build summary template needed - will append summary directly to workflow plan
|
|
25
23
|
---
|
|
26
24
|
|
|
27
|
-
# Step
|
|
25
|
+
# Step 7: Workflow File Generation
|
|
28
26
|
|
|
29
27
|
## STEP GOAL:
|
|
30
28
|
|
|
31
|
-
To generate all the workflow files (workflow.md, step files, templates, and supporting files) based on the approved plan from the previous
|
|
29
|
+
To generate all the workflow files (workflow.md, step files, templates, and supporting files) based on the approved plan from the previous design step.
|
|
32
30
|
|
|
33
31
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
34
32
|
|
|
@@ -58,20 +56,22 @@ To generate all the workflow files (workflow.md, step files, templates, and supp
|
|
|
58
56
|
|
|
59
57
|
- 🎯 Generate files systematically from design
|
|
60
58
|
- 💾 Document all generated files and their locations
|
|
61
|
-
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4]` before loading next step
|
|
59
|
+
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5, 6, 7]` before loading next step
|
|
62
60
|
- 🚫 FORBIDDEN to load next step until user selects 'C' and build is complete
|
|
63
61
|
|
|
64
62
|
## CONTEXT BOUNDARIES:
|
|
65
63
|
|
|
66
|
-
- Approved plan from step
|
|
64
|
+
- Approved plan from step 6 guides implementation
|
|
67
65
|
- Generate files in target workflow location
|
|
68
66
|
- Load templates and documentation as needed during build
|
|
69
67
|
- Follow step-file architecture principles
|
|
70
68
|
|
|
71
69
|
## BUILD REFERENCE MATERIALS:
|
|
72
70
|
|
|
73
|
-
- When building each step file, you must follow template `{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md`
|
|
74
|
-
- When building
|
|
71
|
+
- When building each step file, you must follow template `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md`
|
|
72
|
+
- When building continuable step-01-init.md files, use template `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-01-init-continuable-template.md`
|
|
73
|
+
- When building continuation steps, use template `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-1b-template.md`
|
|
74
|
+
- When building the main workflow.md file, you must follow template `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md`
|
|
75
75
|
- Example step files from {project-root}/{bmad_folder}/bmb/reference/workflows/meal-prep-nutrition/workflow.md for patterns
|
|
76
76
|
|
|
77
77
|
## FILE GENERATION SEQUENCE:
|
|
@@ -95,10 +95,11 @@ Ready to proceed?"
|
|
|
95
95
|
Create the workflow folder structure in the target location:
|
|
96
96
|
|
|
97
97
|
```
|
|
98
|
-
{
|
|
98
|
+
{custom_stand_alone_location}/workflows/{workflow_name}/
|
|
99
99
|
├── workflow.md
|
|
100
100
|
├── steps/
|
|
101
101
|
│ ├── step-01-init.md
|
|
102
|
+
│ ├── step-01b-continue.md (if continuation support needed)
|
|
102
103
|
│ ├── step-02-[name].md
|
|
103
104
|
│ └── ...
|
|
104
105
|
├── templates/
|
|
@@ -116,14 +117,54 @@ Load and follow {workflowTemplate}:
|
|
|
116
117
|
|
|
117
118
|
- Create workflow.md using template structure
|
|
118
119
|
- Insert workflow name and description
|
|
119
|
-
- Configure all path variables ({project-root}, {
|
|
120
|
+
- Configure all path variables ({project-root}, {_bmad_folder_}, {workflow_path})
|
|
120
121
|
- Set web_bundle flag to true unless user has indicated otherwise
|
|
121
122
|
- Define role and goal
|
|
122
123
|
- Include initialization path to step-01
|
|
123
124
|
|
|
124
125
|
### 4. Generate Step Files
|
|
125
126
|
|
|
126
|
-
|
|
127
|
+
#### 4a. Check for Continuation Support
|
|
128
|
+
|
|
129
|
+
**Check the workflow plan for continuation support:**
|
|
130
|
+
|
|
131
|
+
- Look for "continuation support: true" or similar flag
|
|
132
|
+
- Check if step-01b-continue.md was included in the design
|
|
133
|
+
- If workflow generates output documents, continuation is typically needed
|
|
134
|
+
|
|
135
|
+
#### 4b. Generate step-01-init.md (with continuation logic)
|
|
136
|
+
|
|
137
|
+
If continuation support is needed:
|
|
138
|
+
|
|
139
|
+
- Load and follow {stepInitContinuableTemplate}
|
|
140
|
+
- This template automatically includes all required continuation detection logic
|
|
141
|
+
- Customize with workflow-specific information:
|
|
142
|
+
- Update workflow_path references
|
|
143
|
+
- Set correct outputFile and templateFile paths
|
|
144
|
+
- Adjust role and persona to match workflow type
|
|
145
|
+
- Customize welcome message for workflow context
|
|
146
|
+
- Configure input document discovery patterns (if any)
|
|
147
|
+
- Template automatically handles:
|
|
148
|
+
- continueFile reference in frontmatter
|
|
149
|
+
- Logic to check for existing output files with stepsCompleted
|
|
150
|
+
- Routing to step-01b-continue.md for continuation
|
|
151
|
+
- Fresh workflow initialization
|
|
152
|
+
|
|
153
|
+
#### 4c. Generate step-01b-continue.md (if needed)
|
|
154
|
+
|
|
155
|
+
**If continuation support is required:**
|
|
156
|
+
|
|
157
|
+
- Load and follow {step1bTemplate}
|
|
158
|
+
- Customize with workflow-specific information:
|
|
159
|
+
- Update workflow_path references
|
|
160
|
+
- Set correct outputFile path
|
|
161
|
+
- Adjust role and persona to match workflow type
|
|
162
|
+
- Customize welcome back message for workflow context
|
|
163
|
+
- Ensure proper nextStep detection logic based on step numbers
|
|
164
|
+
|
|
165
|
+
#### 4d. Generate Remaining Step Files
|
|
166
|
+
|
|
167
|
+
For each remaining step in the design:
|
|
127
168
|
|
|
128
169
|
- Load and follow {stepTemplate}
|
|
129
170
|
- Create step file using template structure
|
|
@@ -131,12 +172,12 @@ For each step in the design:
|
|
|
131
172
|
- Ensure proper frontmatter with path references
|
|
132
173
|
- Include appropriate menu handling and universal rules
|
|
133
174
|
- Follow all mandatory rules and protocols from template
|
|
175
|
+
- **Critical**: Ensure each step updates `stepsCompleted` array when completing
|
|
134
176
|
|
|
135
177
|
### 5. Generate Templates (If Needed)
|
|
136
178
|
|
|
137
179
|
For document workflows:
|
|
138
180
|
|
|
139
|
-
- Load {contentTemplate}
|
|
140
181
|
- Create template.md with proper structure
|
|
141
182
|
- Include all variables from design
|
|
142
183
|
- Ensure variable naming consistency
|
|
@@ -219,7 +260,12 @@ Create a summary of what was generated:
|
|
|
219
260
|
|
|
220
261
|
After generating all files, append to {workflowPlanFile}:
|
|
221
262
|
|
|
222
|
-
|
|
263
|
+
Create a build summary including:
|
|
264
|
+
|
|
265
|
+
- List of all files created with full paths
|
|
266
|
+
- Any customizations from templates
|
|
267
|
+
- Manual steps needed
|
|
268
|
+
- Next steps for testing
|
|
223
269
|
|
|
224
270
|
### 9. Present MENU OPTIONS
|
|
225
271
|
|