Commit Graph

55 Commits

Author SHA1 Message Date
Lucas C 7cd0dd61a3 fix: correct YAML indentation and template references, rebuild dist
- Fixed YAML indentation error in dev.md (coding_standards_awareness)
- Fixed template reference: projectbrief-tmpl.yaml → project-brief-tmpl.yaml
  - Updated in analyst.md
  - Updated in bmad-orchestrator.md
- Rebuilt dist/ folder with all updates from previous commit

This ensures the web bundles are synchronized with all the framework
enhancements including Memory Bank, ADRs, Sprint workflows, and new
data files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 21:59:46 +02:00
Lucas C ded53af686 feat: comprehensive BMAD enhancements with Memory Bank, ADRs, and Sprint workflows
This commit introduces major enhancements to the BMAD framework, focusing on
continuous context management, architectural decision recording, and agile
sprint execution.

## Major Additions

### Memory Bank Pattern Integration
- Added session-kickoff task for consistent agent initialization
- Updated all agents to include Memory Bank awareness
- Created session-kickoff-checklist.md for validation
- Enhanced all templates with Memory Bank cross-references
- Integrated Memory Bank updates into workflow handoffs

### Architectural Decision Records (ADRs)
- Added ADR triggers and patterns to data files
- Updated architect agent with ADR creation responsibilities
- Enhanced templates to reference ADR documentation
- Created ADR-aware checklists for architectural reviews

### Sprint Ceremonies & Reviews
- Added conduct-sprint-review task
- Created sprint-review-checklist.md
- Added sprint-planning-tmpl.yaml and sprint-review-tmpl.yaml
- Updated PM and SM agents with sprint review capabilities
- Added sprint-review-triggers.md for automation

### Development Journals
- Enhanced dev journal template with sprint cross-references
- Updated create-dev-journal task with Memory Bank integration
- Added sprint-end journal documentation requirements

### Technical Principles & Standards
- Added twelve-factor-principles.md
- Added microservice-patterns.md
- Added coding-standards.md
- Created project-scaffolding-preference.md from generic rules
- Updated technical-preferences.md with cloud-native patterns

### New Workflows
- sprint-execution.yaml - End-to-end sprint workflow
- documentation-update.yaml - Documentation maintenance
- technical-debt.yaml - Debt reduction workflow
- performance-optimization.yaml - Performance improvement
- system-migration.yaml - Legacy system migration
- quick-fix.yaml - Rapid issue resolution

## Framework-Wide Updates

### Agent Enhancements
- All agents updated with new checklist dependencies
- Added data file dependencies for technical standards
- Enhanced startup instructions with context awareness
- Improved handoff protocols between agents

### Template Improvements
- All templates updated with Memory Bank sections
- Added LLM instructions for AI-specific guidance
- Enhanced YAML templates with new validation rules
- Improved cross-referencing between documents

### Checklist Updates
- Updated all existing checklists with new sections
- Added Memory Bank verification steps
- Enhanced validation criteria
- Added sprint-specific checkpoints

### Data Files
- Reorganized and enhanced all data files
- Added new reference documents for standards
- Updated bmad-kb.md with comprehensive documentation
- Added elicitation method improvements

### Expansion Pack Updates
- Updated all expansion pack templates
- Added Memory Bank awareness to game dev packs
- Enhanced infrastructure DevOps templates

## Technical Improvements

### Tools & Build System
- Updated all tool files with latest patterns
- Enhanced web builder for new file types
- Improved dependency resolution
- Updated IDE configurations

### Cleanup
- Removed tmp/ directory with obsolete rules
- Consolidated rules into framework data files
- Added megalinter-reports/ to .gitignore

## Breaking Changes
None - all changes are backward compatible

## Testing
- All file modifications validated
- Dependencies verified across framework
- Installation process tested

This represents a major evolution of the BMAD framework, providing
comprehensive support for continuous context management, architectural
decision tracking, and agile sprint execution while maintaining full
backward compatibility.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 21:52:44 +02:00
Lucas C b6ca88a608 refactor(templates): Convert dev journal template to YAML format
Converted dev-journal-tmpl.md to dev-journal-tmpl.yaml for consistency with
BMAD framework template standards and improved functionality.

