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,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: '{title}'
|
|
3
|
+
slug: '{slug}'
|
|
4
|
+
created: '{date}'
|
|
5
|
+
status: 'in-progress'
|
|
6
|
+
stepsCompleted: []
|
|
7
|
+
tech_stack: []
|
|
8
|
+
files_to_modify: []
|
|
9
|
+
code_patterns: []
|
|
10
|
+
test_patterns: []
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Tech-Spec: {title}
|
|
14
|
+
|
|
15
|
+
**Created:** {date}
|
|
16
|
+
|
|
17
|
+
## Overview
|
|
18
|
+
|
|
19
|
+
### Problem Statement
|
|
20
|
+
|
|
21
|
+
{problem_statement}
|
|
22
|
+
|
|
23
|
+
### Solution
|
|
24
|
+
|
|
25
|
+
{solution}
|
|
26
|
+
|
|
27
|
+
### Scope
|
|
28
|
+
|
|
29
|
+
**In Scope:**
|
|
30
|
+
{in_scope}
|
|
31
|
+
|
|
32
|
+
**Out of Scope:**
|
|
33
|
+
{out_of_scope}
|
|
34
|
+
|
|
35
|
+
## Context for Development
|
|
36
|
+
|
|
37
|
+
### Codebase Patterns
|
|
38
|
+
|
|
39
|
+
{codebase_patterns}
|
|
40
|
+
|
|
41
|
+
### Files to Reference
|
|
42
|
+
|
|
43
|
+
| File | Purpose |
|
|
44
|
+
| ---- | ------- |
|
|
45
|
+
|
|
46
|
+
{files_table}
|
|
47
|
+
|
|
48
|
+
### Technical Decisions
|
|
49
|
+
|
|
50
|
+
{technical_decisions}
|
|
51
|
+
|
|
52
|
+
## Implementation Plan
|
|
53
|
+
|
|
54
|
+
### Tasks
|
|
55
|
+
|
|
56
|
+
{tasks}
|
|
57
|
+
|
|
58
|
+
### Acceptance Criteria
|
|
59
|
+
|
|
60
|
+
{acceptance_criteria}
|
|
61
|
+
|
|
62
|
+
## Additional Context
|
|
63
|
+
|
|
64
|
+
### Dependencies
|
|
65
|
+
|
|
66
|
+
{dependencies}
|
|
67
|
+
|
|
68
|
+
### Testing Strategy
|
|
69
|
+
|
|
70
|
+
{testing_strategy}
|
|
71
|
+
|
|
72
|
+
### Notes
|
|
73
|
+
|
|
74
|
+
{notes}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-tech-spec
|
|
3
|
+
description: Conversational spec engineering - ask questions, investigate code, produce implementation-ready tech-spec.
|
|
4
|
+
main_config: '{project-root}/_bmad/bmm/config.yaml'
|
|
5
|
+
web_bundle: true
|
|
6
|
+
|
|
7
|
+
# Checkpoint handler paths
|
|
8
|
+
advanced_elicitation: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
|
|
9
|
+
party_mode_exec: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
10
|
+
quick_dev_workflow: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md'
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Create Tech-Spec Workflow
|
|
14
|
+
|
|
15
|
+
**Goal:** Create implementation-ready technical specifications through conversational discovery, code investigation, and structured documentation.
|
|
16
|
+
|
|
17
|
+
**READY FOR DEVELOPMENT STANDARD:**
|
|
18
|
+
|
|
19
|
+
A specification is considered "Ready for Development" ONLY if it meets the following:
|
|
20
|
+
|
|
21
|
+
- **Actionable**: Every task has a clear file path and specific action.
|
|
22
|
+
- **Logical**: Tasks are ordered by dependency (lowest level first).
|
|
23
|
+
- **Testable**: All ACs follow Given/When/Then and cover happy path and edge cases.
|
|
24
|
+
- **Complete**: All investigation results from Step 2 are inlined; no placeholders or "TBD".
|
|
25
|
+
- **Self-Contained**: A fresh agent can implement the feature without reading the workflow history.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
**Your Role:** You are an elite developer and spec engineer. You ask sharp questions, investigate existing code thoroughly, and produce specs that contain ALL context a fresh dev agent needs to implement the feature. No handoffs, no missing context - just complete, actionable specs.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## WORKFLOW ARCHITECTURE
|
|
34
|
+
|
|
35
|
+
This uses **step-file architecture** for disciplined execution:
|
|
36
|
+
|
|
37
|
+
### Core Principles
|
|
38
|
+
|
|
39
|
+
- **Micro-file Design**: Each step is a self-contained instruction file that must be followed exactly
|
|
40
|
+
- **Just-In-Time Loading**: Only the current step file is in memory - never load future step files until directed
|
|
41
|
+
- **Sequential Enforcement**: Sequence within step files must be completed in order, no skipping or optimization
|
|
42
|
+
- **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array
|
|
43
|
+
- **Append-Only Building**: Build the tech-spec by updating content as directed
|
|
44
|
+
|
|
45
|
+
### Step Processing Rules
|
|
46
|
+
|
|
47
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
48
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
49
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
50
|
+
4. **CHECK CONTINUATION**: Only proceed to next step when user selects [c] (Continue)
|
|
51
|
+
5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
|
|
52
|
+
6. **LOAD NEXT**: When directed, load and read entire next step file, then execute
|
|
53
|
+
|
|
54
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
55
|
+
|
|
56
|
+
- **NEVER** load multiple step files simultaneously
|
|
57
|
+
- **ALWAYS** read entire step file before execution
|
|
58
|
+
- **NEVER** skip steps or optimize the sequence
|
|
59
|
+
- **ALWAYS** update frontmatter of output file when completing a step
|
|
60
|
+
- **ALWAYS** follow the exact instructions in the step file
|
|
61
|
+
- **ALWAYS** halt at menus and wait for user input
|
|
62
|
+
- **NEVER** create mental todo lists from future steps
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## INITIALIZATION SEQUENCE
|
|
67
|
+
|
|
68
|
+
### 1. Configuration Loading
|
|
69
|
+
|
|
70
|
+
Load and read full config from `{main_config}` and resolve:
|
|
71
|
+
|
|
72
|
+
- `project_name`, `output_folder`, `planning_artifacts`, `implementation_artifacts`, `user_name`
|
|
73
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
74
|
+
- `date` as system-generated current datetime
|
|
75
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
76
|
+
|
|
77
|
+
### 2. First Step Execution
|
|
78
|
+
|
|
79
|
+
Load, read the full file, and then execute `steps/step-01-understand.md` to begin the workflow.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01-mode-detection'
|
|
3
|
+
description: 'Determine execution mode (tech-spec vs direct), handle escalation, set state variables'
|
|
4
|
+
|
|
5
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
|
|
6
|
+
thisStepFile: '{workflow_path}/steps/step-01-mode-detection.md'
|
|
7
|
+
nextStepFile_modeA: '{workflow_path}/steps/step-03-execute.md'
|
|
8
|
+
nextStepFile_modeB: '{workflow_path}/steps/step-02-context-gathering.md'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Step 1: Mode Detection
|
|
12
|
+
|
|
13
|
+
**Goal:** Determine execution mode, capture baseline, handle escalation if needed.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## STATE VARIABLES (capture now, persist throughout)
|
|
18
|
+
|
|
19
|
+
These variables MUST be set in this step and available to all subsequent steps:
|
|
20
|
+
|
|
21
|
+
- `{baseline_commit}` - Git HEAD at workflow start (or "NO_GIT" if not a git repo)
|
|
22
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
23
|
+
- `{tech_spec_path}` - Path to tech-spec file (if Mode A)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## EXECUTION SEQUENCE
|
|
28
|
+
|
|
29
|
+
### 1. Capture Baseline
|
|
30
|
+
|
|
31
|
+
First, check if the project uses Git version control:
|
|
32
|
+
|
|
33
|
+
**If Git repo exists** (`.git` directory present or `git rev-parse --is-inside-work-tree` succeeds):
|
|
34
|
+
|
|
35
|
+
- Run `git rev-parse HEAD` and store result as `{baseline_commit}`
|
|
36
|
+
|
|
37
|
+
**If NOT a Git repo:**
|
|
38
|
+
|
|
39
|
+
- Set `{baseline_commit}` = "NO_GIT"
|
|
40
|
+
|
|
41
|
+
### 2. Load Project Context
|
|
42
|
+
|
|
43
|
+
Check if `{project_context}` exists (`**/project-context.md`). If found, load it as a foundational reference for ALL implementation decisions.
|
|
44
|
+
|
|
45
|
+
### 3. Parse User Input
|
|
46
|
+
|
|
47
|
+
Analyze the user's input to determine mode:
|
|
48
|
+
|
|
49
|
+
**Mode A: Tech-Spec**
|
|
50
|
+
|
|
51
|
+
- User provided a path to a tech-spec file (e.g., `quick-dev tech-spec-auth.md`)
|
|
52
|
+
- Load the spec, extract tasks/context/AC
|
|
53
|
+
- Set `{execution_mode}` = "tech-spec"
|
|
54
|
+
- Set `{tech_spec_path}` = provided path
|
|
55
|
+
- **NEXT:** Load `step-03-execute.md`
|
|
56
|
+
|
|
57
|
+
**Mode B: Direct Instructions**
|
|
58
|
+
|
|
59
|
+
- User provided task description directly (e.g., `refactor src/foo.ts...`)
|
|
60
|
+
- Set `{execution_mode}` = "direct"
|
|
61
|
+
- **NEXT:** Evaluate escalation threshold, then proceed
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## ESCALATION THRESHOLD (Mode B only)
|
|
66
|
+
|
|
67
|
+
Evaluate user input with minimal token usage (no file loading):
|
|
68
|
+
|
|
69
|
+
**Triggers escalation (if 2+ signals present):**
|
|
70
|
+
|
|
71
|
+
- Multiple components mentioned (dashboard + api + database)
|
|
72
|
+
- System-level language (platform, integration, architecture)
|
|
73
|
+
- Uncertainty about approach ("how should I", "best way to")
|
|
74
|
+
- Multi-layer scope (UI + backend + data together)
|
|
75
|
+
- Extended timeframe ("this week", "over the next few days")
|
|
76
|
+
|
|
77
|
+
**Reduces signal:**
|
|
78
|
+
|
|
79
|
+
- Simplicity markers ("just", "quickly", "fix", "bug", "typo", "simple")
|
|
80
|
+
- Single file/component focus
|
|
81
|
+
- Confident, specific request
|
|
82
|
+
|
|
83
|
+
Use holistic judgment, not mechanical keyword matching.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## ESCALATION HANDLING
|
|
88
|
+
|
|
89
|
+
### No Escalation (simple request)
|
|
90
|
+
|
|
91
|
+
Present choice:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
**[t] Plan first** - Create tech-spec then implement
|
|
95
|
+
**[e] Execute directly** - Start now
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
- **[t]:** Direct user to `{create_tech_spec_workflow}`. **EXIT Quick Dev.**
|
|
99
|
+
- **[e]:** Ask for any additional guidance, then **NEXT:** Load `step-02-context-gathering.md`
|
|
100
|
+
|
|
101
|
+
### Escalation Triggered - Level 0-2
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
This looks like a focused feature with multiple components.
|
|
105
|
+
|
|
106
|
+
**[t] Create tech-spec first** (recommended)
|
|
107
|
+
**[w] Seems bigger than quick-dev** - see what BMad Method recommends
|
|
108
|
+
**[e] Execute directly**
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
- **[t]:** Direct to `{create_tech_spec_workflow}`. **EXIT Quick Dev.**
|
|
112
|
+
- **[w]:** Direct to `{workflow_init}`. **EXIT Quick Dev.**
|
|
113
|
+
- **[e]:** Ask for guidance, then **NEXT:** Load `step-02-context-gathering.md`
|
|
114
|
+
|
|
115
|
+
### Escalation Triggered - Level 3+
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
This sounds like platform/system work.
|
|
119
|
+
|
|
120
|
+
**[w] Start BMad Method** (recommended)
|
|
121
|
+
**[t] Create tech-spec** (lighter planning)
|
|
122
|
+
**[e] Execute directly** - feeling lucky
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
- **[w]:** Direct to `{workflow_init}`. **EXIT Quick Dev.**
|
|
126
|
+
- **[t]:** Direct to `{create_tech_spec_workflow}`. **EXIT Quick Dev.**
|
|
127
|
+
- **[e]:** Ask for guidance, then **NEXT:** Load `step-02-context-gathering.md`
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## NEXT STEP DIRECTIVE
|
|
132
|
+
|
|
133
|
+
**CRITICAL:** When this step completes, explicitly state which step to load:
|
|
134
|
+
|
|
135
|
+
- Mode A (tech-spec): "**NEXT:** Loading `step-03-execute.md`"
|
|
136
|
+
- Mode B (direct, [e] selected): "**NEXT:** Loading `step-02-context-gathering.md`"
|
|
137
|
+
- Escalation ([t] or [w]): "**EXITING Quick Dev.** Follow the directed workflow."
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## SUCCESS METRICS
|
|
142
|
+
|
|
143
|
+
- `{baseline_commit}` captured and stored
|
|
144
|
+
- `{execution_mode}` determined ("tech-spec" or "direct")
|
|
145
|
+
- `{tech_spec_path}` set if Mode A
|
|
146
|
+
- Project context loaded if exists
|
|
147
|
+
- Escalation evaluated appropriately (Mode B)
|
|
148
|
+
- Explicit NEXT directive provided
|
|
149
|
+
|
|
150
|
+
## FAILURE MODES
|
|
151
|
+
|
|
152
|
+
- Proceeding without capturing baseline commit
|
|
153
|
+
- Not setting execution_mode variable
|
|
154
|
+
- Loading step-02 when Mode A (tech-spec provided)
|
|
155
|
+
- Attempting to "return" after escalation instead of EXIT
|
|
156
|
+
- No explicit NEXT directive at step completion
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-02-context-gathering'
|
|
3
|
+
description: 'Quick context gathering for direct mode - identify files, patterns, dependencies'
|
|
4
|
+
|
|
5
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
|
|
6
|
+
thisStepFile: '{workflow_path}/steps/step-02-context-gathering.md'
|
|
7
|
+
nextStepFile: '{workflow_path}/steps/step-03-execute.md'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 2: Context Gathering (Direct Mode)
|
|
11
|
+
|
|
12
|
+
**Goal:** Quickly gather context for direct instructions - files, patterns, dependencies.
|
|
13
|
+
|
|
14
|
+
**Note:** This step only runs for Mode B (direct instructions). If `{execution_mode}` is "tech-spec", this step was skipped.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## AVAILABLE STATE
|
|
19
|
+
|
|
20
|
+
From step-01:
|
|
21
|
+
|
|
22
|
+
- `{baseline_commit}` - Git HEAD at workflow start
|
|
23
|
+
- `{execution_mode}` - Should be "direct"
|
|
24
|
+
- `{project_context}` - Loaded if exists
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## EXECUTION SEQUENCE
|
|
29
|
+
|
|
30
|
+
### 1. Identify Files to Modify
|
|
31
|
+
|
|
32
|
+
Based on user's direct instructions:
|
|
33
|
+
|
|
34
|
+
- Search for relevant files using glob/grep
|
|
35
|
+
- Identify the specific files that need changes
|
|
36
|
+
- Note file locations and purposes
|
|
37
|
+
|
|
38
|
+
### 2. Find Relevant Patterns
|
|
39
|
+
|
|
40
|
+
Examine the identified files and their surroundings:
|
|
41
|
+
|
|
42
|
+
- Code style and conventions used
|
|
43
|
+
- Existing patterns for similar functionality
|
|
44
|
+
- Import/export patterns
|
|
45
|
+
- Error handling approaches
|
|
46
|
+
- Test patterns (if tests exist nearby)
|
|
47
|
+
|
|
48
|
+
### 3. Note Dependencies
|
|
49
|
+
|
|
50
|
+
Identify:
|
|
51
|
+
|
|
52
|
+
- External libraries used
|
|
53
|
+
- Internal module dependencies
|
|
54
|
+
- Configuration files that may need updates
|
|
55
|
+
- Related files that might be affected
|
|
56
|
+
|
|
57
|
+
### 4. Create Mental Plan
|
|
58
|
+
|
|
59
|
+
Synthesize gathered context into:
|
|
60
|
+
|
|
61
|
+
- List of tasks to complete
|
|
62
|
+
- Acceptance criteria (inferred from user request)
|
|
63
|
+
- Order of operations
|
|
64
|
+
- Files to touch
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## PRESENT PLAN
|
|
69
|
+
|
|
70
|
+
Display to user:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
**Context Gathered:**
|
|
74
|
+
|
|
75
|
+
**Files to modify:**
|
|
76
|
+
- {list files}
|
|
77
|
+
|
|
78
|
+
**Patterns identified:**
|
|
79
|
+
- {key patterns}
|
|
80
|
+
|
|
81
|
+
**Plan:**
|
|
82
|
+
1. {task 1}
|
|
83
|
+
2. {task 2}
|
|
84
|
+
...
|
|
85
|
+
|
|
86
|
+
**Inferred AC:**
|
|
87
|
+
- {acceptance criteria}
|
|
88
|
+
|
|
89
|
+
Ready to execute? (y/n/adjust)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
- **y:** Proceed to execution
|
|
93
|
+
- **n:** Gather more context or clarify
|
|
94
|
+
- **adjust:** Modify the plan based on feedback
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## NEXT STEP DIRECTIVE
|
|
99
|
+
|
|
100
|
+
**CRITICAL:** When user confirms ready, explicitly state:
|
|
101
|
+
|
|
102
|
+
- **y:** "**NEXT:** Loading `step-03-execute.md`"
|
|
103
|
+
- **n/adjust:** Continue gathering context, then re-present plan
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## SUCCESS METRICS
|
|
108
|
+
|
|
109
|
+
- Files to modify identified
|
|
110
|
+
- Relevant patterns documented
|
|
111
|
+
- Dependencies noted
|
|
112
|
+
- Mental plan created with tasks and AC
|
|
113
|
+
- User confirmed readiness to proceed
|
|
114
|
+
|
|
115
|
+
## FAILURE MODES
|
|
116
|
+
|
|
117
|
+
- Executing this step when Mode A (tech-spec)
|
|
118
|
+
- Proceeding without identifying files to modify
|
|
119
|
+
- Not presenting plan for user confirmation
|
|
120
|
+
- Missing obvious patterns in existing code
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-03-execute'
|
|
3
|
+
description: 'Execute implementation - iterate through tasks, write code, run tests'
|
|
4
|
+
|
|
5
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
|
|
6
|
+
thisStepFile: '{workflow_path}/steps/step-03-execute.md'
|
|
7
|
+
nextStepFile: '{workflow_path}/steps/step-04-self-check.md'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 3: Execute Implementation
|
|
11
|
+
|
|
12
|
+
**Goal:** Implement all tasks, write tests, follow patterns, handle errors.
|
|
13
|
+
|
|
14
|
+
**Critical:** Continue through ALL tasks without stopping for milestones.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## AVAILABLE STATE
|
|
19
|
+
|
|
20
|
+
From previous steps:
|
|
21
|
+
|
|
22
|
+
- `{baseline_commit}` - Git HEAD at workflow start
|
|
23
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
24
|
+
- `{tech_spec_path}` - Tech-spec file (if Mode A)
|
|
25
|
+
- `{project_context}` - Project patterns (if exists)
|
|
26
|
+
|
|
27
|
+
From context:
|
|
28
|
+
|
|
29
|
+
- Mode A: Tasks and AC extracted from tech-spec
|
|
30
|
+
- Mode B: Tasks and AC from step-02 mental plan
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## EXECUTION LOOP
|
|
35
|
+
|
|
36
|
+
For each task:
|
|
37
|
+
|
|
38
|
+
### 1. Load Context
|
|
39
|
+
|
|
40
|
+
- Read files relevant to this task
|
|
41
|
+
- Review patterns from project-context or observed code
|
|
42
|
+
- Understand dependencies
|
|
43
|
+
|
|
44
|
+
### 2. Implement
|
|
45
|
+
|
|
46
|
+
- Write code following existing patterns
|
|
47
|
+
- Handle errors appropriately
|
|
48
|
+
- Follow conventions observed in codebase
|
|
49
|
+
- Add appropriate comments where non-obvious
|
|
50
|
+
|
|
51
|
+
### 3. Test
|
|
52
|
+
|
|
53
|
+
- Write tests if appropriate for the change
|
|
54
|
+
- Run existing tests to catch regressions
|
|
55
|
+
- Verify the specific AC for this task
|
|
56
|
+
|
|
57
|
+
### 4. Mark Complete
|
|
58
|
+
|
|
59
|
+
- Check off task: `- [x] Task N`
|
|
60
|
+
- Continue to next task immediately
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## HALT CONDITIONS
|
|
65
|
+
|
|
66
|
+
**HALT and request guidance if:**
|
|
67
|
+
|
|
68
|
+
- 3 consecutive failures on same task
|
|
69
|
+
- Tests fail and fix is not obvious
|
|
70
|
+
- Blocking dependency discovered
|
|
71
|
+
- Ambiguity that requires user decision
|
|
72
|
+
|
|
73
|
+
**Do NOT halt for:**
|
|
74
|
+
|
|
75
|
+
- Minor issues that can be noted and continued
|
|
76
|
+
- Warnings that don't block functionality
|
|
77
|
+
- Style preferences (follow existing patterns)
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## CONTINUOUS EXECUTION
|
|
82
|
+
|
|
83
|
+
**Critical:** Do not stop between tasks for approval.
|
|
84
|
+
|
|
85
|
+
- Execute all tasks in sequence
|
|
86
|
+
- Only halt for blocking issues
|
|
87
|
+
- Tests failing = fix before continuing
|
|
88
|
+
- Track all completed work for self-check
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## NEXT STEP
|
|
93
|
+
|
|
94
|
+
When ALL tasks are complete (or halted on blocker), load `step-04-self-check.md`.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## SUCCESS METRICS
|
|
99
|
+
|
|
100
|
+
- All tasks attempted
|
|
101
|
+
- Code follows existing patterns
|
|
102
|
+
- Error handling appropriate
|
|
103
|
+
- Tests written where appropriate
|
|
104
|
+
- Tests passing
|
|
105
|
+
- No unnecessary halts
|
|
106
|
+
|
|
107
|
+
## FAILURE MODES
|
|
108
|
+
|
|
109
|
+
- Stopping for approval between tasks
|
|
110
|
+
- Ignoring existing patterns
|
|
111
|
+
- Not running tests after changes
|
|
112
|
+
- Giving up after first failure
|
|
113
|
+
- Not following project-context rules (if exists)
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-04-self-check'
|
|
3
|
+
description: 'Self-audit implementation against tasks, tests, AC, and patterns'
|
|
4
|
+
|
|
5
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
|
|
6
|
+
thisStepFile: '{workflow_path}/steps/step-04-self-check.md'
|
|
7
|
+
nextStepFile: '{workflow_path}/steps/step-05-adversarial-review.md'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 4: Self-Check
|
|
11
|
+
|
|
12
|
+
**Goal:** Audit completed work against tasks, tests, AC, and patterns before external review.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## AVAILABLE STATE
|
|
17
|
+
|
|
18
|
+
From previous steps:
|
|
19
|
+
|
|
20
|
+
- `{baseline_commit}` - Git HEAD at workflow start
|
|
21
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
22
|
+
- `{tech_spec_path}` - Tech-spec file (if Mode A)
|
|
23
|
+
- `{project_context}` - Project patterns (if exists)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## SELF-CHECK AUDIT
|
|
28
|
+
|
|
29
|
+
### 1. Tasks Complete
|
|
30
|
+
|
|
31
|
+
Verify all tasks are marked complete:
|
|
32
|
+
|
|
33
|
+
- [ ] All tasks from tech-spec or mental plan marked `[x]`
|
|
34
|
+
- [ ] No tasks skipped without documented reason
|
|
35
|
+
- [ ] Any blocked tasks have clear explanation
|
|
36
|
+
|
|
37
|
+
### 2. Tests Passing
|
|
38
|
+
|
|
39
|
+
Verify test status:
|
|
40
|
+
|
|
41
|
+
- [ ] All existing tests still pass
|
|
42
|
+
- [ ] New tests written for new functionality
|
|
43
|
+
- [ ] No test warnings or skipped tests without reason
|
|
44
|
+
|
|
45
|
+
### 3. Acceptance Criteria Satisfied
|
|
46
|
+
|
|
47
|
+
For each AC:
|
|
48
|
+
|
|
49
|
+
- [ ] AC is demonstrably met
|
|
50
|
+
- [ ] Can explain how implementation satisfies AC
|
|
51
|
+
- [ ] Edge cases considered
|
|
52
|
+
|
|
53
|
+
### 4. Patterns Followed
|
|
54
|
+
|
|
55
|
+
Verify code quality:
|
|
56
|
+
|
|
57
|
+
- [ ] Follows existing code patterns in codebase
|
|
58
|
+
- [ ] Follows project-context rules (if exists)
|
|
59
|
+
- [ ] Error handling consistent with codebase
|
|
60
|
+
- [ ] No obvious code smells introduced
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## UPDATE TECH-SPEC (Mode A only)
|
|
65
|
+
|
|
66
|
+
If `{execution_mode}` is "tech-spec":
|
|
67
|
+
|
|
68
|
+
1. Load `{tech_spec_path}`
|
|
69
|
+
2. Mark all tasks as `[x]` complete
|
|
70
|
+
3. Update status to "Implementation Complete"
|
|
71
|
+
4. Save changes
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## IMPLEMENTATION SUMMARY
|
|
76
|
+
|
|
77
|
+
Present summary to transition to review:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
**Implementation Complete!**
|
|
81
|
+
|
|
82
|
+
**Summary:** {what was implemented}
|
|
83
|
+
**Files Modified:** {list of files}
|
|
84
|
+
**Tests:** {test summary - passed/added/etc}
|
|
85
|
+
**AC Status:** {all satisfied / issues noted}
|
|
86
|
+
|
|
87
|
+
Proceeding to adversarial code review...
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## NEXT STEP
|
|
93
|
+
|
|
94
|
+
Proceed immediately to `step-05-adversarial-review.md`.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## SUCCESS METRICS
|
|
99
|
+
|
|
100
|
+
- All tasks verified complete
|
|
101
|
+
- All tests passing
|
|
102
|
+
- All AC satisfied
|
|
103
|
+
- Patterns followed
|
|
104
|
+
- Tech-spec updated (if Mode A)
|
|
105
|
+
- Summary presented
|
|
106
|
+
|
|
107
|
+
## FAILURE MODES
|
|
108
|
+
|
|
109
|
+
- Claiming tasks complete when they're not
|
|
110
|
+
- Not running tests before proceeding
|
|
111
|
+
- Missing AC verification
|
|
112
|
+
- Ignoring pattern violations
|
|
113
|
+
- Not updating tech-spec status (Mode A)
|