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,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Daily Check In
|
|
3
|
+
description: TODO
|
|
4
|
+
web_bundle: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Daily Check In
|
|
8
|
+
|
|
9
|
+
**Goal:** TODO
|
|
10
|
+
|
|
11
|
+
**Your Role:** TODO
|
|
12
|
+
|
|
13
|
+
## WORKFLOW ARCHITECTURE
|
|
14
|
+
|
|
15
|
+
### Core Principles
|
|
16
|
+
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
### Step Processing Rules
|
|
20
|
+
|
|
21
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
22
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
23
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
24
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
25
|
+
5. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
|
|
26
|
+
|
|
27
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
28
|
+
|
|
29
|
+
- 🛑 **NEVER** load multiple step files simultaneously
|
|
30
|
+
- 📖 **ALWAYS** read entire step file before execution
|
|
31
|
+
- 🎯 **ALWAYS** follow the exact instructions in the step file
|
|
32
|
+
- ⏸️ **ALWAYS** halt at menus and wait for user input
|
|
33
|
+
- 📋 **NEVER** create mental todo lists from future steps
|
|
34
|
+
|
|
35
|
+
## INITIALIZATION SEQUENCE
|
|
36
|
+
|
|
37
|
+
### 1. Module Configuration Loading
|
|
38
|
+
|
|
39
|
+
Load and read full config from {project-root}/.bmad/mwm/config.yaml and resolve:
|
|
40
|
+
|
|
41
|
+
- `user_name`, `output_folder`, `communication_language`, `document_output_language`
|
|
42
|
+
|
|
43
|
+
### 2. First Step EXECUTION
|
|
44
|
+
|
|
45
|
+
TODO - NO INSTRUCTIONS IMPLEMENTED YET - INFORM USER THIS IS COMING SOON FUNCTIONALITY.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Guided Meditation Workflow
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Full meditation session experience with various techniques and durations.
|
|
6
|
+
|
|
7
|
+
## Trigger
|
|
8
|
+
|
|
9
|
+
GM (from Meditation Guide agent)
|
|
10
|
+
|
|
11
|
+
## Key Steps
|
|
12
|
+
|
|
13
|
+
1. Set intention for practice
|
|
14
|
+
2. Choose meditation type and duration
|
|
15
|
+
3. Get comfortable and settle in
|
|
16
|
+
4. Guided practice
|
|
17
|
+
5. Gentle return to awareness
|
|
18
|
+
6. Reflection and integration
|
|
19
|
+
7. Save session notes
|
|
20
|
+
|
|
21
|
+
## Expected Output
|
|
22
|
+
|
|
23
|
+
- Completed meditation session
|
|
24
|
+
- Mindfulness state rating
|
|
25
|
+
- Session notes
|
|
26
|
+
- Progress tracking
|
|
27
|
+
|
|
28
|
+
## Notes
|
|
29
|
+
|
|
30
|
+
This workflow will be implemented using the create-workflow workflow.
|
|
31
|
+
Features: Multiple types (breathing, body scan, loving-kindness), flexible durations, progressive levels, mood integration.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: guided meditation
|
|
3
|
+
description: TODO
|
|
4
|
+
web_bundle: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Guided Meditation
|
|
8
|
+
|
|
9
|
+
**Goal:** TODO
|
|
10
|
+
|
|
11
|
+
**Your Role:** TODO
|
|
12
|
+
|
|
13
|
+
## WORKFLOW ARCHITECTURE
|
|
14
|
+
|
|
15
|
+
### Core Principles
|
|
16
|
+
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
### Step Processing Rules
|
|
20
|
+
|
|
21
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
22
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
23
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
24
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
25
|
+
5. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
|
|
26
|
+
|
|
27
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
28
|
+
|
|
29
|
+
- 🛑 **NEVER** load multiple step files simultaneously
|
|
30
|
+
- 📖 **ALWAYS** read entire step file before execution
|
|
31
|
+
- 🎯 **ALWAYS** follow the exact instructions in the step file
|
|
32
|
+
- ⏸️ **ALWAYS** halt at menus and wait for user input
|
|
33
|
+
- 📋 **NEVER** create mental todo lists from future steps
|
|
34
|
+
|
|
35
|
+
## INITIALIZATION SEQUENCE
|
|
36
|
+
|
|
37
|
+
### 1. Module Configuration Loading
|
|
38
|
+
|
|
39
|
+
Load and read full config from {project-root}/.bmad/mwm/config.yaml and resolve:
|
|
40
|
+
|
|
41
|
+
- `user_name`, `output_folder`, `communication_language`, `document_output_language`
|
|
42
|
+
|
|
43
|
+
### 2. First Step EXECUTION
|
|
44
|
+
|
|
45
|
+
TODO - NO INSTRUCTIONS IMPLEMENTED YET - INFORM USER THIS IS COMING SOON FUNCTIONALITY.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Wellness Journal Workflow
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Guided reflective writing practice to process thoughts and emotions.
|
|
6
|
+
|
|
7
|
+
## Trigger
|
|
8
|
+
|
|
9
|
+
WJ (from Wellness Companion agent)
|
|
10
|
+
|
|
11
|
+
## Key Steps
|
|
12
|
+
|
|
13
|
+
1. Set intention for journal entry
|
|
14
|
+
2. Choose journal prompt or free write
|
|
15
|
+
3. Guided reflection questions
|
|
16
|
+
4. Emotional processing check
|
|
17
|
+
5. Identify insights or patterns
|
|
18
|
+
6. Save entry with mood tags
|
|
19
|
+
7. Provide supportive closure
|
|
20
|
+
|
|
21
|
+
## Expected Output
|
|
22
|
+
|
|
23
|
+
- Journal entry with metadata
|
|
24
|
+
- Mood analysis
|
|
25
|
+
- Pattern insights
|
|
26
|
+
- Progress indicators
|
|
27
|
+
|
|
28
|
+
## Notes
|
|
29
|
+
|
|
30
|
+
This workflow will be implemented using the create-workflow workflow.
|
|
31
|
+
Features: Daily prompts, mood tracking, pattern recognition, searchable entries.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wellness-journal
|
|
3
|
+
description: create or add to the wellness journal
|
|
4
|
+
web_bundle: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Wellness Journal
|
|
8
|
+
|
|
9
|
+
**Goal:** TODO
|
|
10
|
+
|
|
11
|
+
**Your Role:** TODO
|
|
12
|
+
|
|
13
|
+
## WORKFLOW ARCHITECTURE
|
|
14
|
+
|
|
15
|
+
### Core Principles
|
|
16
|
+
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
### Step Processing Rules
|
|
20
|
+
|
|
21
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
22
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
23
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
24
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
25
|
+
5. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
|
|
26
|
+
|
|
27
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
28
|
+
|
|
29
|
+
- 🛑 **NEVER** load multiple step files simultaneously
|
|
30
|
+
- 📖 **ALWAYS** read entire step file before execution
|
|
31
|
+
- 🎯 **ALWAYS** follow the exact instructions in the step file
|
|
32
|
+
- ⏸️ **ALWAYS** halt at menus and wait for user input
|
|
33
|
+
- 📋 **NEVER** create mental todo lists from future steps
|
|
34
|
+
|
|
35
|
+
## INITIALIZATION SEQUENCE
|
|
36
|
+
|
|
37
|
+
### 1. Module Configuration Loading
|
|
38
|
+
|
|
39
|
+
Load and read full config from {project-root}/.bmad/mwm/config.yaml and resolve:
|
|
40
|
+
|
|
41
|
+
- `user_name`, `output_folder`, `communication_language`, `document_output_language`
|
|
42
|
+
|
|
43
|
+
### 2. First Step EXECUTION
|
|
44
|
+
|
|
45
|
+
TODO - NO INSTRUCTIONS IMPLEMENTED YET - INFORM USER THIS IS COMING SOON FUNCTIONALITY.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "bmad-method",
|
|
4
|
-
"version": "6.0.0-alpha.
|
|
4
|
+
"version": "6.0.0-alpha.14",
|
|
5
5
|
"description": "Breakthrough Method of Agile AI-driven Development",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"agile",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"bmad-method": "tools/bmad-npx-wrapper.js"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"bmad:agent-install": "node tools/cli/bmad-cli.js agent-install",
|
|
28
27
|
"bmad:install": "node tools/cli/bmad-cli.js install",
|
|
29
28
|
"bmad:status": "node tools/cli/bmad-cli.js status",
|
|
30
29
|
"bundle": "node tools/cli/bundlers/bundle-web.js all",
|
|
@@ -34,13 +33,14 @@
|
|
|
34
33
|
"install:bmad": "node tools/cli/bmad-cli.js install",
|
|
35
34
|
"lint": "eslint . --ext .js,.cjs,.mjs,.yaml --max-warnings=0",
|
|
36
35
|
"lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
|
|
36
|
+
"lint:md": "markdownlint-cli2 \"**/*.md\"",
|
|
37
37
|
"prepare": "husky",
|
|
38
38
|
"rebundle": "node tools/cli/bundlers/bundle-web.js rebundle",
|
|
39
39
|
"release:major": "gh workflow run \"Manual Release\" -f version_bump=major",
|
|
40
40
|
"release:minor": "gh workflow run \"Manual Release\" -f version_bump=minor",
|
|
41
41
|
"release:patch": "gh workflow run \"Manual Release\" -f version_bump=patch",
|
|
42
42
|
"release:watch": "gh run watch",
|
|
43
|
-
"test": "npm run test:schemas && npm run test:install && npm run validate:bundles && npm run validate:schemas && npm run lint && npm run format:check",
|
|
43
|
+
"test": "npm run test:schemas && npm run test:install && npm run validate:bundles && npm run validate:schemas && npm run lint && npm run lint:md && npm run format:check",
|
|
44
44
|
"test:coverage": "c8 --reporter=text --reporter=html npm run test:schemas",
|
|
45
45
|
"test:install": "node test/test-installation-components.js",
|
|
46
46
|
"test:schemas": "node test/test-agent-schema.js",
|
|
@@ -56,7 +56,11 @@
|
|
|
56
56
|
"eslint --fix",
|
|
57
57
|
"npm run format:fix"
|
|
58
58
|
],
|
|
59
|
-
"*.
|
|
59
|
+
"*.json": [
|
|
60
|
+
"npm run format:fix"
|
|
61
|
+
],
|
|
62
|
+
"*.md": [
|
|
63
|
+
"markdownlint-cli2",
|
|
60
64
|
"npm run format:fix"
|
|
61
65
|
]
|
|
62
66
|
},
|
|
@@ -90,6 +94,7 @@
|
|
|
90
94
|
"husky": "^9.1.7",
|
|
91
95
|
"jest": "^30.0.4",
|
|
92
96
|
"lint-staged": "^16.1.1",
|
|
97
|
+
"markdownlint-cli2": "^0.19.1",
|
|
93
98
|
"prettier": "^3.5.3",
|
|
94
99
|
"prettier-plugin-packagejson": "^2.5.19",
|
|
95
100
|
"yaml-eslint-parser": "^1.2.3",
|
|
@@ -23,7 +23,11 @@ document_output_language:
|
|
|
23
23
|
default: "{communication_language}"
|
|
24
24
|
result: "{value}"
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
agent_sidecar_folder:
|
|
27
|
+
prompt: "Where should users agent sidecar memory folders be stored?"
|
|
28
|
+
default: ".bmad-user-memory"
|
|
29
|
+
result: "{project-root}/{value}"
|
|
30
|
+
|
|
27
31
|
output_folder:
|
|
28
32
|
prompt: "Where should AI Generated Artifacts be saved across all modules?"
|
|
29
33
|
default: "docs"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Purpose
|
|
6
6
|
|
|
7
|
-
Load external .excalidrawlib files from https://libraries.excalidraw.com or custom sources.
|
|
7
|
+
Load external .excalidrawlib files from <https://libraries.excalidraw.com> or custom sources.
|
|
8
8
|
|
|
9
9
|
## Planned Capabilities
|
|
10
10
|
|
|
@@ -34,7 +34,7 @@ libraries:
|
|
|
34
34
|
|
|
35
35
|
## Implementation Notes
|
|
36
36
|
|
|
37
|
-
This will be developed when agents need to leverage the extensive library ecosystem available at https://libraries.excalidraw.com
|
|
37
|
+
This will be developed when agents need to leverage the extensive library ecosystem available at <https://libraries.excalidraw.com>.
|
|
38
38
|
|
|
39
39
|
Hundreds of pre-built component libraries exist for:
|
|
40
40
|
|
|
@@ -135,7 +135,7 @@ _[Content based on conversation about session parameters and facilitator approac
|
|
|
135
135
|
|
|
136
136
|
When user selects approach, append the session overview content directly to `{output_folder}/analysis/brainstorming-session-{{date}}.md` using the structure from above.
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
### E. Continue to Technique Selection
|
|
139
139
|
|
|
140
140
|
"**Session setup complete!** I have a clear understanding of your goals and can select the perfect techniques for your brainstorming needs.
|
|
141
141
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: party-mode
|
|
3
3
|
description: Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -31,7 +31,7 @@ Load config from `{project-root}/{bmad_folder}/bmm/config.yaml` and resolve:
|
|
|
31
31
|
|
|
32
32
|
- `project_name`, `output_folder`, `user_name`
|
|
33
33
|
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
34
|
-
- `date
|
|
34
|
+
- `date` as a system-generated value
|
|
35
35
|
- Agent manifest path: `{project-root}/{bmad_folder}/_cfg/agent-manifest.csv`
|
|
36
36
|
|
|
37
37
|
### Paths
|
|
@@ -118,7 +118,6 @@ stepsCompleted: [1]
|
|
|
118
118
|
workflowType: 'party-mode'
|
|
119
119
|
user_name: '{{user_name}}'
|
|
120
120
|
date: '{{date}}'
|
|
121
|
-
current_year: '{{current_year}}'
|
|
122
121
|
agents_loaded: true
|
|
123
122
|
party_active: true
|
|
124
123
|
exit_triggers: ['*exit', 'goodbye', 'end party', 'quit']
|
|
@@ -58,7 +58,7 @@ Specialized tools and workflows for creating, customizing, and extending BMad co
|
|
|
58
58
|
|
|
59
59
|
- **[Workflow Index](./docs/workflows/index.md)** - Core workflow system overview
|
|
60
60
|
- **[Architecture Guide](./docs/workflows/architecture.md)** - Step-file design and JIT loading
|
|
61
|
-
- **[Template System](./docs/workflows/step-template.md)** - Standard step file template
|
|
61
|
+
- **[Template System](./docs/workflows/templates/step-template.md)** - Standard step file template
|
|
62
62
|
- **[Intent vs Prescriptive](./docs/workflows/intent-vs-prescriptive-spectrum.md)** - Design philosophy
|
|
63
63
|
|
|
64
64
|
## Reference Materials
|
|
@@ -15,17 +15,12 @@ subheader: "Configure the settings for the BoMB Factory!\nThe agent, workflow an
|
|
|
15
15
|
## install_user_docs
|
|
16
16
|
## kb_install
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
prompt: "Where do custom agents get
|
|
20
|
-
default: "
|
|
21
|
-
result: "{project-root}/{value}"
|
|
22
|
-
|
|
23
|
-
custom_workflow_location:
|
|
24
|
-
prompt: "Where do custom workflows get stored?"
|
|
25
|
-
default: "{bmad_folder}/custom/src/workflows"
|
|
18
|
+
custom_stand_alone_location:
|
|
19
|
+
prompt: "Where do custom agents and workflows get stored?"
|
|
20
|
+
default: "bmad-custom-src"
|
|
26
21
|
result: "{project-root}/{value}"
|
|
27
22
|
|
|
28
23
|
custom_module_location:
|
|
29
24
|
prompt: "Where do custom modules get stored?"
|
|
30
|
-
default: "
|
|
25
|
+
default: "bmad-custom-modules-src"
|
|
31
26
|
result: "{project-root}/{value}"
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
const fs = require('fs-extra');
|
|
2
|
+
const path = require('node:path');
|
|
3
|
+
const chalk = require('chalk');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* BMB Module Installer
|
|
7
|
+
* Sets up custom agent and workflow locations for the BMad Builder module
|
|
8
|
+
*
|
|
9
|
+
* @param {Object} options - Installation options
|
|
10
|
+
* @param {string} options.projectRoot - The root directory of the target project
|
|
11
|
+
* @param {Object} options.config - Module configuration from install-config.yaml
|
|
12
|
+
* @param {Object} options.coreConfig - Core configuration containing user_name
|
|
13
|
+
* @param {Array<string>} options.installedIDEs - Array of IDE codes that were installed
|
|
14
|
+
* @param {Object} options.logger - Logger instance for output
|
|
15
|
+
* @returns {Promise<boolean>} - Success status
|
|
16
|
+
*/
|
|
17
|
+
async function install(options) {
|
|
18
|
+
const { projectRoot, config, coreConfig, installedIDEs, logger } = options;
|
|
19
|
+
|
|
20
|
+
try {
|
|
21
|
+
logger.log(chalk.blue('🔧 Setting up BMB Module...'));
|
|
22
|
+
|
|
23
|
+
// Generate custom.yaml in custom_stand_alone_location
|
|
24
|
+
if (config['custom_stand_alone_location']) {
|
|
25
|
+
// The config value contains {project-root} which needs to be resolved
|
|
26
|
+
const rawLocation = config['custom_stand_alone_location'];
|
|
27
|
+
const customLocation = rawLocation.replace('{project-root}', projectRoot);
|
|
28
|
+
const customDestPath = path.join(customLocation, 'custom.yaml');
|
|
29
|
+
|
|
30
|
+
logger.log(chalk.cyan(` Setting up custom agents at: ${customLocation}`));
|
|
31
|
+
|
|
32
|
+
// Ensure the directory exists
|
|
33
|
+
await fs.ensureDir(customLocation);
|
|
34
|
+
|
|
35
|
+
// Generate the custom.yaml content
|
|
36
|
+
const userName = (coreConfig && coreConfig.user_name) || 'my';
|
|
37
|
+
const customContent = `code: my-custom-bmad
|
|
38
|
+
name: "${userName}-Custom-BMad: Sample Stand Alone Custom Agents and Workflows"
|
|
39
|
+
default_selected: true
|
|
40
|
+
`;
|
|
41
|
+
|
|
42
|
+
// Write the custom.yaml file (only if it doesn't exist to preserve user changes)
|
|
43
|
+
if (await fs.pathExists(customDestPath)) {
|
|
44
|
+
logger.log(chalk.yellow(` ✓ custom.yaml already exists at ${customDestPath}`));
|
|
45
|
+
} else {
|
|
46
|
+
await fs.writeFile(customDestPath, customContent, 'utf8');
|
|
47
|
+
logger.log(chalk.green(` ✓ Created custom.yaml at ${customDestPath}`));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Set up custom module location if configured
|
|
52
|
+
if (config['custom_module_location']) {
|
|
53
|
+
const rawModuleLocation = config['custom_module_location'];
|
|
54
|
+
const moduleLocation = rawModuleLocation.replace('{project-root}', projectRoot);
|
|
55
|
+
|
|
56
|
+
logger.log(chalk.cyan(` Setting up custom modules at: ${moduleLocation}`));
|
|
57
|
+
|
|
58
|
+
// Ensure the directory exists
|
|
59
|
+
await fs.ensureDir(moduleLocation);
|
|
60
|
+
logger.log(chalk.green(` ✓ Created modules directory at ${moduleLocation}`));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// Handle IDE-specific configurations if needed
|
|
64
|
+
if (installedIDEs && installedIDEs.length > 0) {
|
|
65
|
+
logger.log(chalk.cyan(` Configuring BMB for IDEs: ${installedIDEs.join(', ')}`));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
logger.log(chalk.green('✓ BMB Module setup complete'));
|
|
69
|
+
return true;
|
|
70
|
+
} catch (error) {
|
|
71
|
+
logger.error(chalk.red(`Error setting up BMB module: ${error.message}`));
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
module.exports = { install };
|
|
@@ -29,22 +29,25 @@ agent:
|
|
|
29
29
|
- modules: "{project-root}/{bmad_folder}/bmb/docs/modules/kb.csv"
|
|
30
30
|
|
|
31
31
|
menu:
|
|
32
|
-
- multi: "[CA] Create, [EA] Edit, or [VA] Validate
|
|
32
|
+
- multi: "[CA] Create, [EA] Edit, or [VA] Validate with Compliance CheckBMAD agents with best practices"
|
|
33
33
|
triggers:
|
|
34
34
|
- create-agent:
|
|
35
35
|
- input: CA or fuzzy match create agent
|
|
36
36
|
- route: "{project-root}/{bmad_folder}/bmb/workflows/create-agent/workflow.md"
|
|
37
37
|
- data: null
|
|
38
|
+
- type: exec
|
|
38
39
|
- edit-agent:
|
|
39
40
|
- input: EA or fuzzy match edit agent
|
|
40
41
|
- route: "{project-root}/{bmad_folder}/bmb/workflows/edit-agent/workflow.md"
|
|
41
42
|
- data: null
|
|
43
|
+
- type: exec
|
|
42
44
|
- run-agent-compliance-check:
|
|
43
45
|
- input: VA or fuzzy match validate agent
|
|
44
46
|
- route: "{project-root}/{bmad_folder}/bmb/workflows/agent-compliance-check/workflow.md"
|
|
45
47
|
- data: null
|
|
48
|
+
- type: exec
|
|
46
49
|
|
|
47
|
-
- multi: "[CW] Create, [EW] Edit, or [VW] Validate
|
|
50
|
+
- multi: "[CW] Create, [EW] Edit, or [VW] Validate with Compliance CheckBMAD workflows with best practices"
|
|
48
51
|
triggers:
|
|
49
52
|
- create-workflow:
|
|
50
53
|
- input: CW or fuzzy match create workflow
|
|
@@ -62,10 +65,30 @@ agent:
|
|
|
62
65
|
- data: null
|
|
63
66
|
- type: exec
|
|
64
67
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
- multi: "[BM] Brainstorm, [PBM] Product Brief, [CM] Create, [EM] Edit or [VM] Validate with Compliance Check BMAD modules with best practices"
|
|
69
|
+
triggers:
|
|
70
|
+
- brainstorm-module:
|
|
71
|
+
- input: BM or fuzzy match brainstorm module
|
|
72
|
+
- route: "{project-root}/{bmad_folder}/bmb/workflows/brainstorm-module/workflow.md"
|
|
73
|
+
- data: null
|
|
74
|
+
- type: exec
|
|
75
|
+
- product-brief-module:
|
|
76
|
+
- input: PBM or fuzzy match product brief module
|
|
77
|
+
- route: "{project-root}/{bmad_folder}/bmb/workflows/product-brief-module/workflow.md"
|
|
78
|
+
- data: null
|
|
79
|
+
- type: exec
|
|
80
|
+
- create-module:
|
|
81
|
+
- input: CM or fuzzy match create module
|
|
82
|
+
- route: "{project-root}/{bmad_folder}/bmb/workflows/create-module/workflow.md"
|
|
83
|
+
- data: null
|
|
84
|
+
- type: exec
|
|
85
|
+
- edit-module:
|
|
86
|
+
- input: EM or fuzzy match edit module
|
|
87
|
+
- route: "{project-root}/{bmad_folder}/bmb/workflows/edit-module/workflow.md"
|
|
88
|
+
- data: null
|
|
89
|
+
- type: exec
|
|
90
|
+
- run-module-compliance-check:
|
|
91
|
+
- input: VM or fuzzy match validate module
|
|
92
|
+
- route: "{project-root}/{bmad_folder}/bmb/workflows/module-compliance-check/workflow.md"
|
|
93
|
+
- data: null
|
|
94
|
+
- type: exec
|
|
@@ -375,7 +375,7 @@ exec: "../../../core/tasks/validate.xml"
|
|
|
375
375
|
|
|
376
376
|
- `{project-root}` - Project root directory
|
|
377
377
|
- `{bmad_folder}` - BMAD installation folder
|
|
378
|
-
- `{
|
|
378
|
+
- `{agent_sidecar_folder}` - Agent installation directory (Expert agents)
|
|
379
379
|
- `{output_folder}` - Document output location
|
|
380
380
|
- `{user_name}` - User's name from config
|
|
381
381
|
- `{communication_language}` - Language preference
|
|
@@ -415,9 +415,9 @@ menu:
|
|
|
415
415
|
|
|
416
416
|
```yaml
|
|
417
417
|
critical_actions:
|
|
418
|
-
- 'Load
|
|
419
|
-
- 'Follow
|
|
420
|
-
- 'ONLY access
|
|
418
|
+
- 'Load ./memories.md'
|
|
419
|
+
- 'Follow ./instructions.md'
|
|
420
|
+
- 'ONLY access ./'
|
|
421
421
|
|
|
422
422
|
prompts:
|
|
423
423
|
- id: reflect
|
|
@@ -431,7 +431,7 @@ menu:
|
|
|
431
431
|
description: 'Write journal entry'
|
|
432
432
|
|
|
433
433
|
- trigger: save
|
|
434
|
-
action: 'Update
|
|
434
|
+
action: 'Update ./memories.md with session insights'
|
|
435
435
|
description: "Save today's session"
|
|
436
436
|
|
|
437
437
|
- trigger: patterns
|
|
@@ -57,9 +57,9 @@ agent:
|
|
|
57
57
|
- My approach to memory and learning
|
|
58
58
|
|
|
59
59
|
critical_actions:
|
|
60
|
-
- 'Load COMPLETE file {agent-
|
|
61
|
-
- 'Load COMPLETE file {agent-
|
|
62
|
-
- 'ONLY read/write files in {agent-
|
|
60
|
+
- 'Load COMPLETE file ./{agent-name}-sidecar/memories.md and remember all past insights'
|
|
61
|
+
- 'Load COMPLETE file ./{agent-name}-sidecar/instructions.md and follow ALL protocols'
|
|
62
|
+
- 'ONLY read/write files in ./{agent-name}-sidecar/ - this is our private space'
|
|
63
63
|
- 'Address user as {{greeting_name}}'
|
|
64
64
|
- 'Track patterns, themes, and important moments'
|
|
65
65
|
- 'Reference past interactions naturally to show continuity'
|
|
@@ -94,7 +94,7 @@ agent:
|
|
|
94
94
|
description: 'Primary agent function'
|
|
95
95
|
|
|
96
96
|
- trigger: remember
|
|
97
|
-
action: 'Update {agent-
|
|
97
|
+
action: 'Update ./{agent-name}-sidecar/memories.md with session insights'
|
|
98
98
|
description: 'Save what we discussed today'
|
|
99
99
|
|
|
100
100
|
- trigger: patterns
|
|
@@ -102,7 +102,7 @@ agent:
|
|
|
102
102
|
description: 'Recall patterns from past interactions'
|
|
103
103
|
|
|
104
104
|
- trigger: insight
|
|
105
|
-
action: 'Document breakthrough in {agent-
|
|
105
|
+
action: 'Document breakthrough in ./{agent-name}-sidecar/breakthroughs.md'
|
|
106
106
|
description: 'Record a significant insight'
|
|
107
107
|
|
|
108
108
|
install_config:
|
|
@@ -184,9 +184,9 @@ Add domain-specific documentation here.
|
|
|
184
184
|
|
|
185
185
|
```yaml
|
|
186
186
|
critical_actions:
|
|
187
|
-
- 'Load COMPLETE file {
|
|
188
|
-
- 'Load COMPLETE file {
|
|
189
|
-
- 'ONLY read/write files in {
|
|
187
|
+
- 'Load COMPLETE file ./{sidecar}/memories.md and remember all past insights'
|
|
188
|
+
- 'Load COMPLETE file ./{sidecar}/instructions.md and follow ALL protocols'
|
|
189
|
+
- 'ONLY read/write files in ./{sidecar}/ - this is our private space'
|
|
190
190
|
```
|
|
191
191
|
|
|
192
192
|
**Key patterns:**
|
|
@@ -196,7 +196,7 @@ critical_actions:
|
|
|
196
196
|
- **Memory integration** - Past context becomes part of current session
|
|
197
197
|
- **Protocol adherence** - Ensures consistent behavior
|
|
198
198
|
|
|
199
|
-
### {
|
|
199
|
+
### {agent_sidecar_folder} Variable
|
|
200
200
|
|
|
201
201
|
Special variable resolved during installation:
|
|
202
202
|
|
|
@@ -211,9 +211,9 @@ Same as simple agents, PLUS:
|
|
|
211
211
|
1. **Critical actions become numbered activation steps**
|
|
212
212
|
|
|
213
213
|
```xml
|
|
214
|
-
<step n="4">Load COMPLETE file
|
|
215
|
-
<step n="5">Load COMPLETE file
|
|
216
|
-
<step n="6">ONLY read/write files in
|
|
214
|
+
<step n="4">Load COMPLETE file ./memories.md...</step>
|
|
215
|
+
<step n="5">Load COMPLETE file ./instructions.md...</step>
|
|
216
|
+
<step n="6">ONLY read/write files in ./...</step>
|
|
217
217
|
```
|
|
218
218
|
|
|
219
219
|
2. **Sidecar files copied during installation**
|
|
@@ -260,7 +260,7 @@ The installer:
|
|
|
260
260
|
```yaml
|
|
261
261
|
menu:
|
|
262
262
|
- trigger: save
|
|
263
|
-
action: "Update
|
|
263
|
+
action: "Update ./sidecar/memories.md with today's session insights"
|
|
264
264
|
description: 'Save session to memory'
|
|
265
265
|
```
|
|
266
266
|
|
|
@@ -281,7 +281,7 @@ prompts:
|
|
|
281
281
|
```yaml
|
|
282
282
|
menu:
|
|
283
283
|
- trigger: insight
|
|
284
|
-
action: 'Document in
|
|
284
|
+
action: 'Document in ./sidecar/breakthroughs.md with date, context, significance'
|
|
285
285
|
description: 'Record meaningful insight'
|
|
286
286
|
```
|
|
287
287
|
|
|
@@ -291,7 +291,7 @@ menu:
|
|
|
291
291
|
|
|
292
292
|
```yaml
|
|
293
293
|
critical_actions:
|
|
294
|
-
- 'ONLY read/write files in
|
|
294
|
+
- 'ONLY read/write files in ./sidecar/ - NO OTHER FOLDERS'
|
|
295
295
|
```
|
|
296
296
|
|
|
297
297
|
### User Space Access
|
|
@@ -305,15 +305,15 @@ critical_actions:
|
|
|
305
305
|
|
|
306
306
|
```yaml
|
|
307
307
|
critical_actions:
|
|
308
|
-
- 'Load knowledge from
|
|
309
|
-
- 'Write ONLY to
|
|
308
|
+
- 'Load knowledge from ./knowledge/ but NEVER modify'
|
|
309
|
+
- 'Write ONLY to ./sessions/'
|
|
310
310
|
```
|
|
311
311
|
|
|
312
312
|
## Best Practices
|
|
313
313
|
|
|
314
314
|
1. **Load sidecar files in critical_actions** - Must be explicit and MANDATORY
|
|
315
315
|
2. **Enforce domain restrictions** - Clear boundaries prevent scope creep
|
|
316
|
-
3. **Use {
|
|
316
|
+
3. **Use {agent_sidecar_folder} paths** - Portable across installations
|
|
317
317
|
4. **Design for memory growth** - Structure sidecar files for accumulation
|
|
318
318
|
5. **Reference past naturally** - Don't dump memory, weave it into conversation
|
|
319
319
|
6. **Separate concerns** - Memories, instructions, knowledge in distinct files
|
|
@@ -356,8 +356,8 @@ identity: |
|
|
|
356
356
|
- [ ] Sidecar folder structure created and populated
|
|
357
357
|
- [ ] memories.md has clear section structure
|
|
358
358
|
- [ ] instructions.md contains core directives
|
|
359
|
-
- [ ] Menu actions reference {
|
|
360
|
-
- [ ] File paths use {
|
|
359
|
+
- [ ] Menu actions reference {agent_sidecar_folder} correctly
|
|
360
|
+
- [ ] File paths use {agent_sidecar_folder} variable
|
|
361
361
|
- [ ] Install config personalizes sidecar references
|
|
362
362
|
- [ ] Agent folder named consistently: `{agent-name}/`
|
|
363
363
|
- [ ] YAML file named: `{agent-name}.agent.yaml`
|