bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.15
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/.coderabbit.yaml +36 -0
- package/.github/CODE_OF_CONDUCT.md +128 -0
- 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 +183 -360
- package/README.md +4 -1
- package/docs/agent-customization-guide.md +2 -2
- package/docs/custom-content-installation.md +245 -0
- package/docs/document-sharding-guide.md +1 -1
- package/docs/index.md +2 -2
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +6 -5
- package/docs/web-bundles-gemini-gpt-guide.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +8 -0
- package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +5 -5
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +2 -2
- 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 +18 -17
- package/example-custom-content/module.yaml +4 -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.md +54 -0
- package/example-custom-content/workflows/wassup/workflow.md +26 -0
- package/example-custom-module/mwm/README.md +9 -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 +151 -0
- package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +138 -0
- package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +138 -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 +125 -0
- package/example-custom-module/mwm/module.yaml +28 -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/installer.js +1 -1
- package/src/core/{_module-installer/install-config.yaml → module.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/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/index.md +1 -1
- 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/{_module-installer/install-config.yaml → module.yaml} +4 -9
- 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 +309 -0
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +337 -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/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/module.template.yaml +53 -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} +71 -25
- 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/README.md +2 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/installer.js +1 -1
- package/src/modules/bmm/_module-installer/platform-specifics/claude-code.js +1 -1
- package/src/modules/bmm/_module-installer/platform-specifics/windsurf.js +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/{_module-installer/install-config.yaml → module.yaml} +1 -1
- 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/src/modules/cis/_module-installer/installer.js +1 -1
- package/tools/cli/README.md +7 -7
- 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 +80 -12
- package/tools/cli/installers/lib/core/custom-module-cache.js +239 -0
- package/tools/cli/installers/lib/core/detector.js +8 -4
- package/tools/cli/installers/lib/core/installer.js +933 -376
- package/tools/cli/installers/lib/core/manifest-generator.js +265 -41
- package/tools/cli/installers/lib/core/manifest.js +47 -0
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
- package/tools/cli/installers/lib/custom/handler.js +396 -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 +535 -56
- package/tools/cli/lib/agent/compiler.js +57 -16
- package/tools/cli/lib/agent/installer.js +129 -28
- package/tools/cli/lib/cli-utils.js +21 -4
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +561 -12
- package/tools/cli/lib/yaml-xml-builder.js +0 -15
- package/tools/maintainer/review-pr-README.md +55 -0
- package/tools/maintainer/review-pr.md +242 -0
- package/tools/migrate-custom-module-paths.js +124 -0
- 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/docs/custom-agent-installation.md +0 -183
- 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/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/tests.md +0 -0
- /package/src/modules/bmgd/{_module-installer/install-config.yaml → module.yaml} +0 -0
- /package/src/modules/cis/{_module-installer/install-config.yaml → module.yaml} +0 -0
package/.coderabbit.yaml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
|
|
2
|
+
|
|
3
|
+
language: "en-US"
|
|
4
|
+
early_access: true
|
|
5
|
+
reviews:
|
|
6
|
+
profile: chill
|
|
7
|
+
high_level_summary: true
|
|
8
|
+
request_changes_workflow: false
|
|
9
|
+
review_status: true
|
|
10
|
+
collapse_walkthrough: false
|
|
11
|
+
poem: false
|
|
12
|
+
auto_review:
|
|
13
|
+
enabled: false # must be manually triggered with @coderabbit review
|
|
14
|
+
drafts: true # Can review drafts. Since it's manually triggered, it's fine.
|
|
15
|
+
auto_incremental_review: false # always review the whole PR, not just new commits
|
|
16
|
+
base_branches:
|
|
17
|
+
- main
|
|
18
|
+
path_filters:
|
|
19
|
+
- "!**/node_modules/**"
|
|
20
|
+
path_instructions:
|
|
21
|
+
- path: "**/*"
|
|
22
|
+
instructions: |
|
|
23
|
+
Focus on inconsistencies, contradictions, edge cases and serious issues.
|
|
24
|
+
Avoid commenting on minor issues such as linting, formatting and style issues.
|
|
25
|
+
When providing code suggestions, use GitHub's suggestion format:
|
|
26
|
+
```suggestion
|
|
27
|
+
<code changes>
|
|
28
|
+
```
|
|
29
|
+
- path: "**/*.js"
|
|
30
|
+
instructions: |
|
|
31
|
+
CLI tooling code. Check for: missing error handling on fs operations,
|
|
32
|
+
path.join vs string concatenation, proper cleanup in error paths.
|
|
33
|
+
Flag any process.exit() without error message.
|
|
34
|
+
chat:
|
|
35
|
+
auto_reply: true # Response to mentions in comments, a la @coderabbit review
|
|
36
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity
|
|
10
|
+
and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the
|
|
26
|
+
overall community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
31
|
+
advances of any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email
|
|
35
|
+
address, without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at
|
|
63
|
+
the official BMAD Discord server (<https://discord.com/invite/gk8jAdXWmj>) - DM a moderator or flag a post.
|
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
+
|
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
+
reporter of any incident.
|
|
68
|
+
|
|
69
|
+
## Enforcement Guidelines
|
|
70
|
+
|
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
+
|
|
74
|
+
### 1. Correction
|
|
75
|
+
|
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
+
unprofessional or unwelcome in the community.
|
|
78
|
+
|
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
|
82
|
+
|
|
83
|
+
### 2. Warning
|
|
84
|
+
|
|
85
|
+
**Community Impact**: A violation through a single incident or series
|
|
86
|
+
of actions.
|
|
87
|
+
|
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
+
like social media. Violating these terms may lead to a temporary or
|
|
93
|
+
permanent ban.
|
|
94
|
+
|
|
95
|
+
### 3. Temporary Ban
|
|
96
|
+
|
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
|
98
|
+
sustained inappropriate behavior.
|
|
99
|
+
|
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
+
communication with the community for a specified period of time. No public or
|
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
+
Violating these terms may lead to a permanent ban.
|
|
105
|
+
|
|
106
|
+
### 4. Permanent Ban
|
|
107
|
+
|
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
+
|
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within
|
|
113
|
+
the community.
|
|
114
|
+
|
|
115
|
+
## Attribution
|
|
116
|
+
|
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
+
version 2.0, available at
|
|
119
|
+
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
|
|
120
|
+
|
|
121
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
122
|
+
enforcement ladder](https://github.com/mozilla/diversity).
|
|
123
|
+
|
|
124
|
+
[homepage]: https://www.contributor-covenant.org
|
|
125
|
+
|
|
126
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
127
|
+
<https://www.contributor-covenant.org/faq>. Translations are available at
|
|
128
|
+
<https://www.contributor-covenant.org/translations>.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Discord notification helper functions
|
|
3
|
+
|
|
4
|
+
# Escape markdown special chars and @mentions for safe Discord display
|
|
5
|
+
# Bracket expression: ] must be first, then other chars. In POSIX bracket expr, \ is literal.
|
|
6
|
+
esc() { sed -e 's/[][\*_()~`>]/\\&/g' -e 's/@/@ /g'; }
|
|
7
|
+
|
|
8
|
+
# Truncate to $1 chars (or 80 if wall-of-text with <3 spaces)
|
|
9
|
+
trunc() {
|
|
10
|
+
local max=$1
|
|
11
|
+
local txt=$(tr '\n\r' ' ' | cut -c1-"$max")
|
|
12
|
+
local spaces=$(printf '%s' "$txt" | tr -cd ' ' | wc -c)
|
|
13
|
+
[ "$spaces" -lt 3 ] && [ ${#txt} -gt 80 ] && txt=$(printf '%s' "$txt" | cut -c1-80)
|
|
14
|
+
printf '%s' "$txt"
|
|
15
|
+
}
|
|
@@ -1,16 +1,286 @@
|
|
|
1
1
|
name: Discord Notification
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, closed, reopened, ready_for_review]
|
|
6
|
+
release:
|
|
7
|
+
types: [published]
|
|
8
|
+
create:
|
|
9
|
+
delete:
|
|
10
|
+
issue_comment:
|
|
11
|
+
types: [created]
|
|
12
|
+
pull_request_review:
|
|
13
|
+
types: [submitted]
|
|
14
|
+
pull_request_review_comment:
|
|
15
|
+
types: [created]
|
|
16
|
+
issues:
|
|
17
|
+
types: [opened, closed, reopened]
|
|
18
|
+
|
|
19
|
+
env:
|
|
20
|
+
MAX_TITLE: 100
|
|
21
|
+
MAX_BODY: 250
|
|
4
22
|
|
|
5
23
|
jobs:
|
|
6
|
-
|
|
24
|
+
pull_request:
|
|
25
|
+
if: github.event_name == 'pull_request'
|
|
7
26
|
runs-on: ubuntu-latest
|
|
8
27
|
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
with:
|
|
30
|
+
ref: ${{ github.event.repository.default_branch }}
|
|
31
|
+
sparse-checkout: .github/scripts
|
|
32
|
+
sparse-checkout-cone-mode: false
|
|
9
33
|
- name: Notify Discord
|
|
10
|
-
|
|
11
|
-
|
|
34
|
+
env:
|
|
35
|
+
WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
36
|
+
ACTION: ${{ github.event.action }}
|
|
37
|
+
MERGED: ${{ github.event.pull_request.merged }}
|
|
38
|
+
PR_NUM: ${{ github.event.pull_request.number }}
|
|
39
|
+
PR_URL: ${{ github.event.pull_request.html_url }}
|
|
40
|
+
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
41
|
+
PR_USER: ${{ github.event.pull_request.user.login }}
|
|
42
|
+
PR_BODY: ${{ github.event.pull_request.body }}
|
|
43
|
+
run: |
|
|
44
|
+
set -o pipefail
|
|
45
|
+
source .github/scripts/discord-helpers.sh
|
|
46
|
+
[ -z "$WEBHOOK" ] && exit 0
|
|
47
|
+
|
|
48
|
+
if [ "$ACTION" = "opened" ]; then ICON="🔀"; LABEL="New PR"
|
|
49
|
+
elif [ "$ACTION" = "closed" ] && [ "$MERGED" = "true" ]; then ICON="🎉"; LABEL="Merged"
|
|
50
|
+
elif [ "$ACTION" = "closed" ]; then ICON="❌"; LABEL="Closed"
|
|
51
|
+
elif [ "$ACTION" = "reopened" ]; then ICON="🔄"; LABEL="Reopened"
|
|
52
|
+
else ICON="📋"; LABEL="Ready"; fi
|
|
53
|
+
|
|
54
|
+
TITLE=$(printf '%s' "$PR_TITLE" | trunc $MAX_TITLE | esc)
|
|
55
|
+
[ ${#PR_TITLE} -gt $MAX_TITLE ] && TITLE="${TITLE}..."
|
|
56
|
+
BODY=$(printf '%s' "$PR_BODY" | trunc $MAX_BODY | esc)
|
|
57
|
+
[ -n "$PR_BODY" ] && [ ${#PR_BODY} -gt $MAX_BODY ] && BODY="${BODY}..."
|
|
58
|
+
[ -n "$BODY" ] && BODY=" · $BODY"
|
|
59
|
+
USER=$(printf '%s' "$PR_USER" | esc)
|
|
60
|
+
|
|
61
|
+
MSG="$ICON **[$LABEL #$PR_NUM: $TITLE](<$PR_URL>)**"$'\n'"by @$USER$BODY"
|
|
62
|
+
jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
|
|
63
|
+
|
|
64
|
+
issues:
|
|
65
|
+
if: github.event_name == 'issues'
|
|
66
|
+
runs-on: ubuntu-latest
|
|
67
|
+
steps:
|
|
68
|
+
- uses: actions/checkout@v4
|
|
12
69
|
with:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
70
|
+
ref: ${{ github.event.repository.default_branch }}
|
|
71
|
+
sparse-checkout: .github/scripts
|
|
72
|
+
sparse-checkout-cone-mode: false
|
|
73
|
+
- name: Notify Discord
|
|
74
|
+
env:
|
|
75
|
+
WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
76
|
+
ACTION: ${{ github.event.action }}
|
|
77
|
+
ISSUE_NUM: ${{ github.event.issue.number }}
|
|
78
|
+
ISSUE_URL: ${{ github.event.issue.html_url }}
|
|
79
|
+
ISSUE_TITLE: ${{ github.event.issue.title }}
|
|
80
|
+
ISSUE_USER: ${{ github.event.issue.user.login }}
|
|
81
|
+
ISSUE_BODY: ${{ github.event.issue.body }}
|
|
82
|
+
ACTOR: ${{ github.actor }}
|
|
83
|
+
run: |
|
|
84
|
+
set -o pipefail
|
|
85
|
+
source .github/scripts/discord-helpers.sh
|
|
86
|
+
[ -z "$WEBHOOK" ] && exit 0
|
|
87
|
+
|
|
88
|
+
if [ "$ACTION" = "opened" ]; then ICON="🐛"; LABEL="New Issue"; USER="$ISSUE_USER"
|
|
89
|
+
elif [ "$ACTION" = "closed" ]; then ICON="✅"; LABEL="Closed"; USER="$ACTOR"
|
|
90
|
+
else ICON="🔄"; LABEL="Reopened"; USER="$ACTOR"; fi
|
|
91
|
+
|
|
92
|
+
TITLE=$(printf '%s' "$ISSUE_TITLE" | trunc $MAX_TITLE | esc)
|
|
93
|
+
[ ${#ISSUE_TITLE} -gt $MAX_TITLE ] && TITLE="${TITLE}..."
|
|
94
|
+
BODY=$(printf '%s' "$ISSUE_BODY" | trunc $MAX_BODY | esc)
|
|
95
|
+
[ -n "$ISSUE_BODY" ] && [ ${#ISSUE_BODY} -gt $MAX_BODY ] && BODY="${BODY}..."
|
|
96
|
+
[ -n "$BODY" ] && BODY=" · $BODY"
|
|
97
|
+
USER=$(printf '%s' "$USER" | esc)
|
|
98
|
+
|
|
99
|
+
MSG="$ICON **[$LABEL #$ISSUE_NUM: $TITLE](<$ISSUE_URL>)**"$'\n'"by @$USER$BODY"
|
|
100
|
+
jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
|
|
101
|
+
|
|
102
|
+
issue_comment:
|
|
103
|
+
if: github.event_name == 'issue_comment'
|
|
104
|
+
runs-on: ubuntu-latest
|
|
105
|
+
steps:
|
|
106
|
+
- uses: actions/checkout@v4
|
|
107
|
+
with:
|
|
108
|
+
ref: ${{ github.event.repository.default_branch }}
|
|
109
|
+
sparse-checkout: .github/scripts
|
|
110
|
+
sparse-checkout-cone-mode: false
|
|
111
|
+
- name: Notify Discord
|
|
112
|
+
env:
|
|
113
|
+
WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
114
|
+
IS_PR: ${{ github.event.issue.pull_request && 'true' || 'false' }}
|
|
115
|
+
ISSUE_NUM: ${{ github.event.issue.number }}
|
|
116
|
+
ISSUE_TITLE: ${{ github.event.issue.title }}
|
|
117
|
+
COMMENT_URL: ${{ github.event.comment.html_url }}
|
|
118
|
+
COMMENT_USER: ${{ github.event.comment.user.login }}
|
|
119
|
+
COMMENT_BODY: ${{ github.event.comment.body }}
|
|
120
|
+
run: |
|
|
121
|
+
set -o pipefail
|
|
122
|
+
source .github/scripts/discord-helpers.sh
|
|
123
|
+
[ -z "$WEBHOOK" ] && exit 0
|
|
124
|
+
|
|
125
|
+
[ "$IS_PR" = "true" ] && TYPE="PR" || TYPE="Issue"
|
|
126
|
+
|
|
127
|
+
TITLE=$(printf '%s' "$ISSUE_TITLE" | trunc $MAX_TITLE | esc)
|
|
128
|
+
[ ${#ISSUE_TITLE} -gt $MAX_TITLE ] && TITLE="${TITLE}..."
|
|
129
|
+
BODY=$(printf '%s' "$COMMENT_BODY" | trunc $MAX_BODY | esc)
|
|
130
|
+
[ ${#COMMENT_BODY} -gt $MAX_BODY ] && BODY="${BODY}..."
|
|
131
|
+
USER=$(printf '%s' "$COMMENT_USER" | esc)
|
|
132
|
+
|
|
133
|
+
MSG="💬 **[Comment on $TYPE #$ISSUE_NUM: $TITLE](<$COMMENT_URL>)**"$'\n'"@$USER: $BODY"
|
|
134
|
+
jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
|
|
135
|
+
|
|
136
|
+
pull_request_review:
|
|
137
|
+
if: github.event_name == 'pull_request_review'
|
|
138
|
+
runs-on: ubuntu-latest
|
|
139
|
+
steps:
|
|
140
|
+
- uses: actions/checkout@v4
|
|
141
|
+
with:
|
|
142
|
+
ref: ${{ github.event.repository.default_branch }}
|
|
143
|
+
sparse-checkout: .github/scripts
|
|
144
|
+
sparse-checkout-cone-mode: false
|
|
145
|
+
- name: Notify Discord
|
|
146
|
+
env:
|
|
147
|
+
WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
148
|
+
STATE: ${{ github.event.review.state }}
|
|
149
|
+
PR_NUM: ${{ github.event.pull_request.number }}
|
|
150
|
+
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
151
|
+
REVIEW_URL: ${{ github.event.review.html_url }}
|
|
152
|
+
REVIEW_USER: ${{ github.event.review.user.login }}
|
|
153
|
+
REVIEW_BODY: ${{ github.event.review.body }}
|
|
154
|
+
run: |
|
|
155
|
+
set -o pipefail
|
|
156
|
+
source .github/scripts/discord-helpers.sh
|
|
157
|
+
[ -z "$WEBHOOK" ] && exit 0
|
|
158
|
+
|
|
159
|
+
if [ "$STATE" = "approved" ]; then ICON="✅"; LABEL="Approved"
|
|
160
|
+
elif [ "$STATE" = "changes_requested" ]; then ICON="🔧"; LABEL="Changes Requested"
|
|
161
|
+
else ICON="👀"; LABEL="Reviewed"; fi
|
|
162
|
+
|
|
163
|
+
TITLE=$(printf '%s' "$PR_TITLE" | trunc $MAX_TITLE | esc)
|
|
164
|
+
[ ${#PR_TITLE} -gt $MAX_TITLE ] && TITLE="${TITLE}..."
|
|
165
|
+
BODY=$(printf '%s' "$REVIEW_BODY" | trunc $MAX_BODY | esc)
|
|
166
|
+
[ -n "$REVIEW_BODY" ] && [ ${#REVIEW_BODY} -gt $MAX_BODY ] && BODY="${BODY}..."
|
|
167
|
+
[ -n "$BODY" ] && BODY=": $BODY"
|
|
168
|
+
USER=$(printf '%s' "$REVIEW_USER" | esc)
|
|
169
|
+
|
|
170
|
+
MSG="$ICON **[$LABEL PR #$PR_NUM: $TITLE](<$REVIEW_URL>)**"$'\n'"@$USER$BODY"
|
|
171
|
+
jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
|
|
172
|
+
|
|
173
|
+
pull_request_review_comment:
|
|
174
|
+
if: github.event_name == 'pull_request_review_comment'
|
|
175
|
+
runs-on: ubuntu-latest
|
|
176
|
+
steps:
|
|
177
|
+
- uses: actions/checkout@v4
|
|
178
|
+
with:
|
|
179
|
+
ref: ${{ github.event.repository.default_branch }}
|
|
180
|
+
sparse-checkout: .github/scripts
|
|
181
|
+
sparse-checkout-cone-mode: false
|
|
182
|
+
- name: Notify Discord
|
|
183
|
+
env:
|
|
184
|
+
WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
185
|
+
PR_NUM: ${{ github.event.pull_request.number }}
|
|
186
|
+
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
187
|
+
COMMENT_URL: ${{ github.event.comment.html_url }}
|
|
188
|
+
COMMENT_USER: ${{ github.event.comment.user.login }}
|
|
189
|
+
COMMENT_BODY: ${{ github.event.comment.body }}
|
|
190
|
+
run: |
|
|
191
|
+
set -o pipefail
|
|
192
|
+
source .github/scripts/discord-helpers.sh
|
|
193
|
+
[ -z "$WEBHOOK" ] && exit 0
|
|
194
|
+
|
|
195
|
+
TITLE=$(printf '%s' "$PR_TITLE" | trunc $MAX_TITLE | esc)
|
|
196
|
+
[ ${#PR_TITLE} -gt $MAX_TITLE ] && TITLE="${TITLE}..."
|
|
197
|
+
BODY=$(printf '%s' "$COMMENT_BODY" | trunc $MAX_BODY | esc)
|
|
198
|
+
[ ${#COMMENT_BODY} -gt $MAX_BODY ] && BODY="${BODY}..."
|
|
199
|
+
USER=$(printf '%s' "$COMMENT_USER" | esc)
|
|
200
|
+
|
|
201
|
+
MSG="💭 **[Review Comment PR #$PR_NUM: $TITLE](<$COMMENT_URL>)**"$'\n'"@$USER: $BODY"
|
|
202
|
+
jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
|
|
203
|
+
|
|
204
|
+
release:
|
|
205
|
+
if: github.event_name == 'release'
|
|
206
|
+
runs-on: ubuntu-latest
|
|
207
|
+
steps:
|
|
208
|
+
- uses: actions/checkout@v4
|
|
209
|
+
with:
|
|
210
|
+
ref: ${{ github.event.repository.default_branch }}
|
|
211
|
+
sparse-checkout: .github/scripts
|
|
212
|
+
sparse-checkout-cone-mode: false
|
|
213
|
+
- name: Notify Discord
|
|
214
|
+
env:
|
|
215
|
+
WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
216
|
+
TAG: ${{ github.event.release.tag_name }}
|
|
217
|
+
NAME: ${{ github.event.release.name }}
|
|
218
|
+
URL: ${{ github.event.release.html_url }}
|
|
219
|
+
RELEASE_BODY: ${{ github.event.release.body }}
|
|
220
|
+
run: |
|
|
221
|
+
set -o pipefail
|
|
222
|
+
source .github/scripts/discord-helpers.sh
|
|
223
|
+
[ -z "$WEBHOOK" ] && exit 0
|
|
224
|
+
|
|
225
|
+
REL_NAME=$(printf '%s' "$NAME" | trunc $MAX_TITLE | esc)
|
|
226
|
+
[ ${#NAME} -gt $MAX_TITLE ] && REL_NAME="${REL_NAME}..."
|
|
227
|
+
BODY=$(printf '%s' "$RELEASE_BODY" | trunc $MAX_BODY | esc)
|
|
228
|
+
[ -n "$RELEASE_BODY" ] && [ ${#RELEASE_BODY} -gt $MAX_BODY ] && BODY="${BODY}..."
|
|
229
|
+
[ -n "$BODY" ] && BODY=" · $BODY"
|
|
230
|
+
TAG_ESC=$(printf '%s' "$TAG" | esc)
|
|
231
|
+
|
|
232
|
+
MSG="🚀 **[Release $TAG_ESC: $REL_NAME](<$URL>)**"$'\n'"$BODY"
|
|
233
|
+
jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
|
|
234
|
+
|
|
235
|
+
create:
|
|
236
|
+
if: github.event_name == 'create'
|
|
237
|
+
runs-on: ubuntu-latest
|
|
238
|
+
steps:
|
|
239
|
+
- uses: actions/checkout@v4
|
|
240
|
+
with:
|
|
241
|
+
ref: ${{ github.event.repository.default_branch }}
|
|
242
|
+
sparse-checkout: .github/scripts
|
|
243
|
+
sparse-checkout-cone-mode: false
|
|
244
|
+
- name: Notify Discord
|
|
245
|
+
env:
|
|
246
|
+
WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
247
|
+
REF_TYPE: ${{ github.event.ref_type }}
|
|
248
|
+
REF: ${{ github.event.ref }}
|
|
249
|
+
ACTOR: ${{ github.actor }}
|
|
250
|
+
REPO_URL: ${{ github.event.repository.html_url }}
|
|
251
|
+
run: |
|
|
252
|
+
set -o pipefail
|
|
253
|
+
source .github/scripts/discord-helpers.sh
|
|
254
|
+
[ -z "$WEBHOOK" ] && exit 0
|
|
255
|
+
|
|
256
|
+
[ "$REF_TYPE" = "branch" ] && ICON="🌿" || ICON="🏷️"
|
|
257
|
+
REF_TRUNC=$(printf '%s' "$REF" | trunc $MAX_TITLE)
|
|
258
|
+
[ ${#REF} -gt $MAX_TITLE ] && REF_TRUNC="${REF_TRUNC}..."
|
|
259
|
+
REF_ESC=$(printf '%s' "$REF_TRUNC" | esc)
|
|
260
|
+
REF_URL=$(jq -rn --arg ref "$REF" '$ref | @uri')
|
|
261
|
+
ACTOR_ESC=$(printf '%s' "$ACTOR" | esc)
|
|
262
|
+
MSG="$ICON **${REF_TYPE^} created: [$REF_ESC](<$REPO_URL/tree/$REF_URL>)** by @$ACTOR_ESC"
|
|
263
|
+
jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
|
|
264
|
+
|
|
265
|
+
delete:
|
|
266
|
+
if: github.event_name == 'delete'
|
|
267
|
+
runs-on: ubuntu-latest
|
|
268
|
+
steps:
|
|
269
|
+
- name: Notify Discord
|
|
270
|
+
env:
|
|
271
|
+
WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
272
|
+
REF_TYPE: ${{ github.event.ref_type }}
|
|
273
|
+
REF: ${{ github.event.ref }}
|
|
274
|
+
ACTOR: ${{ github.actor }}
|
|
275
|
+
run: |
|
|
276
|
+
set -o pipefail
|
|
277
|
+
[ -z "$WEBHOOK" ] && exit 0
|
|
278
|
+
esc() { sed -e 's/[][\*_()~`>]/\\&/g' -e 's/@/@ /g'; }
|
|
279
|
+
trunc() { tr '\n\r' ' ' | cut -c1-"$1"; }
|
|
280
|
+
|
|
281
|
+
REF_TRUNC=$(printf '%s' "$REF" | trunc 100)
|
|
282
|
+
[ ${#REF} -gt 100 ] && REF_TRUNC="${REF_TRUNC}..."
|
|
283
|
+
REF_ESC=$(printf '%s' "$REF_TRUNC" | esc)
|
|
284
|
+
ACTOR_ESC=$(printf '%s' "$ACTOR" | esc)
|
|
285
|
+
MSG="🗑️ **${REF_TYPE^} deleted: $REF_ESC** by @$ACTOR_ESC"
|
|
286
|
+
jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
|
|
@@ -3,6 +3,7 @@ name: Quality & Validation
|
|
|
3
3
|
# Runs comprehensive quality checks on all PRs:
|
|
4
4
|
# - Prettier (formatting)
|
|
5
5
|
# - ESLint (linting)
|
|
6
|
+
# - markdownlint (markdown quality)
|
|
6
7
|
# - Schema validation (YAML structure)
|
|
7
8
|
# - Agent schema tests (fixture-based validation)
|
|
8
9
|
# - Installation component tests (compilation)
|
|
@@ -50,6 +51,24 @@ jobs:
|
|
|
50
51
|
- name: ESLint
|
|
51
52
|
run: npm run lint
|
|
52
53
|
|
|
54
|
+
markdownlint:
|
|
55
|
+
runs-on: ubuntu-latest
|
|
56
|
+
steps:
|
|
57
|
+
- name: Checkout
|
|
58
|
+
uses: actions/checkout@v4
|
|
59
|
+
|
|
60
|
+
- name: Setup Node
|
|
61
|
+
uses: actions/setup-node@v4
|
|
62
|
+
with:
|
|
63
|
+
node-version-file: ".nvmrc"
|
|
64
|
+
cache: "npm"
|
|
65
|
+
|
|
66
|
+
- name: Install dependencies
|
|
67
|
+
run: npm ci
|
|
68
|
+
|
|
69
|
+
- name: markdownlint
|
|
70
|
+
run: npm run lint:md
|
|
71
|
+
|
|
53
72
|
validate:
|
|
54
73
|
runs-on: ubuntu-latest
|
|
55
74
|
steps:
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# markdownlint-cli2 configuration
|
|
2
|
+
# https://github.com/DavidAnson/markdownlint-cli2
|
|
3
|
+
|
|
4
|
+
ignores:
|
|
5
|
+
- node_modules/**
|
|
6
|
+
- test/fixtures/**
|
|
7
|
+
- CODE_OF_CONDUCT.md
|
|
8
|
+
- .bmad/**
|
|
9
|
+
- .bmad*/**
|
|
10
|
+
- .agent/**
|
|
11
|
+
- .claude/**
|
|
12
|
+
- .roo/**
|
|
13
|
+
- .codex/**
|
|
14
|
+
- .agentvibes/**
|
|
15
|
+
- .kiro/**
|
|
16
|
+
- sample-project/**
|
|
17
|
+
- test-project-install/**
|
|
18
|
+
- z*/**
|
|
19
|
+
|
|
20
|
+
# Rule configuration
|
|
21
|
+
config:
|
|
22
|
+
# Disable all rules by default
|
|
23
|
+
default: false
|
|
24
|
+
|
|
25
|
+
# Heading levels should increment by one (h1 -> h2 -> h3, not h1 -> h3)
|
|
26
|
+
MD001: true
|
|
27
|
+
|
|
28
|
+
# Duplicate sibling headings (same heading text at same level under same parent)
|
|
29
|
+
MD024:
|
|
30
|
+
siblings_only: true
|
|
31
|
+
|
|
32
|
+
# Trailing commas in headings (likely typos)
|
|
33
|
+
MD026:
|
|
34
|
+
punctuation: ","
|
|
35
|
+
|
|
36
|
+
# Bare URLs - may not render as links in all parsers
|
|
37
|
+
# Should use <url> or [text](url) format
|
|
38
|
+
MD034: true
|
|
39
|
+
|
|
40
|
+
# Spaces inside emphasis markers - breaks rendering
|
|
41
|
+
# e.g., "* text *" won't render as emphasis
|
|
42
|
+
MD037: true
|