@rdmind/rdmind 0.2.3 → 0.2.4-alpha.1

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.
Files changed (92) hide show
  1. package/cli.js +10100 -13209
  2. package/locales/en.js +2 -14
  3. package/locales/zh.js +33 -44
  4. package/package.json +2 -3
  5. package/.knowledge/.ext/.bmad-core/agent-teams/team-all.yaml +0 -15
  6. package/.knowledge/.ext/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  7. package/.knowledge/.ext/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  8. package/.knowledge/.ext/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  9. package/.knowledge/.ext/.bmad-core/agents/analyst.md +0 -84
  10. package/.knowledge/.ext/.bmad-core/agents/architect.md +0 -85
  11. package/.knowledge/.ext/.bmad-core/agents/bmad-master.md +0 -110
  12. package/.knowledge/.ext/.bmad-core/agents/bmad-orchestrator.md +0 -147
  13. package/.knowledge/.ext/.bmad-core/agents/dev.md +0 -81
  14. package/.knowledge/.ext/.bmad-core/agents/pm.md +0 -84
  15. package/.knowledge/.ext/.bmad-core/agents/po.md +0 -79
  16. package/.knowledge/.ext/.bmad-core/agents/qa.md +0 -90
  17. package/.knowledge/.ext/.bmad-core/agents/ra.md +0 -74
  18. package/.knowledge/.ext/.bmad-core/agents/sm.md +0 -65
  19. package/.knowledge/.ext/.bmad-core/agents/ux-expert.md +0 -69
  20. package/.knowledge/.ext/.bmad-core/checklists/architect-checklist.md +0 -440
  21. package/.knowledge/.ext/.bmad-core/checklists/change-checklist.md +0 -184
  22. package/.knowledge/.ext/.bmad-core/checklists/pm-checklist.md +0 -372
  23. package/.knowledge/.ext/.bmad-core/checklists/po-master-checklist.md +0 -434
  24. package/.knowledge/.ext/.bmad-core/checklists/story-dod-checklist.md +0 -96
  25. package/.knowledge/.ext/.bmad-core/checklists/story-draft-checklist.md +0 -155
  26. package/.knowledge/.ext/.bmad-core/checklists/trd-checklist.md +0 -226
  27. package/.knowledge/.ext/.bmad-core/core-config.yaml +0 -22
  28. package/.knowledge/.ext/.bmad-core/data/bmad-kb.md +0 -809
  29. package/.knowledge/.ext/.bmad-core/data/brainstorming-techniques.md +0 -38
  30. package/.knowledge/.ext/.bmad-core/data/elicitation-methods.md +0 -156
  31. package/.knowledge/.ext/.bmad-core/data/technical-preferences.md +0 -5
  32. package/.knowledge/.ext/.bmad-core/data/test-levels-framework.md +0 -148
  33. package/.knowledge/.ext/.bmad-core/data/test-priorities-matrix.md +0 -174
  34. package/.knowledge/.ext/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  35. package/.knowledge/.ext/.bmad-core/install-manifest.yaml +0 -512
  36. package/.knowledge/.ext/.bmad-core/tasks/advanced-elicitation.md +0 -119
  37. package/.knowledge/.ext/.bmad-core/tasks/analyze-prd.md +0 -123
  38. package/.knowledge/.ext/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  39. package/.knowledge/.ext/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  40. package/.knowledge/.ext/.bmad-core/tasks/brownfield-create-story.md +0 -149
  41. package/.knowledge/.ext/.bmad-core/tasks/correct-course.md +0 -72
  42. package/.knowledge/.ext/.bmad-core/tasks/create-brownfield-story.md +0 -314
  43. package/.knowledge/.ext/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  44. package/.knowledge/.ext/.bmad-core/tasks/create-doc.md +0 -103
  45. package/.knowledge/.ext/.bmad-core/tasks/create-next-story.md +0 -114
  46. package/.knowledge/.ext/.bmad-core/tasks/document-project.md +0 -345
  47. package/.knowledge/.ext/.bmad-core/tasks/execute-checklist.md +0 -88
  48. package/.knowledge/.ext/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  49. package/.knowledge/.ext/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  50. package/.knowledge/.ext/.bmad-core/tasks/index-docs.md +0 -175
  51. package/.knowledge/.ext/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  52. package/.knowledge/.ext/.bmad-core/tasks/nfr-assess.md +0 -345
  53. package/.knowledge/.ext/.bmad-core/tasks/qa-gate.md +0 -163
  54. package/.knowledge/.ext/.bmad-core/tasks/review-story.md +0 -316
  55. package/.knowledge/.ext/.bmad-core/tasks/risk-profile.md +0 -355
  56. package/.knowledge/.ext/.bmad-core/tasks/shard-doc.md +0 -187
  57. package/.knowledge/.ext/.bmad-core/tasks/test-design.md +0 -176
  58. package/.knowledge/.ext/.bmad-core/tasks/trace-requirements.md +0 -266
  59. package/.knowledge/.ext/.bmad-core/tasks/validate-next-story.md +0 -136
  60. package/.knowledge/.ext/.bmad-core/tasks/validate-trd.md +0 -158
  61. package/.knowledge/.ext/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  62. package/.knowledge/.ext/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  63. package/.knowledge/.ext/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -478
  64. package/.knowledge/.ext/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  65. package/.knowledge/.ext/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -349
  66. package/.knowledge/.ext/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -273
  67. package/.knowledge/.ext/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -360
  68. package/.knowledge/.ext/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -947
  69. package/.knowledge/.ext/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  70. package/.knowledge/.ext/.bmad-core/templates/prd-tmpl.yaml +0 -203
  71. package/.knowledge/.ext/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  72. package/.knowledge/.ext/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  73. package/.knowledge/.ext/.bmad-core/templates/story-tmpl.yaml +0 -138
  74. package/.knowledge/.ext/.bmad-core/templates/trd-tmpl.yaml +0 -198
  75. package/.knowledge/.ext/.bmad-core/user-guide.md +0 -530
  76. package/.knowledge/.ext/.bmad-core/utils/bmad-doc-template.md +0 -327
  77. package/.knowledge/.ext/.bmad-core/utils/workflow-management.md +0 -71
  78. package/.knowledge/.ext/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  79. package/.knowledge/.ext/.bmad-core/workflows/brownfield-service.yaml +0 -188
  80. package/.knowledge/.ext/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  81. package/.knowledge/.ext/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  82. package/.knowledge/.ext/.bmad-core/workflows/greenfield-service.yaml +0 -207
  83. package/.knowledge/.ext/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  84. package/.knowledge/.ext/.bmad-core/working-in-the-brownfield.md +0 -606
  85. package/.knowledge/.ext/coding/ddd-architecture.md +0 -223
  86. package/.knowledge/.ext/coding/java-standards.md +0 -308
  87. package/.knowledge/.ext/coding/mybatis-standards.md +0 -407
  88. package/.knowledge/.ext/coding/sql-standards.md +0 -263
  89. package/.knowledge/.ext/coding/thrift-service.md +0 -292
  90. package/.knowledge/BMAD.md +0 -255
  91. package/.knowledge/coding.md +0 -135
  92. package/templates/tech-design-template.md +0 -37
