BMAD-METHOD/bmad-core/tasks
Serhii 8c2f51e4f0
feat: Add VCS workflow auto-detection with hybrid approach
Implements "detection as a HINT, not a DECISION" principle for brownfield projects.

Key improvements:
- Auto-detect GitFlow, GitHub Flow, and Trunk-based workflows
- Confidence scoring with 70% threshold for suggestions
- Migration detection between workflow patterns
- Progressive clarifying questions for unclear cases
- Comprehensive test suite with mock Git repository
- Working Python implementation example
- 7-day result caching with user confirmation
- Escape hatches for advanced users (--skip-detection)

Files added:
- bmad-core/examples/vcs-detection-implementation.py: Complete working implementation
- bmad-core/tests/test_vcs_detection.py: Unit tests for detection logic
- docs/VCS_DETECTION_CONFIDENCE.md: Detailed confidence scoring documentation

Files modified:
- bmad-core/tasks/discover-vcs.md: Enhanced with Step 0 auto-detection logic

This maintains BMAD's core philosophy while significantly improving user experience
for existing repositories. Auto-detection saves time while always respecting
user choice and workflow preferences.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-16 06:06:18 +03:00
..
advanced-elicitation.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
apply-qa-fixes.md feat(opencode): add JSON-only integration and compact AGENTS.md generator (#570) 2025-09-11 17:44:41 -05:00
brownfield-create-epic.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
brownfield-create-story.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
correct-course.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
create-brownfield-story.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
create-deep-research-prompt.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
create-next-story.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
create-vcs-adapted-doc.md feat(templates): Add VCS adaptation templates 2025-09-15 09:29:01 +03:00
discover-vcs.md feat: Add VCS workflow auto-detection with hybrid approach 2025-09-16 06:06:18 +03:00
document-project.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
facilitate-brainstorming-session.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
generate-ai-frontend-prompt.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
index-docs.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
kb-mode-interaction.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
nfr-assess.md feat(opencode): add JSON-only integration and compact AGENTS.md generator (#570) 2025-09-11 17:44:41 -05:00
qa-gate.md feat(opencode): add JSON-only integration and compact AGENTS.md generator (#570) 2025-09-11 17:44:41 -05:00
review-story.md feat(opencode): add JSON-only integration and compact AGENTS.md generator (#570) 2025-09-11 17:44:41 -05:00
risk-profile.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
shard-doc.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
test-design.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
trace-requirements.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
validate-next-story.md fix: Template file extension in validation next story steps (#523) 2025-09-06 13:40:30 -05:00