diff --git a/src/modules/bmm/_module-installer/assets/bmm-kb.md b/src/modules/bmm/_module-installer/assets/bmm-kb.md deleted file mode 100644 index 0683986f..00000000 --- a/src/modules/bmm/_module-installer/assets/bmm-kb.md +++ /dev/null @@ -1 +0,0 @@ -# BMad Method Master Knowledge Base Index diff --git a/src/modules/bmm/_module-installer/assets/technical-decisions.md b/src/modules/bmm/_module-installer/assets/technical-decisions.md deleted file mode 100644 index ceac48fb..00000000 --- a/src/modules/bmm/_module-installer/assets/technical-decisions.md +++ /dev/null @@ -1,30 +0,0 @@ -# Technical Decisions Log - -_Auto-updated during discovery and planning sessions - you can also add information here yourself_ - -## Purpose - -This document captures technical decisions, preferences, and constraints discovered during project discussions. It serves as input for architecture.md and solution design documents. - -## Confirmed Decisions - - - -## Preferences - - - -## Constraints - - - -## To Investigate - - - -## Notes - -- This file is automatically updated when technical information is mentioned -- Decisions here are inputs, not final architecture -- Final technical decisions belong in architecture.md -- Implementation details belong in solutions/\*.md and story context or dev notes. diff --git a/src/modules/bmm/agents/analyst.agent.yaml b/src/modules/bmm/agents/analyst.agent.yaml index 0ae86f39..acdc0a17 100644 --- a/src/modules/bmm/agents/analyst.agent.yaml +++ b/src/modules/bmm/agents/analyst.agent.yaml @@ -18,6 +18,10 @@ agent: - Find if this exists, if it does, always treat it as the bible I plan and execute against: `**/project-context.md` menu: + - trigger: workflow-status + workflow: "{project-root}/{bmad_folder}/bmm/workflows/workflow-status/workflow.yaml" + description: Get workflow status or initialize a workflow if not already done (optional) + - trigger: brainstorm-project workflow: "{project-root}/{bmad_folder}/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml" description: Guided Brainstorming session with final report (optional) diff --git a/src/modules/bmm/agents/architect.agent.yaml b/src/modules/bmm/agents/architect.agent.yaml index f49782ef..c8cc6b78 100644 --- a/src/modules/bmm/agents/architect.agent.yaml +++ b/src/modules/bmm/agents/architect.agent.yaml @@ -18,6 +18,10 @@ agent: - Find if this exists, if it does, always treat it as the bible I plan and execute against: `**/project-context.md` menu: + - trigger: workflow-status + workflow: "{project-root}/{bmad_folder}/bmm/workflows/workflow-status/workflow.yaml" + description: Get workflow status or initialize a workflow if not already done (optional) + - trigger: create-architecture workflow: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/architecture/workflow.yaml" description: Create an Architecture Document to Guide Development of a PRD (required for BMad Method projects) diff --git a/src/modules/bmm/agents/pm.agent.yaml b/src/modules/bmm/agents/pm.agent.yaml index 6e77b917..61d08a2a 100644 --- a/src/modules/bmm/agents/pm.agent.yaml +++ b/src/modules/bmm/agents/pm.agent.yaml @@ -19,6 +19,10 @@ agent: - Find if this exists, if it does, always treat it as the bible I plan and execute against: `**/project-context.md` menu: + - trigger: workflow-status + workflow: "{project-root}/{bmad_folder}/bmm/workflows/workflow-status/workflow.yaml" + description: Get workflow status or initialize a workflow if not already done (optional) + - trigger: create-prd workflow: "{project-root}/{bmad_folder}/bmm/workflows/2-plan-workflows/prd/workflow.yaml" description: Create Product Requirements Document (PRD) (Required for BMad Method flow) diff --git a/src/modules/bmm/workflows/workflow-status/init/instructions.md b/src/modules/bmm/workflows/workflow-status/init/instructions.md index 6f842305..2519fe14 100644 --- a/src/modules/bmm/workflows/workflow-status/init/instructions.md +++ b/src/modules/bmm/workflows/workflow-status/init/instructions.md @@ -3,7 +3,7 @@ The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml You MUST have already loaded and processed: workflow-init/workflow.yaml Communicate in {communication_language} with {user_name} -This workflow handles BOTH new projects AND legacy projects being migrated to BMad Method +This workflow handles BOTH new projects AND legacy projects following the BMad Method @@ -12,7 +12,7 @@ Perform comprehensive scan for existing work: -- BMM artifacts: PRD, tech-spec, epics, architecture, UX, brief, research, brainstorm +- BMM artifacts: PRD, epics, architecture, UX, brief, research, brainstorm - Implementation: stories, sprint-status, workflow-status - Codebase: source directories, package files, git repo - Check both {output_folder} and {sprint_artifacts} locations @@ -53,31 +53,31 @@ Happy building! 🚀 How would you like to proceed? -a) **Continue** - Work with existing artifacts -b) **Archive & Start Fresh** - Move old work to archive -c) **Express Setup** - I know exactly what I need -d) **Guided Setup** - Walk me through options +1. **Continue** - Work with existing artifacts +2. **Archive & Start Fresh** - Move old work to archive +3. **Express Setup** - I know exactly what I need +4. **Guided Setup** - Walk me through options -Choice [a/b/c/d]: +Choice [1-4] - + Set continuing_existing = true Store found artifacts Continue to step 7 (detect track from artifacts) - + Archive existing work? (y/n) Move artifacts to {output_folder}/archive/ Ready for fresh start! Continue to step 3 - + Jump to step 3 (express path) - + Continue to step 4 (guided path) @@ -85,16 +85,16 @@ Choice [a/b/c/d]: Setup approach: -a) **Express** - I know what I need -b) **Guided** - Show me the options +1. **Express** - I know what I need +2. **Guided** - Show me the options -Choice [a/b]: +Choice [1 or 2]: - + Continue to step 3 (express) - + Continue to step 4 (guided) @@ -102,20 +102,22 @@ Choice [a/b]: Is this for: -1) **New project** (greenfield) -2) **Existing codebase** (brownfield) +1. **New project** (greenfield) +2. **Existing codebase** (brownfield) Choice [1/2]: Set field_type based on choice Planning approach: -1. **Quick Flow** - Minimal planning, fast to code -2. **BMad Method** - Full planning for complex projects -3. **Enterprise Method** - Extended planning with security/DevOps +1. **BMad Method** - Full planning for complex projects +2. **Enterprise Method** - Extended planning with security/DevOps -Choice [1/2/3]: -Map to selected_track: quick-flow/method/enterprise +Choice [1/2]: +Map to selected_track: method/enterprise + +🚀 **For Quick Flow (minimal planning, straight to code):** +Load the **quick-flow-solo-dev** agent instead - use Quick Flow agent for faster development field_type selected_track @@ -135,8 +137,8 @@ Choice [1/2/3]: I see existing code. Are you: -1) **Modifying** existing codebase (brownfield) -2) **Starting fresh** - code is just scaffold (greenfield) +1. **Modifying** existing codebase (brownfield) +2. **Starting fresh** - code is just scaffold (greenfield) Choice [1/2]: Set field_type based on answer @@ -165,44 +167,60 @@ Continue with software workflows? (y/n) -Based on your project, here are your planning options: +Based on your project, here are your BMad Method planning options: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -**1. Quick Flow** 🚀 - -- Minimal planning, straight to code -- Best for: Simple features, bug fixes -- Risk: Potential rework if complexity emerges - -**2. BMad Method** 🎯 {{#if recommended}}(RECOMMENDED){{/if}} +**1. BMad Method** 🎯 {{#if recommended}}(RECOMMENDED){{/if}} - Full planning: PRD + UX + Architecture - Best for: Products, platforms, complex features - Benefit: AI agents have complete context for better results -**3. Enterprise Method** 🏢 +**2. Enterprise Method** 🏢 - Extended: Method + Security + DevOps + Testing - Best for: Enterprise, compliance, mission-critical - Benefit: Comprehensive planning for complex systems +**🚀 For Quick Flow (minimal planning, straight to code):** +Load the **quick-flow-solo-dev** agent instead - use Quick Flow agent for faster development + ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ {{#if brownfield}} 💡 Architecture creates focused solution design from your codebase, keeping AI agents on track. {{/if}} -Which approach fits best? +Which BMad Method approach fits best? -1. Quick Flow -2. BMad Method {{#if recommended}}(recommended){{/if}} -3. Enterprise Method -4. Help me decide +1. BMad Method {{#if recommended}}(recommended){{/if}} +2. Enterprise Method +3. Help me decide +4. Switch to Quick Flow (use quick-flow-solo-dev agent) Choice [1/2/3/4]: + 🚀 **Switching to Quick Flow!** + +Load the **quick-flow-solo-dev** agent instead: + +- Start a new chat +- Load the quick-flow-solo-dev agent +- Use Quick Flow for minimal planning and faster development + +Quick Flow is perfect for: + +- Simple features and bug fixes +- Rapid prototyping +- When you want to get straight to code + +Happy coding! 🚀 +Exit workflow + + + What concerns you about choosing? Provide tailored guidance based on concerns Loop back to choice @@ -215,7 +233,7 @@ Choice [1/2/3/4]: Determine available discovery workflows based on: - field_type (greenfield gets product-brief option) -- selected_track (quick-flow skips product-brief) +- selected_track (method/enterprise options) @@ -229,7 +247,7 @@ Choice [1/2/3/4]: Enter numbers (e.g., "1,3" or "all" or "none"): - + Optional discovery workflows: Include any of these? @@ -250,7 +268,7 @@ Enter numbers (e.g., "1,2" or "none"): research_requested product_brief_requested - + 💡 **Note:** For brownfield projects, run document-project workflow first to analyze your codebase. @@ -258,18 +276,18 @@ Enter numbers (e.g., "1,2" or "none"): Analyze artifacts to detect track: - Has PRD → BMad Method -- Has tech-spec only → Quick Flow - Has Security/DevOps → Enterprise Method +- Has tech-spec only → Suggest switching to quick-flow-solo-dev agent Detected: **{{detected_track}}** based on {{found_artifacts}} Correct? (y/n) -Which track instead? +Which BMad Method track instead? -1. Quick Flow -2. BMad Method -3. Enterprise Method +1. BMad Method +2. Enterprise Method +3. Switch to Quick Flow (use quick-flow-solo-dev agent) Choice: @@ -298,11 +316,8 @@ Choice: {{#if brownfield}}Prerequisites: document-project{{/if}} {{#if has_discovery}}Discovery: {{list_selected_discovery}}{{/if}} -━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - {{workflow_path_summary}} - -━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + Create workflow tracking file? (y/n) @@ -326,9 +341,6 @@ To check progress: /bmad:bmm:workflows:workflow-status Happy building! 🚀 - - No problem! Run workflow-init again when ready. - diff --git a/src/modules/bmm/workflows/workflow-status/instructions.md b/src/modules/bmm/workflows/workflow-status/instructions.md index fc5059ef..6ef9bd78 100644 --- a/src/modules/bmm/workflows/workflow-status/instructions.md +++ b/src/modules/bmm/workflows/workflow-status/instructions.md @@ -37,12 +37,19 @@ Search {output_folder}/ for file: bmm-workflow-status.yaml - No workflow status found. To get started: + No workflow status found. + Would you like to run Workflow Init now? (y/n) -Load analyst agent and run: `workflow-init` + + Launching workflow-init to set up your project tracking... + + Exit workflow and let workflow-init take over + -This will guide you through project setup and create your workflow path. -Exit workflow + + No workflow status file. Run workflow-init when ready to enable progress tracking. + Exit workflow + diff --git a/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml b/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml deleted file mode 100644 index d9d1fbc6..00000000 --- a/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +++ /dev/null @@ -1,67 +0,0 @@ -# BMad Quick Flow - Brownfield -# Fast spec-driven development for existing codebases (1-10 stories typically) - -method_name: "BMad Quick Flow" -track: "quick-flow" -field_type: "brownfield" -description: "Spec-driven development for brownfield projects - streamlined path with codebase context" - -phases: - - prerequisite: true - name: "Documentation" - conditional: "if_undocumented" - note: "NOT a phase - prerequisite for brownfield without docs" - workflows: - - id: "document-project" - required: true - agent: "analyst" - command: "document-project" - output: "Comprehensive project documentation" - purpose: "Generate codebase context for spec engineering" - - - phase: 0 - name: "Discovery (Optional)" - optional: true - note: "User-selected during workflow-init" - workflows: - - id: "brainstorm-project" - optional: true - agent: "analyst" - command: "brainstorm-project" - included_by: "user_choice" - - - id: "research" - optional: true - agent: "analyst" - command: "research" - included_by: "user_choice" - - - phase: 1 - name: "Spec Engineering" - required: true - workflows: - - id: "create-tech-spec" - required: true - agent: "quick-flow-solo-dev" - command: "create-tech-spec" - output: "Technical Specification with implementation-ready stories" - note: "Stories include codebase context from document-project" - - - phase: 2 - name: "Implementation" - required: true - note: "Barry executes all stories, optional code-review after each" - workflows: - - id: "dev-spec" - required: true - repeat: true - agent: "quick-flow-solo-dev" - command: "dev-spec" - note: "Execute stories from spec - Barry is the one-man powerhouse" - - - id: "code-review" - optional: true - repeat: true - agent: "quick-flow-solo-dev" - command: "code-review" - note: "Review completed story implementation" diff --git a/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml b/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml deleted file mode 100644 index 87478445..00000000 --- a/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +++ /dev/null @@ -1,56 +0,0 @@ -# BMad Quick Flow - Greenfield -# Fast spec-driven development path (1-10 stories typically) - -method_name: "BMad Quick Flow" -track: "quick-flow" -field_type: "greenfield" -description: "Spec-driven development for greenfield projects - streamlined path without sprint overhead" - -phases: - - phase: 0 - name: "Discovery (Optional)" - optional: true - note: "User-selected during workflow-init" - workflows: - - id: "brainstorm-project" - optional: true - agent: "analyst" - command: "brainstorm-project" - included_by: "user_choice" - - - id: "research" - optional: true - agent: "analyst" - command: "research" - included_by: "user_choice" - note: "Can have multiple research workflows" - - - phase: 1 - name: "Spec Engineering" - required: true - workflows: - - id: "create-tech-spec" - required: true - agent: "quick-flow-solo-dev" - command: "create-tech-spec" - output: "Technical Specification with implementation-ready stories" - note: "Stories contain all context for execution" - - - phase: 2 - name: "Implementation" - required: true - note: "Barry executes all stories, optional code-review after each" - workflows: - - id: "dev-spec" - required: true - repeat: true - agent: "quick-flow-solo-dev" - command: "dev-spec" - note: "Execute stories from spec - Barry is the one-man powerhouse" - - - id: "code-review" - optional: true - repeat: true - agent: "quick-flow-solo-dev" - command: "code-review" - note: "Review completed story implementation"