YAML Template Features:
- Guided workflow with structured prompting system
- Comprehensive sections for session documentation
- Template variables for dynamic content generation
- Validation rules for required fields
- Output configuration for docs/devJournal/ directory
- Consistent with other YAML templates in framework

Updated References:
- dev.md agent updated to use dev-journal-tmpl.yaml
- create-dev-journal.md task updated to reference YAML template

This completes the conversion of all framework templates to YAML format,
ensuring consistency and leveraging the full BMAD template system capabilities.
2025-07-20 18:55:51 +02:00
Lucas C 6bea90f3f2 feat(templates): Consolidate project brief templates and reorganize Memory Bank templates
Consolidated duplicate project brief templates into a unified solution that supports
multiple workflow modes, and moved all Memory Bank templates to base templates folder.

Template Consolidation:
- Merged project-brief-tmpl.yaml and projectbrief-tmpl.yaml into unified template
- Created mode-based template supporting 3 workflows:
  * Comprehensive Mode: Full product development brief with elicitation
  * Memory Bank Mode: Foundation document for Memory Bank system
  * Rapid Mode: Quick project documentation with structured prompts
- Maintains backward compatibility while eliminating duplication

Template Organization:
- Moved all Memory Bank templates from memory-bank/ to base templates/ folder
- Updated all agents to include Memory Bank templates in dependencies
- Simplified template structure and references across framework

Updated Components:
- architect.md: Added all Memory Bank templates to dependencies
- dev.md: Added activeContext and progress templates
- po.md: Added relevant Memory Bank templates for requirements management
- initialize-memory-bank.md: Updated template references and added usage notes

Benefits:
- Single source of truth for project brief creation
- Flexible workflow support for different use cases
- Simplified template management and discovery
- Consistent framework organization
- Better integration between standalone and Memory Bank workflows
2025-07-20 18:53:49 +02:00
Lucas C 7b8ca9e683 refactor(templates): Convert Memory Bank and ADR templates to YAML format
Converted all Memory Bank templates and ADR template from Markdown to YAML format
for consistency with BMAD framework template standards.

Template Conversions:
- projectbrief-tmpl.md → projectbrief-tmpl.yaml
- productContext-tmpl.md → productContext-tmpl.yaml
- systemPatterns-tmpl.md → systemPatterns-tmpl.yaml
- techContext-tmpl.md → techContext-tmpl.yaml
- activeContext-tmpl.md → activeContext-tmpl.yaml
- progress-tmpl.md → progress-tmpl.yaml
- adr-tmpl.md → adr-tmpl.yaml

YAML Template Features:
- Structured workflow definitions with guided/interactive modes
- Comprehensive prompting system for elicitation
- Section-based organization with clear instructions
- Output format configuration (markdown files in docs/memory-bank/)
- Validation rules for required fields
- Template variable system with Handlebars-style syntax

Updated References:
- initialize-memory-bank.md task updated to reference YAML templates
- create-adr.md task updated to reference YAML ADR template
- architect.md agent updated to use adr-tmpl.yaml

This maintains the same output structure while providing the structured,
interactive template experience consistent with other BMAD framework templates.
2025-07-20 18:48:32 +02:00
Lucas C 7bb3b36e54 feat(memory-bank): Add comprehensive Memory Bank pattern integration
Implemented Cline-inspired Memory Bank pattern for AI context persistence across sessions.
This ensures continuity and deep understanding of projects even when AI memory resets.

Core Memory Bank Components:
- Created 6 core memory bank templates following hierarchical structure
  - projectbrief.md: Foundation document with project scope and goals
  - productContext.md: The 'why' behind the project
  - systemPatterns.md: Technical architecture and decisions
  - techContext.md: Technology stack and environment
  - activeContext.md: Current work focus and priorities
  - progress.md: Project state tracking and evolution

Tasks and Workflows:
- initialize-memory-bank.md: Creates initial Memory Bank structure
- update-memory-bank.md: Updates based on dev journals, ADRs, and changes
- memory-bank-triggers.md: Reference guide for when to update

