bmad-method 6.0.0-alpha.12 → 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/bundle-latest.yaml +79 -27
- 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 +254 -1
- package/CODE_OF_CONDUCT.md +128 -0
- package/README.md +3 -1
- 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 +58 -90
- package/docs/document-sharding-guide.md +1 -1
- package/docs/ide-info/rovo-dev.md +388 -0
- package/docs/index.md +6 -81
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +4 -0
- package/example-custom-content/agents/commit-poet/commit-poet.agent.yaml +129 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
- package/example-custom-content/agents/toolsmith/toolsmith.agent.yaml +109 -0
- 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/agents/bmad-master.agent.yaml +1 -1
- package/src/core/agents/bmad-web-orchestrator.agent.xml +1 -1
- package/src/core/resources/excalidraw/library-loader.md +2 -2
- package/src/core/tasks/advanced-elicitation-methods.csv +51 -21
- package/src/core/tasks/advanced-elicitation.xml +18 -8
- package/src/core/tasks/workflow.xml +36 -71
- package/src/core/workflows/brainstorming/brain-methods.csv +62 -36
- package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
- package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
- package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
- package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
- package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
- package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
- package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
- package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
- package/src/core/workflows/brainstorming/template.md +13 -104
- package/src/core/workflows/brainstorming/workflow.md +51 -0
- package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
- package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
- package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +158 -0
- package/src/core/workflows/party-mode/workflow.md +206 -0
- package/src/modules/bmb/README.md +153 -86
- 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 +75 -38
- package/src/modules/bmb/docs/{agent-menu-patterns.md → agents/agent-menu-patterns.md} +6 -6
- package/src/modules/bmb/docs/{expert-agent-architecture.md → agents/expert-agent-architecture.md} +20 -20
- package/src/modules/bmb/docs/agents/kb.csv +0 -0
- package/src/modules/bmb/docs/{module-agent-architecture.md → agents/module-agent-architecture.md} +46 -46
- package/src/modules/bmb/docs/{simple-agent-architecture.md → agents/simple-agent-architecture.md} +7 -3
- package/src/modules/bmb/docs/workflows/architecture.md +220 -0
- package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +19 -0
- package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +206 -0
- package/src/modules/bmb/docs/workflows/index.md +45 -0
- package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
- package/src/modules/bmb/docs/workflows/kb.csv +0 -0
- 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/docs/workflows/templates/step-file.md +139 -0
- package/src/modules/bmb/docs/workflows/templates/step-template.md +290 -0
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
- package/src/modules/bmb/docs/workflows/templates/workflow.md +58 -0
- package/src/modules/bmb/docs/workflows/terms.md +97 -0
- 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/README.md +1 -1
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +7 -7
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +176 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +120 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +153 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
- package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +29 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/README.md +3 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +50 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +305 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +210 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +260 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +237 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +231 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +224 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +234 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +179 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +197 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +180 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +222 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +21 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +25 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +23 -0
- package/src/modules/bmb/workflows/create-agent/workflow.md +91 -0
- 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 +157 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +211 -0
- 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-06-design.md +271 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-build.md +308 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-review.md +284 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
- package/src/modules/bmb/workflows/create-workflow/workflow.md +58 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
- package/src/modules/bmb/workflows/edit-agent/workflow.md +58 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +217 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +51 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +58 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +58 -0
- package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/checklist.md +0 -1
- package/src/modules/bmgd/agents/game-architect.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-designer.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-dev.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +1 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/install-config.yaml +10 -16
- package/src/modules/bmm/agents/analyst.agent.yaml +25 -22
- package/src/modules/bmm/agents/architect.agent.yaml +12 -14
- package/src/modules/bmm/agents/dev.agent.yaml +20 -16
- package/src/modules/bmm/agents/pm.agent.yaml +14 -32
- package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +36 -0
- package/src/modules/bmm/agents/sm.agent.yaml +13 -31
- package/src/modules/bmm/agents/tea.agent.yaml +10 -7
- package/src/modules/bmm/agents/tech-writer.agent.yaml +7 -20
- package/src/modules/bmm/agents/ux-designer.agent.yaml +12 -10
- package/src/modules/bmm/data/README.md +29 -0
- package/src/modules/bmm/data/project-context-template.md +40 -0
- package/src/modules/bmm/docs/README.md +44 -10
- package/src/modules/bmm/docs/agents-guide.md +80 -53
- package/src/modules/bmm/docs/bmad-quick-flow.md +528 -0
- package/src/modules/bmm/docs/brownfield-guide.md +25 -39
- package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
- package/src/modules/bmm/docs/faq.md +6 -39
- package/src/modules/bmm/docs/glossary.md +12 -25
- package/src/modules/bmm/docs/images/README.md +37 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +960 -1845
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +4 -2
- package/src/modules/bmm/docs/quick-flow-solo-dev.md +337 -0
- package/src/modules/bmm/docs/quick-spec-flow.md +5 -5
- package/src/modules/bmm/docs/quick-start.md +9 -25
- package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
- package/src/modules/bmm/docs/test-architecture.md +90 -24
- 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-analysis.md +36 -140
- package/src/modules/bmm/docs/workflows-implementation.md +175 -160
- package/src/modules/bmm/docs/workflows-planning.md +51 -212
- package/src/modules/bmm/docs/workflows-solutioning.md +26 -71
- package/src/modules/bmm/tasks/daily-standup.xml +85 -0
- package/src/modules/bmm/teams/default-party.csv +15 -14
- package/src/modules/bmm/teams/team-fullstack.yaml +0 -1
- package/src/modules/bmm/testarch/knowledge/api-request.md +303 -0
- package/src/modules/bmm/testarch/knowledge/auth-session.md +356 -0
- package/src/modules/bmm/testarch/knowledge/burn-in.md +273 -0
- package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
- package/src/modules/bmm/testarch/knowledge/file-utils.md +260 -0
- package/src/modules/bmm/testarch/knowledge/fixtures-composition.md +382 -0
- package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +280 -0
- package/src/modules/bmm/testarch/knowledge/log.md +294 -0
- package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +272 -0
- package/src/modules/bmm/testarch/knowledge/network-recorder.md +265 -0
- package/src/modules/bmm/testarch/knowledge/overview.md +284 -0
- package/src/modules/bmm/testarch/knowledge/recurse.md +296 -0
- package/src/modules/bmm/testarch/tea-index.csv +11 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +442 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +181 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +236 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +199 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +248 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +258 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +176 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +474 -0
- package/src/modules/bmm/workflows/1-analysis/research/research.template.md +15 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +238 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +247 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +201 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +238 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +485 -0
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +204 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +59 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +12 -200
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +243 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +165 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +420 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +289 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +290 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +270 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +261 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +257 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +298 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +269 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +293 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +223 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +49 -0
- 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/bmm/workflows/4-implementation/code-review/checklist.md +2 -1
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +224 -0
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
- package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +354 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
- package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
- package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
- 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 +11 -10
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
- 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/create-tech-spec/instructions.md +115 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +26 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +202 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +33 -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/project-context-template.md +20 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +48 -0
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
- package/src/modules/bmm/workflows/testarch/atdd/instructions.md +23 -3
- package/src/modules/bmm/workflows/testarch/automate/instructions.md +23 -2
- 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 +20 -3
- package/src/modules/bmm/workflows/testarch/framework/instructions.md +27 -1
- package/src/modules/bmm/workflows/testarch/test-design/instructions.md +8 -2
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +29 -9
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +66 -54
- package/src/modules/bmm/workflows/workflow-status/instructions.md +11 -4
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +4 -8
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +4 -8
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +4 -8
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +4 -9
- package/src/modules/cis/agents/README.md +1 -1
- package/src/modules/cis/agents/brainstorming-coach.agent.yaml +3 -2
- package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -1
- package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -1
- package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -1
- package/src/modules/cis/agents/presentation-master.agent.yaml +3 -2
- package/src/modules/cis/agents/storyteller.agent.yaml +2 -1
- package/src/modules/cis/teams/default-party.csv +6 -5
- package/src/utility/models/agent-activation-ide.xml +4 -4
- package/src/utility/models/agent-activation-web.xml +1 -11
- package/src/utility/models/fragments/activation-rules.xml +5 -6
- package/src/utility/models/fragments/handler-exec.xml +6 -5
- package/src/utility/models/fragments/handler-multi.xml +14 -0
- package/test/README.md +1 -1
- package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -3
- package/tools/cli/README.md +4 -3
- package/tools/cli/bundlers/web-bundler.js +3 -14
- package/tools/cli/commands/build.js +9 -184
- package/tools/cli/commands/install.js +42 -2
- package/tools/cli/installers/lib/core/config-collector.js +94 -10
- package/tools/cli/installers/lib/core/installer.js +389 -55
- 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/antigravity.js +51 -7
- package/tools/cli/installers/lib/ide/auggie.js +72 -7
- package/tools/cli/installers/lib/ide/claude-code.js +1 -6
- package/tools/cli/installers/lib/ide/cline.js +49 -0
- package/tools/cli/installers/lib/ide/codex.js +2 -2
- package/tools/cli/installers/lib/ide/crush.js +66 -6
- package/tools/cli/installers/lib/ide/cursor.js +29 -13
- package/tools/cli/installers/lib/ide/gemini.js +96 -1
- package/tools/cli/installers/lib/ide/github-copilot.js +59 -48
- package/tools/cli/installers/lib/ide/iflow.js +67 -1
- package/tools/cli/installers/lib/ide/kilo.js +74 -0
- 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/qwen.js +54 -0
- package/tools/cli/installers/lib/ide/roo.js +145 -138
- package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
- 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/ide/trae.js +47 -0
- package/tools/cli/installers/lib/modules/manager.js +486 -53
- package/tools/cli/lib/agent/compiler.js +210 -27
- package/tools/cli/lib/agent/installer.js +140 -30
- package/tools/cli/lib/agent-analyzer.js +46 -18
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +269 -13
- package/tools/cli/lib/yaml-xml-builder.js +123 -39
- package/tools/platform-codes.yaml +12 -0
- package/tools/schema/agent.js +229 -20
- package/tools/validate-svg-changes.sh +356 -0
- package/src/core/tasks/adv-elicit-methods.csv +0 -39
- package/src/core/workflows/brainstorming/README.md +0 -261
- package/src/core/workflows/brainstorming/instructions.md +0 -315
- package/src/core/workflows/brainstorming/workflow.yaml +0 -38
- package/src/core/workflows/party-mode/instructions.md +0 -183
- package/src/core/workflows/party-mode/workflow.yaml +0 -28
- package/src/modules/bmb/workflows/audit-workflow/checklist.md +0 -142
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +0 -341
- package/src/modules/bmb/workflows/audit-workflow/template.md +0 -118
- package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +0 -25
- package/src/modules/bmb/workflows/convert-legacy/README.md +0 -262
- package/src/modules/bmb/workflows/convert-legacy/checklist.md +0 -205
- package/src/modules/bmb/workflows/convert-legacy/instructions.md +0 -377
- package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +0 -30
- package/src/modules/bmb/workflows/create-agent/instructions.md +0 -519
- package/src/modules/bmb/workflows/create-agent/workflow.yaml +0 -55
- package/src/modules/bmb/workflows/create-module/README.md +0 -229
- package/src/modules/bmb/workflows/create-module/brainstorm-context.md +0 -137
- package/src/modules/bmb/workflows/create-module/checklist.md +0 -235
- package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +0 -92
- package/src/modules/bmb/workflows/create-module/installer-templates/installer.js +0 -231
- package/src/modules/bmb/workflows/create-module/instructions.md +0 -577
- package/src/modules/bmb/workflows/create-module/module-structure.md +0 -400
- package/src/modules/bmb/workflows/create-module/workflow.yaml +0 -52
- package/src/modules/bmb/workflows/create-workflow/README.md +0 -277
- package/src/modules/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
- package/src/modules/bmb/workflows/create-workflow/checklist.md +0 -94
- package/src/modules/bmb/workflows/create-workflow/instructions.md +0 -725
- package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1327
- package/src/modules/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
- package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -15
- package/src/modules/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
- package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -61
- package/src/modules/bmb/workflows/create-workflow/workflow.yaml +0 -41
- package/src/modules/bmb/workflows/edit-agent/README.md +0 -239
- package/src/modules/bmb/workflows/edit-agent/instructions.md +0 -654
- package/src/modules/bmb/workflows/edit-agent/workflow.yaml +0 -49
- package/src/modules/bmb/workflows/edit-workflow/README.md +0 -119
- package/src/modules/bmb/workflows/edit-workflow/checklist.md +0 -70
- package/src/modules/bmb/workflows/edit-workflow/instructions.md +0 -342
- package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +0 -27
- package/src/modules/bmgd/workflows/4-production/code-review/checklist.md +0 -22
- package/src/modules/bmm/_module-installer/assets/bmm-kb.md +0 -1
- package/src/modules/bmm/_module-installer/assets/technical-decisions.md +0 -30
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -39
- package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
- package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +0 -180
- package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -56
- package/src/modules/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
- package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
- package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +0 -181
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -61
- package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
- package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
- package/src/modules/bmm/workflows/1-analysis/research/checklist.md +0 -299
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
- package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
- package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
- package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
- package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
- package/src/modules/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
- package/src/modules/bmm/workflows/1-analysis/research/template-market.md +0 -347
- package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +0 -245
- package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +0 -62
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -93
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -78
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
- package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
- package/src/modules/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
- package/src/modules/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -100
- 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 -616
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -63
- 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/src/modules/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -58
- package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
- package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
- package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -63
- package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
- package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -28
- package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
- package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -25
- package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
- package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
- package/tools/cli/commands/agent-install.js +0 -409
- /package/src/modules/bmb/docs/{agent-compilation.md → agents/agent-compilation.md} +0 -0
- /package/src/modules/bmb/docs/{index.md → agents/index.md} +0 -0
- /package/src/modules/bmb/docs/{understanding-agent-types.md → agents/understanding-agent-types.md} +0 -0
- /package/src/modules/bmb/reference/{readme.md → README.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{agent-validation-checklist.md → data/agent-validation-checklist.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{brainstorm-context.md → data/brainstorm-context.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{communication-presets.csv → data/communication-presets.csv} +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/README.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/instructions.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/workflow.yaml +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/README.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/checklist.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/instructions.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/template.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/workflow.yaml +0 -0
- /package/src/modules/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
# Step 3: Context Completion & Finalization
|
|
2
|
+
|
|
3
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
4
|
+
|
|
5
|
+
- 🛑 NEVER generate content without user input
|
|
6
|
+
- ✅ ALWAYS treat this as collaborative completion between technical peers
|
|
7
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
8
|
+
- 💬 FOCUS on finalizing a lean, LLM-optimized project context
|
|
9
|
+
- 🎯 ENSURE all critical rules are captured and actionable
|
|
10
|
+
- ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
|
|
11
|
+
|
|
12
|
+
## EXECUTION PROTOCOLS:
|
|
13
|
+
|
|
14
|
+
- 🎯 Show your analysis before taking any action
|
|
15
|
+
- 📝 Review and optimize content for LLM context efficiency
|
|
16
|
+
- 📖 Update frontmatter with completion status
|
|
17
|
+
- 🚫 NO MORE STEPS - this is the final step
|
|
18
|
+
|
|
19
|
+
## CONTEXT BOUNDARIES:
|
|
20
|
+
|
|
21
|
+
- All rule categories from step-2 are complete
|
|
22
|
+
- Technology stack and versions are documented
|
|
23
|
+
- Focus on final review, optimization, and completion
|
|
24
|
+
- Ensure the context file is ready for AI agent consumption
|
|
25
|
+
|
|
26
|
+
## YOUR TASK:
|
|
27
|
+
|
|
28
|
+
Complete the project context file, optimize it for LLM efficiency, and provide guidance for usage and maintenance.
|
|
29
|
+
|
|
30
|
+
## COMPLETION SEQUENCE:
|
|
31
|
+
|
|
32
|
+
### 1. Review Complete Context File
|
|
33
|
+
|
|
34
|
+
Read the entire project context file and analyze:
|
|
35
|
+
|
|
36
|
+
**Content Analysis:**
|
|
37
|
+
|
|
38
|
+
- Total length and readability for LLMs
|
|
39
|
+
- Clarity and specificity of rules
|
|
40
|
+
- Coverage of all critical areas
|
|
41
|
+
- Actionability of each rule
|
|
42
|
+
|
|
43
|
+
**Structure Analysis:**
|
|
44
|
+
|
|
45
|
+
- Logical organization of sections
|
|
46
|
+
- Consistency of formatting
|
|
47
|
+
- Absence of redundant or obvious information
|
|
48
|
+
- Optimization for quick scanning
|
|
49
|
+
|
|
50
|
+
### 2. Optimize for LLM Context
|
|
51
|
+
|
|
52
|
+
Ensure the file is lean and efficient:
|
|
53
|
+
|
|
54
|
+
**Content Optimization:**
|
|
55
|
+
|
|
56
|
+
- Remove any redundant rules or obvious information
|
|
57
|
+
- Combine related rules into concise bullet points
|
|
58
|
+
- Use specific, actionable language
|
|
59
|
+
- Ensure each rule provides unique value
|
|
60
|
+
|
|
61
|
+
**Formatting Optimization:**
|
|
62
|
+
|
|
63
|
+
- Use consistent markdown formatting
|
|
64
|
+
- Implement clear section hierarchy
|
|
65
|
+
- Ensure scannability with strategic use of bolding
|
|
66
|
+
- Maintain readability while maximizing information density
|
|
67
|
+
|
|
68
|
+
### 3. Final Content Structure
|
|
69
|
+
|
|
70
|
+
Ensure the final structure follows this optimized format:
|
|
71
|
+
|
|
72
|
+
```markdown
|
|
73
|
+
# Project Context for AI Agents
|
|
74
|
+
|
|
75
|
+
_This file contains critical rules and patterns that AI agents must follow when implementing code in this project. Focus on unobvious details that agents might otherwise miss._
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Technology Stack & Versions
|
|
80
|
+
|
|
81
|
+
{{concise_technology_list}}
|
|
82
|
+
|
|
83
|
+
## Critical Implementation Rules
|
|
84
|
+
|
|
85
|
+
### Language-Specific Rules
|
|
86
|
+
|
|
87
|
+
{{specific_language_rules}}
|
|
88
|
+
|
|
89
|
+
### Framework-Specific Rules
|
|
90
|
+
|
|
91
|
+
{{framework_patterns}}
|
|
92
|
+
|
|
93
|
+
### Testing Rules
|
|
94
|
+
|
|
95
|
+
{{testing_requirements}}
|
|
96
|
+
|
|
97
|
+
### Code Quality & Style Rules
|
|
98
|
+
|
|
99
|
+
{{style_and_quality_patterns}}
|
|
100
|
+
|
|
101
|
+
### Development Workflow Rules
|
|
102
|
+
|
|
103
|
+
{{workflow_patterns}}
|
|
104
|
+
|
|
105
|
+
### Critical Don't-Miss Rules
|
|
106
|
+
|
|
107
|
+
{{anti_patterns_and_edge_cases}}
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Usage Guidelines
|
|
112
|
+
|
|
113
|
+
**For AI Agents:**
|
|
114
|
+
|
|
115
|
+
- Read this file before implementing any code
|
|
116
|
+
- Follow ALL rules exactly as documented
|
|
117
|
+
- When in doubt, prefer the more restrictive option
|
|
118
|
+
- Update this file if new patterns emerge
|
|
119
|
+
|
|
120
|
+
**For Humans:**
|
|
121
|
+
|
|
122
|
+
- Keep this file lean and focused on agent needs
|
|
123
|
+
- Update when technology stack changes
|
|
124
|
+
- Review quarterly for outdated rules
|
|
125
|
+
- Remove rules that become obvious over time
|
|
126
|
+
|
|
127
|
+
Last Updated: {{date}}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### 4. Present Completion Summary
|
|
131
|
+
|
|
132
|
+
Based on user skill level, present the completion:
|
|
133
|
+
|
|
134
|
+
**Expert Mode:**
|
|
135
|
+
"Project context complete. Optimized for LLM consumption with {{rule_count}} critical rules across {{section_count}} sections.
|
|
136
|
+
|
|
137
|
+
File saved to: `{output_folder}/project_context.md`
|
|
138
|
+
|
|
139
|
+
Ready for AI agent integration."
|
|
140
|
+
|
|
141
|
+
**Intermediate Mode:**
|
|
142
|
+
"Your project context is complete and optimized for AI agents!
|
|
143
|
+
|
|
144
|
+
**What we created:**
|
|
145
|
+
|
|
146
|
+
- {{rule_count}} critical implementation rules
|
|
147
|
+
- Technology stack with exact versions
|
|
148
|
+
- Framework-specific patterns and conventions
|
|
149
|
+
- Testing and quality guidelines
|
|
150
|
+
- Workflow and anti-pattern rules
|
|
151
|
+
|
|
152
|
+
**Key benefits:**
|
|
153
|
+
|
|
154
|
+
- AI agents will implement consistently with your standards
|
|
155
|
+
- Reduced context switching and implementation errors
|
|
156
|
+
- Clear guidance for unobvious project requirements
|
|
157
|
+
|
|
158
|
+
**Next steps:**
|
|
159
|
+
|
|
160
|
+
- AI agents should read this file before implementing
|
|
161
|
+
- Update as your project evolves
|
|
162
|
+
- Review periodically for optimization"
|
|
163
|
+
|
|
164
|
+
**Beginner Mode:**
|
|
165
|
+
"Excellent! Your project context guide is ready! 🎉
|
|
166
|
+
|
|
167
|
+
**What this does:**
|
|
168
|
+
Think of this as a 'rules of the road' guide for AI agents working on your project. It ensures they all follow the same patterns and avoid common mistakes.
|
|
169
|
+
|
|
170
|
+
**What's included:**
|
|
171
|
+
|
|
172
|
+
- Exact technology versions to use
|
|
173
|
+
- Critical coding rules they might miss
|
|
174
|
+
- Testing and quality standards
|
|
175
|
+
- Workflow patterns to follow
|
|
176
|
+
|
|
177
|
+
**How AI agents use it:**
|
|
178
|
+
They read this file before writing any code, ensuring everything they create follows your project's standards perfectly.
|
|
179
|
+
|
|
180
|
+
Your project context is saved and ready to help agents implement consistently!"
|
|
181
|
+
|
|
182
|
+
### 5. Final File Updates
|
|
183
|
+
|
|
184
|
+
Update the project context file with completion information:
|
|
185
|
+
|
|
186
|
+
**Frontmatter Update:**
|
|
187
|
+
|
|
188
|
+
```yaml
|
|
189
|
+
---
|
|
190
|
+
project_name: '{{project_name}}'
|
|
191
|
+
user_name: '{{user_name}}'
|
|
192
|
+
date: '{{date}}'
|
|
193
|
+
sections_completed:
|
|
194
|
+
['technology_stack', 'language_rules', 'framework_rules', 'testing_rules', 'quality_rules', 'workflow_rules', 'anti_patterns']
|
|
195
|
+
status: 'complete'
|
|
196
|
+
rule_count: { { total_rules } }
|
|
197
|
+
optimized_for_llm: true
|
|
198
|
+
---
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Add Usage Section:**
|
|
202
|
+
Append the usage guidelines from step 3 to complete the document.
|
|
203
|
+
|
|
204
|
+
### 6. Completion Validation
|
|
205
|
+
|
|
206
|
+
Final checks before completion:
|
|
207
|
+
|
|
208
|
+
**Content Validation:**
|
|
209
|
+
✅ All critical technology versions documented
|
|
210
|
+
✅ Language-specific rules are specific and actionable
|
|
211
|
+
✅ Framework rules cover project conventions
|
|
212
|
+
✅ Testing rules ensure consistency
|
|
213
|
+
✅ Code quality rules maintain standards
|
|
214
|
+
✅ Workflow rules prevent conflicts
|
|
215
|
+
✅ Anti-pattern rules prevent common mistakes
|
|
216
|
+
|
|
217
|
+
**Format Validation:**
|
|
218
|
+
✅ Content is lean and optimized for LLMs
|
|
219
|
+
✅ Structure is logical and scannable
|
|
220
|
+
✅ No redundant or obvious information
|
|
221
|
+
✅ Consistent formatting throughout
|
|
222
|
+
|
|
223
|
+
### 7. Completion Message
|
|
224
|
+
|
|
225
|
+
Present final completion to user:
|
|
226
|
+
|
|
227
|
+
"✅ **Project Context Generation Complete!**
|
|
228
|
+
|
|
229
|
+
Your optimized project context file is ready at:
|
|
230
|
+
`{output_folder}/project_context.md`
|
|
231
|
+
|
|
232
|
+
**📊 Context Summary:**
|
|
233
|
+
|
|
234
|
+
- {{rule_count}} critical rules for AI agents
|
|
235
|
+
- {{section_count}} comprehensive sections
|
|
236
|
+
- Optimized for LLM context efficiency
|
|
237
|
+
- Ready for immediate agent integration
|
|
238
|
+
|
|
239
|
+
**🎯 Key Benefits:**
|
|
240
|
+
|
|
241
|
+
- Consistent implementation across all AI agents
|
|
242
|
+
- Reduced common mistakes and edge cases
|
|
243
|
+
- Clear guidance for project-specific patterns
|
|
244
|
+
- Minimal LLM context usage
|
|
245
|
+
|
|
246
|
+
**📋 Next Steps:**
|
|
247
|
+
|
|
248
|
+
1. AI agents will automatically read this file when implementing
|
|
249
|
+
2. Update this file when your technology stack or patterns evolve
|
|
250
|
+
3. Review quarterly to optimize and remove outdated rules
|
|
251
|
+
|
|
252
|
+
Your project context will help ensure high-quality, consistent implementation across all development work. Great work capturing your project's critical implementation requirements!"
|
|
253
|
+
|
|
254
|
+
## SUCCESS METRICS:
|
|
255
|
+
|
|
256
|
+
✅ Complete project context file with all critical rules
|
|
257
|
+
✅ Content optimized for LLM context efficiency
|
|
258
|
+
✅ All technology versions and patterns documented
|
|
259
|
+
✅ File structure is logical and scannable
|
|
260
|
+
✅ Usage guidelines included for agents and humans
|
|
261
|
+
✅ Frontmatter properly updated with completion status
|
|
262
|
+
✅ User provided with clear next steps and benefits
|
|
263
|
+
|
|
264
|
+
## FAILURE MODES:
|
|
265
|
+
|
|
266
|
+
❌ Final content is too verbose for LLM consumption
|
|
267
|
+
❌ Missing critical implementation rules or patterns
|
|
268
|
+
❌ Not optimizing content for agent readability
|
|
269
|
+
❌ Not providing clear usage guidelines
|
|
270
|
+
❌ Frontmatter not properly updated
|
|
271
|
+
❌ Not validating file completion before ending
|
|
272
|
+
|
|
273
|
+
## WORKFLOW COMPLETE:
|
|
274
|
+
|
|
275
|
+
This is the final step of the Generate Project Context workflow. The user now has a comprehensive, optimized project context file that will ensure consistent, high-quality implementation across all AI agents working on the project.
|
|
276
|
+
|
|
277
|
+
The project context file serves as the critical "rules of the road" that agents need to implement code consistently with the project's standards and patterns.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: generate-project-context
|
|
3
|
+
description: Creates a concise project_context.md file with critical rules and patterns that AI agents must follow when implementing code. Optimized for LLM context efficiency.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Generate Project Context Workflow
|
|
7
|
+
|
|
8
|
+
**Goal:** Create a concise, optimized `project_context.md` file containing critical rules, patterns, and guidelines that AI agents must follow when implementing code. This file focuses on unobvious details that LLMs need to be reminded of.
|
|
9
|
+
|
|
10
|
+
**Your Role:** You are a technical facilitator working with a peer to capture the essential implementation rules that will ensure consistent, high-quality code generation across all AI agents working on the project.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## WORKFLOW ARCHITECTURE
|
|
15
|
+
|
|
16
|
+
This uses **micro-file architecture** for disciplined execution:
|
|
17
|
+
|
|
18
|
+
- Each step is a self-contained file with embedded rules
|
|
19
|
+
- Sequential progression with user control at each step
|
|
20
|
+
- Document state tracked in frontmatter
|
|
21
|
+
- Focus on lean, LLM-optimized content generation
|
|
22
|
+
- You NEVER proceed to a step file if the current step file indicates the user must approve and indicate continuation.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## INITIALIZATION
|
|
27
|
+
|
|
28
|
+
### Configuration Loading
|
|
29
|
+
|
|
30
|
+
Load config from `{project-root}/{bmad_folder}/bmm/config.yaml` and resolve:
|
|
31
|
+
|
|
32
|
+
- `project_name`, `output_folder`, `user_name`
|
|
33
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
34
|
+
- `date` as system-generated current datetime
|
|
35
|
+
|
|
36
|
+
### Paths
|
|
37
|
+
|
|
38
|
+
- `installed_path` = `{project-root}/{bmad_folder}/bmm/workflows/generate-project-context`
|
|
39
|
+
- `template_path` = `{installed_path}/project-context-template.md`
|
|
40
|
+
- `output_file` = `{output_folder}/project_context.md`
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## EXECUTION
|
|
45
|
+
|
|
46
|
+
Load and execute `steps/step-01-discover.md` to begin the workflow.
|
|
47
|
+
|
|
48
|
+
**Note:** Input document discovery and initialization protocols are handled in step-01-discover.md.
|
|
@@ -296,7 +296,7 @@ test('should do something', async ({ {fixtureName} }) => {
|
|
|
296
296
|
4. **Work one test at a time** (red → green for each)
|
|
297
297
|
5. **Share progress** in daily standup
|
|
298
298
|
6. **When all tests pass**, refactor code for quality
|
|
299
|
-
7. **When refactoring complete**,
|
|
299
|
+
7. **When refactoring complete**, manually update story status to 'done' in sprint-status.yaml
|
|
300
300
|
|
|
301
301
|
---
|
|
302
302
|
|
|
@@ -48,18 +48,38 @@ Generates failing acceptance tests BEFORE implementation following TDD's red-gre
|
|
|
48
48
|
- Check data factory patterns
|
|
49
49
|
- Note naming conventions
|
|
50
50
|
|
|
51
|
-
4. **
|
|
51
|
+
4. **Check Playwright Utils Flag**
|
|
52
|
+
|
|
53
|
+
Read `{config_source}` and check `config.tea_use_playwright_utils`.
|
|
54
|
+
|
|
55
|
+
5. **Load Knowledge Base Fragments**
|
|
52
56
|
|
|
53
57
|
**Critical:** Consult `{project-root}/{bmad_folder}/bmm/testarch/tea-index.csv` to load:
|
|
54
|
-
|
|
58
|
+
|
|
59
|
+
**Core Patterns (Always load):**
|
|
55
60
|
- `data-factories.md` - Factory patterns using faker (override patterns, nested factories, API seeding, 498 lines, 5 examples)
|
|
56
61
|
- `component-tdd.md` - Component test strategies (red-green-refactor, provider isolation, accessibility, visual regression, 480 lines, 4 examples)
|
|
57
|
-
- `network-first.md` - Route interception patterns (intercept before navigate, HAR capture, deterministic waiting, 489 lines, 5 examples)
|
|
58
62
|
- `test-quality.md` - Test design principles (deterministic tests, isolated with cleanup, explicit assertions, length limits, execution time optimization, 658 lines, 5 examples)
|
|
59
63
|
- `test-healing-patterns.md` - Common failure patterns and healing strategies (stale selectors, race conditions, dynamic data, network errors, hard waits, 648 lines, 5 examples)
|
|
60
64
|
- `selector-resilience.md` - Selector best practices (data-testid > ARIA > text > CSS hierarchy, dynamic patterns, anti-patterns, 541 lines, 4 examples)
|
|
61
65
|
- `timing-debugging.md` - Race condition prevention and async debugging (network-first, deterministic waiting, anti-patterns, 370 lines, 3 examples)
|
|
62
66
|
|
|
67
|
+
**If `config.tea_use_playwright_utils: true` (All Utilities):**
|
|
68
|
+
- `overview.md` - Playwright utils for ATDD patterns
|
|
69
|
+
- `api-request.md` - API test examples with schema validation
|
|
70
|
+
- `network-recorder.md` - HAR record/playback for UI acceptance tests
|
|
71
|
+
- `auth-session.md` - Auth setup for acceptance tests
|
|
72
|
+
- `intercept-network-call.md` - Network interception in ATDD scenarios
|
|
73
|
+
- `recurse.md` - Polling for async acceptance criteria
|
|
74
|
+
- `log.md` - Logging in ATDD tests
|
|
75
|
+
- `file-utils.md` - File download validation in acceptance tests
|
|
76
|
+
- `network-error-monitor.md` - Catch silent failures in ATDD
|
|
77
|
+
- `fixtures-composition.md` - Composing utilities for ATDD
|
|
78
|
+
|
|
79
|
+
**If `config.tea_use_playwright_utils: false`:**
|
|
80
|
+
- `fixture-architecture.md` - Test fixture patterns with auto-cleanup (pure function → fixture → mergeTests composition, 406 lines, 5 examples)
|
|
81
|
+
- `network-first.md` - Route interception patterns (intercept before navigate, HAR capture, deterministic waiting, 489 lines, 5 examples)
|
|
82
|
+
|
|
63
83
|
**Halt Condition:** If story has no acceptance criteria or framework is missing, HALT with message: "ATDD requires clear acceptance criteria and test framework setup"
|
|
64
84
|
|
|
65
85
|
---
|
|
@@ -81,16 +81,37 @@ Expands test automation coverage by generating comprehensive test suites at appr
|
|
|
81
81
|
- Map tests to source files (coverage gaps)
|
|
82
82
|
- Check existing fixture and factory patterns
|
|
83
83
|
|
|
84
|
-
5. **
|
|
84
|
+
5. **Check Playwright Utils Flag**
|
|
85
|
+
|
|
86
|
+
Read `{config_source}` and check `config.tea_use_playwright_utils`.
|
|
87
|
+
|
|
88
|
+
6. **Load Knowledge Base Fragments**
|
|
85
89
|
|
|
86
90
|
**Critical:** Consult `{project-root}/{bmad_folder}/bmm/testarch/tea-index.csv` to load:
|
|
91
|
+
|
|
92
|
+
**Core Testing Patterns (Always load):**
|
|
87
93
|
- `test-levels-framework.md` - Test level selection (E2E vs API vs Component vs Unit with decision matrix, 467 lines, 4 examples)
|
|
88
94
|
- `test-priorities-matrix.md` - Priority classification (P0-P3 with automated scoring, risk mapping, 389 lines, 2 examples)
|
|
89
|
-
- `fixture-architecture.md` - Test fixture patterns (pure function → fixture → mergeTests, auto-cleanup, 406 lines, 5 examples)
|
|
90
95
|
- `data-factories.md` - Factory patterns with faker (overrides, nested factories, API seeding, 498 lines, 5 examples)
|
|
91
96
|
- `selective-testing.md` - Targeted test execution strategies (tag-based, spec filters, diff-based, promotion rules, 727 lines, 4 examples)
|
|
92
97
|
- `ci-burn-in.md` - Flaky test detection patterns (10-iteration burn-in, sharding, selective execution, 678 lines, 4 examples)
|
|
93
98
|
- `test-quality.md` - Test design principles (deterministic, isolated, explicit assertions, length/time limits, 658 lines, 5 examples)
|
|
99
|
+
|
|
100
|
+
**If `config.tea_use_playwright_utils: true` (Playwright Utils Integration - All Utilities):**
|
|
101
|
+
- `overview.md` - Playwright utils installation, design principles, fixture patterns
|
|
102
|
+
- `api-request.md` - Typed HTTP client with schema validation
|
|
103
|
+
- `network-recorder.md` - HAR record/playback for offline testing
|
|
104
|
+
- `auth-session.md` - Token persistence and multi-user support
|
|
105
|
+
- `intercept-network-call.md` - Network spy/stub with automatic JSON parsing
|
|
106
|
+
- `recurse.md` - Cypress-style polling for async conditions
|
|
107
|
+
- `log.md` - Playwright report-integrated logging
|
|
108
|
+
- `file-utils.md` - CSV/XLSX/PDF/ZIP reading and validation
|
|
109
|
+
- `burn-in.md` - Smart test selection (relevant for CI test generation)
|
|
110
|
+
- `network-error-monitor.md` - Automatic HTTP error detection
|
|
111
|
+
- `fixtures-composition.md` - mergeTests composition patterns
|
|
112
|
+
|
|
113
|
+
**If `config.tea_use_playwright_utils: false` (Traditional Patterns):**
|
|
114
|
+
- `fixture-architecture.md` - Test fixture patterns (pure function → fixture → mergeTests, auto-cleanup, 406 lines, 5 examples)
|
|
94
115
|
- `network-first.md` - Route interception patterns (intercept before navigate, HAR capture, deterministic waiting, 489 lines, 5 examples)
|
|
95
116
|
|
|
96
117
|
**Healing Knowledge (If `{auto_heal_failures}` is true):**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- [ ] Git repository initialized (`.git/` exists)
|
|
6
6
|
- [ ] Git remote configured (`git remote -v` shows origin)
|
|
7
|
-
- [ ] Test framework configured (playwright.config._ or cypress.config._)
|
|
7
|
+
- [ ] Test framework configured (`playwright.config._` or `cypress.config._`)
|
|
8
8
|
- [ ] Local tests pass (`npm run test:e2e` succeeds)
|
|
9
9
|
- [ ] Team agrees on CI platform
|
|
10
10
|
- [ ] Access to CI platform settings (if updating)
|
|
@@ -27,10 +27,21 @@ jobs:
|
|
|
27
27
|
steps:
|
|
28
28
|
- uses: actions/checkout@v4
|
|
29
29
|
|
|
30
|
+
- name: Determine Node version
|
|
31
|
+
id: node-version
|
|
32
|
+
run: |
|
|
33
|
+
if [ -f .nvmrc ]; then
|
|
34
|
+
echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
|
|
35
|
+
echo "Using Node from .nvmrc"
|
|
36
|
+
else
|
|
37
|
+
echo "value=24" >> "$GITHUB_OUTPUT"
|
|
38
|
+
echo "Using default Node 24 (current LTS)"
|
|
39
|
+
fi
|
|
40
|
+
|
|
30
41
|
- name: Setup Node.js
|
|
31
42
|
uses: actions/setup-node@v4
|
|
32
43
|
with:
|
|
33
|
-
node-version
|
|
44
|
+
node-version: ${{ steps.node-version.outputs.value }}
|
|
34
45
|
cache: "npm"
|
|
35
46
|
|
|
36
47
|
- name: Install dependencies
|
|
@@ -54,10 +65,21 @@ jobs:
|
|
|
54
65
|
steps:
|
|
55
66
|
- uses: actions/checkout@v4
|
|
56
67
|
|
|
68
|
+
- name: Determine Node version
|
|
69
|
+
id: node-version
|
|
70
|
+
run: |
|
|
71
|
+
if [ -f .nvmrc ]; then
|
|
72
|
+
echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
|
|
73
|
+
echo "Using Node from .nvmrc"
|
|
74
|
+
else
|
|
75
|
+
echo "value=22" >> "$GITHUB_OUTPUT"
|
|
76
|
+
echo "Using default Node 22 (current LTS)"
|
|
77
|
+
fi
|
|
78
|
+
|
|
57
79
|
- name: Setup Node.js
|
|
58
80
|
uses: actions/setup-node@v4
|
|
59
81
|
with:
|
|
60
|
-
node-version
|
|
82
|
+
node-version: ${{ steps.node-version.outputs.value }}
|
|
61
83
|
cache: "npm"
|
|
62
84
|
|
|
63
85
|
- name: Cache Playwright browsers
|
|
@@ -99,10 +121,21 @@ jobs:
|
|
|
99
121
|
steps:
|
|
100
122
|
- uses: actions/checkout@v4
|
|
101
123
|
|
|
124
|
+
- name: Determine Node version
|
|
125
|
+
id: node-version
|
|
126
|
+
run: |
|
|
127
|
+
if [ -f .nvmrc ]; then
|
|
128
|
+
echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
|
|
129
|
+
echo "Using Node from .nvmrc"
|
|
130
|
+
else
|
|
131
|
+
echo "value=22" >> "$GITHUB_OUTPUT"
|
|
132
|
+
echo "Using default Node 22 (current LTS)"
|
|
133
|
+
fi
|
|
134
|
+
|
|
102
135
|
- name: Setup Node.js
|
|
103
136
|
uses: actions/setup-node@v4
|
|
104
137
|
with:
|
|
105
|
-
node-version
|
|
138
|
+
node-version: ${{ steps.node-version.outputs.value }}
|
|
106
139
|
cache: "npm"
|
|
107
140
|
|
|
108
141
|
- name: Cache Playwright browsers
|
|
@@ -15,6 +15,8 @@ variables:
|
|
|
15
15
|
npm_config_cache: "$CI_PROJECT_DIR/.npm"
|
|
16
16
|
# Playwright browser cache
|
|
17
17
|
PLAYWRIGHT_BROWSERS_PATH: "$CI_PROJECT_DIR/.cache/ms-playwright"
|
|
18
|
+
# Default Node version when .nvmrc is missing
|
|
19
|
+
DEFAULT_NODE_VERSION: "24"
|
|
18
20
|
|
|
19
21
|
# Caching configuration
|
|
20
22
|
cache:
|
|
@@ -29,19 +31,32 @@ cache:
|
|
|
29
31
|
# Lint stage - Code quality checks
|
|
30
32
|
lint:
|
|
31
33
|
stage: lint
|
|
32
|
-
image: node
|
|
33
|
-
|
|
34
|
+
image: node:$DEFAULT_NODE_VERSION
|
|
35
|
+
before_script:
|
|
36
|
+
- |
|
|
37
|
+
NODE_VERSION=$(cat .nvmrc 2>/dev/null || echo "$DEFAULT_NODE_VERSION")
|
|
38
|
+
echo "Using Node $NODE_VERSION"
|
|
39
|
+
npm install -g n
|
|
40
|
+
n "$NODE_VERSION"
|
|
41
|
+
node -v
|
|
34
42
|
- npm ci
|
|
43
|
+
script:
|
|
35
44
|
- npm run lint
|
|
36
45
|
timeout: 5 minutes
|
|
37
46
|
|
|
38
47
|
# Test stage - Parallel execution with sharding
|
|
39
48
|
.test-template: &test-template
|
|
40
49
|
stage: test
|
|
41
|
-
image: node
|
|
50
|
+
image: node:$DEFAULT_NODE_VERSION
|
|
42
51
|
needs:
|
|
43
52
|
- lint
|
|
44
53
|
before_script:
|
|
54
|
+
- |
|
|
55
|
+
NODE_VERSION=$(cat .nvmrc 2>/dev/null || echo "$DEFAULT_NODE_VERSION")
|
|
56
|
+
echo "Using Node $NODE_VERSION"
|
|
57
|
+
npm install -g n
|
|
58
|
+
n "$NODE_VERSION"
|
|
59
|
+
node -v
|
|
45
60
|
- npm ci
|
|
46
61
|
- npx playwright install --with-deps chromium
|
|
47
62
|
artifacts:
|
|
@@ -75,7 +90,7 @@ test:shard-4:
|
|
|
75
90
|
# Burn-in stage - Flaky test detection
|
|
76
91
|
burn-in:
|
|
77
92
|
stage: burn-in
|
|
78
|
-
image: node
|
|
93
|
+
image: node:$DEFAULT_NODE_VERSION
|
|
79
94
|
needs:
|
|
80
95
|
- test:shard-1
|
|
81
96
|
- test:shard-2
|
|
@@ -86,6 +101,12 @@ burn-in:
|
|
|
86
101
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
|
87
102
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
|
88
103
|
before_script:
|
|
104
|
+
- |
|
|
105
|
+
NODE_VERSION=$(cat .nvmrc 2>/dev/null || echo "$DEFAULT_NODE_VERSION")
|
|
106
|
+
echo "Using Node $NODE_VERSION"
|
|
107
|
+
npm install -g n
|
|
108
|
+
n "$NODE_VERSION"
|
|
109
|
+
node -v
|
|
89
110
|
- npm ci
|
|
90
111
|
- npx playwright install --with-deps chromium
|
|
91
112
|
script:
|
|
@@ -61,8 +61,8 @@ Scaffolds a production-ready CI/CD quality pipeline with test execution, burn-in
|
|
|
61
61
|
- Ask user if unable to auto-detect
|
|
62
62
|
|
|
63
63
|
5. **Read Environment Configuration**
|
|
64
|
-
-
|
|
65
|
-
-
|
|
64
|
+
- Use `.nvmrc` for Node version if present
|
|
65
|
+
- If missing, default to a current LTS (Node 24) or newer instead of a fixed old version
|
|
66
66
|
- Read `package.json` to identify dependencies (affects caching strategy)
|
|
67
67
|
|
|
68
68
|
**Halt Condition:** If preflight checks fail, stop immediately and report which requirement failed.
|
|
@@ -353,7 +353,11 @@ Scaffolds a production-ready CI/CD quality pipeline with test execution, burn-in
|
|
|
353
353
|
|
|
354
354
|
### Knowledge Base Integration
|
|
355
355
|
|
|
356
|
-
**Critical:**
|
|
356
|
+
**Critical:** Check configuration and load appropriate fragments.
|
|
357
|
+
|
|
358
|
+
Read `{config_source}` and check `config.tea_use_playwright_utils`.
|
|
359
|
+
|
|
360
|
+
**Core CI Patterns (Always load):**
|
|
357
361
|
|
|
358
362
|
- `ci-burn-in.md` - Burn-in loop patterns: 10-iteration detection, GitHub Actions workflow, shard orchestration, selective execution (678 lines, 4 examples)
|
|
359
363
|
- `selective-testing.md` - Changed test detection strategies: tag-based, spec filters, diff-based selection, promotion rules (727 lines, 4 examples)
|
|
@@ -361,6 +365,19 @@ Scaffolds a production-ready CI/CD quality pipeline with test execution, burn-in
|
|
|
361
365
|
- `test-quality.md` - CI-specific test quality criteria: deterministic tests, isolated with cleanup, explicit assertions, length/time optimization (658 lines, 5 examples)
|
|
362
366
|
- `playwright-config.md` - CI-optimized configuration: parallelization, artifact output, project dependencies, sharding (722 lines, 5 examples)
|
|
363
367
|
|
|
368
|
+
**If `config.tea_use_playwright_utils: true`:**
|
|
369
|
+
|
|
370
|
+
Load playwright-utils CI-relevant fragments:
|
|
371
|
+
|
|
372
|
+
- `burn-in.md` - Smart test selection with git diff analysis (very important for CI optimization)
|
|
373
|
+
- `network-error-monitor.md` - Automatic HTTP 4xx/5xx detection (recommend in CI pipelines)
|
|
374
|
+
|
|
375
|
+
Recommend:
|
|
376
|
+
|
|
377
|
+
- Add burn-in script for pull request validation
|
|
378
|
+
- Enable network-error-monitor in merged fixtures for catching silent failures
|
|
379
|
+
- Reference full docs in `*framework` and `*automate` workflows
|
|
380
|
+
|
|
364
381
|
### CI Platform-Specific Guidance
|
|
365
382
|
|
|
366
383
|
**GitHub Actions:**
|
|
@@ -349,7 +349,33 @@ The generated `tests/README.md` should include:
|
|
|
349
349
|
|
|
350
350
|
### Knowledge Base Integration
|
|
351
351
|
|
|
352
|
-
**Critical:**
|
|
352
|
+
**Critical:** Check configuration and load appropriate fragments.
|
|
353
|
+
|
|
354
|
+
Read `{config_source}` and check `config.tea_use_playwright_utils`.
|
|
355
|
+
|
|
356
|
+
**If `config.tea_use_playwright_utils: true` (Playwright Utils Integration):**
|
|
357
|
+
|
|
358
|
+
Consult `{project-root}/{bmad_folder}/bmm/testarch/tea-index.csv` and load:
|
|
359
|
+
|
|
360
|
+
- `overview.md` - Playwright utils installation and design principles
|
|
361
|
+
- `fixtures-composition.md` - mergeTests composition with playwright-utils
|
|
362
|
+
- `auth-session.md` - Token persistence setup (if auth needed)
|
|
363
|
+
- `api-request.md` - API testing utilities (if API tests planned)
|
|
364
|
+
- `burn-in.md` - Smart test selection for CI (recommend during framework setup)
|
|
365
|
+
- `network-error-monitor.md` - Automatic HTTP error detection (recommend in merged fixtures)
|
|
366
|
+
- `data-factories.md` - Factory patterns with faker (498 lines, 5 examples)
|
|
367
|
+
|
|
368
|
+
Recommend installing playwright-utils:
|
|
369
|
+
|
|
370
|
+
```bash
|
|
371
|
+
npm install -D @seontechnologies/playwright-utils
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
Recommend adding burn-in and network-error-monitor to merged fixtures for enhanced reliability.
|
|
375
|
+
|
|
376
|
+
**If `config.tea_use_playwright_utils: false` (Traditional Patterns):**
|
|
377
|
+
|
|
378
|
+
Consult `{project-root}/{bmad_folder}/bmm/testarch/tea-index.csv` and load:
|
|
353
379
|
|
|
354
380
|
- `fixture-architecture.md` - Pure function → fixture → `mergeTests` composition with auto-cleanup (406 lines, 5 examples)
|
|
355
381
|
- `data-factories.md` - Faker-based factories with overrides, nested factories, API seeding, auto-cleanup (498 lines, 5 examples)
|
|
@@ -66,7 +66,13 @@ The workflow auto-detects which mode to use based on project phase.
|
|
|
66
66
|
- Note integration points and external system dependencies
|
|
67
67
|
- Extract NFR requirements (performance SLOs, security requirements, etc.)
|
|
68
68
|
|
|
69
|
-
2. **
|
|
69
|
+
2. **Check Playwright Utils Flag**
|
|
70
|
+
|
|
71
|
+
Read `{config_source}` and check `config.tea_use_playwright_utils`.
|
|
72
|
+
|
|
73
|
+
If true, note that `@seontechnologies/playwright-utils` provides utilities for test implementation. Reference in test design where relevant.
|
|
74
|
+
|
|
75
|
+
3. **Load Knowledge Base Fragments (System-Level)**
|
|
70
76
|
|
|
71
77
|
**Critical:** Consult `{project-root}/{bmad_folder}/bmm/testarch/tea-index.csv` to load:
|
|
72
78
|
- `nfr-criteria.md` - NFR validation approach (security, performance, reliability, maintainability)
|
|
@@ -74,7 +80,7 @@ The workflow auto-detects which mode to use based on project phase.
|
|
|
74
80
|
- `risk-governance.md` - Testability risk identification
|
|
75
81
|
- `test-quality.md` - Quality standards and Definition of Done
|
|
76
82
|
|
|
77
|
-
|
|
83
|
+
4. **Analyze Existing Test Setup (if brownfield)**
|
|
78
84
|
- Search for existing test directories
|
|
79
85
|
- Identify current test framework (if any)
|
|
80
86
|
- Note testability concerns in existing codebase
|