bmad-method 6.0.0-alpha.5 → 6.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/bmad-analysis/api-documenter.md +102 -0
- package/.claude/agents/bmad-analysis/codebase-analyzer.md +82 -0
- package/.claude/agents/bmad-analysis/data-analyst.md +101 -0
- package/.claude/agents/bmad-analysis/pattern-detector.md +84 -0
- package/.claude/agents/bmad-planning/dependency-mapper.md +83 -0
- package/.claude/agents/bmad-planning/epic-optimizer.md +81 -0
- package/.claude/agents/bmad-planning/requirements-analyst.md +61 -0
- package/.claude/agents/bmad-planning/technical-decisions-curator.md +168 -0
- package/.claude/agents/bmad-planning/trend-spotter.md +115 -0
- package/.claude/agents/bmad-planning/user-journey-mapper.md +123 -0
- package/.claude/agents/bmad-planning/user-researcher.md +72 -0
- package/.claude/agents/bmad-research/market-researcher.md +51 -0
- package/.claude/agents/bmad-research/tech-debt-auditor.md +106 -0
- package/.claude/agents/bmad-review/document-reviewer.md +102 -0
- package/.claude/agents/bmad-review/technical-evaluator.md +68 -0
- package/.claude/agents/bmad-review/test-coverage-analyzer.md +108 -0
- package/.claude/commands/bmad/bmm/workflows/README.md +2 -2
- package/.claude/commands/bmad/bmm/workflows/prd.md +1 -1
- package/.claude/commands/bmad/bmm/workflows/tech-spec.md +3 -3
- package/.claude/commands/bmad/core/workflows/README.md +0 -10
- package/.claude/settings.local.json +3 -4
- package/CONTRIBUTING.md +1 -13
- package/bmad/_cfg/agent-manifest.csv +0 -6
- package/bmad/_cfg/files-manifest.csv +26 -78
- package/bmad/_cfg/ides/claude-code.yaml +4 -3
- package/bmad/_cfg/manifest.yaml +3 -5
- package/bmad/_cfg/task-manifest.csv +0 -4
- package/bmad/_cfg/tool-manifest.csv +0 -1
- package/bmad/_cfg/workflow-manifest.csv +2 -8
- package/bmad/bmb/config.yaml +2 -2
- package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/bmad/bmm/config.yaml +4 -3
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
- package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
- package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
- package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +1 -1
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
- package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
- package/bmad/bmm/workflows/techdoc/documentation-standards.md +24 -1
- package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
- package/bmad/core/config.yaml +2 -2
- package/package.json +1 -1
- package/src/modules/bmm/_module-installer/install-config.yaml +5 -0
- package/src/modules/bmm/docs/README.md +10 -9
- package/src/modules/bmm/docs/agents-guide.md +1 -1
- package/src/modules/bmm/docs/brownfield-guide.md +5 -6
- package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
- package/src/modules/bmm/docs/faq.md +6 -6
- package/src/modules/bmm/docs/glossary.md +8 -8
- package/src/modules/bmm/docs/quick-spec-flow.md +3 -3
- package/src/modules/bmm/docs/quick-start.md +5 -5
- package/src/modules/bmm/docs/scale-adaptive-system.md +1 -1
- package/src/modules/bmm/docs/test-architecture.md +329 -0
- package/src/modules/bmm/docs/troubleshooting.md +6 -6
- package/src/modules/bmm/docs/workflows-analysis.md +64 -28
- package/src/modules/bmm/docs/workflows-implementation.md +196 -1670
- package/src/modules/bmm/docs/workflows-planning.md +74 -35
- package/src/modules/bmm/docs/workflows-solutioning.md +46 -16
- package/src/modules/bmm/workflows/techdoc/documentation-standards.md +24 -1
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
- package/tools/cli/installers/lib/core/config-collector.js +39 -11
- package/tools/cli/installers/lib/core/ide-config-manager.js +3 -1
- package/tools/cli/installers/lib/core/installer.js +20 -9
- package/tools/cli/installers/lib/core/manifest-generator.js +3 -1
- package/tools/cli/installers/lib/core/manifest.js +6 -2
- package/tools/cli/installers/lib/modules/manager.js +6 -0
- package/tools/cli/lib/config.js +3 -1
- package/tools/cli/lib/ui.js +5 -5
- package/tools/cli/lib/yaml-format.js +2 -1
- package/tools/schema/agent.js +2 -0
- package/.claude/commands/bmad/bmm/agents/paige.md +0 -82
- package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +0 -15
- package/bmad/_cfg/agents/bmm-paige.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-storyteller.customize.yaml +0 -42
- package/bmad/bmb/agents/bmad-builder.md.bak +0 -70
- package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +0 -23
- package/bmad/bmb/workflows/create-module/workflow.yaml.bak +0 -42
- package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml.bak +0 -39
- package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +0 -40
- package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +0 -33
- package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +0 -34
- package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +0 -27
- package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +0 -29
- package/bmad/bmb/workflows/redoc/workflow.yaml.bak +0 -32
- package/bmad/bmm/README.md.bak +0 -169
- package/bmad/bmm/agents/analyst.md.bak +0 -67
- package/bmad/bmm/agents/architect.md.bak +0 -73
- package/bmad/bmm/agents/dev.md.bak +0 -69
- package/bmad/bmm/agents/paige.md.bak +0 -82
- package/bmad/bmm/agents/pm.md.bak +0 -76
- package/bmad/bmm/agents/sm.md.bak +0 -85
- package/bmad/bmm/agents/tea.md.bak +0 -72
- package/bmad/bmm/agents/ux-designer.md.bak +0 -71
- package/bmad/bmm/docs/README.md +0 -235
- package/bmad/bmm/docs/agents-guide.md +0 -1057
- package/bmad/bmm/docs/brownfield-guide.md +0 -759
- package/bmad/bmm/docs/enterprise-agentic-development.md +0 -680
- package/bmad/bmm/docs/faq.md +0 -589
- package/bmad/bmm/docs/glossary.md +0 -321
- package/bmad/bmm/docs/party-mode.md +0 -224
- package/bmad/bmm/docs/quick-spec-flow.md +0 -652
- package/bmad/bmm/docs/quick-start.md +0 -366
- package/bmad/bmm/docs/scale-adaptive-system.md +0 -599
- package/bmad/bmm/docs/troubleshooting.md +0 -680
- package/bmad/bmm/docs/workflow-architecture-reference.md +0 -371
- package/bmad/bmm/docs/workflow-document-project-reference.md +0 -487
- package/bmad/bmm/docs/workflows-analysis.md +0 -670
- package/bmad/bmm/docs/workflows-implementation.md +0 -1758
- package/bmad/bmm/docs/workflows-planning.md +0 -1086
- package/bmad/bmm/docs/workflows-solutioning.md +0 -726
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +0 -60
- package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +0 -238
- package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +0 -27
- package/bmad/cis/README.md +0 -153
- package/bmad/cis/agents/README.md +0 -104
- package/bmad/cis/agents/brainstorming-coach.md +0 -62
- package/bmad/cis/agents/brainstorming-coach.md.bak +0 -62
- package/bmad/cis/agents/creative-problem-solver.md +0 -62
- package/bmad/cis/agents/creative-problem-solver.md.bak +0 -62
- package/bmad/cis/agents/design-thinking-coach.md +0 -62
- package/bmad/cis/agents/design-thinking-coach.md.bak +0 -62
- package/bmad/cis/agents/innovation-strategist.md +0 -62
- package/bmad/cis/agents/innovation-strategist.md.bak +0 -62
- package/bmad/cis/agents/storyteller.md +0 -59
- package/bmad/cis/agents/storyteller.md.bak +0 -59
- package/bmad/cis/config.yaml +0 -10
- package/bmad/cis/teams/creative-squad.yaml +0 -6
- package/bmad/cis/workflows/README.md +0 -139
- package/bmad/cis/workflows/design-thinking/README.md +0 -56
- package/bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
- package/bmad/cis/workflows/design-thinking/instructions.md +0 -200
- package/bmad/cis/workflows/design-thinking/template.md +0 -111
- package/bmad/cis/workflows/design-thinking/workflow.yaml +0 -32
- package/bmad/cis/workflows/innovation-strategy/README.md +0 -56
- package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
- package/bmad/cis/workflows/innovation-strategy/instructions.md +0 -274
- package/bmad/cis/workflows/innovation-strategy/template.md +0 -189
- package/bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -32
- package/bmad/cis/workflows/problem-solving/README.md +0 -56
- package/bmad/cis/workflows/problem-solving/instructions.md +0 -250
- package/bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
- package/bmad/cis/workflows/problem-solving/template.md +0 -165
- package/bmad/cis/workflows/problem-solving/workflow.yaml +0 -32
- package/bmad/cis/workflows/storytelling/README.md +0 -58
- package/bmad/cis/workflows/storytelling/instructions.md +0 -291
- package/bmad/cis/workflows/storytelling/story-types.csv +0 -26
- package/bmad/cis/workflows/storytelling/template.md +0 -113
- package/bmad/cis/workflows/storytelling/workflow.yaml +0 -32
- package/bmad/core/agents/bmad-master.md.bak +0 -71
|
@@ -277,7 +277,7 @@ It's better to spend 10-30 minutes generating fresh, accurate docs than to waste
|
|
|
277
277
|
|
|
278
278
|
**When to skip:** Bug fixes, well-understood features, time-sensitive changes
|
|
279
279
|
|
|
280
|
-
See [Workflows
|
|
280
|
+
See the [Workflows section in BMM README](../README.md) for details.
|
|
281
281
|
|
|
282
282
|
### Phase 2: Planning (Required)
|
|
283
283
|
|
|
@@ -736,11 +736,11 @@ flowchart TD
|
|
|
736
736
|
- **[Glossary](./glossary.md)** - Key terminology
|
|
737
737
|
- **[FAQ](./faq.md)** - Common questions
|
|
738
738
|
- **[Troubleshooting](./troubleshooting.md)** - Problem resolution
|
|
739
|
-
- **[
|
|
739
|
+
- **[Workflow Documentation](./README.md#-workflow-guides)** - Complete workflow reference
|
|
740
740
|
|
|
741
741
|
---
|
|
742
742
|
|
|
743
|
-
## Support
|
|
743
|
+
## Support and Resources
|
|
744
744
|
|
|
745
745
|
**Community:**
|
|
746
746
|
|
|
@@ -750,9 +750,8 @@ flowchart TD
|
|
|
750
750
|
|
|
751
751
|
**Documentation:**
|
|
752
752
|
|
|
753
|
-
- [
|
|
754
|
-
- [
|
|
755
|
-
- [BMM Module README](../README.md)
|
|
753
|
+
- [Test Architect Guide](./test-architecture.md) - Comprehensive testing strategy
|
|
754
|
+
- [BMM Module README](../README.md) - Complete module and workflow reference
|
|
756
755
|
|
|
757
756
|
---
|
|
758
757
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
## Table of Contents
|
|
10
10
|
|
|
11
11
|
- [The Paradigm Shift](#the-paradigm-shift)
|
|
12
|
-
- [The Evolving Role of Product Managers
|
|
12
|
+
- [The Evolving Role of Product Managers and UX Designers](#the-evolving-role-of-product-managers-and-ux-designers)
|
|
13
13
|
- [How BMad Method Enables PM/UX Technical Evolution](#how-bmad-method-enables-pmux-technical-evolution)
|
|
14
14
|
- [Team Collaboration Patterns](#team-collaboration-patterns)
|
|
15
15
|
- [Work Distribution Strategies](#work-distribution-strategies)
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
---
|
|
61
61
|
|
|
62
|
-
## The Evolving Role of Product Managers
|
|
62
|
+
## The Evolving Role of Product Managers and UX Designers
|
|
63
63
|
|
|
64
64
|
### The Future is Now
|
|
65
65
|
|
|
@@ -672,7 +672,7 @@ PMs write BMad PRDs → Stories auto-fed to cloud AI agents → Parallel impleme
|
|
|
672
672
|
- [FAQ](./faq.md) - Common questions
|
|
673
673
|
- [Scale Adaptive System](./scale-adaptive-system.md) - Project levels explained
|
|
674
674
|
- [Quick Start Guide](./quick-start.md) - Getting started
|
|
675
|
-
- [
|
|
675
|
+
- [Workflow Documentation](./README.md#-workflow-guides) - Complete workflow reference
|
|
676
676
|
- [Agents Guide](./agents-guide.md) - Understanding BMad agents
|
|
677
677
|
|
|
678
678
|
---
|
|
@@ -8,11 +8,11 @@ Quick answers to common questions about the BMad Method Module.
|
|
|
8
8
|
|
|
9
9
|
- [Getting Started](#getting-started)
|
|
10
10
|
- [Choosing the Right Level](#choosing-the-right-level)
|
|
11
|
-
- [Workflows
|
|
11
|
+
- [Workflows and Phases](#workflows-and-phases)
|
|
12
12
|
- [Planning Documents](#planning-documents)
|
|
13
13
|
- [Implementation](#implementation)
|
|
14
14
|
- [Brownfield Development](#brownfield-development)
|
|
15
|
-
- [Tools
|
|
15
|
+
- [Tools and Technical](#tools-and-technical)
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
@@ -26,7 +26,7 @@ Quick answers to common questions about the BMad Method Module.
|
|
|
26
26
|
- Creates the tracking status file
|
|
27
27
|
- Routes you to the correct starting workflow
|
|
28
28
|
|
|
29
|
-
For experienced users: use the [Quick Reference](./quick-start.md#quick-reference-agent
|
|
29
|
+
For experienced users: use the [Quick Reference](./quick-start.md#quick-reference-agent-document-mapping) to go directly to the right agent/workflow.
|
|
30
30
|
|
|
31
31
|
### Q: Why do I need fresh chats for each workflow?
|
|
32
32
|
|
|
@@ -108,7 +108,7 @@ The overlap (5-10 stories) is intentional. Choose based on:
|
|
|
108
108
|
|
|
109
109
|
---
|
|
110
110
|
|
|
111
|
-
## Workflows
|
|
111
|
+
## Workflows and Phases
|
|
112
112
|
|
|
113
113
|
### Q: What's the difference between workflow-status and workflow-init?
|
|
114
114
|
|
|
@@ -339,7 +339,7 @@ BMM respects your choice - it won't force modernization, but it will offer it.
|
|
|
339
339
|
|
|
340
340
|
---
|
|
341
341
|
|
|
342
|
-
## Tools
|
|
342
|
+
## Tools and Technical
|
|
343
343
|
|
|
344
344
|
### Q: Why are my Mermaid diagrams not rendering?
|
|
345
345
|
|
|
@@ -399,7 +399,7 @@ Use them together for best results.
|
|
|
399
399
|
|
|
400
400
|
**Why model quality matters:** BMM workflows require LLMs that can follow multi-step processes, maintain context across phases, and implement code that adheres to specifications. Tools with weaker models will struggle with workflow adherence and code quality.
|
|
401
401
|
|
|
402
|
-
See [IDE Setup Guides](
|
|
402
|
+
See [IDE Setup Guides](https://github.com/bmad-code-org/BMAD-METHOD/tree/main/docs/ide-info) for configuration specifics.
|
|
403
403
|
|
|
404
404
|
### Q: Can I customize agents?
|
|
405
405
|
|
|
@@ -7,11 +7,11 @@ Comprehensive terminology reference for the BMad Method Module.
|
|
|
7
7
|
## Navigation
|
|
8
8
|
|
|
9
9
|
- [Core Concepts](#core-concepts)
|
|
10
|
-
- [Scale
|
|
10
|
+
- [Scale and Complexity](#scale-and-complexity)
|
|
11
11
|
- [Planning Documents](#planning-documents)
|
|
12
|
-
- [Workflow
|
|
13
|
-
- [Agents
|
|
14
|
-
- [Status
|
|
12
|
+
- [Workflow and Phases](#workflow-and-phases)
|
|
13
|
+
- [Agents and Roles](#agents-and-roles)
|
|
14
|
+
- [Status and Tracking](#status-and-tracking)
|
|
15
15
|
- [Project Types](#project-types)
|
|
16
16
|
- [Implementation Terms](#implementation-terms)
|
|
17
17
|
|
|
@@ -41,7 +41,7 @@ A multi-step guided process that orchestrates AI agent activities to produce spe
|
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
-
## Scale
|
|
44
|
+
## Scale and Complexity
|
|
45
45
|
|
|
46
46
|
### Quick Flow Track
|
|
47
47
|
|
|
@@ -99,7 +99,7 @@ Game development equivalent of PRD, created by Game Designer agent for game proj
|
|
|
99
99
|
|
|
100
100
|
---
|
|
101
101
|
|
|
102
|
-
## Workflow
|
|
102
|
+
## Workflow and Phases
|
|
103
103
|
|
|
104
104
|
### Phase 0: Documentation (Prerequisite)
|
|
105
105
|
|
|
@@ -135,7 +135,7 @@ Dynamic technical guidance generated for each story via epic-tech-context and st
|
|
|
135
135
|
|
|
136
136
|
---
|
|
137
137
|
|
|
138
|
-
## Agents
|
|
138
|
+
## Agents and Roles
|
|
139
139
|
|
|
140
140
|
### PM (Product Manager)
|
|
141
141
|
|
|
@@ -183,7 +183,7 @@ Multi-agent collaboration feature where all installed agents (19+ from BMM, CIS,
|
|
|
183
183
|
|
|
184
184
|
---
|
|
185
185
|
|
|
186
|
-
## Status
|
|
186
|
+
## Status and Tracking
|
|
187
187
|
|
|
188
188
|
### bmm-workflow-status.yaml
|
|
189
189
|
|
|
@@ -277,7 +277,7 @@ For user-facing changes, Quick Spec Flow captures:
|
|
|
277
277
|
|
|
278
278
|
---
|
|
279
279
|
|
|
280
|
-
## Auto-Validation
|
|
280
|
+
## Auto-Validation and Quality Assurance
|
|
281
281
|
|
|
282
282
|
Quick Spec Flow **automatically validates** everything:
|
|
283
283
|
|
|
@@ -543,7 +543,7 @@ Quick Spec Flow is **fully standalone**:
|
|
|
543
543
|
|
|
544
544
|
---
|
|
545
545
|
|
|
546
|
-
## Tips
|
|
546
|
+
## Tips and Best Practices
|
|
547
547
|
|
|
548
548
|
### 1. **Be Specific in Discovery**
|
|
549
549
|
|
|
@@ -643,7 +643,7 @@ Quick Spec Flow is your **fast path from idea to implementation** for:
|
|
|
643
643
|
## Next Steps
|
|
644
644
|
|
|
645
645
|
- **Try it now:** Load PM agent and describe a small change
|
|
646
|
-
- **Learn more:** See
|
|
646
|
+
- **Learn more:** See the [BMM Workflow Guides](./README.md#-workflow-guides) for comprehensive workflow documentation
|
|
647
647
|
- **Need help deciding?** Run `workflow-init` to get a recommendation
|
|
648
648
|
- **Have questions?** Join us on Discord: https://discord.gg/gk8jAdXWmj
|
|
649
649
|
|
|
@@ -37,9 +37,9 @@ The interactive installer will guide you through setup and create a `bmad/` fold
|
|
|
37
37
|
|
|
38
38
|
### Step 1: Initialize Your Workflow
|
|
39
39
|
|
|
40
|
-
1. **Load the Analyst agent** in your IDE - See your IDE-specific instructions in [docs/ide-info](
|
|
41
|
-
- [Claude Code](
|
|
42
|
-
- [VS Code/Cursor/Windsurf](
|
|
40
|
+
1. **Load the Analyst agent** in your IDE - See your IDE-specific instructions in [docs/ide-info](https://github.com/bmad-code-org/BMAD-METHOD/tree/main/docs/ide-info) for how to activate agents:
|
|
41
|
+
- [Claude Code](https://github.com/bmad-code-org/BMAD-METHOD/blob/main/docs/ide-info/claude-code.md)
|
|
42
|
+
- [VS Code/Cursor/Windsurf](https://github.com/bmad-code-org/BMAD-METHOD/tree/main/docs/ide-info) - Check your IDE folder
|
|
43
43
|
- Other IDEs also supported
|
|
44
44
|
2. **Wait for the agent's menu** to appear
|
|
45
45
|
3. **Tell the agent**: "Run workflow-init" or type "\*workflow-init" or select the menu item number
|
|
@@ -107,7 +107,7 @@ The next TRULY REQUIRED step is:
|
|
|
107
107
|
|
|
108
108
|
When an agent tells you to run a workflow (like `prd`):
|
|
109
109
|
|
|
110
|
-
1. **Start a new chat** with the specified agent (e.g., PM) - See [docs/ide-info](
|
|
110
|
+
1. **Start a new chat** with the specified agent (e.g., PM) - See [docs/ide-info](https://github.com/bmad-code-org/BMAD-METHOD/tree/main/docs/ide-info) for your IDE's specific instructions
|
|
111
111
|
2. **Wait for the menu** to appear
|
|
112
112
|
3. **Tell the agent** to run it using any of these formats:
|
|
113
113
|
- Type the shorthand: `*prd`
|
|
@@ -350,7 +350,7 @@ A: Yes, once you learn the flow. Use the Quick Reference in Step 2 to go directl
|
|
|
350
350
|
|
|
351
351
|
- **During workflows**: Agents guide you with questions and explanations
|
|
352
352
|
- **Community**: [Discord](https://discord.gg/gk8jAdXWmj) - #general-dev, #bugs-issues
|
|
353
|
-
- **Complete guide**: [BMM
|
|
353
|
+
- **Complete guide**: [BMM Workflow Documentation](./README.md#-workflow-guides)
|
|
354
354
|
- **YouTube tutorials**: [BMad Code Channel](https://www.youtube.com/@BMadCode)
|
|
355
355
|
|
|
356
356
|
---
|
|
@@ -592,7 +592,7 @@ Run `workflow-init` on existing projects to migrate to new tracking system. It d
|
|
|
592
592
|
- **[Brownfield Guide](./brownfield-guide.md)** - Existing codebase workflows
|
|
593
593
|
- **[Glossary](./glossary.md)** - Complete terminology
|
|
594
594
|
- **[FAQ](./faq.md)** - Common questions
|
|
595
|
-
- **[Workflows Guide](
|
|
595
|
+
- **[Workflows Guide](./README.md#-workflow-guides)** - Complete workflow reference
|
|
596
596
|
|
|
597
597
|
---
|
|
598
598
|
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
---
|
|
2
|
+
last-redoc-date: 2025-10-14
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Test Architect (TEA) Agent Guide
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
- **Persona:** Murat, Master Test Architect and Quality Advisor focused on risk-based testing, fixture architecture, ATDD, and CI/CD governance.
|
|
10
|
+
- **Mission:** Deliver actionable quality strategies, automation coverage, and gate decisions that scale with project level and compliance demands.
|
|
11
|
+
- **Use When:** Project level ≥2, integration risk is non-trivial, brownfield regression risk exists, or compliance/NFR evidence is required.
|
|
12
|
+
|
|
13
|
+
## TEA Workflow Lifecycle
|
|
14
|
+
|
|
15
|
+
TEA integrates across the entire BMad development lifecycle, providing quality assurance at every phase:
|
|
16
|
+
|
|
17
|
+
```mermaid
|
|
18
|
+
%%{init: {'theme':'base', 'themeVariables': { 'primaryColor':'#fff','primaryTextColor':'#000','primaryBorderColor':'#000','lineColor':'#000','secondaryColor':'#fff','tertiaryColor':'#fff','fontSize':'16px','fontFamily':'arial'}}}%%
|
|
19
|
+
graph TB
|
|
20
|
+
subgraph Phase2["<b>Phase 2: PLANNING</b>"]
|
|
21
|
+
PM["<b>PM: *prd</b>"]
|
|
22
|
+
Framework["<b>TEA: *framework</b>"]
|
|
23
|
+
CI["<b>TEA: *ci</b>"]
|
|
24
|
+
TestDesign["<b>TEA: *test-design</b>"]
|
|
25
|
+
PM --> Framework
|
|
26
|
+
Framework --> CI
|
|
27
|
+
CI --> TestDesign
|
|
28
|
+
SetupNote["<b>Setup once per project</b>"]
|
|
29
|
+
TestDesign -.-> SetupNote
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
subgraph Phase4["<b>Phase 4: IMPLEMENTATION - Per Story Cycle</b>"]
|
|
33
|
+
CreateStory["<b>SM: *create-story</b>"]
|
|
34
|
+
ATDD["<b>TEA: *atdd (optional, before dev)</b>"]
|
|
35
|
+
DevImpl["<b>DEV: implements story</b>"]
|
|
36
|
+
Automate["<b>TEA: *automate</b>"]
|
|
37
|
+
TestReview1["<b>TEA: *test-review (optional)</b>"]
|
|
38
|
+
Trace1["<b>TEA: *trace (refresh coverage)</b>"]
|
|
39
|
+
|
|
40
|
+
CreateStory --> ATDD
|
|
41
|
+
ATDD --> DevImpl
|
|
42
|
+
DevImpl --> Automate
|
|
43
|
+
Automate --> TestReview1
|
|
44
|
+
TestReview1 --> Trace1
|
|
45
|
+
Trace1 -.->|next story| CreateStory
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
subgraph Gate["<b>EPIC/RELEASE GATE</b>"]
|
|
49
|
+
NFR["<b>TEA: *nfr-assess (if not done earlier)</b>"]
|
|
50
|
+
TestReview2["<b>TEA: *test-review (final audit, optional)</b>"]
|
|
51
|
+
TraceGate["<b>TEA: *trace - Phase 2: Gate</b>"]
|
|
52
|
+
GateDecision{"<b>Gate Decision</b>"}
|
|
53
|
+
|
|
54
|
+
NFR --> TestReview2
|
|
55
|
+
TestReview2 --> TraceGate
|
|
56
|
+
TraceGate --> GateDecision
|
|
57
|
+
GateDecision -->|PASS| Pass["<b>PASS ✅</b>"]
|
|
58
|
+
GateDecision -->|CONCERNS| Concerns["<b>CONCERNS ⚠️</b>"]
|
|
59
|
+
GateDecision -->|FAIL| Fail["<b>FAIL ❌</b>"]
|
|
60
|
+
GateDecision -->|WAIVED| Waived["<b>WAIVED ⏭️</b>"]
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
Phase2 --> Phase4
|
|
64
|
+
Phase4 --> Gate
|
|
65
|
+
|
|
66
|
+
style Phase2 fill:#bbdefb,stroke:#0d47a1,stroke-width:3px,color:#000
|
|
67
|
+
style Phase4 fill:#e1bee7,stroke:#4a148c,stroke-width:3px,color:#000
|
|
68
|
+
style Gate fill:#ffe082,stroke:#f57c00,stroke-width:3px,color:#000
|
|
69
|
+
style Pass fill:#4caf50,stroke:#1b5e20,stroke-width:3px,color:#000
|
|
70
|
+
style Concerns fill:#ffc107,stroke:#f57f17,stroke-width:3px,color:#000
|
|
71
|
+
style Fail fill:#f44336,stroke:#b71c1c,stroke-width:3px,color:#000
|
|
72
|
+
style Waived fill:#9c27b0,stroke:#4a148c,stroke-width:3px,color:#000
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### TEA Integration with BMad v6 Workflow
|
|
76
|
+
|
|
77
|
+
TEA operates **across all four BMad phases**, unlike other agents that are phase-specific:
|
|
78
|
+
|
|
79
|
+
<details>
|
|
80
|
+
<summary><strong>Cross-Phase Integration & Workflow Complexity</strong></summary>
|
|
81
|
+
|
|
82
|
+
### Phase-Specific Agents (Standard Pattern)
|
|
83
|
+
|
|
84
|
+
- **Phase 1 (Analysis)**: Analyst agent
|
|
85
|
+
- **Phase 2 (Planning)**: PM agent
|
|
86
|
+
- **Phase 3 (Solutioning)**: Architect agent
|
|
87
|
+
- **Phase 4 (Implementation)**: SM, DEV agents
|
|
88
|
+
|
|
89
|
+
### TEA: Cross-Phase Quality Agent (Unique Pattern)
|
|
90
|
+
|
|
91
|
+
TEA is **the only agent that spans all phases**:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
Phase 1 (Analysis) → [TEA not typically used]
|
|
95
|
+
↓
|
|
96
|
+
Phase 2 (Planning) → TEA: *framework, *ci, *test-design (setup)
|
|
97
|
+
↓
|
|
98
|
+
Phase 3 (Solutioning) → [TEA validates architecture testability]
|
|
99
|
+
↓
|
|
100
|
+
Phase 4 (Implementation) → TEA: *atdd, *automate, *test-review, *trace (per story)
|
|
101
|
+
↓
|
|
102
|
+
Epic/Release Gate → TEA: *nfr-assess, *trace Phase 2 (release decision)
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Why TEA Needs 8 Workflows
|
|
106
|
+
|
|
107
|
+
**Standard agents**: 1-3 workflows per phase
|
|
108
|
+
**TEA**: 8 workflows across 3+ phases
|
|
109
|
+
|
|
110
|
+
| Phase | TEA Workflows | Frequency | Purpose |
|
|
111
|
+
| ----------- | -------------------------------------- | ---------------- | -------------------------------- |
|
|
112
|
+
| **Phase 2** | *framework, *ci, \*test-design | Once per project | Establish quality infrastructure |
|
|
113
|
+
| **Phase 4** | *atdd, *automate, *test-review, *trace | Per story/sprint | Continuous quality validation |
|
|
114
|
+
| **Release** | *nfr-assess, *trace (Phase 2: gate) | Per epic/release | Go/no-go decision |
|
|
115
|
+
|
|
116
|
+
**Note**: `*trace` is a two-phase workflow: Phase 1 (traceability) + Phase 2 (gate decision). This reduces cognitive load while maintaining natural workflow.
|
|
117
|
+
|
|
118
|
+
This complexity **requires specialized documentation** (this guide), **extensive knowledge base** (19+ fragments), and **unique architecture** (`testarch/` directory).
|
|
119
|
+
|
|
120
|
+
</details>
|
|
121
|
+
|
|
122
|
+
## Prerequisites and Setup
|
|
123
|
+
|
|
124
|
+
1. Run the core planning workflows first:
|
|
125
|
+
- Analyst `*product-brief`
|
|
126
|
+
- Product Manager `*prd`
|
|
127
|
+
- Architect `*create-architecture`
|
|
128
|
+
2. Confirm `bmad/bmm/config.yaml` defines `project_name`, `output_folder`, `dev_story_location`, and language settings.
|
|
129
|
+
3. Ensure a test test framework setup exists; if not, use `*framework` command to create a test framework setup, prior to development.
|
|
130
|
+
4. Skim supporting references (knowledge under `testarch/`, command workflows under `workflows/testarch/`).
|
|
131
|
+
- `tea-index.csv` + `knowledge/*.md`
|
|
132
|
+
|
|
133
|
+
## High-Level Cheat Sheets
|
|
134
|
+
|
|
135
|
+
### Greenfield Feature Launch (Level 2)
|
|
136
|
+
|
|
137
|
+
| Phase | Test Architect | Dev / Team | Outputs |
|
|
138
|
+
| ------------------ | ------------------------------------------------------------------------- | --------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
139
|
+
| Setup | - | Analyst `*product-brief`, PM `*prd`, Architect `*create-architecture` | `{output_folder}/product-brief*.md`, `PRD.md`, `epics.md`, `architecture.md` |
|
|
140
|
+
| Pre-Implementation | Run `*framework` (if harness missing), `*ci`, and `*test-design` | Review risk/design/CI guidance, align backlog | Test scaffold, CI pipeline, risk and coverage strategy |
|
|
141
|
+
| Story Prep | - | Scrum Master `*create-story`, `*story-context` | Story markdown + context XML |
|
|
142
|
+
| Implementation | (Optional) Trigger `*atdd` before dev to supply failing tests + checklist | Implement story guided by ATDD checklist | Failing acceptance tests + implementation checklist |
|
|
143
|
+
| Post-Dev | Execute `*automate`, (Optional) `*test-review`, re-run `*trace` | Address recommendations, update code/tests | Regression specs, quality report, refreshed coverage matrix |
|
|
144
|
+
| Release | (Optional) `*test-review` for final audit, Run `*trace` (Phase 2) | Confirm Definition of Done, share release notes | Quality audit, Gate YAML + release summary (owners, waivers) |
|
|
145
|
+
|
|
146
|
+
<details>
|
|
147
|
+
<summary>Execution Notes</summary>
|
|
148
|
+
|
|
149
|
+
- Run `*framework` only once per repo or when modern harness support is missing.
|
|
150
|
+
- `*framework` followed by `*ci` establishes install + pipeline; `*test-design` then handles risk scoring, mitigations, and scenario planning in one pass.
|
|
151
|
+
- Use `*atdd` before coding when the team can adopt ATDD; share its checklist with the dev agent.
|
|
152
|
+
- Post-implementation, keep `*trace` current, expand coverage with `*automate`, optionally review test quality with `*test-review`. For release gate, run `*trace` with Phase 2 enabled to get deployment decision.
|
|
153
|
+
- Use `*test-review` after `*atdd` to validate generated tests, after `*automate` to ensure regression quality, or before gate for final audit.
|
|
154
|
+
|
|
155
|
+
</details>
|
|
156
|
+
|
|
157
|
+
<details>
|
|
158
|
+
<summary>Worked Example – “Nova CRM” Greenfield Feature</summary>
|
|
159
|
+
|
|
160
|
+
1. **Planning:** Analyst runs `*product-brief`; PM executes `*prd` to produce PRD and epics; Architect completes `*create-architecture` for the new module.
|
|
161
|
+
2. **Setup:** TEA checks harness via `*framework`, configures `*ci`, and runs `*test-design` to capture risk/coverage plans.
|
|
162
|
+
3. **Story Prep:** Scrum Master generates the story via `*create-story`; PO validates using `*solutioning-gate-check`.
|
|
163
|
+
4. **Implementation:** TEA optionally runs `*atdd`; Dev implements with guidance from failing tests and the plan.
|
|
164
|
+
5. **Post-Dev and Release:** TEA runs `*automate`, optionally `*test-review` to audit test quality, re-runs `*trace` with Phase 2 enabled to generate both traceability and gate decision.
|
|
165
|
+
|
|
166
|
+
</details>
|
|
167
|
+
|
|
168
|
+
### Brownfield Feature Enhancement (Level 3–4)
|
|
169
|
+
|
|
170
|
+
| Phase | Test Architect | Dev / Team | Outputs |
|
|
171
|
+
| ----------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ----------------------------------------------------------------------- |
|
|
172
|
+
| Refresh Context | - | Analyst/PM/Architect rerun planning workflows | Updated planning artifacts in `{output_folder}` |
|
|
173
|
+
| Baseline Coverage | Run `*trace` to inventory existing tests | Review matrix, flag hotspots | Coverage matrix + initial gate snippet |
|
|
174
|
+
| Risk Targeting | Run `*test-design` | Align remediation/backlog priorities | Brownfield risk memo + scenario matrix |
|
|
175
|
+
| Story Prep | - | Scrum Master `*create-story` | Updated story markdown |
|
|
176
|
+
| Implementation | (Optional) Run `*atdd` before dev | Implement story, referencing checklist/tests | Failing acceptance tests + implementation checklist |
|
|
177
|
+
| Post-Dev | Apply `*automate`, (Optional) `*test-review`, re-run `*trace`, `*nfr-assess` if needed | Resolve gaps, update docs/tests | Regression specs, quality report, refreshed coverage matrix, NFR report |
|
|
178
|
+
| Release | (Optional) `*test-review` for final audit, Run `*trace` (Phase 2) | Product Owner `*solutioning-gate-check`, share release notes | Quality audit, Gate YAML + release summary |
|
|
179
|
+
|
|
180
|
+
<details>
|
|
181
|
+
<summary>Execution Notes</summary>
|
|
182
|
+
|
|
183
|
+
- Lead with `*trace` so remediation plans target true coverage gaps. Ensure `*framework` and `*ci` are in place early in the engagement; if the brownfield lacks them, run those setup steps immediately after refreshing context.
|
|
184
|
+
- `*test-design` should highlight regression hotspots, mitigations, and P0 scenarios.
|
|
185
|
+
- Use `*atdd` when stories benefit from ATDD; otherwise proceed to implementation and rely on post-dev automation.
|
|
186
|
+
- After development, expand coverage with `*automate`, optionally review test quality with `*test-review`, re-run `*trace` (Phase 2 for gate decision). Run `*nfr-assess` now if non-functional risks weren't addressed earlier.
|
|
187
|
+
- Use `*test-review` to validate existing brownfield tests or audit new tests before gate.
|
|
188
|
+
- Product Owner `*solutioning-gate-check` confirms the team has artifacts before handoff or release.
|
|
189
|
+
|
|
190
|
+
</details>
|
|
191
|
+
|
|
192
|
+
<details>
|
|
193
|
+
<summary>Worked Example – “Atlas Payments” Brownfield Story</summary>
|
|
194
|
+
|
|
195
|
+
1. **Context Refresh:** Analyst reruns `*product-brief`; PM executes `*prd` to update PRD, analysis, and `epics.md`; Architect triggers `*create-architecture` capturing legacy payment flows.
|
|
196
|
+
2. **Baseline Coverage:** TEA executes `*trace` to record current coverage in `docs/qa/assessments/atlas-payment-trace.md`.
|
|
197
|
+
3. **Risk and Design:** `*test-design` flags settlement edge cases, plans mitigations, and allocates new API/E2E scenarios with P0 priorities.
|
|
198
|
+
4. **Story Prep:** Scrum Master generates `stories/story-1.1.md` via `*create-story`, automatically pulling updated context.
|
|
199
|
+
5. **ATDD First:** TEA runs `*atdd`, producing failing Playwright specs under `tests/e2e/payments/` plus an implementation checklist.
|
|
200
|
+
6. **Implementation:** Dev pairs with the checklist/tests to deliver the story.
|
|
201
|
+
7. **Post-Implementation:** TEA applies `*automate`, optionally `*test-review` to audit test quality, re-runs `*trace` with Phase 2 enabled, performs `*nfr-assess` to validate SLAs. The `*trace` Phase 2 output marks PASS with follow-ups.
|
|
202
|
+
|
|
203
|
+
</details>
|
|
204
|
+
|
|
205
|
+
### Enterprise / Compliance Program (Level 4)
|
|
206
|
+
|
|
207
|
+
| Phase | Test Architect | Dev / Team | Outputs |
|
|
208
|
+
| ------------------- | ----------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------------- |
|
|
209
|
+
| Strategic Planning | - | Analyst/PM/Architect standard workflows | Enterprise-grade PRD, epics, architecture |
|
|
210
|
+
| Quality Planning | Run `*framework`, `*test-design`, `*nfr-assess` | Review guidance, align compliance requirements | Harness scaffold, risk + coverage plan, NFR documentation |
|
|
211
|
+
| Pipeline Enablement | Configure `*ci` | Coordinate secrets, pipeline approvals | `.github/workflows/test.yml`, helper scripts |
|
|
212
|
+
| Execution | Enforce `*atdd`, `*automate`, `*test-review`, `*trace` per story | Implement stories, resolve TEA findings | Tests, fixtures, quality reports, coverage matrices |
|
|
213
|
+
| Release | (Optional) `*test-review` for final audit, Run `*trace` (Phase 2) | Capture sign-offs, archive artifacts | Quality audit, updated assessments, gate YAML, audit trail |
|
|
214
|
+
|
|
215
|
+
<details>
|
|
216
|
+
<summary>Execution Notes</summary>
|
|
217
|
+
|
|
218
|
+
- Use `*atdd` for every story when feasible so acceptance tests lead implementation in regulated environments.
|
|
219
|
+
- `*ci` scaffolds selective testing scripts, burn-in jobs, caching, and notifications for long-running suites.
|
|
220
|
+
- Enforce `*test-review` per story or sprint to maintain quality standards and ensure compliance with testing best practices.
|
|
221
|
+
- Prior to release, rerun coverage (`*trace`, `*automate`), perform final quality audit with `*test-review`, and formalize the decision with `*trace` Phase 2 (gate decision); store everything for audits. Call `*nfr-assess` here if compliance/performance requirements weren't captured during planning.
|
|
222
|
+
|
|
223
|
+
</details>
|
|
224
|
+
|
|
225
|
+
<details>
|
|
226
|
+
<summary>Worked Example – “Helios Ledger” Enterprise Release</summary>
|
|
227
|
+
|
|
228
|
+
1. **Strategic Planning:** Analyst/PM/Architect complete PRD, epics, and architecture using the standard workflows.
|
|
229
|
+
2. **Quality Planning:** TEA runs `*framework`, `*test-design`, and `*nfr-assess` to establish mitigations, coverage, and NFR targets.
|
|
230
|
+
3. **Pipeline Setup:** TEA configures CI via `*ci` with selective execution scripts.
|
|
231
|
+
4. **Execution:** For each story, TEA enforces `*atdd`, `*automate`, `*test-review`, and `*trace`; Dev teams iterate on the findings.
|
|
232
|
+
5. **Release:** TEA re-checks coverage, performs final quality audit with `*test-review`, and logs the final gate decision via `*trace` Phase 2, archiving artifacts for compliance.
|
|
233
|
+
|
|
234
|
+
</details>
|
|
235
|
+
|
|
236
|
+
## Command Catalog
|
|
237
|
+
|
|
238
|
+
<details>
|
|
239
|
+
<summary><strong>Optional Playwright MCP Enhancements</strong></summary>
|
|
240
|
+
|
|
241
|
+
**Two Playwright MCP servers** (actively maintained, continuously updated):
|
|
242
|
+
|
|
243
|
+
- `playwright` - Browser automation (`npx @playwright/mcp@latest`)
|
|
244
|
+
- `playwright-test` - Test runner with failure analysis (`npx playwright run-test-mcp-server`)
|
|
245
|
+
|
|
246
|
+
**How MCP Enhances TEA Workflows**:
|
|
247
|
+
|
|
248
|
+
MCP provides additional capabilities on top of TEA's default AI-based approach:
|
|
249
|
+
|
|
250
|
+
1. `*test-design`:
|
|
251
|
+
- Default: Analysis + documentation
|
|
252
|
+
- **+ MCP**: Interactive UI discovery with `browser_navigate`, `browser_click`, `browser_snapshot`, behavior observation
|
|
253
|
+
|
|
254
|
+
Benefit:Discover actual functionality, edge cases, undocumented features
|
|
255
|
+
|
|
256
|
+
2. `*atdd`, `*automate`:
|
|
257
|
+
- Default: Infers selectors and interactions from requirements and knowledge fragments
|
|
258
|
+
- **+ MCP**: Generates tests **then** verifies with `generator_setup_page`, `browser_*` tools, validates against live app
|
|
259
|
+
|
|
260
|
+
Benefit: Accurate selectors from real DOM, verified behavior, refined test code
|
|
261
|
+
|
|
262
|
+
3. `*automate`:
|
|
263
|
+
- Default: Pattern-based fixes from error messages + knowledge fragments
|
|
264
|
+
- **+ MCP**: Pattern fixes **enhanced with** `browser_snapshot`, `browser_console_messages`, `browser_network_requests`, `browser_generate_locator`
|
|
265
|
+
|
|
266
|
+
Benefit: Visual failure context, live DOM inspection, root cause discovery
|
|
267
|
+
|
|
268
|
+
**Config example**:
|
|
269
|
+
|
|
270
|
+
```json
|
|
271
|
+
{
|
|
272
|
+
"mcpServers": {
|
|
273
|
+
"playwright": {
|
|
274
|
+
"command": "npx",
|
|
275
|
+
"args": ["@playwright/mcp@latest"]
|
|
276
|
+
},
|
|
277
|
+
"playwright-test": {
|
|
278
|
+
"command": "npx",
|
|
279
|
+
"args": ["playwright", "run-test-mcp-server"]
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
**To disable**: Set `tea_use_mcp_enhancements: false` in `bmad/bmm/config.yaml` OR remove MCPs from IDE config.
|
|
286
|
+
|
|
287
|
+
</details>
|
|
288
|
+
|
|
289
|
+
<br></br>
|
|
290
|
+
|
|
291
|
+
| Command | Workflow README | Primary Outputs | Notes | With Playwright MCP Enhancements |
|
|
292
|
+
| -------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
293
|
+
| `*framework` | [📖](../workflows/testarch/framework/README.md) | Playwright/Cypress scaffold, `.env.example`, `.nvmrc`, sample specs | Use when no production-ready harness exists | - |
|
|
294
|
+
| `*ci` | [📖](../workflows/testarch/ci/README.md) | CI workflow, selective test scripts, secrets checklist | Platform-aware (GitHub Actions default) | - |
|
|
295
|
+
| `*test-design` | [📖](../workflows/testarch/test-design/README.md) | Combined risk assessment, mitigation plan, and coverage strategy | Risk scoring + optional exploratory mode | **+ Exploratory**: Interactive UI discovery with browser automation (uncover actual functionality) |
|
|
296
|
+
| `*atdd` | [📖](../workflows/testarch/atdd/README.md) | Failing acceptance tests + implementation checklist | TDD red phase + optional recording mode | **+ Recording**: AI generation verified with live browser (accurate selectors from real DOM) |
|
|
297
|
+
| `*automate` | [📖](../workflows/testarch/automate/README.md) | Prioritized specs, fixtures, README/script updates, DoD summary | Optional healing/recording, avoid duplicate coverage | **+ Healing**: Pattern fixes enhanced with visual debugging + **+ Recording**: AI verified with live browser |
|
|
298
|
+
| `*test-review` | [📖](../workflows/testarch/test-review/README.md) | Test quality review report with 0-100 score, violations, fixes | Reviews tests against knowledge base patterns | - |
|
|
299
|
+
| `*nfr-assess` | [📖](../workflows/testarch/nfr-assess/README.md) | NFR assessment report with actions | Focus on security/performance/reliability | - |
|
|
300
|
+
| `*trace` | [📖](../workflows/testarch/trace/README.md) | Phase 1: Coverage matrix, recommendations. Phase 2: Gate decision (PASS/CONCERNS/FAIL/WAIVED) | Two-phase workflow: traceability + gate decision | - |
|
|
301
|
+
|
|
302
|
+
**📖** = Click to view detailed workflow documentation
|
|
303
|
+
|
|
304
|
+
## Why TEA is Architecturally Different
|
|
305
|
+
|
|
306
|
+
TEA is the only BMM agent with its own top-level module directory (`bmm/testarch/`). This intentional design pattern reflects TEA's unique requirements:
|
|
307
|
+
|
|
308
|
+
<details>
|
|
309
|
+
<summary><strong>Unique Architecture Pattern & Rationale</strong></summary>
|
|
310
|
+
|
|
311
|
+
### Directory Structure
|
|
312
|
+
|
|
313
|
+
```
|
|
314
|
+
src/modules/bmm/
|
|
315
|
+
├── agents/
|
|
316
|
+
│ └── tea.agent.yaml # Agent definition (standard location)
|
|
317
|
+
├── workflows/
|
|
318
|
+
│ └── testarch/ # TEA workflows (standard location)
|
|
319
|
+
└── testarch/ # Knowledge base (UNIQUE!)
|
|
320
|
+
├── knowledge/ # 21 production-ready test pattern fragments
|
|
321
|
+
├── tea-index.csv # Centralized knowledge lookup (21 fragments indexed)
|
|
322
|
+
└── README.md # This guide
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
### Why TEA Gets Special Treatment
|
|
326
|
+
|
|
327
|
+
TEA uniquely requires **extensive domain knowledge** (21 fragments, 12,821 lines: test patterns, CI/CD, fixtures, quality practices, healing strategies), a **centralized reference system** (`tea-index.csv` for on-demand fragment loading), **cross-cutting concerns** (domain-specific patterns vs project-specific artifacts like PRDs/stories), and **optional MCP integration** (healing, exploratory, verification modes). Other BMM agents don't require this architecture.
|
|
328
|
+
|
|
329
|
+
</details>
|
|
@@ -30,18 +30,18 @@ flowchart TD
|
|
|
30
30
|
|
|
31
31
|
## Table of Contents
|
|
32
32
|
|
|
33
|
-
- [Setup
|
|
33
|
+
- [Setup and Installation Issues](#setup-and-installation-issues)
|
|
34
34
|
- [Level Detection Problems](#level-detection-problems)
|
|
35
35
|
- [Workflow Issues](#workflow-issues)
|
|
36
|
-
- [Context
|
|
36
|
+
- [Context and Documentation Issues](#context-and-documentation-issues)
|
|
37
37
|
- [Implementation Issues](#implementation-issues)
|
|
38
|
-
- [File
|
|
38
|
+
- [File and Path Issues](#file-and-path-issues)
|
|
39
39
|
- [Agent Behavior Issues](#agent-behavior-issues)
|
|
40
40
|
- [Integration Issues (Brownfield)](#integration-issues-brownfield)
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
-
## Setup
|
|
44
|
+
## Setup and Installation Issues
|
|
45
45
|
|
|
46
46
|
### Problem: BMM not found after installation
|
|
47
47
|
|
|
@@ -238,7 +238,7 @@ workflow-init asks: "Is this work in progress or previous effort?"
|
|
|
238
238
|
|
|
239
239
|
---
|
|
240
240
|
|
|
241
|
-
## Context
|
|
241
|
+
## Context and Documentation Issues
|
|
242
242
|
|
|
243
243
|
### Problem: AI agents lack codebase understanding (Brownfield)
|
|
244
244
|
|
|
@@ -393,7 +393,7 @@ For most brownfield projects, **Deep scan is sufficient**.
|
|
|
393
393
|
|
|
394
394
|
---
|
|
395
395
|
|
|
396
|
-
## File
|
|
396
|
+
## File and Path Issues
|
|
397
397
|
|
|
398
398
|
### Problem: Output files in wrong location
|
|
399
399
|
|