Agent Integrations:
- Enhanced architect agent with Memory Bank awareness and commands
- Enhanced dev agent to update activeContext and progress
- Enhanced po agent for requirements alignment with Memory Bank
- All agents now read Memory Bank at session start

Pervasive Integration Strategy:
- ADR creation triggers systemPatterns updates
- Dev journal entries trigger activeContext updates
- Story completion triggers progress updates
- Comprehensive commits/PRs trigger relevant updates
- Document-project task integrates with Memory Bank initialization

This provides AI agents with persistent context across sessions, preventing
loss of project knowledge and ensuring consistent understanding.
2025-07-20 18:41:38 +02:00
Lucas C dcf7146cb1 feat: Add comprehensive commit and PR workflows as generic tasks
- Created create-comprehensive-commit.md task with anti-tunnel vision mechanisms
  - Multi-stream aware commit message generation
  - Systematic evidence gathering from multiple sources
  - Comprehensive context analysis and rationale documentation
  - Quality checklist to prevent tunnel vision

- Created create-comprehensive-pr.md task for detailed PR descriptions
  - Work stream identification and documentation
  - Per-stream testing instructions
  - Visual evidence requirements
  - Review focus areas and deployment notes

- Integrated workflows into dev and architect agents
  - Added *comprehensive-commit command
  - Added *comprehensive-pr command
  - Made workflows available to agents who create commits/PRs

These workflows ensure high-quality git documentation with comprehensive
coverage of all changes, preventing the tunnel vision that often results
in incomplete commit messages or PR descriptions.
2025-07-20 18:25:07 +02:00
Lucas C 44e14f26ed fix: Refactor ADR and Dev Journal features for destination projects
- Removed unnecessary folders from BMAD-METHOD repo (docs/adr, docs/devJournal)
- Updated tasks to create folders in destination projects when needed
- Removed standalone adr-specialist agent (functionality integrated into architect)
- Added create-adr task with folder setup instructions
- Both ADR and Dev Journal features now properly create their structures in target projects

The agents will now create and maintain docs/adr and docs/devJournal folders
in the projects where BMAD is installed, not in the BMAD-METHOD repo itself.
2025-07-20 18:19:21 +02:00
Lucas C 91bdb490ed feat: Add ADR integration and user methodology files
- Created comprehensive ADR template following Michael Nygard's format
- Enhanced architect agent with ADR management capabilities
- Added ADR triggers reference guide for decision documentation
- Updated architect checklist with ADR validation section
- Imported user's comprehensive development methodology in tmp/
  - Memory Bank system for AI context persistence
  - Detailed rules covering coding principles and architecture patterns
  - Workflows for common development tasks with anti-tunnel vision checks
- Created foundation for integrating user methodology with BMAD
- Fixed pre-commit hook by removing non-existent test script

