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,321 @@
|
|
|
1
|
+
# Test Framework Setup - Validation Checklist
|
|
2
|
+
|
|
3
|
+
This checklist ensures the framework workflow completes successfully and all deliverables meet quality standards.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Prerequisites
|
|
8
|
+
|
|
9
|
+
Before starting the workflow:
|
|
10
|
+
|
|
11
|
+
- [ ] Project root contains valid `package.json`
|
|
12
|
+
- [ ] No existing modern E2E framework detected (`playwright.config.*`, `cypress.config.*`)
|
|
13
|
+
- [ ] Project type identifiable (React, Vue, Angular, Next.js, Node, etc.)
|
|
14
|
+
- [ ] Bundler identifiable (Vite, Webpack, Rollup, esbuild) or not applicable
|
|
15
|
+
- [ ] User has write permissions to create directories and files
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Process Steps
|
|
20
|
+
|
|
21
|
+
### Step 1: Preflight Checks
|
|
22
|
+
|
|
23
|
+
- [ ] package.json successfully read and parsed
|
|
24
|
+
- [ ] Project type extracted correctly
|
|
25
|
+
- [ ] Bundler identified (or marked as N/A for backend projects)
|
|
26
|
+
- [ ] No framework conflicts detected
|
|
27
|
+
- [ ] Architecture documents located (if available)
|
|
28
|
+
|
|
29
|
+
### Step 2: Framework Selection
|
|
30
|
+
|
|
31
|
+
- [ ] Framework auto-detection logic executed
|
|
32
|
+
- [ ] Framework choice justified (Playwright vs Cypress)
|
|
33
|
+
- [ ] Framework preference respected (if explicitly set)
|
|
34
|
+
- [ ] User notified of framework selection and rationale
|
|
35
|
+
|
|
36
|
+
### Step 3: Directory Structure
|
|
37
|
+
|
|
38
|
+
- [ ] `tests/` root directory created
|
|
39
|
+
- [ ] `tests/e2e/` directory created (or user's preferred structure)
|
|
40
|
+
- [ ] `tests/support/` directory created (critical pattern)
|
|
41
|
+
- [ ] `tests/support/fixtures/` directory created
|
|
42
|
+
- [ ] `tests/support/fixtures/factories/` directory created
|
|
43
|
+
- [ ] `tests/support/helpers/` directory created
|
|
44
|
+
- [ ] `tests/support/page-objects/` directory created (if applicable)
|
|
45
|
+
- [ ] All directories have correct permissions
|
|
46
|
+
|
|
47
|
+
**Note**: Test organization is flexible (e2e/, api/, integration/). The **support/** folder is the key pattern.
|
|
48
|
+
|
|
49
|
+
### Step 4: Configuration Files
|
|
50
|
+
|
|
51
|
+
- [ ] Framework config file created (`playwright.config.ts` or `cypress.config.ts`)
|
|
52
|
+
- [ ] Config file uses TypeScript (if `use_typescript: true`)
|
|
53
|
+
- [ ] Timeouts configured correctly (action: 15s, navigation: 30s, test: 60s)
|
|
54
|
+
- [ ] Base URL configured with environment variable fallback
|
|
55
|
+
- [ ] Trace/screenshot/video set to retain-on-failure
|
|
56
|
+
- [ ] Multiple reporters configured (HTML + JUnit + console)
|
|
57
|
+
- [ ] Parallel execution enabled
|
|
58
|
+
- [ ] CI-specific settings configured (retries, workers)
|
|
59
|
+
- [ ] Config file is syntactically valid (no compilation errors)
|
|
60
|
+
|
|
61
|
+
### Step 5: Environment Configuration
|
|
62
|
+
|
|
63
|
+
- [ ] `.env.example` created in project root
|
|
64
|
+
- [ ] `TEST_ENV` variable defined
|
|
65
|
+
- [ ] `BASE_URL` variable defined with default
|
|
66
|
+
- [ ] `API_URL` variable defined (if applicable)
|
|
67
|
+
- [ ] Authentication variables defined (if applicable)
|
|
68
|
+
- [ ] Feature flag variables defined (if applicable)
|
|
69
|
+
- [ ] `.nvmrc` created with appropriate Node version
|
|
70
|
+
|
|
71
|
+
### Step 6: Fixture Architecture
|
|
72
|
+
|
|
73
|
+
- [ ] `tests/support/fixtures/index.ts` created
|
|
74
|
+
- [ ] Base fixture extended from Playwright/Cypress
|
|
75
|
+
- [ ] Type definitions for fixtures created
|
|
76
|
+
- [ ] mergeTests pattern implemented (if multiple fixtures)
|
|
77
|
+
- [ ] Auto-cleanup logic included in fixtures
|
|
78
|
+
- [ ] Fixture architecture follows knowledge base patterns
|
|
79
|
+
|
|
80
|
+
### Step 7: Data Factories
|
|
81
|
+
|
|
82
|
+
- [ ] At least one factory created (e.g., UserFactory)
|
|
83
|
+
- [ ] Factories use @faker-js/faker for realistic data
|
|
84
|
+
- [ ] Factories track created entities (for cleanup)
|
|
85
|
+
- [ ] Factories implement `cleanup()` method
|
|
86
|
+
- [ ] Factories integrate with fixtures
|
|
87
|
+
- [ ] Factories follow knowledge base patterns
|
|
88
|
+
|
|
89
|
+
### Step 8: Sample Tests
|
|
90
|
+
|
|
91
|
+
- [ ] Example test file created (`tests/e2e/example.spec.ts`)
|
|
92
|
+
- [ ] Test uses fixture architecture
|
|
93
|
+
- [ ] Test demonstrates data factory usage
|
|
94
|
+
- [ ] Test uses proper selector strategy (data-testid)
|
|
95
|
+
- [ ] Test follows Given-When-Then structure
|
|
96
|
+
- [ ] Test includes proper assertions
|
|
97
|
+
- [ ] Network interception demonstrated (if applicable)
|
|
98
|
+
|
|
99
|
+
### Step 9: Helper Utilities
|
|
100
|
+
|
|
101
|
+
- [ ] API helper created (if API testing needed)
|
|
102
|
+
- [ ] Network helper created (if network mocking needed)
|
|
103
|
+
- [ ] Auth helper created (if authentication needed)
|
|
104
|
+
- [ ] Helpers follow functional patterns
|
|
105
|
+
- [ ] Helpers have proper error handling
|
|
106
|
+
|
|
107
|
+
### Step 10: Documentation
|
|
108
|
+
|
|
109
|
+
- [ ] `tests/README.md` created
|
|
110
|
+
- [ ] Setup instructions included
|
|
111
|
+
- [ ] Running tests section included
|
|
112
|
+
- [ ] Architecture overview section included
|
|
113
|
+
- [ ] Best practices section included
|
|
114
|
+
- [ ] CI integration section included
|
|
115
|
+
- [ ] Knowledge base references included
|
|
116
|
+
- [ ] Troubleshooting section included
|
|
117
|
+
|
|
118
|
+
### Step 11: Package.json Updates
|
|
119
|
+
|
|
120
|
+
- [ ] Minimal test script added to package.json: `test:e2e`
|
|
121
|
+
- [ ] Test framework dependency added (if not already present)
|
|
122
|
+
- [ ] Type definitions added (if TypeScript)
|
|
123
|
+
- [ ] Users can extend with additional scripts as needed
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Output Validation
|
|
128
|
+
|
|
129
|
+
### Configuration Validation
|
|
130
|
+
|
|
131
|
+
- [ ] Config file loads without errors
|
|
132
|
+
- [ ] Config file passes linting (if linter configured)
|
|
133
|
+
- [ ] Config file uses correct syntax for chosen framework
|
|
134
|
+
- [ ] All paths in config resolve correctly
|
|
135
|
+
- [ ] Reporter output directories exist or are created on test run
|
|
136
|
+
|
|
137
|
+
### Test Execution Validation
|
|
138
|
+
|
|
139
|
+
- [ ] Sample test runs successfully
|
|
140
|
+
- [ ] Test execution produces expected output (pass/fail)
|
|
141
|
+
- [ ] Test artifacts generated correctly (traces, screenshots, videos)
|
|
142
|
+
- [ ] Test report generated successfully
|
|
143
|
+
- [ ] No console errors or warnings during test run
|
|
144
|
+
|
|
145
|
+
### Directory Structure Validation
|
|
146
|
+
|
|
147
|
+
- [ ] All required directories exist
|
|
148
|
+
- [ ] Directory structure matches framework conventions
|
|
149
|
+
- [ ] No duplicate or conflicting directories
|
|
150
|
+
- [ ] Directories accessible with correct permissions
|
|
151
|
+
|
|
152
|
+
### File Integrity Validation
|
|
153
|
+
|
|
154
|
+
- [ ] All generated files are syntactically correct
|
|
155
|
+
- [ ] No placeholder text left in files (e.g., "TODO", "FIXME")
|
|
156
|
+
- [ ] All imports resolve correctly
|
|
157
|
+
- [ ] No hardcoded credentials or secrets in files
|
|
158
|
+
- [ ] All file paths use correct separators for OS
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Quality Checks
|
|
163
|
+
|
|
164
|
+
### Code Quality
|
|
165
|
+
|
|
166
|
+
- [ ] Generated code follows project coding standards
|
|
167
|
+
- [ ] TypeScript types are complete and accurate (no `any` unless necessary)
|
|
168
|
+
- [ ] No unused imports or variables
|
|
169
|
+
- [ ] Consistent code formatting (matches project style)
|
|
170
|
+
- [ ] No linting errors in generated files
|
|
171
|
+
|
|
172
|
+
### Best Practices Compliance
|
|
173
|
+
|
|
174
|
+
- [ ] Fixture architecture follows pure function → fixture → mergeTests pattern
|
|
175
|
+
- [ ] Data factories implement auto-cleanup
|
|
176
|
+
- [ ] Network interception occurs before navigation
|
|
177
|
+
- [ ] Selectors use data-testid strategy
|
|
178
|
+
- [ ] Artifacts only captured on failure
|
|
179
|
+
- [ ] Tests follow Given-When-Then structure
|
|
180
|
+
- [ ] No hard-coded waits or sleeps
|
|
181
|
+
|
|
182
|
+
### Knowledge Base Alignment
|
|
183
|
+
|
|
184
|
+
- [ ] Fixture pattern matches `fixture-architecture.md`
|
|
185
|
+
- [ ] Data factories match `data-factories.md`
|
|
186
|
+
- [ ] Network handling matches `network-first.md`
|
|
187
|
+
- [ ] Config follows `playwright-config.md` or `test-config.md`
|
|
188
|
+
- [ ] Test quality matches `test-quality.md`
|
|
189
|
+
|
|
190
|
+
### Security Checks
|
|
191
|
+
|
|
192
|
+
- [ ] No credentials in configuration files
|
|
193
|
+
- [ ] .env.example contains placeholders, not real values
|
|
194
|
+
- [ ] Sensitive test data handled securely
|
|
195
|
+
- [ ] API keys and tokens use environment variables
|
|
196
|
+
- [ ] No secrets committed to version control
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Integration Points
|
|
201
|
+
|
|
202
|
+
### Status File Integration
|
|
203
|
+
|
|
204
|
+
- [ ] `bmm-workflow-status.md` exists
|
|
205
|
+
- [ ] Framework initialization logged in Quality & Testing Progress section
|
|
206
|
+
- [ ] Status file updated with completion timestamp
|
|
207
|
+
- [ ] Status file shows framework: Playwright or Cypress
|
|
208
|
+
|
|
209
|
+
### Knowledge Base Integration
|
|
210
|
+
|
|
211
|
+
- [ ] Relevant knowledge fragments identified from tea-index.csv
|
|
212
|
+
- [ ] Knowledge fragments successfully loaded
|
|
213
|
+
- [ ] Patterns from knowledge base applied correctly
|
|
214
|
+
- [ ] Knowledge base references included in documentation
|
|
215
|
+
|
|
216
|
+
### Workflow Dependencies
|
|
217
|
+
|
|
218
|
+
- [ ] Can proceed to `ci` workflow after completion
|
|
219
|
+
- [ ] Can proceed to `test-design` workflow after completion
|
|
220
|
+
- [ ] Can proceed to `atdd` workflow after completion
|
|
221
|
+
- [ ] Framework setup compatible with downstream workflows
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## Completion Criteria
|
|
226
|
+
|
|
227
|
+
**All of the following must be true:**
|
|
228
|
+
|
|
229
|
+
- [ ] All prerequisite checks passed
|
|
230
|
+
- [ ] All process steps completed without errors
|
|
231
|
+
- [ ] All output validations passed
|
|
232
|
+
- [ ] All quality checks passed
|
|
233
|
+
- [ ] All integration points verified
|
|
234
|
+
- [ ] Sample test executes successfully
|
|
235
|
+
- [ ] User can run `npm run test:e2e` without errors
|
|
236
|
+
- [ ] Documentation is complete and accurate
|
|
237
|
+
- [ ] No critical issues or blockers identified
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Post-Workflow Actions
|
|
242
|
+
|
|
243
|
+
**User must complete:**
|
|
244
|
+
|
|
245
|
+
1. [ ] Copy `.env.example` to `.env`
|
|
246
|
+
2. [ ] Fill in environment-specific values in `.env`
|
|
247
|
+
3. [ ] Run `npm install` to install test dependencies
|
|
248
|
+
4. [ ] Run `npm run test:e2e` to verify setup
|
|
249
|
+
5. [ ] Review `tests/README.md` for project-specific guidance
|
|
250
|
+
|
|
251
|
+
**Recommended next workflows:**
|
|
252
|
+
|
|
253
|
+
1. [ ] Run `ci` workflow to set up CI/CD pipeline
|
|
254
|
+
2. [ ] Run `test-design` workflow to plan test coverage
|
|
255
|
+
3. [ ] Run `atdd` workflow when ready to develop stories
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## Rollback Procedure
|
|
260
|
+
|
|
261
|
+
If workflow fails and needs to be rolled back:
|
|
262
|
+
|
|
263
|
+
1. [ ] Delete `tests/` directory
|
|
264
|
+
2. [ ] Remove test scripts from package.json
|
|
265
|
+
3. [ ] Delete `.env.example` (if created)
|
|
266
|
+
4. [ ] Delete `.nvmrc` (if created)
|
|
267
|
+
5. [ ] Delete framework config file
|
|
268
|
+
6. [ ] Remove test dependencies from package.json (if added)
|
|
269
|
+
7. [ ] Run `npm install` to clean up node_modules
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
## Notes
|
|
274
|
+
|
|
275
|
+
### Common Issues
|
|
276
|
+
|
|
277
|
+
**Issue**: Config file has TypeScript errors
|
|
278
|
+
|
|
279
|
+
- **Solution**: Ensure `@playwright/test` or `cypress` types are installed
|
|
280
|
+
|
|
281
|
+
**Issue**: Sample test fails to run
|
|
282
|
+
|
|
283
|
+
- **Solution**: Check BASE_URL in .env, ensure app is running
|
|
284
|
+
|
|
285
|
+
**Issue**: Fixture cleanup not working
|
|
286
|
+
|
|
287
|
+
- **Solution**: Verify cleanup() is called in fixture teardown
|
|
288
|
+
|
|
289
|
+
**Issue**: Network interception not working
|
|
290
|
+
|
|
291
|
+
- **Solution**: Ensure route setup occurs before page.goto()
|
|
292
|
+
|
|
293
|
+
### Framework-Specific Considerations
|
|
294
|
+
|
|
295
|
+
**Playwright:**
|
|
296
|
+
|
|
297
|
+
- Requires Node.js 18+
|
|
298
|
+
- Browser binaries auto-installed on first run
|
|
299
|
+
- Trace viewer requires running `npx playwright show-trace`
|
|
300
|
+
|
|
301
|
+
**Cypress:**
|
|
302
|
+
|
|
303
|
+
- Requires Node.js 18+
|
|
304
|
+
- Cypress app opens on first run
|
|
305
|
+
- Component testing requires additional setup
|
|
306
|
+
|
|
307
|
+
### Version Compatibility
|
|
308
|
+
|
|
309
|
+
- [ ] Node.js version matches .nvmrc
|
|
310
|
+
- [ ] Framework version compatible with Node.js version
|
|
311
|
+
- [ ] TypeScript version compatible with framework
|
|
312
|
+
- [ ] All peer dependencies satisfied
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
**Checklist Complete**: Sign off when all items checked and validated.
|
|
317
|
+
|
|
318
|
+
**Completed by:** {name}
|
|
319
|
+
**Date:** {date}
|
|
320
|
+
**Framework:** { Playwright / Cypress or something else}
|
|
321
|
+
**Notes:** {notes}
|