bmad-method 6.0.0-alpha.3 → 6.0.0-alpha.5
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/.claude/commands/bmad/bmm/agents/analyst.md +67 -0
- package/.claude/commands/bmad/bmm/agents/architect.md +72 -0
- package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
- package/.claude/commands/bmad/bmm/agents/paige.md +82 -0
- package/.claude/commands/bmad/bmm/agents/pm.md +76 -0
- package/.claude/commands/bmad/bmm/agents/sm.md +85 -0
- package/.claude/commands/bmad/bmm/agents/tea.md +72 -0
- package/.claude/commands/bmad/bmm/agents/tech-writer.md +82 -0
- package/.claude/commands/bmad/bmm/agents/ux-designer.md +71 -0
- package/.claude/commands/bmad/bmm/workflows/README.md +132 -0
- package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/narrative.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
- package/.claude/commands/bmad/cis/agents/README.md +104 -0
- package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +62 -0
- package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +62 -0
- package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +62 -0
- package/.claude/commands/bmad/cis/agents/innovation-strategist.md +62 -0
- package/.claude/commands/bmad/cis/agents/storyteller.md +59 -0
- package/.claude/commands/bmad/cis/workflows/README.md +37 -0
- package/.claude/commands/bmad/cis/workflows/design-thinking.md +15 -0
- package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +15 -0
- package/.claude/commands/bmad/cis/workflows/problem-solving.md +15 -0
- package/.claude/commands/bmad/cis/workflows/storytelling.md +15 -0
- package/.claude/commands/bmad/core/workflows/README.md +10 -0
- package/.claude/settings.local.json +7 -42
- package/CHANGELOG.md +544 -0
- package/README.md +266 -101
- package/bmad/_cfg/agent-manifest.csv +13 -3
- package/bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-paige.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-storyteller.customize.yaml +42 -0
- package/bmad/_cfg/files-manifest.csv +267 -22
- package/bmad/_cfg/ides/claude-code.yaml +6 -0
- package/bmad/_cfg/manifest.yaml +5 -5
- package/bmad/_cfg/task-manifest.csv +5 -0
- package/bmad/_cfg/tool-manifest.csv +1 -0
- package/bmad/_cfg/workflow-manifest.csv +37 -2
- package/bmad/bmb/README.md +135 -73
- package/bmad/bmb/agents/bmad-builder.md.bak +70 -0
- package/bmad/bmb/config.yaml +2 -2
- package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +3 -1
- package/bmad/bmb/workflows/create-agent/README.md +126 -243
- package/bmad/bmb/workflows/create-agent/instructions.md +25 -12
- package/bmad/bmb/workflows/create-module/README.md +163 -154
- package/bmad/bmb/workflows/create-module/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/create-workflow/instructions.md +16 -8
- package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
- package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +33 -0
- package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +34 -0
- package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/redoc/workflow.yaml.bak +1 -0
- package/bmad/bmm/README.md +128 -0
- package/bmad/bmm/README.md.bak +169 -0
- package/bmad/bmm/agents/analyst.md +67 -0
- package/bmad/bmm/agents/analyst.md.bak +67 -0
- package/bmad/bmm/agents/architect.md +72 -0
- package/bmad/bmm/agents/architect.md.bak +73 -0
- package/bmad/bmm/agents/dev.md +69 -0
- package/bmad/bmm/agents/dev.md.bak +69 -0
- package/bmad/bmm/agents/paige.md.bak +82 -0
- package/bmad/bmm/agents/pm.md +76 -0
- package/bmad/bmm/agents/pm.md.bak +76 -0
- package/bmad/bmm/agents/sm.md +85 -0
- package/bmad/bmm/agents/sm.md.bak +85 -0
- package/bmad/bmm/agents/tea.md +72 -0
- package/bmad/bmm/agents/tea.md.bak +72 -0
- package/bmad/bmm/agents/tech-writer.md +82 -0
- package/bmad/bmm/agents/ux-designer.md +71 -0
- package/bmad/bmm/agents/ux-designer.md.bak +71 -0
- package/bmad/bmm/config.yaml +17 -0
- package/bmad/bmm/docs/README.md +235 -0
- package/bmad/bmm/docs/agents-guide.md +1057 -0
- package/bmad/bmm/docs/brownfield-guide.md +759 -0
- package/bmad/bmm/docs/enterprise-agentic-development.md +680 -0
- package/bmad/bmm/docs/faq.md +589 -0
- package/bmad/bmm/docs/glossary.md +321 -0
- package/bmad/bmm/docs/party-mode.md +224 -0
- package/bmad/bmm/docs/quick-spec-flow.md +652 -0
- package/{docs/BMad-Method-V6-Quick-Start.md → bmad/bmm/docs/quick-start.md} +72 -47
- package/bmad/bmm/docs/scale-adaptive-system.md +599 -0
- package/bmad/bmm/docs/troubleshooting.md +680 -0
- package/{src/modules/bmm/workflows/3-solutioning/architecture/README.md → bmad/bmm/docs/workflow-architecture-reference.md} +130 -77
- package/{src/modules/bmm/workflows/document-project/README.md → bmad/bmm/docs/workflow-document-project-reference.md} +45 -2
- package/bmad/bmm/docs/workflows-analysis.md +670 -0
- package/bmad/bmm/docs/workflows-implementation.md +1758 -0
- package/bmad/bmm/docs/workflows-planning.md +1086 -0
- package/bmad/bmm/docs/workflows-solutioning.md +726 -0
- package/bmad/bmm/tasks/daily-standup.xml +85 -0
- package/bmad/bmm/teams/team-fullstack.yaml +11 -0
- package/bmad/bmm/teams/team-gamedev.yaml +14 -0
- package/bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
- package/bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
- package/bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
- package/bmad/bmm/testarch/knowledge/data-factories.md +500 -0
- package/bmad/bmm/testarch/knowledge/email-auth.md +721 -0
- package/bmad/bmm/testarch/knowledge/error-handling.md +725 -0
- package/bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
- package/bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
- package/bmad/bmm/testarch/knowledge/network-first.md +486 -0
- package/bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
- package/bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
- package/bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
- package/bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
- package/bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
- package/bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
- package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
- package/bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
- package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
- package/bmad/bmm/testarch/knowledge/test-quality.md +664 -0
- package/bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
- package/bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
- package/bmad/bmm/testarch/tea-index.csv +22 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
- package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
- package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
- package/bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
- package/bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
- package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1319 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +64 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/checklist.md +139 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +608 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +195 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +29 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +349 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +33 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +423 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +58 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1133 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +87 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +60 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +715 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +67 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +322 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
- package/bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
- package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
- package/bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
- package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +74 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
- package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
- package/bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
- package/bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
- package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
- package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
- package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
- package/bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
- package/bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
- package/bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
- package/bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
- package/bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
- package/bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
- package/bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
- package/bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
- package/bmad/bmm/workflows/document-project/checklist.md +245 -0
- package/bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
- package/bmad/bmm/workflows/document-project/instructions.md +222 -0
- package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
- package/bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
- package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
- package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
- package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
- package/bmad/bmm/workflows/document-project/workflow.yaml +34 -0
- package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
- package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
- package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
- package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
- package/bmad/bmm/workflows/techdoc/documentation-standards.md +239 -0
- package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +238 -0
- package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
- package/bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
- package/bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
- package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
- package/bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
- package/bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
- package/bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
- package/bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
- package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
- package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
- package/bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
- package/bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
- package/bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
- package/bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
- package/bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
- package/bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
- package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
- package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
- package/bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
- package/bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
- package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
- package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
- package/bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
- package/bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
- package/bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
- package/bmad/bmm/workflows/workflow-status/init/instructions.md +771 -0
- package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
- package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +27 -0
- package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
- package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
- package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
- package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
- package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml} +16 -18
- package/bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
- package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
- package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
- package/bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
- package/bmad/cis/README.md +153 -0
- package/bmad/cis/agents/README.md +104 -0
- package/bmad/cis/agents/brainstorming-coach.md +62 -0
- package/bmad/cis/agents/brainstorming-coach.md.bak +62 -0
- package/bmad/cis/agents/creative-problem-solver.md +62 -0
- package/bmad/cis/agents/creative-problem-solver.md.bak +62 -0
- package/bmad/cis/agents/design-thinking-coach.md +62 -0
- package/bmad/cis/agents/design-thinking-coach.md.bak +62 -0
- package/bmad/cis/agents/innovation-strategist.md +62 -0
- package/bmad/cis/agents/innovation-strategist.md.bak +62 -0
- package/bmad/cis/agents/storyteller.md +59 -0
- package/bmad/cis/agents/storyteller.md.bak +59 -0
- package/bmad/{bmd → cis}/config.yaml +3 -3
- package/bmad/cis/teams/creative-squad.yaml +6 -0
- package/bmad/cis/workflows/README.md +139 -0
- package/bmad/cis/workflows/design-thinking/README.md +56 -0
- package/bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
- package/bmad/cis/workflows/design-thinking/instructions.md +200 -0
- package/bmad/cis/workflows/design-thinking/template.md +111 -0
- package/bmad/cis/workflows/design-thinking/workflow.yaml +32 -0
- package/bmad/cis/workflows/innovation-strategy/README.md +56 -0
- package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
- package/bmad/cis/workflows/innovation-strategy/instructions.md +274 -0
- package/bmad/cis/workflows/innovation-strategy/template.md +189 -0
- package/bmad/cis/workflows/innovation-strategy/workflow.yaml +32 -0
- package/bmad/cis/workflows/problem-solving/README.md +56 -0
- package/bmad/cis/workflows/problem-solving/instructions.md +250 -0
- package/bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
- package/bmad/cis/workflows/problem-solving/template.md +165 -0
- package/bmad/cis/workflows/problem-solving/workflow.yaml +32 -0
- package/bmad/cis/workflows/storytelling/README.md +58 -0
- package/bmad/cis/workflows/storytelling/instructions.md +291 -0
- package/bmad/cis/workflows/storytelling/story-types.csv +26 -0
- package/bmad/cis/workflows/storytelling/template.md +113 -0
- package/bmad/cis/workflows/storytelling/workflow.yaml +32 -0
- package/bmad/core/agents/bmad-master.md.bak +71 -0
- package/bmad/core/config.yaml +2 -2
- package/bmad/core/tasks/workflow.xml +1 -19
- package/bmad/core/tools/shard-doc.xml +8 -43
- package/docs/document-sharding-guide.md +447 -0
- package/docs/index.md +37 -41
- package/package.json +1 -1
- package/src/core/tasks/workflow.xml +1 -11
- package/src/core/tools/shard-doc.xml +8 -43
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
- package/src/modules/bmm/README.md +79 -95
- package/src/modules/bmm/agents/architect.agent.yaml +0 -4
- package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
- package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
- package/src/modules/bmm/agents/pm.agent.yaml +11 -1
- package/src/modules/bmm/agents/sm.agent.yaml +1 -1
- package/src/modules/bmm/agents/tech-writer.agent.yaml +69 -0
- package/src/modules/bmm/docs/README.md +235 -0
- package/src/modules/bmm/docs/agents-guide.md +1057 -0
- package/src/modules/bmm/docs/brownfield-guide.md +759 -0
- package/src/modules/bmm/docs/enterprise-agentic-development.md +680 -0
- package/src/modules/bmm/docs/faq.md +589 -0
- package/src/modules/bmm/docs/glossary.md +321 -0
- package/src/modules/bmm/docs/party-mode.md +224 -0
- package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
- package/src/modules/bmm/docs/quick-start.md +366 -0
- package/src/modules/bmm/docs/scale-adaptive-system.md +599 -0
- package/src/modules/bmm/docs/troubleshooting.md +680 -0
- package/src/modules/bmm/docs/workflow-architecture-reference.md +371 -0
- package/src/modules/bmm/docs/workflow-document-project-reference.md +487 -0
- package/src/modules/bmm/docs/workflows-analysis.md +670 -0
- package/src/modules/bmm/docs/workflows-implementation.md +1758 -0
- package/src/modules/bmm/docs/workflows-planning.md +1086 -0
- package/src/modules/bmm/docs/workflows-solutioning.md +726 -0
- package/src/modules/bmm/tasks/daily-standup.xml +1 -1
- package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
- package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +180 -0
- package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +405 -213
- package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +93 -77
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +14 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist.md +154 -57
- package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +45 -29
- package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +181 -104
- package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +24 -32
- package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +94 -46
- package/src/modules/bmm/workflows/1-analysis/research/template-market.md +37 -1
- package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +36 -1
- package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +22 -0
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +296 -63
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +52 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +169 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +55 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +268 -291
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +198 -23
- package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +26 -8
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +138 -31
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +73 -4
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +50 -17
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +199 -26
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +971 -109
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +132 -6
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +54 -20
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +23 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +40 -32
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -0
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +32 -6
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +20 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +32 -6
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1222 -241
- package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +28 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +17 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -0
- package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +31 -1
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/techdoc/documentation-standards.md +239 -0
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-4.yaml → method-brownfield.yaml} +35 -26
- package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-3.yaml → method-greenfield.yaml} +32 -17
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-0.yaml → quick-flow-brownfield.yaml} +23 -19
- package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-0.yaml → quick-flow-greenfield.yaml} +18 -16
- package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
- package/tools/cli/commands/install.js +1 -1
- package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
- package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
- package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
- package/.claude/hooks/bmad-tts-injector.sh +0 -415
- package/.claude/hooks/bmad-voice-manager.sh +0 -511
- package/.claude/hooks/check-output-style.sh +0 -112
- package/.claude/hooks/download-extra-voices.sh +0 -244
- package/.claude/hooks/github-star-reminder.sh +0 -154
- package/.claude/hooks/language-manager.sh +0 -392
- package/.claude/hooks/learn-manager.sh +0 -475
- package/.claude/hooks/personality-manager.sh +0 -438
- package/.claude/hooks/piper-download-voices.sh +0 -165
- package/.claude/hooks/piper-installer.sh +0 -178
- package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
- package/.claude/hooks/piper-voice-manager.sh +0 -293
- package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
- package/.claude/hooks/play-tts-piper.sh +0 -338
- package/.claude/hooks/play-tts.sh +0 -100
- package/.claude/hooks/provider-commands.sh +0 -540
- package/.claude/hooks/provider-manager.sh +0 -298
- package/.claude/hooks/replay-target-audio.sh +0 -95
- package/.claude/hooks/sentiment-manager.sh +0 -201
- package/.claude/hooks/speed-manager.sh +0 -291
- package/.claude/hooks/voice-manager.sh +0 -594
- package/.claude/hooks/voices-config.sh +0 -70
- package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
- package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
- package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
- package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
- package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
- package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
- package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
- package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
- package/bmad/bmd/README.md +0 -193
- package/bmad/bmd/README.md.bak +0 -193
- package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
- package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
- package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
- package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
- package/bmad/bmd/agents/cli-chief.md +0 -108
- package/bmad/bmd/agents/cli-chief.md.bak +0 -108
- package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
- package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
- package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
- package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
- package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
- package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
- package/bmad/bmd/agents/doc-keeper.md +0 -115
- package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
- package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
- package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
- package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
- package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
- package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
- package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
- package/bmad/bmd/agents/release-chief.md +0 -109
- package/bmad/bmd/agents/release-chief.md.bak +0 -109
- package/bmad/docs/codex-instructions.md +0 -21
- package/docs/bmad-brownfield-guide.md +0 -1260
- package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
- package/src/modules/bmm/tasks/retrospective.xml +0 -104
- package/src/modules/bmm/testarch/README.md +0 -311
- package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
- package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
- package/src/modules/bmm/workflows/1-analysis/product-brief/README.md +0 -180
- package/src/modules/bmm/workflows/1-analysis/research/README.md +0 -454
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
- package/src/modules/bmm/workflows/2-plan-workflows/README.md +0 -258
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
- package/src/modules/bmm/workflows/3-solutioning/README.md +0 -1
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
- package/src/modules/bmm/workflows/4-implementation/README.md +0 -221
- package/src/modules/bmm/workflows/4-implementation/code-review/README.md +0 -69
- package/src/modules/bmm/workflows/4-implementation/correct-course/README.md +0 -73
- package/src/modules/bmm/workflows/4-implementation/create-story/README.md +0 -146
- package/src/modules/bmm/workflows/4-implementation/dev-story/README.md +0 -206
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
- package/src/modules/bmm/workflows/4-implementation/retrospective/README.md +0 -77
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
- package/src/modules/bmm/workflows/4-implementation/story-context/README.md +0 -234
- package/src/modules/bmm/workflows/README.md +0 -215
- package/src/modules/bmm/workflows/document-project/templates/README.md +0 -38
- package/src/modules/bmm/workflows/testarch/README.md +0 -26
- package/src/modules/bmm/workflows/testarch/atdd/README.md +0 -672
- package/src/modules/bmm/workflows/testarch/automate/README.md +0 -869
- package/src/modules/bmm/workflows/testarch/ci/README.md +0 -493
- package/src/modules/bmm/workflows/testarch/framework/README.md +0 -340
- package/src/modules/bmm/workflows/testarch/nfr-assess/README.md +0 -469
- package/src/modules/bmm/workflows/testarch/test-design/README.md +0 -493
- package/src/modules/bmm/workflows/testarch/test-review/README.md +0 -775
- package/src/modules/bmm/workflows/testarch/trace/README.md +0 -802
- package/src/modules/bmm/workflows/workflow-status/README.md +0 -260
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
- /package/bmad/_cfg/agents/{bmd-doc-keeper.customize.yaml → bmm-analyst.customize.yaml} +0 -0
- /package/bmad/_cfg/agents/{bmd-release-chief.customize.yaml → bmm-architect.customize.yaml} +0 -0
- /package/{src/modules/bmm/workflows/2-plan-workflows/prd → bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories}/epics-template.md +0 -0
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
# Decision Architecture Workflow
|
|
1
|
+
# Decision Architecture Workflow - Technical Reference
|
|
2
|
+
|
|
3
|
+
**Module:** BMM (BMAD Method Module)
|
|
4
|
+
**Type:** Solutioning Workflow
|
|
5
|
+
|
|
6
|
+
---
|
|
2
7
|
|
|
3
8
|
## Overview
|
|
4
9
|
|
|
5
10
|
The Decision Architecture workflow is a complete reimagining of how architectural decisions are made in the BMAD Method. Instead of template-driven documentation, this workflow facilitates an intelligent conversation that produces a **decision-focused architecture document** optimized for preventing AI agent conflicts during implementation.
|
|
6
11
|
|
|
12
|
+
---
|
|
13
|
+
|
|
7
14
|
## Core Philosophy
|
|
8
15
|
|
|
9
16
|
**The Problem**: When multiple AI agents implement different parts of a system, they make conflicting technical decisions leading to incompatible implementations.
|
|
10
17
|
|
|
11
18
|
**The Solution**: A "consistency contract" that documents all critical technical decisions upfront, ensuring every agent follows the same patterns and uses the same technologies.
|
|
12
19
|
|
|
20
|
+
---
|
|
21
|
+
|
|
13
22
|
## Key Features
|
|
14
23
|
|
|
15
24
|
### 1. Starter Template Intelligence ⭐ NEW
|
|
@@ -56,6 +65,8 @@ The Decision Architecture workflow is a complete reimagining of how architectura
|
|
|
56
65
|
- Validated against hard requirements
|
|
57
66
|
- Optimized for AI agent consumption
|
|
58
67
|
|
|
68
|
+
---
|
|
69
|
+
|
|
59
70
|
## Workflow Structure
|
|
60
71
|
|
|
61
72
|
```
|
|
@@ -75,6 +86,8 @@ Step 11: Validate document completeness
|
|
|
75
86
|
Step 12: Final review and update workflow status
|
|
76
87
|
```
|
|
77
88
|
|
|
89
|
+
---
|
|
90
|
+
|
|
78
91
|
## Files in This Workflow
|
|
79
92
|
|
|
80
93
|
- **workflow.yaml** - Configuration and metadata
|
|
@@ -85,6 +98,8 @@ Step 12: Final review and update workflow status
|
|
|
85
98
|
- **checklist.md** - Validation requirements for the output document
|
|
86
99
|
- **architecture-template.md** - Strict format for the final document
|
|
87
100
|
|
|
101
|
+
---
|
|
102
|
+
|
|
88
103
|
## How It's Different from Old architecture
|
|
89
104
|
|
|
90
105
|
| Aspect | Old Workflow | New Workflow |
|
|
@@ -98,6 +113,8 @@ Step 12: Final review and update workflow status
|
|
|
98
113
|
| **Time** | Confusing and slow | 30-90 minutes depending on skill level |
|
|
99
114
|
| **Elicitation** | Never used | Integrated at decision points |
|
|
100
115
|
|
|
116
|
+
---
|
|
117
|
+
|
|
101
118
|
## Expected Inputs
|
|
102
119
|
|
|
103
120
|
- **PRD** (Product Requirements Document) with:
|
|
@@ -117,6 +134,8 @@ Step 12: Final review and update workflow status
|
|
|
117
134
|
- Platform-specific UI requirements
|
|
118
135
|
- Performance expectations for interactions
|
|
119
136
|
|
|
137
|
+
---
|
|
138
|
+
|
|
120
139
|
## Output Document
|
|
121
140
|
|
|
122
141
|
A single `architecture.md` file containing:
|
|
@@ -128,84 +147,100 @@ A single `architecture.md` file containing:
|
|
|
128
147
|
- Integration specifications
|
|
129
148
|
- Consistency rules for AI agents
|
|
130
149
|
|
|
150
|
+
---
|
|
151
|
+
|
|
131
152
|
## How Novel Pattern Design Works
|
|
132
153
|
|
|
133
154
|
Step 7 handles unique or complex patterns that need to be INVENTED:
|
|
134
155
|
|
|
135
|
-
1.
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
156
|
+
### 1. Detection
|
|
157
|
+
|
|
158
|
+
The workflow analyzes the PRD for concepts that don't have standard solutions:
|
|
159
|
+
|
|
160
|
+
- Novel interaction patterns (e.g., "swipe to match" when Tinder doesn't exist)
|
|
161
|
+
- Complex multi-epic workflows (e.g., "viral invitation system")
|
|
162
|
+
- Unique data relationships (e.g., "social graph" before Facebook)
|
|
163
|
+
- New paradigms (e.g., "ephemeral messages" before Snapchat)
|
|
164
|
+
|
|
165
|
+
### 2. Design Collaboration
|
|
166
|
+
|
|
167
|
+
Instead of just picking technologies, the workflow helps DESIGN the solution:
|
|
168
|
+
|
|
169
|
+
- Identifies the core problem to solve
|
|
170
|
+
- Explores different approaches with the user
|
|
171
|
+
- Documents how components interact
|
|
172
|
+
- Creates sequence diagrams for complex flows
|
|
173
|
+
- Uses elicitation to find innovative solutions
|
|
174
|
+
|
|
175
|
+
### 3. Documentation
|
|
176
|
+
|
|
177
|
+
Novel patterns become part of the architecture with:
|
|
178
|
+
|
|
179
|
+
- Pattern name and purpose
|
|
180
|
+
- Component interactions
|
|
181
|
+
- Data flow diagrams
|
|
182
|
+
- Which epics/stories are affected
|
|
183
|
+
- Implementation guidance for agents
|
|
184
|
+
|
|
185
|
+
### 4. Example
|
|
186
|
+
|
|
187
|
+
```
|
|
188
|
+
PRD: "Users can create 'circles' of friends with overlapping membership"
|
|
189
|
+
↓
|
|
190
|
+
Workflow detects: This is a novel social structure pattern
|
|
191
|
+
↓
|
|
192
|
+
Designs with user: Circle membership model, permission cascading, UI patterns
|
|
193
|
+
↓
|
|
194
|
+
Documents: "Circle Pattern" with component design and data flow
|
|
195
|
+
↓
|
|
196
|
+
All agents understand how to implement circle-related features consistently
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
---
|
|
170
200
|
|
|
171
201
|
## How Implementation Patterns Work
|
|
172
202
|
|
|
173
203
|
Step 8 prevents agent conflicts by defining patterns for consistency:
|
|
174
204
|
|
|
175
|
-
1.
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
2.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
### 1. The Core Principle
|
|
206
|
+
|
|
207
|
+
> "Any time multiple agents might make the SAME decision DIFFERENTLY, that's a pattern to capture"
|
|
208
|
+
|
|
209
|
+
The LLM asks: "What could an agent encounter where they'd have to guess?"
|
|
210
|
+
|
|
211
|
+
### 2. Pattern Categories (principles, not prescriptions)
|
|
212
|
+
|
|
213
|
+
- **Naming**: How things are named (APIs, database fields, files)
|
|
214
|
+
- **Structure**: How things are organized (folders, modules, layers)
|
|
215
|
+
- **Format**: How data is formatted (JSON structures, responses)
|
|
216
|
+
- **Communication**: How components talk (events, messages, protocols)
|
|
217
|
+
- **Lifecycle**: How states change (workflows, transitions)
|
|
218
|
+
- **Location**: Where things go (URLs, paths, storage)
|
|
219
|
+
- **Consistency**: Cross-cutting concerns (dates, errors, logs)
|
|
220
|
+
|
|
221
|
+
### 3. LLM Intelligence
|
|
222
|
+
|
|
223
|
+
- Uses the principle to identify patterns beyond the 7 categories
|
|
224
|
+
- Figures out what specific patterns matter for chosen tech
|
|
225
|
+
- Only asks about patterns that could cause conflicts
|
|
226
|
+
- Skips obvious patterns that the tech choice determines
|
|
227
|
+
|
|
228
|
+
### 4. Example
|
|
229
|
+
|
|
230
|
+
```
|
|
231
|
+
Tech chosen: REST API + PostgreSQL + React
|
|
232
|
+
↓
|
|
233
|
+
LLM identifies needs:
|
|
234
|
+
- REST: URL structure, response format, status codes
|
|
235
|
+
- PostgreSQL: table naming, column naming, FK patterns
|
|
236
|
+
- React: component structure, state management, test location
|
|
237
|
+
↓
|
|
238
|
+
Facilitates each with user
|
|
239
|
+
↓
|
|
240
|
+
Documents as Implementation Patterns in architecture
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
209
244
|
|
|
210
245
|
## How Starter Templates Work
|
|
211
246
|
|
|
@@ -234,6 +269,8 @@ Workflow only asks about: Database choice, deployment target, additional service
|
|
|
234
269
|
First story becomes: "npx create t3-app@latest my-app --trpc --nextauth --prisma"
|
|
235
270
|
```
|
|
236
271
|
|
|
272
|
+
---
|
|
273
|
+
|
|
237
274
|
## Usage
|
|
238
275
|
|
|
239
276
|
```bash
|
|
@@ -249,6 +286,8 @@ The AI agent will:
|
|
|
249
286
|
4. Generate a comprehensive architecture document
|
|
250
287
|
5. Validate completeness
|
|
251
288
|
|
|
289
|
+
---
|
|
290
|
+
|
|
252
291
|
## Design Principles
|
|
253
292
|
|
|
254
293
|
1. **Facilitation over Prescription** - Guide users to good decisions rather than imposing templates
|
|
@@ -257,6 +296,8 @@ The AI agent will:
|
|
|
257
296
|
4. **Adaptation over Uniformity** - Meet users where they are while ensuring quality output
|
|
258
297
|
5. **Collaboration over Output** - The conversation matters as much as the document
|
|
259
298
|
|
|
299
|
+
---
|
|
300
|
+
|
|
260
301
|
## For Developers
|
|
261
302
|
|
|
262
303
|
This workflow assumes:
|
|
@@ -266,6 +307,8 @@ This workflow assumes:
|
|
|
266
307
|
- AI agents need clear constraints to prevent conflicts
|
|
267
308
|
- The architecture document is for agents, not humans
|
|
268
309
|
|
|
310
|
+
---
|
|
311
|
+
|
|
269
312
|
## Migration from architecture
|
|
270
313
|
|
|
271
314
|
Projects using the old `architecture` workflow should:
|
|
@@ -274,9 +317,11 @@ Projects using the old `architecture` workflow should:
|
|
|
274
317
|
2. Use `architecture` for new projects
|
|
275
318
|
3. The old workflow remains available but is deprecated
|
|
276
319
|
|
|
277
|
-
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## Version History
|
|
278
323
|
|
|
279
|
-
1.3.2 - UX specification integration and fuzzy file matching
|
|
324
|
+
**1.3.2** - UX specification integration and fuzzy file matching
|
|
280
325
|
|
|
281
326
|
- Added UX spec as optional input with fuzzy file matching
|
|
282
327
|
- Updated workflow.yaml with input file references
|
|
@@ -284,7 +329,7 @@ Projects using the old `architecture` workflow should:
|
|
|
284
329
|
- Added UX alignment validation to checklist
|
|
285
330
|
- Instructions use variable references for flexible file names
|
|
286
331
|
|
|
287
|
-
|
|
332
|
+
**1.3.1** - Workflow refinement and standardization
|
|
288
333
|
|
|
289
334
|
- Added workflow status checking at start (Steps 0 and 0.5)
|
|
290
335
|
- Added workflow status updating at end (Step 12)
|
|
@@ -292,7 +337,7 @@ Projects using the old `architecture` workflow should:
|
|
|
292
337
|
- Enhanced with intent-based approach throughout
|
|
293
338
|
- Improved cohesiveness across all workflow components
|
|
294
339
|
|
|
295
|
-
|
|
340
|
+
**1.3.0** - Novel pattern design for unique architectures
|
|
296
341
|
|
|
297
342
|
- Added novel pattern design (now Step 7, formerly Step 5.3)
|
|
298
343
|
- Detects novel concepts in PRD that need architectural invention
|
|
@@ -300,7 +345,7 @@ Projects using the old `architecture` workflow should:
|
|
|
300
345
|
- Uses elicitation for innovative approaches
|
|
301
346
|
- Documents custom patterns for multi-epic consistency
|
|
302
347
|
|
|
303
|
-
|
|
348
|
+
**1.2.0** - Implementation patterns for agent consistency
|
|
304
349
|
|
|
305
350
|
- Added implementation patterns (now Step 8, formerly Step 5.5)
|
|
306
351
|
- Created principle-based pattern-categories.csv (7 principles, not 118 prescriptions)
|
|
@@ -308,11 +353,19 @@ Projects using the old `architecture` workflow should:
|
|
|
308
353
|
- LLM uses principle to identify patterns beyond the categories
|
|
309
354
|
- Prevents agent conflicts through intelligent pattern discovery
|
|
310
355
|
|
|
311
|
-
|
|
356
|
+
**1.1.0** - Enhanced with starter template discovery and version verification
|
|
312
357
|
|
|
313
358
|
- Added intelligent starter template detection and integration (now Step 2)
|
|
314
359
|
- Added dynamic version verification via web search
|
|
315
360
|
- Starter decisions are documented as "PROVIDED BY STARTER"
|
|
316
361
|
- First implementation story uses starter initialization command
|
|
317
362
|
|
|
318
|
-
|
|
363
|
+
**1.0.0** - Initial release replacing architecture workflow
|
|
364
|
+
|
|
365
|
+
---
|
|
366
|
+
|
|
367
|
+
**Related Documentation:**
|
|
368
|
+
|
|
369
|
+
- [Solutioning Workflows](./workflows-solutioning.md)
|
|
370
|
+
- [Planning Workflows](./workflows-planning.md)
|
|
371
|
+
- [Scale Adaptive System](./scale-adaptive-system.md)
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
# Document Project Workflow
|
|
1
|
+
# Document Project Workflow - Technical Reference
|
|
2
2
|
|
|
3
|
-
**Version:** 1.2.0
|
|
4
3
|
**Module:** BMM (BMAD Method Module)
|
|
5
4
|
**Type:** Action Workflow (Documentation Generator)
|
|
6
5
|
|
|
6
|
+
---
|
|
7
|
+
|
|
7
8
|
## Purpose
|
|
8
9
|
|
|
9
10
|
Analyzes and documents brownfield projects by scanning codebase, architecture, and patterns to create comprehensive reference documentation for AI-assisted development. Generates a master index and multiple documentation files tailored to project structure and type.
|
|
10
11
|
|
|
11
12
|
**NEW in v1.2.0:** Context-safe architecture with scan levels, resumability, and write-as-you-go pattern to prevent context exhaustion.
|
|
12
13
|
|
|
14
|
+
---
|
|
15
|
+
|
|
13
16
|
## Key Features
|
|
14
17
|
|
|
15
18
|
- **Multi-Project Type Support**: Handles web, backend, mobile, CLI, game, embedded, data, infra, library, desktop, and extension projects
|
|
@@ -23,6 +26,8 @@ Analyzes and documents brownfield projects by scanning codebase, architecture, a
|
|
|
23
26
|
- **Architecture Matching**: Matches projects to 170+ architecture templates from the solutioning registry
|
|
24
27
|
- **Brownfield PRD Ready**: Generates documentation specifically designed for AI agents planning new features
|
|
25
28
|
|
|
29
|
+
---
|
|
30
|
+
|
|
26
31
|
## How to Invoke
|
|
27
32
|
|
|
28
33
|
```bash
|
|
@@ -35,6 +40,8 @@ Or from BMAD CLI:
|
|
|
35
40
|
/bmad:bmm:workflows:document-project
|
|
36
41
|
```
|
|
37
42
|
|
|
43
|
+
---
|
|
44
|
+
|
|
38
45
|
## Scan Levels (NEW in v1.2.0)
|
|
39
46
|
|
|
40
47
|
Choose the right scan depth for your needs:
|
|
@@ -79,6 +86,8 @@ Choose the right scan depth for your needs:
|
|
|
79
86
|
|
|
80
87
|
**Note:** Deep-dive mode ALWAYS uses exhaustive scan (no choice)
|
|
81
88
|
|
|
89
|
+
---
|
|
90
|
+
|
|
82
91
|
## Resumability (NEW in v1.2.0)
|
|
83
92
|
|
|
84
93
|
The workflow can be interrupted and resumed without losing progress:
|
|
@@ -110,6 +119,8 @@ Would you like to:
|
|
|
110
119
|
Your choice [1/2/3]:
|
|
111
120
|
```
|
|
112
121
|
|
|
122
|
+
---
|
|
123
|
+
|
|
113
124
|
## What It Does
|
|
114
125
|
|
|
115
126
|
### Step-by-Step Process
|
|
@@ -160,6 +171,8 @@ Your choice [1/2/3]:
|
|
|
160
171
|
- `project-scan-report.json` - State file for resumability (NEW v1.2.0)
|
|
161
172
|
- Additional conditional files per part (API, data models, etc.)
|
|
162
173
|
|
|
174
|
+
---
|
|
175
|
+
|
|
163
176
|
## Data Files
|
|
164
177
|
|
|
165
178
|
The workflow uses a single comprehensive CSV file:
|
|
@@ -175,6 +188,8 @@ The workflow uses a single comprehensive CSV file:
|
|
|
175
188
|
- Self-contained: All project detection AND scanning requirements in one file
|
|
176
189
|
- Architecture patterns inferred from tech stack (no external registry needed)
|
|
177
190
|
|
|
191
|
+
---
|
|
192
|
+
|
|
178
193
|
## Use Cases
|
|
179
194
|
|
|
180
195
|
### Primary Use Case: Brownfield PRD Creation
|
|
@@ -197,6 +212,8 @@ PRD Workflow: Loads docs/index.md
|
|
|
197
212
|
- **Technical Debt Assessment** - Identify patterns and anti-patterns
|
|
198
213
|
- **Migration Planning** - Understand current state before refactoring
|
|
199
214
|
|
|
215
|
+
---
|
|
216
|
+
|
|
200
217
|
## Requirements
|
|
201
218
|
|
|
202
219
|
### Recommended Inputs (Optional)
|
|
@@ -211,6 +228,8 @@ PRD Workflow: Loads docs/index.md
|
|
|
211
228
|
- Code analysis
|
|
212
229
|
- Git repository analysis (optional)
|
|
213
230
|
|
|
231
|
+
---
|
|
232
|
+
|
|
214
233
|
## Configuration
|
|
215
234
|
|
|
216
235
|
### Default Output Location
|
|
@@ -225,6 +244,8 @@ Default: `/docs/` folder in project root
|
|
|
225
244
|
- Add new project types to `project-types.csv`
|
|
226
245
|
- Add new architecture templates to `registry.csv`
|
|
227
246
|
|
|
247
|
+
---
|
|
248
|
+
|
|
228
249
|
## Example: Multi-Part Web App
|
|
229
250
|
|
|
230
251
|
**Input:**
|
|
@@ -260,6 +281,8 @@ docs/
|
|
|
260
281
|
└── project-parts.json
|
|
261
282
|
```
|
|
262
283
|
|
|
284
|
+
---
|
|
285
|
+
|
|
263
286
|
## Example: Simple CLI Tool
|
|
264
287
|
|
|
265
288
|
**Input:**
|
|
@@ -286,6 +309,8 @@ docs/
|
|
|
286
309
|
└── source-tree-analysis.md
|
|
287
310
|
```
|
|
288
311
|
|
|
312
|
+
---
|
|
313
|
+
|
|
289
314
|
## Deep-Dive Mode
|
|
290
315
|
|
|
291
316
|
### What is Deep-Dive Mode?
|
|
@@ -353,6 +378,8 @@ You can deep-dive multiple areas over time:
|
|
|
353
378
|
|
|
354
379
|
All deep-dive docs are linked from the master index.
|
|
355
380
|
|
|
381
|
+
---
|
|
382
|
+
|
|
356
383
|
## Validation
|
|
357
384
|
|
|
358
385
|
The workflow includes a comprehensive 160+ point checklist covering:
|
|
@@ -365,6 +392,8 @@ The workflow includes a comprehensive 160+ point checklist covering:
|
|
|
365
392
|
- Brownfield PRD readiness
|
|
366
393
|
- Deep-dive completeness (if applicable)
|
|
367
394
|
|
|
395
|
+
---
|
|
396
|
+
|
|
368
397
|
## Next Steps After Completion
|
|
369
398
|
|
|
370
399
|
1. **Review** `docs/index.md` - Your master documentation index
|
|
@@ -372,6 +401,8 @@ The workflow includes a comprehensive 160+ point checklist covering:
|
|
|
372
401
|
3. **Use for PRD** - Point brownfield PRD workflow to index.md
|
|
373
402
|
4. **Maintain** - Re-run workflow when architecture changes significantly
|
|
374
403
|
|
|
404
|
+
---
|
|
405
|
+
|
|
375
406
|
## File Structure
|
|
376
407
|
|
|
377
408
|
```
|
|
@@ -387,6 +418,8 @@ document-project/
|
|
|
387
418
|
└── README.md # This file
|
|
388
419
|
```
|
|
389
420
|
|
|
421
|
+
---
|
|
422
|
+
|
|
390
423
|
## Troubleshooting
|
|
391
424
|
|
|
392
425
|
**Issue: Project type not detected correctly**
|
|
@@ -405,6 +438,8 @@ document-project/
|
|
|
405
438
|
|
|
406
439
|
- Solution: Check registry.csv; may need to add new template or adjust matching criteria
|
|
407
440
|
|
|
441
|
+
---
|
|
442
|
+
|
|
408
443
|
## Architecture Improvements in v1.2.0
|
|
409
444
|
|
|
410
445
|
### Context-Safe Design
|
|
@@ -442,3 +477,11 @@ Optimized JSON (no pretty-printing):
|
|
|
442
477
|
"resume_instructions": "..."
|
|
443
478
|
}
|
|
444
479
|
```
|
|
480
|
+
|
|
481
|
+
---
|
|
482
|
+
|
|
483
|
+
**Related Documentation:**
|
|
484
|
+
|
|
485
|
+
- [Brownfield Development Guide](./brownfield-guide.md)
|
|
486
|
+
- [Implementation Workflows](./workflows-implementation.md)
|
|
487
|
+
- [Scale Adaptive System](./scale-adaptive-system.md)
|