This enhancement brings structured architectural decision documentation
to BMAD while preparing for deeper integration with advanced AI-assisted
development patterns.
2025-07-20 18:07:09 +02:00
Brian Madison 49e489701e fix: lint fix 2025-07-19 10:07:34 -05:00
Brian Madison c6dc345b95 direct commands in agents 2025-07-19 00:30:42 -05:00
Brian Madison 3621c330e6 fix: improve agent task folowing in agressing cost saving ide model combos 2025-07-14 00:06:25 -05:00
Brian Madison afea271e5e fix: annoying YAML lint error 2025-07-13 15:51:46 -05:00
Brian Madison 6b860bfee4 improve agent performance in claude code slash commands 2025-07-13 11:53:22 -05:00
Brian Madison 24a35ff2c4 core agents alignment 2025-07-12 20:16:05 -05:00
Brian Madison 3c13c56498 feat: bmad-master can load kb properly 2025-07-12 10:27:21 -05:00
Brian Madison db302309f4 fix: installer improvement 2025-07-07 22:11:32 -05:00
Brian Madison cadf8b6750 fix: installer for github copilot asks follow up questions right away now so it does not seem to hang, and some minor doc improvements 2025-07-07 20:46:55 -05:00
Brian Madison 1b86cd4db3 fix: doc updates 2025-07-06 20:51:40 -05:00
Brian Madison 92201ae7ed fix: build web bundles with new file extension includsion 2025-07-06 19:39:34 -05:00
Brian Madison 746ba573fa specify md ot yaml 2025-07-06 18:26:09 -05:00
Brian Madison 339745c3f3 combine startup with activation in agent files 2025-07-06 16:07:39 -05:00
Brian Madison b78537115d feat: experimental doc creator v2 and template system 2025-07-06 12:11:55 -05:00
Brian Madison 5fc69d773a web build optimization 2025-07-06 10:32:39 -05:00
Brian Madison c107af0598 feat: WIP create-docv2 2025-07-06 00:10:00 -05:00
Brian Madison 9f53caf4c6 feat: Massive improvement to the brainstorming task! 2025-07-04 23:36:18 -05:00
Brian Madison 42684e68af fix: update web bundles 2025-07-04 21:31:52 -05:00
Brian Madison 3520fae655 minor updates 2025-07-04 21:27:50 -05:00
Brian Madison 2874a54a9b feat: improvements to agent task usage, sm story drafting, dev implementation, qa review process, and addition of a new sm independant review of a draft story 2025-07-04 21:18:16 -05:00
Brian Madison 1c845e5b2c fix: version bump and web build fix 2025-07-04 12:39:17 -05:00
Brian Madison 094f9f3eab fix: yaml standardization in files and installer actions 2025-07-04 11:53:57 -05:00
Brian Madison f440d14565 doc and text cleanup 2025-07-04 07:47:57 -05:00
Brian Madison a4c0b1839d fix: standardize on file extension .yaml instead of a mix of yml and yaml 2025-07-02 19:59:49 -05:00
Brian Madison 731589aa28 feat: workflow plans introduced, preliminary feature under review 2025-07-01 22:46:59 -05:00
Brian Madison c881dcc48f feat: Massive documentation refactor, added explanation of the new expanded role of the QA agent that will make your code quality MUCH better. 2 new diagram clearly explain the role of the pre dev ideation cycle (prd and architecture) and the details of how the dev cycle works. 2025-06-29 09:05:41 -05:00
Brian Madison 3af3d33d4a feat: enhance QA agent as senior developer with code review capabilities and major brownfield improvements
This release introduces significant enhancements across multiple areas:

QA Agent Transformation:
- Transform QA agent into senior developer role with active code refactoring abilities
- Add review-story task enabling QA to review, refactor, and improve code directly
- Integrate QA review step into standard development workflow (SM → Dev → QA)
- QA can fix small issues directly and leave checklist for remaining items
- Updated dev agent to maintain File List for QA review focus

Knowledge Base Improvements:
- Add extensive brownfield development documentation and best practices
- Clarify Web UI vs IDE usage with cost optimization strategies
- Document PRD-first approach for large codebases/monorepos
- Add comprehensive expansion packs explanation
- Update IDE workflow to include QA review step
- Clarify agent usage (bmad-master vs specialized agents)

Brownfield Enhancements:
- Create comprehensive Working in the Brownfield guide
- Add document-project task to analyst agent capabilities
- Implement PRD-first workflow option for focused documentation
- Transform document-project to create practical brownfield architecture docs
- Document technical debt, workarounds, and real-world constraints
- Reference actual files instead of duplicating content
- Add impact analysis when PRD is provided

Documentation Task Improvements:
- Simplify to always create ONE unified architecture document
- Add deep codebase analysis phase with targeted questions
- Focus on documenting reality including technical debt
- Include Quick Reference section with key file paths
- Add practical sections: useful commands, debugging tips, known issues

Workflow Updates:
- Update all 6 workflow files with detailed IDE transition instructions
- Add clear SM → Dev → QA → Dev cycle explanation
- Emphasize Gemini Web for brownfield analysis (1M+ context advantage)
- Support both PRD-first and document-first approaches