@@ -1,248 +0,0 @@
1
- # Enhanced IDE Development Workflow
2
-
3
- This is a simple step-by-step guide to help you efficiently manage your development workflow using the BMad Method. The workflow integrates the Test Architect (QA agent) throughout the development lifecycle to ensure quality, prevent regressions, and maintain high standards. Refer to the **[<ins>User Guide</ins>](user-guide.md)** for any scenario that is not covered here.
4
-
5
- ## Create New Branch
6
-
7
- 1. **Start new branch**
8
-
9
- ## Story Creation (Scrum Master)
10
-
11
- 1. **Start new chat/conversation**
12
- 2. **Load SM agent**
13
- 3. **Execute**: `*draft` (runs create-next-story task)
14
- 4. **Review generated story** in `docs/stories/`
15
- 5. **Update status**: Change from "Draft" to "Approved"
16
-
17
- ## Story Implementation (Developer)
18
-
19
- 1. **Start new chat/conversation**
20
- 2. **Load Dev agent**
21
- 3. **Execute**: `*develop-story {selected-story}` (runs execute-checklist task)
22
- 4. **Review generated report** in `{selected-story}`
23
-
24
- ## Test Architect Integration Throughout Workflow
25
-
26
- The Test Architect (Quinn) provides comprehensive quality assurance throughout the development lifecycle. Here's how to leverage each capability at the right time.
27
-
28
- **Command Aliases:** Documentation uses short forms (`*risk`, `*design`, `*nfr`, `*trace`) for the full commands (`*risk-profile`, `*test-design`, `*nfr-assess`, `*trace-requirements`).
29
-
30
- ### Quick Command Reference
31
-
32
- | **Stage** | **Command** | **Purpose** | **Output** | **Priority** |
33
- | ------------------------ | ----------- | --------------------------------------- | --------------------------------------------------------------- | --------------------------- |
34
- | **After Story Approval** | `*risk` | Identify integration & regression risks | `docs/qa/assessments/{epic}.{story}-risk-{YYYYMMDD}.md` | High for complex/brownfield |
35
- | | `*design` | Create test strategy for dev | `docs/qa/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md` | High for new features |
36
- | **During Development** | `*trace` | Verify test coverage | `docs/qa/assessments/{epic}.{story}-trace-{YYYYMMDD}.md` | Medium |
37
- | | `*nfr` | Validate quality attributes | `docs/qa/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md` | High for critical features |
38
- | **After Development** | `*review` | Comprehensive assessment | QA Results in story + `docs/qa/gates/{epic}.{story}-{slug}.yml` | **Required** |
39
- | **Post-Review** | `*gate` | Update quality decision | Updated `docs/qa/gates/{epic}.{story}-{slug}.yml` | As needed |
40
-
41
- ### Stage 1: After Story Creation (Before Dev Starts)
42
-
43
- **RECOMMENDED - Set Developer Up for Success:**
44
-
45
- ```bash
46
- # 1. RISK ASSESSMENT (Run FIRST for complex stories)
47
- @qa *risk {approved-story}
48
- # Identifies:
49
- # - Technical debt impact
50
- # - Integration complexity
51
- # - Regression potential (1-9 scoring)
52
- # - Mitigation strategies
53
- # Critical for: Brownfield, API changes, data migrations
54
-
55
- # 2. TEST DESIGN (Run SECOND to guide implementation)
56
- @qa *design {approved-story}
57
- # Provides:
58
- # - Test scenarios per acceptance criterion
59
- # - Test level recommendations (unit/integration/E2E)
60
- # - Risk-based priorities (P0/P1/P2)
61
- # - Test data requirements
62
- # Share with Dev: Include in story comments or attach to ticket
63
- ```
64
-
65
- ### Stage 2: During Development (Mid-Implementation Checkpoints)
66
-
67
- **Developer Self-Service Quality Checks:**
68
-
69
- ```bash
70
- # 3. REQUIREMENTS TRACING (Verify coverage mid-development)
71
- @qa *trace {story-in-progress}
72
- # Validates:
73
- # - All acceptance criteria have tests
74
- # - No missing test scenarios
75
- # - Appropriate test levels
76
- # - Given-When-Then documentation clarity
77
- # Run when: After writing initial tests
78
-
79
- # 4. NFR VALIDATION (Check quality attributes)
80
- @qa *nfr {story-in-progress}
81
- # Assesses:
82
- # - Security: Authentication, authorization, data protection
83
- # - Performance: Response times, resource usage
84
- # - Reliability: Error handling, recovery
85
- # - Maintainability: Code quality, documentation
86
- # Run when: Before marking "Ready for Review"
87
- ```
88
-
89
- ### Stage 3: Story Review (Quality Gate Assessment)
90
-
91
- **REQUIRED - Comprehensive Test Architecture Review:**
92
-
93
- **Prerequisite:** All tests green locally; lint & type checks pass.
94
-
95
- ```bash
96
- # 5. FULL REVIEW (Standard review process)
97
- @qa *review {completed-story}
98
- ```
99
-
100
- **What Happens During Review:**
101
-
102
- 1. **Deep Code Analysis**
103
- - Architecture pattern compliance
104
- - Code quality and maintainability
105
- - Security vulnerability scanning
106
- - Performance bottleneck detection
107
-
108
- 2. **Active Refactoring**
109
- - Improves code directly when safe
110
- - Fixes obvious issues immediately
111
- - Suggests complex refactoring for dev
112
-
113
- 3. **Test Validation**
114
- - Coverage at all levels (unit/integration/E2E)
115
- - Test quality (no flaky tests, proper assertions)
116
- - Regression test adequacy
117
-
118
- 4. **Gate Decision**
119
- - Creates: `docs/qa/gates/{epic}.{story}-{slug}.yml`
120
- - Adds: QA Results section to story file
121
- - Status: PASS/CONCERNS/FAIL/WAIVED
122
-
123
- ### Stage 4: Post-Review (After Addressing Issues)
124
-
125
- **Update Gate Status After Fixes:**
126
-
127
- ```bash
128
- # 6. GATE UPDATE (Document final decision)
129
- @qa *gate {reviewed-story}
130
- # Updates: Quality gate with new status
131
- # Use when: After addressing review feedback
132
- # Documents: What was fixed, what was waived
133
- ```
134
-
135
- ### Understanding Gate Decisions
136
-
137
- | **Status** | **Meaning** | **Action Required** | **Can Proceed?** |
138
- | ------------ | -------------------------------------------- | ----------------------- | ---------------- |
139
- | **PASS** | All critical requirements met | None | ✅ Yes |
140
- | **CONCERNS** | Non-critical issues found | Team review recommended | ⚠️ With caution |
141
- | **FAIL** | Critical issues (security, missing P0 tests) | Must fix | ❌ No |
142
- | **WAIVED** | Issues acknowledged and accepted | Document reasoning | ✅ With approval |
143
-
144
- ### Risk-Based Testing Strategy
145
-
146
- The Test Architect uses risk scoring to prioritize testing:
147
-
148
- | **Risk Score** | **Calculation** | **Testing Priority** | **Gate Impact** |
149
- | -------------- | ------------------------------ | ------------------------- | ------------------------ |
150
- | **9** | High probability × High impact | P0 - Must test thoroughly | FAIL if untested |
151
- | **6** | Medium-high combinations | P1 - Should test well | CONCERNS if gaps |
152
- | **4** | Medium combinations | P1 - Should test | CONCERNS if notable gaps |
153
- | **2-3** | Low-medium combinations | P2 - Nice to have | Note in review |
154
- | **1** | Minimal risk | P2 - Minimal | Note in review |
155
-
156
- ### Special Situations & Best Practices
157
-
158
- #### High-Risk or Brownfield Stories
159
-
160
- ```bash
161
- # ALWAYS run this sequence:
162
- @qa *risk {story} # First - identify dangers
163
- @qa *design {story} # Second - plan defense
164
- # Then during dev:
165
- @qa *trace {story} # Verify regression coverage
166
- @qa *nfr {story} # Check performance impact
167
- # Finally:
168
- @qa *review {story} # Deep integration analysis
169
- ```
170
-
171
- #### Complex Integrations
172
-
173
- - Run `*trace` multiple times during development
174
- - Focus on integration test coverage
175
- - Use `*nfr` to validate cross-system performance
176
- - Review with extra attention to API contracts
177
-
178
- #### Performance-Critical Features
179
-
180
- - Run `*nfr` early and often (not just at review)
181
- - Establish performance baselines before changes
182
- - Document acceptable performance degradation
183
- - Consider load testing requirements in `*design`
184
-
185
- ### Test Quality Standards Enforced
186
-
187
- Quinn ensures all tests meet these standards:
188
-
189
- - **No Flaky Tests**: Proper async handling, explicit waits
190
- - **No Hard Waits**: Dynamic strategies only (polling, events)
191
- - **Stateless**: Tests run independently and in parallel
192
- - **Self-Cleaning**: Tests manage their own test data
193
- - **Appropriate Levels**: Unit for logic, integration for interactions, E2E for journeys
194
- - **Clear Assertions**: Keep assertions in tests, not buried in helpers
195
-
196
- ### Documentation & Audit Trail
197
-
198
- All Test Architect activities create permanent records:
199
-
200
- - **Assessment Reports**: Timestamped analysis in `docs/qa/assessments/`
201
- - **Gate Files**: Decision records in `docs/qa/gates/`
202
- - **Story Updates**: QA Results sections in story files
203
- - **Traceability**: Requirements to test mapping maintained
204
-
205
- ## Commit Changes and Push
206
-
207
- 1. **Commit changes**
208
- 2. **Push to remote**
209
-
210
- ## Complete Development Cycle Flow
211
-
212
- ### The Full Workflow with Test Architect
213
-
214
- 1. **SM**: Create next story → Review → Approve
215
- 2. **QA (Optional)**: Risk assessment (`*risk`) → Test design (`*design`)
216
- 3. **Dev**: Implement story → Write tests → Complete
217
- 4. **QA (Optional)**: Mid-dev checks (`*trace`, `*nfr`)
218
- 5. **Dev**: Mark Ready for Review
219
- 6. **QA (Required)**: Review story (`*review`) → Gate decision
220
- 7. **Dev (If needed)**: Address issues
221
- 8. **QA (If needed)**: Update gate (`*gate`)
222
- 9. **Commit**: All changes
223
- 10. **Push**: To remote
224
- 11. **Continue**: Until all features implemented
225
-
226
- ### Quick Decision Guide
227
-
228
- **Should I run Test Architect commands?**
229
-
230
- | **Scenario** | **Before Dev** | **During Dev** | **After Dev** |
231
- | ------------------------ | ------------------------------- | ---------------------------- | ---------------------------- |
232
- | **Simple bug fix** | Optional | Optional | Required `*review` |
233
- | **New feature** | Recommended `*risk`, `*design` | Optional `*trace` | Required `*review` |
234
- | **Brownfield change** | **Required** `*risk`, `*design` | Recommended `*trace`, `*nfr` | Required `*review` |
235
- | **API modification** | **Required** `*risk`, `*design` | **Required** `*trace` | Required `*review` |
236
- | **Performance-critical** | Recommended `*design` | **Required** `*nfr` | Required `*review` |
237
- | **Data migration** | **Required** `*risk`, `*design` | **Required** `*trace` | Required `*review` + `*gate` |
238
-
239
- ### Success Metrics
240
-
241
- The Test Architect helps achieve:
242
-
243
- - **Zero regression defects** in production
244
- - **100% requirements coverage** with tests
245
- - **Clear quality gates** for go/no-go decisions
246
- - **Documented risk acceptance** for technical debt
247
- - **Consistent test quality** across the team
248
- - **Shift-left testing** with early risk identification