From d558e8f982749f60049d3339509610a967aa6245 Mon Sep 17 00:00:00 2001 From: Serhii Date: Sat, 13 Sep 2025 16:37:57 +0300 Subject: [PATCH] feat: Add conditional Git Workflow Complexity section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added Git Workflow Complexity section to architecture template after high-level-architecture. This section helps define project's Git branching and review process with three complexity levels: - Simple: Feature branches, direct merges - Medium: Epic branches, QA gates - Complex: Release branches, hotfix branches, audit gates The chosen level guides Scrum Master when generating git-related stories. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- bmad-core/templates/architecture-tmpl.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bmad-core/templates/architecture-tmpl.yaml b/bmad-core/templates/architecture-tmpl.yaml index f5d508aa..83f3e92d 100644 --- a/bmad-core/templates/architecture-tmpl.yaml +++ b/bmad-core/templates/architecture-tmpl.yaml @@ -123,6 +123,22 @@ sections: - "**Repository Pattern:** Abstract data access logic - _Rationale:_ Enables testing and future database migration flexibility" - "**Event-Driven Communication:** Using SNS/SQS for service decoupling - _Rationale:_ Supports async processing and system resilience" + - id: git-workflow + title: Git Workflow Complexity + condition: Project uses Git version control + instruction: | + Define the expected Git branching and review process for this project. + The chosen level will guide the Scrum Master when generating stories + for git operations (branch creation, PRs, merges, tags). + Options: + - Simple: Feature branches, direct merges to main, lightweight reviews. + - Medium: Epic branches, story-based merges, QA gate required before merge. + - Complex: Release branches, hotfix branches, audit gates, formal tagging policy. + + Be clear and concise: pick the minimum viable level of complexity + needed to balance developer velocity, quality control, and compliance. + elicit: true + - id: tech-stack title: Tech Stack instruction: |