This release significantly improves the brownfield development experience and introduces a powerful shift-left QA approach with senior developer mentoring.
2025-06-24 23:56:57 -05:00
gabadi 45110ffffe
feat(dev-agent): add quality gates to prevent task completion with failing validations (#261)
Issue Being Solved:
Dev agent was marking tasks as complete even when tests/lint/typecheck failed,
causing broken code to reach merge and creating technical debt.

Gap in System:
Missing explicit quality gates in dev agent configuration to block task completion
until all automated validations pass.

Solution:
- Add "Quality Gate Discipline" core principle
- Update task execution flow: Execute validations→Only if ALL pass→Update [x]
- Add "Failing validations" to blocking conditions
- Simplify completion criteria to focus on validation success

Alignment with BMAD Core Principles:
- Quality-First: Prevents defective code progression through workflow
- Agent Excellence: Ensures dev agent maintains high standards
- Technology Agnostic: Uses generic "validations" concept vs specific tools

Small, focused change that strengthens existing dev agent without architectural changes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-06-22 21:49:18 -05:00
Brian Madison ff6112d6c2 feat: Core Config and doc sharding is now optional in v4 2025-06-19 18:57:19 -05:00
Brian Madison 0e5aaf07bb feat: dev can use debug log configured in core-config.yml 2025-06-19 13:36:21 -05:00
Brian Madison 2f2a1e72d6 feat: update web builder to remove IDE-specific properties from agent bundles
- Remove 'root' property from YAML when building web bundles
- Remove 'IDE-FILE-RESOLUTION' and 'REQUEST-RESOLUTION' properties
- Filter out IDE-specific activation instructions
- Keep agent header minimal for web bundles
- Ensures web bundles are clean of IDE-specific configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 13:21:26 -05:00
Brian Madison d75cf9e032 refactor: simplify file resolution to concise activation instructions
- Added two concise activation instructions to SM agent
- IDE-FILE-RESOLUTION: One-line explanation of file path mapping
- REQUEST-RESOLUTION: One-line instruction for flexible request matching
- Simplified file-resolution-context.md to be a quick reference
- Removed verbose documentation in favor of clear, actionable instructions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 13:06:45 -05:00
Brian Madison 74d9bb4b2b feat: add file resolution context for IDE agents
- Added file resolution section to SM agent explaining path patterns
- Created reusable file-resolution-context.md utility
- Documents how agents resolve tasks/templates/checklists to file paths
- Provides natural language to command mapping examples
- Helps IDE agents understand file system structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 13:02:17 -05:00
Brian Madison aea7f3cc86 fix: installer has fast v4 update option now to keep the bmad method up to date with changes easily without breaking any customizations from the user. The SM and DEV are much more configurable to find epics stories and architectureal information when the prd and architecture are deviant from v4 templates and/or have not been sharded. so a config will give the user the option to configure the SM to use the full large documents or the sharded versions! 2025-06-19 12:55:16 -05:00
Brian Madison 61ab1161e5 fix: SM fixed file resolution issue in v4 2025-06-18 22:53:26 -05:00
Brian Madison 3727cc764a fix: orchestractor yml 2025-06-17 22:22:05 -05:00
Brian Madison b03aece79e feat: removed some templates that are not ready for use 2025-06-17 22:04:24 -05:00
Brian 595342cb10
Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232)
* feat: add expansion pack installation system with game dev and infrastructure expansion packs

- Added expansion pack discovery and installation to BMAD installer
- Supports interactive and CLI installation of expansion packs
- Expansion pack files install to destination root (.bmad-core)
- Added game development expansion pack (.bmad-2d-phaser-game-dev)
  - Game designer, developer, and scrum master agents
  - Game-specific templates, tasks, workflows, and guidelines
  - Specialized for Phaser 3 + TypeScript development
- Added infrastructure devops expansion pack (.bmad-infrastructure-devops)
  - Platform engineering agent and infrastructure templates
- Expansion pack agents automatically integrate with IDE rules
- Added list:expansions command and --expansion-packs CLI option

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* alpha expansion packs and installer update to support installing expansion packs optionally

* node20

---------

Co-authored-by: Brian Madison <brianmadison@Brians-MacBook-Pro.local>
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-16 18:34:12 -05:00
Brian Madison 7c71e1f815 moved bmad-core to dot folder so when adding to project it is clear its not part of the project it is added to 2025-06-13 19:11:17 -05:00
Brian Madison bf09224e05 web bundles and build script updated 2025-06-12 20:52:41 -05:00
Brian Madison 576f05a9d0 agent consolidation 2025-06-12 19:36:12 -05:00