Commit Graph

22 Commits

Author SHA1 Message Date
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 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 db302309f4 fix: installer improvement 2025-07-07 22:11:32 -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 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 094f9f3eab fix: yaml standardization in files and installer actions 2025-07-04 11:53:57 -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 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 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 576f05a9d0 agent consolidation 2025-06-12 19:36:12 -05:00