bmad-odoo 1.0.0
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/CHANGELOG.md +38 -0
- package/LICENSE +21 -0
- package/README.md +317 -0
- package/_config/agent-manifest.csv +10 -0
- package/_config/manifest.yaml +10 -0
- package/_config/workflow-manifest.csv +10 -0
- package/bmm/agents/analyst.md +93 -0
- package/bmm/agents/architect.md +72 -0
- package/bmm/agents/dev.md +85 -0
- package/bmm/agents/pm.md +61 -0
- package/bmm/agents/quick-flow-solo-dev.md +58 -0
- package/bmm/agents/sm.md +56 -0
- package/bmm/agents/tea.md +57 -0
- package/bmm/agents/tech-writer.md +56 -0
- package/bmm/agents/ux-designer.md +56 -0
- package/bmm/config.yaml +27 -0
- package/bmm/data/odoo-knowledge-base.md +90 -0
- package/bmm/teams/default-team.md +17 -0
- package/bmm/testarch/odoo-test-design/steps/step-01-init.md +44 -0
- package/bmm/testarch/odoo-test-design/steps/step-02-test-cases.md +82 -0
- package/bmm/testarch/odoo-test-design/steps/step-03-complete.md +69 -0
- package/bmm/testarch/odoo-test-design/workflow.md +30 -0
- package/bmm/testarch/odoo-testing-guide.md +30 -0
- package/bmm/workflows/1-analysis/analyze-process/process-analysis.template.md +80 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-01-init.md +44 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-02-current-state.md +55 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-03-pain-points.md +67 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-04-odoo-mapping.md +67 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-05-recommendations.md +99 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-06-complete.md +62 -0
- package/bmm/workflows/1-analysis/analyze-process/workflow.md +60 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-01-init.md +45 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-02-users-stakeholders.md +46 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-03-odoo-modules.md +59 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-04-scope-timeline.md +64 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-05-complete.md +32 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/workflow.md +35 -0
- package/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +10 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +182 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +166 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +204 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +207 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +210 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +224 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +199 -0
- package/bmm/workflows/1-analysis/create-product-brief/workflow.md +58 -0
- package/bmm/workflows/1-analysis/gap-analysis/steps/step-01-init.md +45 -0
- package/bmm/workflows/1-analysis/gap-analysis/steps/step-02-odoo-capabilities.md +36 -0
- package/bmm/workflows/1-analysis/gap-analysis/steps/step-03-gap-matrix.md +51 -0
- package/bmm/workflows/1-analysis/gap-analysis/workflow.md +45 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +137 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +229 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +234 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +200 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
- package/bmm/workflows/1-analysis/research/research.template.md +29 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +137 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +239 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +248 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +239 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
- package/bmm/workflows/1-analysis/research/workflow.md +173 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-01-init.md +48 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-02-technical-design.md +82 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-03-generate.md +86 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-addon/workflow.md +39 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-01-init.md +55 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-02-stories.md +53 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-03-complete.md +39 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-epic/workflow.md +35 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-01-init.md +46 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-02-functional-requirements.md +56 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-03-technical-requirements.md +45 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-04-complete.md +40 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/workflow.md +29 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-01-init.md +52 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-02-form-design.md +78 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-03-tree-design.md +84 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-04-complete.md +55 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/workflow.md +30 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +135 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +127 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +190 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +216 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +219 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +234 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +252 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +254 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +224 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +224 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +241 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +248 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +237 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +264 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +228 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +13 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +43 -0
- package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-01-init.md +49 -0
- package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-02-risk-assessment.md +51 -0
- package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-03-roadmap.md +58 -0
- package/bmm/workflows/2-plan-workflows/plan-odoo-migration/workflow.md +29 -0
- package/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
- package/bmm/workflows/2-plan-workflows/prd/prd-template.md +11 -0
- package/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +197 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +166 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +421 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +290 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +291 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +271 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +262 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +258 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +299 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +270 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +294 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +186 -0
- package/bmm/workflows/2-plan-workflows/prd/workflow.md +63 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +190 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +178 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +139 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +133 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +55 -0
- package/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +12 -0
- package/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +11 -0
- package/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +7 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +153 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +164 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +224 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +331 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +318 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +359 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +379 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +359 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +352 -0
- package/bmm/workflows/3-solutioning/create-architecture/workflow.md +50 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +259 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +233 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +272 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +145 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +59 -0
- package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-01-init.md +44 -0
- package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-02-inheritance-strategy.md +75 -0
- package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-03-implementation.md +64 -0
- package/bmm/workflows/3-solutioning/enhance-existing-system/workflow.md +30 -0
- package/bmm/workflows/3-solutioning/quick-addon/workflow.md +23 -0
- package/bmm/workflows/4-implementation/code-review/checklist.md +23 -0
- package/bmm/workflows/4-implementation/code-review/instructions.xml +225 -0
- package/bmm/workflows/4-implementation/code-review/workflow.yaml +50 -0
- package/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
- package/bmm/workflows/4-implementation/correct-course/instructions.md +206 -0
- package/bmm/workflows/4-implementation/correct-course/workflow.yaml +58 -0
- package/bmm/workflows/4-implementation/create-next-story/steps/step-01-init.md +53 -0
- package/bmm/workflows/4-implementation/create-next-story/steps/step-02-acceptance-criteria.md +63 -0
- package/bmm/workflows/4-implementation/create-next-story/steps/step-03-tasks.md +68 -0
- package/bmm/workflows/4-implementation/create-next-story/steps/step-04-complete.md +70 -0
- package/bmm/workflows/4-implementation/create-next-story/workflow.md +30 -0
- package/bmm/workflows/4-implementation/dev-story/checklist.md +80 -0
- package/bmm/workflows/4-implementation/dev-story/instructions.xml +409 -0
- package/bmm/workflows/4-implementation/dev-story/workflow.yaml +25 -0
- package/bmm/workflows/4-implementation/rapid-brownfield/steps/step-01-quick-story.md +79 -0
- package/bmm/workflows/4-implementation/rapid-brownfield/workflow.md +29 -0
- package/bmm/workflows/4-implementation/retrospective/instructions.md +1443 -0
- package/bmm/workflows/4-implementation/retrospective/workflow.yaml +57 -0
- package/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
- package/bmm/workflows/4-implementation/sprint-planning/instructions.md +225 -0
- package/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
- package/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +52 -0
- package/bmm/workflows/4-implementation/sprint-status/instructions.md +229 -0
- package/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-01-understand.md +189 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-02-investigate.md +144 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-03-generate.md +128 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-04-review.md +173 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/tech-spec-template.md +74 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.md +79 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +52 -0
- package/bmm/workflows/document-odoo/steps/step-01-init.md +43 -0
- package/bmm/workflows/document-odoo/steps/step-02-readme.md +98 -0
- package/bmm/workflows/document-odoo/steps/step-03-user-guide.md +76 -0
- package/bmm/workflows/document-odoo/steps/step-04-complete.md +58 -0
- package/bmm/workflows/document-odoo/workflow.md +30 -0
- package/bmm/workflows/document-project/checklist.md +245 -0
- package/bmm/workflows/document-project/documentation-requirements.csv +12 -0
- package/bmm/workflows/document-project/instructions.md +221 -0
- package/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
- package/bmm/workflows/document-project/templates/index-template.md +169 -0
- package/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
- package/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
- package/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
- package/bmm/workflows/document-project/workflow.yaml +28 -0
- package/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
- package/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
- package/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
- package/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
- package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +90 -0
- package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +127 -0
- package/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +39 -0
- package/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +130 -0
- package/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +26 -0
- package/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +43 -0
- package/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +141 -0
- package/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +26 -0
- package/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +49 -0
- package/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +241 -0
- package/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +26 -0
- package/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +38 -0
- package/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +133 -0
- package/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +26 -0
- package/bmm/workflows/generate-project-context/project-context-template.md +21 -0
- package/bmm/workflows/generate-project-context/steps/step-01-discover.md +184 -0
- package/bmm/workflows/generate-project-context/steps/step-02-generate.md +318 -0
- package/bmm/workflows/generate-project-context/steps/step-03-complete.md +278 -0
- package/bmm/workflows/generate-project-context/workflow.md +49 -0
- package/bmm/workflows/testarch/atdd/atdd-checklist-template.md +364 -0
- package/bmm/workflows/testarch/atdd/checklist.md +374 -0
- package/bmm/workflows/testarch/atdd/instructions.md +806 -0
- package/bmm/workflows/testarch/atdd/workflow.yaml +45 -0
- package/bmm/workflows/testarch/automate/checklist.md +582 -0
- package/bmm/workflows/testarch/automate/instructions.md +1324 -0
- package/bmm/workflows/testarch/automate/workflow.yaml +52 -0
- package/bmm/workflows/testarch/ci/checklist.md +248 -0
- package/bmm/workflows/testarch/ci/github-actions-template.yaml +198 -0
- package/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
- package/bmm/workflows/testarch/ci/instructions.md +536 -0
- package/bmm/workflows/testarch/ci/workflow.yaml +45 -0
- package/bmm/workflows/testarch/framework/checklist.md +321 -0
- package/bmm/workflows/testarch/framework/instructions.md +481 -0
- package/bmm/workflows/testarch/framework/workflow.yaml +47 -0
- package/bmm/workflows/testarch/nfr-assess/checklist.md +407 -0
- package/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
- package/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +445 -0
- package/bmm/workflows/testarch/nfr-assess/workflow.yaml +47 -0
- package/bmm/workflows/testarch/test-design/checklist.md +235 -0
- package/bmm/workflows/testarch/test-design/instructions.md +788 -0
- package/bmm/workflows/testarch/test-design/test-design-template.md +294 -0
- package/bmm/workflows/testarch/test-design/workflow.yaml +54 -0
- package/bmm/workflows/testarch/test-review/checklist.md +472 -0
- package/bmm/workflows/testarch/test-review/instructions.md +628 -0
- package/bmm/workflows/testarch/test-review/test-review-template.md +390 -0
- package/bmm/workflows/testarch/test-review/workflow.yaml +46 -0
- package/bmm/workflows/testarch/trace/checklist.md +655 -0
- package/bmm/workflows/testarch/trace/instructions.md +1047 -0
- package/bmm/workflows/testarch/trace/trace-template.md +675 -0
- package/bmm/workflows/testarch/trace/workflow.yaml +55 -0
- package/bmm/workflows/workflow-status/init/instructions.md +346 -0
- package/bmm/workflows/workflow-status/init/workflow.yaml +29 -0
- package/bmm/workflows/workflow-status/instructions.md +395 -0
- package/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +103 -0
- package/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +100 -0
- package/bmm/workflows/workflow-status/paths/method-brownfield.yaml +103 -0
- package/bmm/workflows/workflow-status/paths/method-greenfield.yaml +100 -0
- package/bmm/workflows/workflow-status/project-levels.yaml +59 -0
- package/bmm/workflows/workflow-status/workflow-status-template.yaml +24 -0
- package/bmm/workflows/workflow-status/workflow.yaml +30 -0
- package/core/agents/bmad-odoo-master.md +61 -0
- package/core/config.yaml +7 -0
- package/core/resources/README.md +5 -0
- package/core/tasks/README.md +7 -0
- package/core/workflows/README.md +8 -0
- package/index.js +84 -0
- package/package.json +48 -0
- package/scripts/postinstall.js +447 -0
- package/scripts/setup-cli.js +17 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Retrospective - Epic Completion Review Workflow
|
|
2
|
+
name: "retrospective"
|
|
3
|
+
description: "Run after epic completion to review overall success, extract lessons learned, and explore if new information emerged that might impact the next epic"
|
|
4
|
+
author: "BMad"
|
|
5
|
+
|
|
6
|
+
config_source: "{project-root}/_bmad/bmm/config.yaml"
|
|
7
|
+
output_folder: "{config_source}:implementation_artifacts}"
|
|
8
|
+
user_name: "{config_source}:user_name"
|
|
9
|
+
communication_language: "{config_source}:communication_language"
|
|
10
|
+
user_skill_level: "{config_source}:user_skill_level"
|
|
11
|
+
document_output_language: "{config_source}:document_output_language"
|
|
12
|
+
date: system-generated
|
|
13
|
+
planning_artifacts: "{config_source}:planning_artifacts"
|
|
14
|
+
implementation_artifacts: "{config_source}:implementation_artifacts"
|
|
15
|
+
|
|
16
|
+
installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/retrospective"
|
|
17
|
+
template: false
|
|
18
|
+
instructions: "{installed_path}/instructions.md"
|
|
19
|
+
|
|
20
|
+
required_inputs:
|
|
21
|
+
- agent_manifest: "{project-root}/_bmad/_config/agent-manifest.csv"
|
|
22
|
+
|
|
23
|
+
# Smart input file references - handles both whole docs and sharded docs
|
|
24
|
+
# Priority: Whole document first, then sharded version
|
|
25
|
+
# Strategy: SELECTIVE LOAD - only load the completed epic and relevant retrospectives
|
|
26
|
+
input_file_patterns:
|
|
27
|
+
epics:
|
|
28
|
+
description: "The completed epic for retrospective"
|
|
29
|
+
whole: "{planning_artifacts}/*epic*.md"
|
|
30
|
+
sharded_index: "{planning_artifacts}/*epic*/index.md"
|
|
31
|
+
sharded_single: "{planning_artifacts}/*epic*/epic-{{epic_num}}.md"
|
|
32
|
+
load_strategy: "SELECTIVE_LOAD"
|
|
33
|
+
previous_retrospective:
|
|
34
|
+
description: "Previous epic's retrospective (optional)"
|
|
35
|
+
pattern: "{implementation_artifacts}/**/epic-{{prev_epic_num}}-retro-*.md"
|
|
36
|
+
load_strategy: "SELECTIVE_LOAD"
|
|
37
|
+
architecture:
|
|
38
|
+
description: "System architecture for context"
|
|
39
|
+
whole: "{planning_artifacts}/*architecture*.md"
|
|
40
|
+
sharded: "{planning_artifacts}/*architecture*/*.md"
|
|
41
|
+
load_strategy: "FULL_LOAD"
|
|
42
|
+
prd:
|
|
43
|
+
description: "Product requirements for context"
|
|
44
|
+
whole: "{planning_artifacts}/*prd*.md"
|
|
45
|
+
sharded: "{planning_artifacts}/*prd*/*.md"
|
|
46
|
+
load_strategy: "FULL_LOAD"
|
|
47
|
+
document_project:
|
|
48
|
+
description: "Brownfield project documentation (optional)"
|
|
49
|
+
sharded: "{planning_artifacts}/*.md"
|
|
50
|
+
load_strategy: "INDEX_GUIDED"
|
|
51
|
+
|
|
52
|
+
# Required files
|
|
53
|
+
sprint_status_file: "{implementation_artifacts}/sprint-status.yaml"
|
|
54
|
+
story_directory: "{implementation_artifacts}"
|
|
55
|
+
retrospectives_folder: "{implementation_artifacts}"
|
|
56
|
+
|
|
57
|
+
standalone: true
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Sprint Planning Validation Checklist
|
|
2
|
+
|
|
3
|
+
## Core Validation
|
|
4
|
+
|
|
5
|
+
### Complete Coverage Check
|
|
6
|
+
|
|
7
|
+
- [ ] Every epic found in epic\*.md files appears in sprint-status.yaml
|
|
8
|
+
- [ ] Every story found in epic\*.md files appears in sprint-status.yaml
|
|
9
|
+
- [ ] Every epic has a corresponding retrospective entry
|
|
10
|
+
- [ ] No items in sprint-status.yaml that don't exist in epic files
|
|
11
|
+
|
|
12
|
+
### Parsing Verification
|
|
13
|
+
|
|
14
|
+
Compare epic files against generated sprint-status.yaml:
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
Epic Files Contains: Sprint Status Contains:
|
|
18
|
+
✓ Epic 1 ✓ epic-1: [status]
|
|
19
|
+
✓ Story 1.1: User Auth ✓ 1-1-user-auth: [status]
|
|
20
|
+
✓ Story 1.2: Account Mgmt ✓ 1-2-account-mgmt: [status]
|
|
21
|
+
✓ Story 1.3: Plant Naming ✓ 1-3-plant-naming: [status]
|
|
22
|
+
✓ epic-1-retrospective: [status]
|
|
23
|
+
✓ Epic 2 ✓ epic-2: [status]
|
|
24
|
+
✓ Story 2.1: Personality Model ✓ 2-1-personality-model: [status]
|
|
25
|
+
✓ Story 2.2: Chat Interface ✓ 2-2-chat-interface: [status]
|
|
26
|
+
✓ epic-2-retrospective: [status]
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Final Check
|
|
30
|
+
|
|
31
|
+
- [ ] Total count of epics matches
|
|
32
|
+
- [ ] Total count of stories matches
|
|
33
|
+
- [ ] All items are in the expected order (epic, stories, retrospective)
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# Sprint Planning - Sprint Status Generator
|
|
2
|
+
|
|
3
|
+
<critical>The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml</critical>
|
|
4
|
+
<critical>You MUST have already loaded and processed: {project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml</critical>
|
|
5
|
+
|
|
6
|
+
## 📚 Document Discovery - Full Epic Loading
|
|
7
|
+
|
|
8
|
+
**Strategy**: Sprint planning needs ALL epics and stories to build complete status tracking.
|
|
9
|
+
|
|
10
|
+
**Epic Discovery Process:**
|
|
11
|
+
|
|
12
|
+
1. **Search for whole document first** - Look for `epics.md`, `bmm-epics.md`, or any `*epic*.md` file
|
|
13
|
+
2. **Check for sharded version** - If whole document not found, look for `epics/index.md`
|
|
14
|
+
3. **If sharded version found**:
|
|
15
|
+
- Read `index.md` to understand the document structure
|
|
16
|
+
- Read ALL epic section files listed in the index (e.g., `epic-1.md`, `epic-2.md`, etc.)
|
|
17
|
+
- Process all epics and their stories from the combined content
|
|
18
|
+
- This ensures complete sprint status coverage
|
|
19
|
+
4. **Priority**: If both whole and sharded versions exist, use the whole document
|
|
20
|
+
|
|
21
|
+
**Fuzzy matching**: Be flexible with document names - users may use variations like `epics.md`, `bmm-epics.md`, `user-stories.md`, etc.
|
|
22
|
+
|
|
23
|
+
<workflow>
|
|
24
|
+
|
|
25
|
+
<step n="1" goal="Parse epic files and extract all work items">
|
|
26
|
+
<action>Communicate in {communication_language} with {user_name}</action>
|
|
27
|
+
<action>Look for all files matching `{epics_pattern}` in {epics_location}</action>
|
|
28
|
+
<action>Could be a single `epics.md` file or multiple `epic-1.md`, `epic-2.md` files</action>
|
|
29
|
+
|
|
30
|
+
<action>For each epic file found, extract:</action>
|
|
31
|
+
|
|
32
|
+
- Epic numbers from headers like `## Epic 1:` or `## Epic 2:`
|
|
33
|
+
- Story IDs and titles from patterns like `### Story 1.1: User Authentication`
|
|
34
|
+
- Convert story format from `Epic.Story: Title` to kebab-case key: `epic-story-title`
|
|
35
|
+
|
|
36
|
+
**Story ID Conversion Rules:**
|
|
37
|
+
|
|
38
|
+
- Original: `### Story 1.1: User Authentication`
|
|
39
|
+
- Replace period with dash: `1-1`
|
|
40
|
+
- Convert title to kebab-case: `user-authentication`
|
|
41
|
+
- Final key: `1-1-user-authentication`
|
|
42
|
+
|
|
43
|
+
<action>Build complete inventory of all epics and stories from all epic files</action>
|
|
44
|
+
</step>
|
|
45
|
+
|
|
46
|
+
<step n="0.5" goal="Discover and load project documents">
|
|
47
|
+
<invoke-protocol name="discover_inputs" />
|
|
48
|
+
<note>After discovery, these content variables are available: {epics_content} (all epics loaded - uses FULL_LOAD strategy)</note>
|
|
49
|
+
</step>
|
|
50
|
+
|
|
51
|
+
<step n="2" goal="Build sprint status structure">
|
|
52
|
+
<action>For each epic found, create entries in this order:</action>
|
|
53
|
+
|
|
54
|
+
1. **Epic entry** - Key: `epic-{num}`, Default status: `backlog`
|
|
55
|
+
2. **Story entries** - Key: `{epic}-{story}-{title}`, Default status: `backlog`
|
|
56
|
+
3. **Retrospective entry** - Key: `epic-{num}-retrospective`, Default status: `optional`
|
|
57
|
+
|
|
58
|
+
**Example structure:**
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
development_status:
|
|
62
|
+
epic-1: backlog
|
|
63
|
+
1-1-user-authentication: backlog
|
|
64
|
+
1-2-account-management: backlog
|
|
65
|
+
epic-1-retrospective: optional
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
</step>
|
|
69
|
+
|
|
70
|
+
<step n="3" goal="Apply intelligent status detection">
|
|
71
|
+
<action>For each story, detect current status by checking files:</action>
|
|
72
|
+
|
|
73
|
+
**Story file detection:**
|
|
74
|
+
|
|
75
|
+
- Check: `{story_location_absolute}/{story-key}.md` (e.g., `stories/1-1-user-authentication.md`)
|
|
76
|
+
- If exists → upgrade status to at least `ready-for-dev`
|
|
77
|
+
|
|
78
|
+
**Preservation rule:**
|
|
79
|
+
|
|
80
|
+
- If existing `{status_file}` exists and has more advanced status, preserve it
|
|
81
|
+
- Never downgrade status (e.g., don't change `done` to `ready-for-dev`)
|
|
82
|
+
|
|
83
|
+
**Status Flow Reference:**
|
|
84
|
+
|
|
85
|
+
- Epic: `backlog` → `in-progress` → `done`
|
|
86
|
+
- Story: `backlog` → `ready-for-dev` → `in-progress` → `review` → `done`
|
|
87
|
+
- Retrospective: `optional` ↔ `done`
|
|
88
|
+
</step>
|
|
89
|
+
|
|
90
|
+
<step n="4" goal="Generate sprint status file">
|
|
91
|
+
<action>Create or update {status_file} with:</action>
|
|
92
|
+
|
|
93
|
+
**File Structure:**
|
|
94
|
+
|
|
95
|
+
```yaml
|
|
96
|
+
# generated: {date}
|
|
97
|
+
# project: {project_name}
|
|
98
|
+
# project_key: {project_key}
|
|
99
|
+
# tracking_system: {tracking_system}
|
|
100
|
+
# story_location: {story_location}
|
|
101
|
+
|
|
102
|
+
# STATUS DEFINITIONS:
|
|
103
|
+
# ==================
|
|
104
|
+
# Epic Status:
|
|
105
|
+
# - backlog: Epic not yet started
|
|
106
|
+
# - in-progress: Epic actively being worked on
|
|
107
|
+
# - done: All stories in epic completed
|
|
108
|
+
#
|
|
109
|
+
# Epic Status Transitions:
|
|
110
|
+
# - backlog → in-progress: Automatically when first story is created (via create-story)
|
|
111
|
+
# - in-progress → done: Manually when all stories reach 'done' status
|
|
112
|
+
#
|
|
113
|
+
# Story Status:
|
|
114
|
+
# - backlog: Story only exists in epic file
|
|
115
|
+
# - ready-for-dev: Story file created in stories folder
|
|
116
|
+
# - in-progress: Developer actively working on implementation
|
|
117
|
+
# - review: Ready for code review (via Dev's code-review workflow)
|
|
118
|
+
# - done: Story completed
|
|
119
|
+
#
|
|
120
|
+
# Retrospective Status:
|
|
121
|
+
# - optional: Can be completed but not required
|
|
122
|
+
# - done: Retrospective has been completed
|
|
123
|
+
#
|
|
124
|
+
# WORKFLOW NOTES:
|
|
125
|
+
# ===============
|
|
126
|
+
# - Epic transitions to 'in-progress' automatically when first story is created
|
|
127
|
+
# - Stories can be worked in parallel if team capacity allows
|
|
128
|
+
# - SM typically creates next story after previous one is 'done' to incorporate learnings
|
|
129
|
+
# - Dev moves story to 'review', then runs code-review (fresh context, different LLM recommended)
|
|
130
|
+
|
|
131
|
+
generated: { date }
|
|
132
|
+
project: { project_name }
|
|
133
|
+
project_key: { project_key }
|
|
134
|
+
tracking_system: { tracking_system }
|
|
135
|
+
story_location: { story_location }
|
|
136
|
+
|
|
137
|
+
development_status:
|
|
138
|
+
# All epics, stories, and retrospectives in order
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
<action>Write the complete sprint status YAML to {status_file}</action>
|
|
142
|
+
<action>CRITICAL: Metadata appears TWICE - once as comments (#) for documentation, once as YAML key:value fields for parsing</action>
|
|
143
|
+
<action>Ensure all items are ordered: epic, its stories, its retrospective, next epic...</action>
|
|
144
|
+
</step>
|
|
145
|
+
|
|
146
|
+
<step n="5" goal="Validate and report">
|
|
147
|
+
<action>Perform validation checks:</action>
|
|
148
|
+
|
|
149
|
+
- [ ] Every epic in epic files appears in {status_file}
|
|
150
|
+
- [ ] Every story in epic files appears in {status_file}
|
|
151
|
+
- [ ] Every epic has a corresponding retrospective entry
|
|
152
|
+
- [ ] No items in {status_file} that don't exist in epic files
|
|
153
|
+
- [ ] All status values are legal (match state machine definitions)
|
|
154
|
+
- [ ] File is valid YAML syntax
|
|
155
|
+
|
|
156
|
+
<action>Count totals:</action>
|
|
157
|
+
|
|
158
|
+
- Total epics: {{epic_count}}
|
|
159
|
+
- Total stories: {{story_count}}
|
|
160
|
+
- Epics in-progress: {{in_progress_count}}
|
|
161
|
+
- Stories done: {{done_count}}
|
|
162
|
+
|
|
163
|
+
<action>Display completion summary to {user_name} in {communication_language}:</action>
|
|
164
|
+
|
|
165
|
+
**Sprint Status Generated Successfully**
|
|
166
|
+
|
|
167
|
+
- **File Location:** {status_file}
|
|
168
|
+
- **Total Epics:** {{epic_count}}
|
|
169
|
+
- **Total Stories:** {{story_count}}
|
|
170
|
+
- **Epics In Progress:** {{epics_in_progress_count}}
|
|
171
|
+
- **Stories Completed:** {{done_count}}
|
|
172
|
+
|
|
173
|
+
**Next Steps:**
|
|
174
|
+
|
|
175
|
+
1. Review the generated {status_file}
|
|
176
|
+
2. Use this file to track development progress
|
|
177
|
+
3. Agents will update statuses as they work
|
|
178
|
+
4. Re-run this workflow to refresh auto-detected statuses
|
|
179
|
+
|
|
180
|
+
</step>
|
|
181
|
+
|
|
182
|
+
</workflow>
|
|
183
|
+
|
|
184
|
+
## Additional Documentation
|
|
185
|
+
|
|
186
|
+
### Status State Machine
|
|
187
|
+
|
|
188
|
+
**Epic Status Flow:**
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
backlog → in-progress → done
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
- **backlog**: Epic not yet started
|
|
195
|
+
- **in-progress**: Epic actively being worked on (stories being created/implemented)
|
|
196
|
+
- **done**: All stories in epic completed
|
|
197
|
+
|
|
198
|
+
**Story Status Flow:**
|
|
199
|
+
|
|
200
|
+
```
|
|
201
|
+
backlog → ready-for-dev → in-progress → review → done
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
- **backlog**: Story only exists in epic file
|
|
205
|
+
- **ready-for-dev**: Story file created (e.g., `stories/1-3-plant-naming.md`)
|
|
206
|
+
- **in-progress**: Developer actively working
|
|
207
|
+
- **review**: Ready for code review (via Dev's code-review workflow)
|
|
208
|
+
- **done**: Completed
|
|
209
|
+
|
|
210
|
+
**Retrospective Status:**
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
optional ↔ done
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
- **optional**: Ready to be conducted but not required
|
|
217
|
+
- **done**: Finished
|
|
218
|
+
|
|
219
|
+
### Guidelines
|
|
220
|
+
|
|
221
|
+
1. **Epic Activation**: Mark epic as `in-progress` when starting work on its first story
|
|
222
|
+
2. **Sequential Default**: Stories are typically worked in order, but parallel work is supported
|
|
223
|
+
3. **Parallel Work Supported**: Multiple stories can be `in-progress` if team capacity allows
|
|
224
|
+
4. **Review Before Done**: Stories should pass through `review` before `done`
|
|
225
|
+
5. **Learning Transfer**: SM typically creates next story after previous one is `done` to incorporate learnings
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Sprint Status Template
|
|
2
|
+
# This is an EXAMPLE showing the expected format
|
|
3
|
+
# The actual file will be generated with all epics/stories from your epic files
|
|
4
|
+
|
|
5
|
+
# generated: {date}
|
|
6
|
+
# project: {project_name}
|
|
7
|
+
# project_key: {project_key}
|
|
8
|
+
# tracking_system: {tracking_system}
|
|
9
|
+
# story_location: {story_location}
|
|
10
|
+
|
|
11
|
+
# STATUS DEFINITIONS:
|
|
12
|
+
# ==================
|
|
13
|
+
# Epic Status:
|
|
14
|
+
# - backlog: Epic not yet started
|
|
15
|
+
# - in-progress: Epic actively being worked on
|
|
16
|
+
# - done: All stories in epic completed
|
|
17
|
+
#
|
|
18
|
+
# Story Status:
|
|
19
|
+
# - backlog: Story only exists in epic file
|
|
20
|
+
# - ready-for-dev: Story file created, ready for development
|
|
21
|
+
# - in-progress: Developer actively working on implementation
|
|
22
|
+
# - review: Implementation complete, ready for review
|
|
23
|
+
# - done: Story completed
|
|
24
|
+
#
|
|
25
|
+
# Retrospective Status:
|
|
26
|
+
# - optional: Can be completed but not required
|
|
27
|
+
# - done: Retrospective has been completed
|
|
28
|
+
#
|
|
29
|
+
# WORKFLOW NOTES:
|
|
30
|
+
# ===============
|
|
31
|
+
# - Mark epic as 'in-progress' when starting work on its first story
|
|
32
|
+
# - SM typically creates next story ONLY after previous one is 'done' to incorporate learnings
|
|
33
|
+
# - Dev moves story to 'review', then Dev runs code-review (fresh context, ideally different LLM)
|
|
34
|
+
|
|
35
|
+
# EXAMPLE STRUCTURE (your actual epics/stories will replace these):
|
|
36
|
+
|
|
37
|
+
generated: 05-06-2-2025 21:30
|
|
38
|
+
project: My Awesome Project
|
|
39
|
+
project_key: jira-1234
|
|
40
|
+
tracking_system: file-system
|
|
41
|
+
story_location: "{story_location}"
|
|
42
|
+
|
|
43
|
+
development_status:
|
|
44
|
+
epic-1: backlog
|
|
45
|
+
1-1-user-authentication: done
|
|
46
|
+
1-2-account-management: ready-for-dev
|
|
47
|
+
1-3-plant-data-model: backlog
|
|
48
|
+
1-4-add-plant-manual: backlog
|
|
49
|
+
epic-1-retrospective: optional
|
|
50
|
+
|
|
51
|
+
epic-2: backlog
|
|
52
|
+
2-1-personality-system: backlog
|
|
53
|
+
2-2-chat-interface: backlog
|
|
54
|
+
2-3-llm-integration: backlog
|
|
55
|
+
epic-2-retrospective: optional
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
name: sprint-planning
|
|
2
|
+
description: "Generate and manage the sprint status tracking file for Phase 4 implementation, extracting all epics and stories from epic files and tracking their status through the development lifecycle"
|
|
3
|
+
author: "BMad"
|
|
4
|
+
|
|
5
|
+
# Critical variables from config
|
|
6
|
+
config_source: "{project-root}/_bmad/bmm/config.yaml"
|
|
7
|
+
user_name: "{config_source}:user_name"
|
|
8
|
+
communication_language: "{config_source}:communication_language"
|
|
9
|
+
date: system-generated
|
|
10
|
+
implementation_artifacts: "{config_source}:implementation_artifacts"
|
|
11
|
+
planning_artifacts: "{config_source}:planning_artifacts"
|
|
12
|
+
output_folder: "{implementation_artifacts}"
|
|
13
|
+
|
|
14
|
+
# Workflow components
|
|
15
|
+
installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning"
|
|
16
|
+
instructions: "{installed_path}/instructions.md"
|
|
17
|
+
template: "{installed_path}/sprint-status-template.yaml"
|
|
18
|
+
validation: "{installed_path}/checklist.md"
|
|
19
|
+
|
|
20
|
+
# Variables and inputs
|
|
21
|
+
variables:
|
|
22
|
+
# Project context
|
|
23
|
+
project_context: "**/project-context.md"
|
|
24
|
+
# Project identification
|
|
25
|
+
project_name: "{config_source}:project_name"
|
|
26
|
+
|
|
27
|
+
# Tracking system configuration
|
|
28
|
+
tracking_system: "file-system" # Options: file-system, Future will support other options from config of mcp such as jira, linear, trello
|
|
29
|
+
story_location: "{config_source}:implementation_artifacts" # Relative path for file-system, Future will support URL for Jira/Linear/Trello
|
|
30
|
+
story_location_absolute: "{config_source}:implementation_artifacts" # Absolute path for file operations
|
|
31
|
+
|
|
32
|
+
# Source files (file-system only)
|
|
33
|
+
epics_location: "{planning_artifacts}" # Directory containing epic*.md files
|
|
34
|
+
epics_pattern: "epic*.md" # Pattern to find epic files
|
|
35
|
+
|
|
36
|
+
# Output configuration
|
|
37
|
+
status_file: "{implementation_artifacts}/sprint-status.yaml"
|
|
38
|
+
|
|
39
|
+
# Smart input file references - handles both whole docs and sharded docs
|
|
40
|
+
# Priority: Whole document first, then sharded version
|
|
41
|
+
# Strategy: FULL LOAD - sprint planning needs ALL epics to build complete status
|
|
42
|
+
input_file_patterns:
|
|
43
|
+
epics:
|
|
44
|
+
description: "All epics with user stories"
|
|
45
|
+
whole: "{output_folder}/*epic*.md"
|
|
46
|
+
sharded: "{output_folder}/*epic*/*.md"
|
|
47
|
+
load_strategy: "FULL_LOAD"
|
|
48
|
+
|
|
49
|
+
# Output configuration
|
|
50
|
+
default_output_file: "{status_file}"
|
|
51
|
+
|
|
52
|
+
standalone: true
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
# Sprint Status - Multi-Mode Service
|
|
2
|
+
|
|
3
|
+
<critical>The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml</critical>
|
|
4
|
+
<critical>You MUST have already loaded and processed: {project-root}/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml</critical>
|
|
5
|
+
<critical>Modes: interactive (default), validate, data</critical>
|
|
6
|
+
<critical>⚠️ ABSOLUTELY NO TIME ESTIMATES. Do NOT mention hours, days, weeks, or timelines.</critical>
|
|
7
|
+
|
|
8
|
+
<workflow>
|
|
9
|
+
|
|
10
|
+
<step n="0" goal="Determine execution mode">
|
|
11
|
+
<action>Set mode = {{mode}} if provided by caller; otherwise mode = "interactive"</action>
|
|
12
|
+
|
|
13
|
+
<check if="mode == data">
|
|
14
|
+
<action>Jump to Step 20</action>
|
|
15
|
+
</check>
|
|
16
|
+
|
|
17
|
+
<check if="mode == validate">
|
|
18
|
+
<action>Jump to Step 30</action>
|
|
19
|
+
</check>
|
|
20
|
+
|
|
21
|
+
<check if="mode == interactive">
|
|
22
|
+
<action>Continue to Step 1</action>
|
|
23
|
+
</check>
|
|
24
|
+
</step>
|
|
25
|
+
|
|
26
|
+
<step n="1" goal="Locate sprint status file">
|
|
27
|
+
<action>Try {sprint_status_file}</action>
|
|
28
|
+
<check if="file not found">
|
|
29
|
+
<output>❌ sprint-status.yaml not found.
|
|
30
|
+
Run `/bmad:bmm:workflows:sprint-planning` to generate it, then rerun sprint-status.</output>
|
|
31
|
+
<action>Exit workflow</action>
|
|
32
|
+
</check>
|
|
33
|
+
<action>Continue to Step 2</action>
|
|
34
|
+
</step>
|
|
35
|
+
|
|
36
|
+
<step n="2" goal="Read and parse sprint-status.yaml">
|
|
37
|
+
<action>Read the FULL file: {sprint_status_file}</action>
|
|
38
|
+
<action>Parse fields: generated, project, project_key, tracking_system, story_location</action>
|
|
39
|
+
<action>Parse development_status map. Classify keys:</action>
|
|
40
|
+
- Epics: keys starting with "epic-" (and not ending with "-retrospective")
|
|
41
|
+
- Retrospectives: keys ending with "-retrospective"
|
|
42
|
+
- Stories: everything else (e.g., 1-2-login-form)
|
|
43
|
+
<action>Map legacy story status "drafted" → "ready-for-dev"</action>
|
|
44
|
+
<action>Count story statuses: backlog, ready-for-dev, in-progress, review, done</action>
|
|
45
|
+
<action>Map legacy epic status "contexted" → "in-progress"</action>
|
|
46
|
+
<action>Count epic statuses: backlog, in-progress, done</action>
|
|
47
|
+
<action>Count retrospective statuses: optional, done</action>
|
|
48
|
+
|
|
49
|
+
<action>Validate all statuses against known values:</action>
|
|
50
|
+
|
|
51
|
+
- Valid story statuses: backlog, ready-for-dev, in-progress, review, done, drafted (legacy)
|
|
52
|
+
- Valid epic statuses: backlog, in-progress, done, contexted (legacy)
|
|
53
|
+
- Valid retrospective statuses: optional, done
|
|
54
|
+
|
|
55
|
+
<check if="any status is unrecognized">
|
|
56
|
+
<output>
|
|
57
|
+
⚠️ **Unknown status detected:**
|
|
58
|
+
{{#each invalid_entries}}
|
|
59
|
+
|
|
60
|
+
- `{{key}}`: "{{status}}" (not recognized)
|
|
61
|
+
{{/each}}
|
|
62
|
+
|
|
63
|
+
**Valid statuses:**
|
|
64
|
+
|
|
65
|
+
- Stories: backlog, ready-for-dev, in-progress, review, done
|
|
66
|
+
- Epics: backlog, in-progress, done
|
|
67
|
+
- Retrospectives: optional, done
|
|
68
|
+
</output>
|
|
69
|
+
<ask>How should these be corrected?
|
|
70
|
+
{{#each invalid_entries}}
|
|
71
|
+
{{@index}}. {{key}}: "{{status}}" → [select valid status]
|
|
72
|
+
{{/each}}
|
|
73
|
+
|
|
74
|
+
Enter corrections (e.g., "1=in-progress, 2=backlog") or "skip" to continue without fixing:</ask>
|
|
75
|
+
<check if="user provided corrections">
|
|
76
|
+
<action>Update sprint-status.yaml with corrected values</action>
|
|
77
|
+
<action>Re-parse the file with corrected statuses</action>
|
|
78
|
+
</check>
|
|
79
|
+
</check>
|
|
80
|
+
|
|
81
|
+
<action>Detect risks:</action>
|
|
82
|
+
|
|
83
|
+
- IF any story has status "review": suggest `/bmad:bmm:workflows:code-review`
|
|
84
|
+
- IF any story has status "in-progress" AND no stories have status "ready-for-dev": recommend staying focused on active story
|
|
85
|
+
- IF all epics have status "backlog" AND no stories have status "ready-for-dev": prompt `/bmad:bmm:workflows:create-story`
|
|
86
|
+
- IF `generated` timestamp is more than 7 days old: warn "sprint-status.yaml may be stale"
|
|
87
|
+
- IF any story key doesn't match an epic pattern (e.g., story "5-1-..." but no "epic-5"): warn "orphaned story detected"
|
|
88
|
+
- IF any epic has status in-progress but has no associated stories: warn "in-progress epic has no stories"
|
|
89
|
+
</step>
|
|
90
|
+
|
|
91
|
+
<step n="3" goal="Select next action recommendation">
|
|
92
|
+
<action>Pick the next recommended workflow using priority:</action>
|
|
93
|
+
<note>When selecting "first" story: sort by epic number, then story number (e.g., 1-1 before 1-2 before 2-1)</note>
|
|
94
|
+
1. If any story status == in-progress → recommend `dev-story` for the first in-progress story
|
|
95
|
+
2. Else if any story status == review → recommend `code-review` for the first review story
|
|
96
|
+
3. Else if any story status == ready-for-dev → recommend `dev-story`
|
|
97
|
+
4. Else if any story status == backlog → recommend `create-story`
|
|
98
|
+
5. Else if any retrospective status == optional → recommend `retrospective`
|
|
99
|
+
6. Else → All implementation items done; suggest `workflow-status` to plan next phase
|
|
100
|
+
<action>Store selected recommendation as: next_story_id, next_workflow_id, next_agent (SM/DEV as appropriate)</action>
|
|
101
|
+
</step>
|
|
102
|
+
|
|
103
|
+
<step n="4" goal="Display summary">
|
|
104
|
+
<output>
|
|
105
|
+
## 📊 Sprint Status
|
|
106
|
+
|
|
107
|
+
- Project: {{project}} ({{project_key}})
|
|
108
|
+
- Tracking: {{tracking_system}}
|
|
109
|
+
- Status file: {sprint_status_file}
|
|
110
|
+
|
|
111
|
+
**Stories:** backlog {{count_backlog}}, ready-for-dev {{count_ready}}, in-progress {{count_in_progress}}, review {{count_review}}, done {{count_done}}
|
|
112
|
+
|
|
113
|
+
**Epics:** backlog {{epic_backlog}}, in-progress {{epic_in_progress}}, done {{epic_done}}
|
|
114
|
+
|
|
115
|
+
**Next Recommendation:** /bmad:bmm:workflows:{{next_workflow_id}} ({{next_story_id}})
|
|
116
|
+
|
|
117
|
+
{{#if risks}}
|
|
118
|
+
**Risks:**
|
|
119
|
+
{{#each risks}}
|
|
120
|
+
|
|
121
|
+
- {{this}}
|
|
122
|
+
{{/each}}
|
|
123
|
+
{{/if}}
|
|
124
|
+
|
|
125
|
+
</output>
|
|
126
|
+
</step>
|
|
127
|
+
|
|
128
|
+
<step n="5" goal="Offer actions">
|
|
129
|
+
<ask>Pick an option:
|
|
130
|
+
1) Run recommended workflow now
|
|
131
|
+
2) Show all stories grouped by status
|
|
132
|
+
3) Show raw sprint-status.yaml
|
|
133
|
+
4) Exit
|
|
134
|
+
Choice:</ask>
|
|
135
|
+
|
|
136
|
+
<check if="choice == 1">
|
|
137
|
+
<output>Run `/bmad:bmm:workflows:{{next_workflow_id}}`.
|
|
138
|
+
If the command targets a story, set `story_key={{next_story_id}}` when prompted.</output>
|
|
139
|
+
</check>
|
|
140
|
+
|
|
141
|
+
<check if="choice == 2">
|
|
142
|
+
<output>
|
|
143
|
+
### Stories by Status
|
|
144
|
+
- In Progress: {{stories_in_progress}}
|
|
145
|
+
- Review: {{stories_in_review}}
|
|
146
|
+
- Ready for Dev: {{stories_ready_for_dev}}
|
|
147
|
+
- Backlog: {{stories_backlog}}
|
|
148
|
+
- Done: {{stories_done}}
|
|
149
|
+
</output>
|
|
150
|
+
</check>
|
|
151
|
+
|
|
152
|
+
<check if="choice == 3">
|
|
153
|
+
<action>Display the full contents of {sprint_status_file}</action>
|
|
154
|
+
</check>
|
|
155
|
+
|
|
156
|
+
<check if="choice == 4">
|
|
157
|
+
<action>Exit workflow</action>
|
|
158
|
+
</check>
|
|
159
|
+
</step>
|
|
160
|
+
|
|
161
|
+
<!-- ========================= -->
|
|
162
|
+
<!-- Data mode for other flows -->
|
|
163
|
+
<!-- ========================= -->
|
|
164
|
+
|
|
165
|
+
<step n="20" goal="Data mode output">
|
|
166
|
+
<action>Load and parse {sprint_status_file} same as Step 2</action>
|
|
167
|
+
<action>Compute recommendation same as Step 3</action>
|
|
168
|
+
<template-output>next_workflow_id = {{next_workflow_id}}</template-output>
|
|
169
|
+
<template-output>next_story_id = {{next_story_id}}</template-output>
|
|
170
|
+
<template-output>count_backlog = {{count_backlog}}</template-output>
|
|
171
|
+
<template-output>count_ready = {{count_ready}}</template-output>
|
|
172
|
+
<template-output>count_in_progress = {{count_in_progress}}</template-output>
|
|
173
|
+
<template-output>count_review = {{count_review}}</template-output>
|
|
174
|
+
<template-output>count_done = {{count_done}}</template-output>
|
|
175
|
+
<template-output>epic_backlog = {{epic_backlog}}</template-output>
|
|
176
|
+
<template-output>epic_in_progress = {{epic_in_progress}}</template-output>
|
|
177
|
+
<template-output>epic_done = {{epic_done}}</template-output>
|
|
178
|
+
<template-output>risks = {{risks}}</template-output>
|
|
179
|
+
<action>Return to caller</action>
|
|
180
|
+
</step>
|
|
181
|
+
|
|
182
|
+
<!-- ========================= -->
|
|
183
|
+
<!-- Validate mode -->
|
|
184
|
+
<!-- ========================= -->
|
|
185
|
+
|
|
186
|
+
<step n="30" goal="Validate sprint-status file">
|
|
187
|
+
<action>Check that {sprint_status_file} exists</action>
|
|
188
|
+
<check if="missing">
|
|
189
|
+
<template-output>is_valid = false</template-output>
|
|
190
|
+
<template-output>error = "sprint-status.yaml missing"</template-output>
|
|
191
|
+
<template-output>suggestion = "Run sprint-planning to create it"</template-output>
|
|
192
|
+
<action>Return</action>
|
|
193
|
+
</check>
|
|
194
|
+
|
|
195
|
+
<action>Read and parse {sprint_status_file}</action>
|
|
196
|
+
|
|
197
|
+
<action>Validate required metadata fields exist: generated, project, project_key, tracking_system, story_location</action>
|
|
198
|
+
<check if="any required field missing">
|
|
199
|
+
<template-output>is_valid = false</template-output>
|
|
200
|
+
<template-output>error = "Missing required field(s): {{missing_fields}}"</template-output>
|
|
201
|
+
<template-output>suggestion = "Re-run sprint-planning or add missing fields manually"</template-output>
|
|
202
|
+
<action>Return</action>
|
|
203
|
+
</check>
|
|
204
|
+
|
|
205
|
+
<action>Verify development_status section exists with at least one entry</action>
|
|
206
|
+
<check if="development_status missing or empty">
|
|
207
|
+
<template-output>is_valid = false</template-output>
|
|
208
|
+
<template-output>error = "development_status missing or empty"</template-output>
|
|
209
|
+
<template-output>suggestion = "Re-run sprint-planning or repair the file manually"</template-output>
|
|
210
|
+
<action>Return</action>
|
|
211
|
+
</check>
|
|
212
|
+
|
|
213
|
+
<action>Validate all status values against known valid statuses:</action>
|
|
214
|
+
|
|
215
|
+
- Stories: backlog, ready-for-dev, in-progress, review, done (legacy: drafted)
|
|
216
|
+
- Epics: backlog, in-progress, done (legacy: contexted)
|
|
217
|
+
- Retrospectives: optional, done
|
|
218
|
+
<check if="any invalid status found">
|
|
219
|
+
<template-output>is_valid = false</template-output>
|
|
220
|
+
<template-output>error = "Invalid status values: {{invalid_entries}}"</template-output>
|
|
221
|
+
<template-output>suggestion = "Fix invalid statuses in sprint-status.yaml"</template-output>
|
|
222
|
+
<action>Return</action>
|
|
223
|
+
</check>
|
|
224
|
+
|
|
225
|
+
<template-output>is_valid = true</template-output>
|
|
226
|
+
<template-output>message = "sprint-status.yaml valid: metadata complete, all statuses recognized"</template-output>
|
|
227
|
+
</step>
|
|
228
|
+
|
|
229
|
+
</workflow>
|