Commit Graph

613 Commits

Author SHA1 Message Date
vforvaick 15298d0bb6 docs: Add comprehensive GitHub installation guide for TDD methodology 2025-09-02 15:31:16 +07:00
vforvaick 873ba8789c feat: Update build artifacts with TDD methodology expansion pack 2025-09-02 15:29:18 +07:00
vforvaick 93cabd19e9 feat: Add bmad-tdd-methodology expansion pack 2025-09-02 15:07:12 +07:00
vforvaick 8f69726eb6 feat: Add TDD methodology expansion pack with QA agent enhancements 2025-09-02 14:59:48 +07:00
vforvaick b877a725e2 feat(expansion): Add TDD Methodology Expansion Pack evaluation and documentation
- Enhanced TDD expansion pack README with production-ready status
- Complete TDD evaluation report with 9.5/10 rating
- Calculator demo documentation and findings
- Pull request template with comprehensive contribution details

This adds essential documentation for the TDD expansion pack based on
successful evaluation using a working calculator project that achieved:
- 100% test coverage with 21 comprehensive test cases
- Complete Red-Green-Refactor TDD cycle documentation
- Seamless integration with existing BMAD framework
- Production-ready status with zero breaking changes

Ready for production deployment as optional expansion pack.
2025-09-01 21:42:47 +07:00
vforvaick 69609e93f0 feat(expansion): Complete TDD methodology expansion pack
- Organized all TDD-related files into expansion pack structure
- Created comprehensive installation guide (INSTALL.md)
- Added migration guide for existing projects (MIGRATION.md)
- Included all TDD components:
  - Enhanced QA and Dev agent configurations
  - TDD-specific tasks (write-failing-tests, tdd-implement, tdd-refactor)
  - Quality gates and CI/CD templates
  - Guard scripts for TDD validation
  - Complete demo example

The expansion pack is ready for contribution to BMAD-METHOD repository.
It maintains full backward compatibility and can be enabled/disabled
through configuration.
2025-09-01 21:27:51 +07:00
vforvaick 3a7e432bcd feat(expansion): Initialize TDD methodology expansion pack structure
- Created expansion pack directory structure
- Added README with comprehensive documentation
- Prepared directories for agents, tasks, templates, scripts, and examples

This expansion pack adds TDD capabilities to the BMAD-METHOD, including:
- Enhanced QA and Dev agents for TDD phases
- TDD-specific commands and workflows
- Quality gates and CI/CD integration
- Example implementations
2025-09-01 21:21:38 +07:00
vforvaick 6f109064e6 feat: Add TDD demo story and implementation structure
Add example story for User Email Validation TDD workflow:
- Complete story with acceptance criteria in Gherkin format
- Technical requirements and test plan with test IDs
- TDD phase progress tracking (currently red)
- Implementation tasks for Dev agent
- Directory structure for JS and Python demo implementations

This demo story provides teams with a practical example to reproduce
the red-green-refactor TDD cycle using BMAD framework and methodology.
2025-09-01 21:16:27 +07:00
vforvaick 173453636a feat: Enhance QA and Dev agents with TDD capabilities
- Update QA agent (qa.md) with TDD Red phase commands:
  - *tdd-start: Initialize TDD for story
  - *write-failing-tests: Generate failing tests (Red phase)
  - *tdd-refactor: Participate in refactor with safety checks
  - Add TDD methodology and test isolation principles

- Update Dev agent (dev.md) with TDD Green/Refactor phase commands:
  - *tdd-implement: Implement minimal code to pass tests (Green phase)
  - *make-tests-pass: Iterative test-driven implementation
  - *tdd-refactor: Collaborate on safe refactoring
  - Add TDD discipline and test-first validation rules

- Enhance test-design.md with TDD-first support:
  - Add TDD mode for Red phase test design
  - Mocking strategy selection matrix (mock/fake/stub)
  - Smallest-next-test principle
  - Deterministic test data strategies

- Create TDD quality gates template (tdd-quality-gates.md):
  - Phase-specific gate criteria (Red/Green/Refactor)
  - Pass/Fail/Concerns criteria per phase
  - Recovery procedures for gate failures
  - Integration with existing BMAD quality gates

All agents now support both traditional and TDD workflows.
TDD features are conditionally available when tdd.enabled=true.
2025-09-01 21:08:40 +07:00
vforvaick 36ca3c1bfa feat: Add TDD infrastructure and scaffold files
- Create TDD tasks: write-failing-tests.md, tdd-implement.md, tdd-refactor.md
- Add TDD story template with frontmatter metadata tracking
- Implement TDD-specific Definition of Done checklist
- Create TDD workflow orchestration (Red-Green-Refactor cycle)
- Add TDD prompts for QA (Red), Dev (Green), and Refactor phases
- Configure test runner auto-detection for JS/TS, Python, Go, Java, .NET, Ruby
- Update core-config.yaml with TDD settings (disabled by default)
- Add story frontmatter schema with TDD metadata fields

All files pass linting and formatting checks.
Backward compatible - TDD disabled by default (tdd.enabled: false)
2025-09-01 21:04:40 +07:00
Brian Madison fbd8f1fd73 Expansion pack doc correction 2025-08-31 22:15:40 -05:00
Brian Madison 384e17ff2b docs: remove misplaced Codex section from README
- Remove IDE-specific Codex documentation from end of README
- This content was oddly placed after the footer
- IDE-specific docs should be in separate documentation
2025-08-31 22:05:29 -05:00
Brian Madison b9bc196e7f chore: sync version to 4.42.1 after release
- Update package.json to match published npm version
- Update installer package.json to match
2025-08-31 21:57:39 -05:00
Brian Madison 0a6cbd72cc chore: bump version to 4.42.0 for release
- Update main package.json to 4.42.0
- Update installer package.json to 4.42.0
- Add PR validation workflow and contribution checks
- Add pre-release and fix scripts
- Update CONTRIBUTING.md with validation requirements
2025-08-31 21:45:21 -05:00
Brian e2e8d44e5d
test: trigger PR validation (#533)
Co-authored-by: Brian Madison <brianmadison@Brians-MacBook-Pro.local>
2025-08-31 20:34:39 -05:00
Brian Madison fb70c20067 feat: add PR validation workflow and contribution checks 2025-08-31 20:30:52 -05:00
Jonathan Borgwing 05736fa069
feat(installer): add Codex CLI + Codex Web modes, generate AGENTS.md, inject npm scripts, and docs (#529) 2025-08-31 17:48:03 -05:00
Bragatte 052e84dd4a
feat: implement fork-friendly CI/CD with opt-in mechanism (#476)
- CI/CD disabled by default in forks to conserve resources
- Users can enable via ENABLE_CI_IN_FORK repository variable
- Added comprehensive Fork Guide documentation
- Updated README with Contributing section
- Created automation script for future implementations

Benefits:
- Saves GitHub Actions minutes across 1,600+ forks
- Cleaner fork experience for contributors
- Full control for fork owners
- PR validation still runs automatically

BREAKING CHANGE: CI/CD no longer runs automatically in forks.
Fork owners must set ENABLE_CI_IN_FORK=true to enable workflows.

Co-authored-by: Brian <bmadcode@gmail.com>
Co-authored-by: PinkyD <paulbeanjr@gmail.com>
2025-08-30 22:15:31 -05:00
Piatra Automation f054d68c29
fix: correct dependency path format in bmad-master agent (#495)
- Change 'Dependencies map to root/type/name' to 'Dependencies map to {root}/{type}/{name}'
- Fixes path resolution issue where 'root' was treated as literal directory name
- Ensures proper variable interpolation for dependency file loading
- Resolves agent inability to find core-config.yaml and other project files
2025-08-30 22:14:52 -05:00
Wang-tianhao 44836512e7
Update dev.md (#491)
To avoid AI creating new folder for a new story tasks
2025-08-30 22:10:02 -05:00
Chris Calo bf97f05190
typo in README.md (#515) 2025-08-26 23:57:41 -05:00
Kayvan Sylvan a900d28080
chore: update project dependencies and development tooling (#508)
- Update various direct and transitive project dependencies.
- Remove the circular `bmad-method` self-dependency.
- Upgrade ESLint, Prettier, Jest, and other dev tools.
- Update semantic-release and related GitHub packages.

Co-authored-by: Kayvan Sylvan <kayvan@meanwhile.bm>
2025-08-24 21:45:18 -05:00
circus ab70baca59
fix: remove incorrect else branch causing flatten command regression (#452)
This fixes a regression bug where the flatten command would fail with an
error message even when valid arguments were provided.

The bug was:
- First introduced in commit 0fdbca7
- Fixed in commit fab9d5e (v5.0.0-beta.2)
- Accidentally reintroduced in commit ed53943

The else branch at lines 130-134 was incorrectly handling the case when
users provided arguments, showing a misleading error about
'no arguments provided' when arguments were actually present.

Fixes all flatten command variations:
- npx bmad-method flatten
- npx bmad-method flatten --input /path
- npx bmad-method flatten --output file.xml
- npx bmad-method flatten --input /path --output file.xml

Co-authored-by: Brian <bmadcode@gmail.com>
2025-08-17 22:09:56 -05:00
Brian Madison 80d73d9093 fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
Brian Madison f3cc410fb0 patch: move script to tools folder 2025-08-17 11:04:27 -05:00
Brian Madison 868ae23455 fix: previous merge set wrong default install location 2025-08-17 11:01:20 -05:00
Brian Madison 9de873777a fix: prettier fixes 2025-08-17 07:51:46 -05:00
Brian Madison 04c485b72e chore: bump to 4.39.1 to fix installer version display 2025-08-17 07:13:09 -05:00
Brian Madison 68eb31da77 fix: update installer version display to show 4.39.0 2025-08-17 07:12:53 -05:00
Brian Madison c00d0aec88 chore: rollback to v4.39.0 from v5.x semantic versioning 2025-08-17 07:07:30 -05:00
Brian Madison 6543cb2a97 chore: bump version to 5.1.4 2025-08-17 00:30:15 -05:00
Brian Madison b6fe44b16e fix: alphabetize agent commands and dependencies for improved organization
- Alphabetized all commands in agent files while maintaining help first and exit last
- Alphabetized all dependency categories (checklists, data, tasks, templates, utils, workflows)
- Alphabetized items within each dependency category across all 10 core agents:
  - analyst.md: commands and dependencies reorganized
  - architect.md: commands and dependencies reorganized
  - bmad-master.md: commands and dependencies reorganized, fixed YAML parsing issue
  - bmad-orchestrator.md: commands and dependencies reorganized
  - dev.md: commands and dependencies reorganized
  - pm.md: commands and dependencies reorganized
  - po.md: commands and dependencies reorganized
  - qa.md: commands and dependencies reorganized
  - sm.md: commands and dependencies reorganized
  - ux-expert.md: commands and dependencies reorganized
- Fixed YAML parsing error in bmad-master.md by properly quoting activation instructions
- Rebuilt all agent bundles and team bundles successfully
- Updated expansion pack bundles including new creative writing agents

This improves consistency and makes it easier to locate specific commands and dependencies
across all agent configurations.
2025-08-17 00:30:04 -05:00
Brian Madison ac09300075 temporarily remove GCP agent system until it is completed in the experimental branch 2025-08-17 00:06:09 -05:00
DrBalls b756790c17
Add Creative Writing expansion pack (#414)
* Add Creative Writing expansion pack
- 10 specialized writing agents for fiction and narrative design
- 8 complete workflows (novel, screenplay, short story, series)
- 27 quality checklists for genre and technical validation
- 22 writing tasks covering full creative process
- 8 professional templates for structured writing
- KDP publishing integration support

* Fix bmad-creative-writing expansion pack formatting and structure

- Convert all agents to standard BMAD markdown format with embedded YAML
- Add missing core dependencies (create-doc, advanced-elicitation, execute-checklist)
- Add bmad-kb.md customized for creative writing context
- Fix agent dependency references to only include existing files
- Standardize agent command syntax and activation instructions
- Clean up agent dependencies for beta-reader, dialog-specialist, editor, genre-specialist, narrative-designer, and world-builder

---------

Co-authored-by: Brian <bmadcode@gmail.com>
2025-08-16 23:55:43 -05:00
Anthony 49347a8cde
Feat(Expansion Pack): Part 2 - Agent System Templates (#370)
Co-authored-by: Brian <bmadcode@gmail.com>
2025-08-16 23:47:30 -05:00
Brian, with AI 335e1da271
fix: add default current directory to installer prompt (#444)
Previously users had to manually type the full path or run pwd to get
the current directory when installing BMad. Now the installer prefills
the current working directory as the default, improving UX.

Co-authored-by: its-brianwithai <brian@ultrawideturbodev.com>
2025-08-16 22:08:06 -05:00
Brian Madison 6e2fbc6710 docs: add sync-version.sh script to troubleshooting section 2025-08-16 22:03:19 -05:00
Brian Madison 45dd7d1bc5 add: sync-version.sh script for easy version syncing 2025-08-16 22:02:12 -05:00
manjaroblack db80eda9df
refactor: centralize qa paths in core-config.yaml and update agent activation flows (#451)
Co-authored-by: Brian <bmadcode@gmail.com>
2025-08-16 21:38:33 -05:00
Brian Madison f5272f12e4 sync: update to published version 5.1.3 2025-08-16 21:35:12 -05:00
Brian Madison 26890a0a03 sync: update versions to 5.1.2 to match published release 2025-08-16 21:20:17 -05:00
Brian Madison cf22fd98f3 fix: correct version to 5.1.1 after patch release
- npm latest tag now correctly points to 5.1.0
- package.json updated to 5.1.1 (what patch should have made)
- installer version synced
2025-08-16 21:10:46 -05:00
Brian Madison fe318ecc07 sync: update package.json to match published version 5.0.1 2025-08-16 21:09:36 -05:00
Brian Madison f959a07bda fix: update installer package.json version to 5.1.0
- Fixes version reporting in npx bmad-method --version
- Ensures installer displays correct version number
2025-08-16 21:04:32 -05:00
Brian Madison c0899432c1 fix: simplify npm publishing to use latest tag only
- Remove stable tag complexity from workflow
- Publish directly to latest tag (default for npx)
- Update documentation to reflect single tag approach
2025-08-16 20:58:22 -05:00
Brian Madison 8573852a6e docs: update versioning and releases documentation
- Replace old semantic-release documentation with new simplified system
- Document command line release workflow (npm run release:*)
- Explain automatic release notes generation and categorization
- Add troubleshooting section and preview functionality
- Reflect current single @stable tag installation approach
2025-08-16 20:50:22 -05:00
Brian Madison 39437e9268 fix: handle protected branch in manual release workflow
- Allow workflow to continue even if push to main fails
- This is expected behavior with protected branches
- NPM publishing and GitHub releases will still work
2025-08-16 20:44:00 -05:00
Brian Madison 1772a30368 fix: enable version bumping in manual release workflow
- Fix version-bump.js to actually update package.json version
- Add tag existence check to prevent duplicate tag errors
- Remove semantic-release dependency from version bumping
2025-08-16 20:42:35 -05:00
Brian Madison ba4fb4d084 feat: add convenient npm scripts for command line releases
- npm run release:patch/minor/major for triggering releases
- npm run release:watch for monitoring workflow progress
- One-liner workflow: preview:release && release:minor && release:watch
2025-08-16 20:38:58 -05:00
Brian Madison 3eb706c49a feat: enhance manual release workflow with automatic release notes
- Add automatic release notes generation from commit history
- Categorize commits into Features, Bug Fixes, and Maintenance
- Include installation instructions and changelog links
- Add preview-release-notes script for testing
- Update GitHub release creation to use generated notes
2025-08-16 20:35:41 -05:00