@rdmind/rdmind 0.0.9-alpha.1 → 0.0.9

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 (109) hide show
  1. package/.knowledge/.ext/.bmad-core/agent-teams/team-all.yaml +15 -0
  2. package/.knowledge/.ext/.bmad-core/agent-teams/team-fullstack.yaml +19 -0
  3. package/.knowledge/.ext/.bmad-core/agent-teams/team-ide-minimal.yaml +11 -0
  4. package/.knowledge/.ext/.bmad-core/agent-teams/team-no-ui.yaml +14 -0
  5. package/.knowledge/.ext/.bmad-core/agents/analyst.md +84 -0
  6. package/.knowledge/.ext/.bmad-core/agents/architect.md +85 -0
  7. package/.knowledge/.ext/.bmad-core/agents/bmad-master.md +110 -0
  8. package/.knowledge/.ext/.bmad-core/agents/bmad-orchestrator.md +147 -0
  9. package/.knowledge/.ext/.bmad-core/agents/dev.md +81 -0
  10. package/.knowledge/.ext/.bmad-core/agents/pm.md +84 -0
  11. package/.knowledge/.ext/.bmad-core/agents/po.md +79 -0
  12. package/.knowledge/.ext/.bmad-core/agents/qa.md +90 -0
  13. package/.knowledge/.ext/.bmad-core/agents/ra.md +74 -0
  14. package/.knowledge/.ext/.bmad-core/agents/sm.md +65 -0
  15. package/.knowledge/.ext/.bmad-core/agents/ux-expert.md +69 -0
  16. package/.knowledge/.ext/.bmad-core/checklists/architect-checklist.md +440 -0
  17. package/.knowledge/.ext/.bmad-core/checklists/change-checklist.md +184 -0
  18. package/.knowledge/.ext/.bmad-core/checklists/pm-checklist.md +372 -0
  19. package/.knowledge/.ext/.bmad-core/checklists/po-master-checklist.md +434 -0
  20. package/.knowledge/.ext/.bmad-core/checklists/story-dod-checklist.md +96 -0
  21. package/.knowledge/.ext/.bmad-core/checklists/story-draft-checklist.md +155 -0
  22. package/.knowledge/.ext/.bmad-core/checklists/trd-checklist.md +226 -0
  23. package/.knowledge/.ext/.bmad-core/core-config.yaml +22 -0
  24. package/.knowledge/.ext/.bmad-core/data/bmad-kb.md +809 -0
  25. package/.knowledge/.ext/.bmad-core/data/brainstorming-techniques.md +38 -0
  26. package/.knowledge/.ext/.bmad-core/data/elicitation-methods.md +156 -0
  27. package/.knowledge/.ext/.bmad-core/data/technical-preferences.md +5 -0
  28. package/.knowledge/.ext/.bmad-core/data/test-levels-framework.md +148 -0
  29. package/.knowledge/.ext/.bmad-core/data/test-priorities-matrix.md +174 -0
  30. package/.knowledge/.ext/.bmad-core/enhanced-ide-development-workflow.md +248 -0
  31. package/.knowledge/.ext/.bmad-core/install-manifest.yaml +512 -0
  32. package/.knowledge/.ext/.bmad-core/tasks/advanced-elicitation.md +119 -0
  33. package/.knowledge/.ext/.bmad-core/tasks/analyze-prd.md +123 -0
  34. package/.knowledge/.ext/.bmad-core/tasks/apply-qa-fixes.md +150 -0
  35. package/.knowledge/.ext/.bmad-core/tasks/brownfield-create-epic.md +162 -0
  36. package/.knowledge/.ext/.bmad-core/tasks/brownfield-create-story.md +149 -0
  37. package/.knowledge/.ext/.bmad-core/tasks/correct-course.md +72 -0
  38. package/.knowledge/.ext/.bmad-core/tasks/create-brownfield-story.md +314 -0
  39. package/.knowledge/.ext/.bmad-core/tasks/create-deep-research-prompt.md +280 -0
  40. package/.knowledge/.ext/.bmad-core/tasks/create-doc.md +103 -0
  41. package/.knowledge/.ext/.bmad-core/tasks/create-next-story.md +114 -0
  42. package/.knowledge/.ext/.bmad-core/tasks/document-project.md +345 -0
  43. package/.knowledge/.ext/.bmad-core/tasks/execute-checklist.md +88 -0
  44. package/.knowledge/.ext/.bmad-core/tasks/facilitate-brainstorming-session.md +138 -0
  45. package/.knowledge/.ext/.bmad-core/tasks/generate-ai-frontend-prompt.md +53 -0
  46. package/.knowledge/.ext/.bmad-core/tasks/index-docs.md +175 -0
  47. package/.knowledge/.ext/.bmad-core/tasks/kb-mode-interaction.md +77 -0
  48. package/.knowledge/.ext/.bmad-core/tasks/nfr-assess.md +345 -0
  49. package/.knowledge/.ext/.bmad-core/tasks/qa-gate.md +163 -0
  50. package/.knowledge/.ext/.bmad-core/tasks/review-story.md +316 -0
  51. package/.knowledge/.ext/.bmad-core/tasks/risk-profile.md +355 -0
  52. package/.knowledge/.ext/.bmad-core/tasks/shard-doc.md +187 -0
  53. package/.knowledge/.ext/.bmad-core/tasks/test-design.md +176 -0
  54. package/.knowledge/.ext/.bmad-core/tasks/trace-requirements.md +266 -0
  55. package/.knowledge/.ext/.bmad-core/tasks/validate-next-story.md +136 -0
  56. package/.knowledge/.ext/.bmad-core/tasks/validate-trd.md +158 -0
  57. package/.knowledge/.ext/.bmad-core/templates/architecture-tmpl.yaml +651 -0
  58. package/.knowledge/.ext/.bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  59. package/.knowledge/.ext/.bmad-core/templates/brownfield-architecture-tmpl.yaml +478 -0
  60. package/.knowledge/.ext/.bmad-core/templates/brownfield-prd-tmpl.yaml +281 -0
  61. package/.knowledge/.ext/.bmad-core/templates/competitor-analysis-tmpl.yaml +349 -0
  62. package/.knowledge/.ext/.bmad-core/templates/front-end-architecture-tmpl.yaml +273 -0
  63. package/.knowledge/.ext/.bmad-core/templates/front-end-spec-tmpl.yaml +360 -0
  64. package/.knowledge/.ext/.bmad-core/templates/fullstack-architecture-tmpl.yaml +947 -0
  65. package/.knowledge/.ext/.bmad-core/templates/market-research-tmpl.yaml +253 -0
  66. package/.knowledge/.ext/.bmad-core/templates/prd-tmpl.yaml +203 -0
  67. package/.knowledge/.ext/.bmad-core/templates/project-brief-tmpl.yaml +222 -0
  68. package/.knowledge/.ext/.bmad-core/templates/qa-gate-tmpl.yaml +103 -0
  69. package/.knowledge/.ext/.bmad-core/templates/story-tmpl.yaml +138 -0
  70. package/.knowledge/.ext/.bmad-core/templates/trd-tmpl.yaml +198 -0
  71. package/.knowledge/.ext/.bmad-core/user-guide.md +530 -0
  72. package/.knowledge/.ext/.bmad-core/utils/bmad-doc-template.md +327 -0
  73. package/.knowledge/.ext/.bmad-core/utils/workflow-management.md +71 -0
  74. package/.knowledge/.ext/.bmad-core/workflows/brownfield-fullstack.yaml +298 -0
  75. package/.knowledge/.ext/.bmad-core/workflows/brownfield-service.yaml +188 -0
  76. package/.knowledge/.ext/.bmad-core/workflows/brownfield-ui.yaml +198 -0
  77. package/.knowledge/.ext/.bmad-core/workflows/greenfield-fullstack.yaml +241 -0
  78. package/.knowledge/.ext/.bmad-core/workflows/greenfield-service.yaml +207 -0
  79. package/.knowledge/.ext/.bmad-core/workflows/greenfield-ui.yaml +236 -0
  80. package/.knowledge/.ext/.bmad-core/working-in-the-brownfield.md +606 -0
  81. package/.knowledge/.ext/coding/ddd-architecture.md +223 -0
  82. package/.knowledge/.ext/coding/java-standards.md +308 -0
  83. package/.knowledge/.ext/coding/mybatis-standards.md +407 -0
  84. package/.knowledge/.ext/coding/sql-standards.md +263 -0
  85. package/.knowledge/.ext/coding/thrift-service.md +292 -0
  86. package/.knowledge/BMAD.md +255 -0
  87. package/.knowledge/coding.md +135 -0
  88. package/dist/package.json +4 -3
  89. package/dist/src/config/extension.js.map +1 -1
  90. package/dist/src/generated/git-commit.d.ts +2 -2
  91. package/dist/src/generated/git-commit.js +2 -2
  92. package/dist/src/generated/git-commit.js.map +1 -1
  93. package/dist/src/services/McpPromptLoader.js +1 -1
  94. package/dist/src/services/McpPromptLoader.js.map +1 -1
  95. package/dist/src/services/prompt-processors/atFileProcessor.js +1 -1
  96. package/dist/src/services/prompt-processors/atFileProcessor.js.map +1 -1
  97. package/dist/src/ui/commands/mcpCommand.js.map +1 -1
  98. package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -1
  99. package/dist/src/ui/components/Tips.js +1 -1
  100. package/dist/src/ui/components/Tips.js.map +1 -1
  101. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
  102. package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -1
  103. package/dist/src/ui/components/subagents/create/CreationSummary.js.map +1 -1
  104. package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
  105. package/dist/src/ui/hooks/usePhraseCycler.js +2 -2
  106. package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
  107. package/dist/src/utils/installationInfo.test.js.map +1 -1
  108. package/dist/tsconfig.tsbuildinfo +1 -1
  109. package/package.json +4 -3
@@ -0,0 +1,434 @@
1
+ <!-- Powered by BMAD™ Core -->
2
+
3
+ # Product Owner (PO) Master Validation Checklist
4
+
5
+ This checklist serves as a comprehensive framework for the Product Owner to validate project plans before development execution. It adapts intelligently based on project type (greenfield vs brownfield) and includes UI/UX considerations when applicable.
6
+
7
+ [[LLM: INITIALIZATION INSTRUCTIONS - PO MASTER CHECKLIST
8
+
9
+ PROJECT TYPE DETECTION:
10
+ First, determine the project type by checking:
11
+
12
+ 1. Is this a GREENFIELD project (new from scratch)?
13
+ - Look for: New project initialization, no existing codebase references
14
+ - Check for: prd.md, architecture.md, new project setup stories
15
+
16
+ 2. Is this a BROWNFIELD project (enhancing existing system)?
17
+ - Look for: References to existing codebase, enhancement/modification language
18
+ - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
19
+
20
+ 3. Does the project include UI/UX components?
21
+ - Check for: frontend-architecture.md, UI/UX specifications, design files
22
+ - Look for: Frontend stories, component specifications, user interface mentions
23
+
24
+ DOCUMENT REQUIREMENTS:
25
+ Based on project type, ensure you have access to:
26
+
27
+ For GREENFIELD projects:
28
+
29
+ - prd.md - The Product Requirements Document
30
+ - architecture.md - The system architecture
31
+ - frontend-architecture.md - If UI/UX is involved
32
+ - All epic and story definitions
33
+
34
+ For BROWNFIELD projects:
35
+
36
+ - brownfield-prd.md - The brownfield enhancement requirements
37
+ - brownfield-architecture.md - The enhancement architecture
38
+ - Existing project codebase access (CRITICAL - cannot proceed without this)
39
+ - Current deployment configuration and infrastructure details
40
+ - Database schemas, API documentation, monitoring setup
41
+
42
+ SKIP INSTRUCTIONS:
43
+
44
+ - Skip sections marked [[BROWNFIELD ONLY]] for greenfield projects
45
+ - Skip sections marked [[GREENFIELD ONLY]] for brownfield projects
46
+ - Skip sections marked [[UI/UX ONLY]] for backend-only projects
47
+ - Note all skipped sections in your final report
48
+
49
+ VALIDATION APPROACH:
50
+
51
+ 1. Deep Analysis - Thoroughly analyze each item against documentation
52
+ 2. Evidence-Based - Cite specific sections or code when validating
53
+ 3. Critical Thinking - Question assumptions and identify gaps
54
+ 4. Risk Assessment - Consider what could go wrong with each decision
55
+
56
+ EXECUTION MODE:
57
+ Ask the user if they want to work through the checklist:
58
+
59
+ - Section by section (interactive mode) - Review each section, get confirmation before proceeding
60
+ - All at once (comprehensive mode) - Complete full analysis and present report at end]]
61
+
62
+ ## 1. PROJECT SETUP & INITIALIZATION
63
+
64
+ [[LLM: Project setup is the foundation. For greenfield, ensure clean start. For brownfield, ensure safe integration with existing system. Verify setup matches project type.]]
65
+
66
+ ### 1.1 Project Scaffolding [[GREENFIELD ONLY]]
67
+
68
+ - [ ] Epic 1 includes explicit steps for project creation/initialization
69
+ - [ ] If using a starter template, steps for cloning/setup are included
70
+ - [ ] If building from scratch, all necessary scaffolding steps are defined
71
+ - [ ] Initial README or documentation setup is included
72
+ - [ ] Repository setup and initial commit processes are defined
73
+
74
+ ### 1.2 Existing System Integration [[BROWNFIELD ONLY]]
75
+
76
+ - [ ] Existing project analysis has been completed and documented
77
+ - [ ] Integration points with current system are identified
78
+ - [ ] Development environment preserves existing functionality
79
+ - [ ] Local testing approach validated for existing features
80
+ - [ ] Rollback procedures defined for each integration point
81
+
82
+ ### 1.3 Development Environment
83
+
84
+ - [ ] Local development environment setup is clearly defined
85
+ - [ ] Required tools and versions are specified
86
+ - [ ] Steps for installing dependencies are included
87
+ - [ ] Configuration files are addressed appropriately
88
+ - [ ] Development server setup is included
89
+
90
+ ### 1.4 Core Dependencies
91
+
92
+ - [ ] All critical packages/libraries are installed early
93
+ - [ ] Package management is properly addressed
94
+ - [ ] Version specifications are appropriately defined
95
+ - [ ] Dependency conflicts or special requirements are noted
96
+ - [ ] [[BROWNFIELD ONLY]] Version compatibility with existing stack verified
97
+
98
+ ## 2. INFRASTRUCTURE & DEPLOYMENT
99
+
100
+ [[LLM: Infrastructure must exist before use. For brownfield, must integrate with existing infrastructure without breaking it.]]
101
+
102
+ ### 2.1 Database & Data Store Setup
103
+
104
+ - [ ] Database selection/setup occurs before any operations
105
+ - [ ] Schema definitions are created before data operations
106
+ - [ ] Migration strategies are defined if applicable
107
+ - [ ] Seed data or initial data setup is included if needed
108
+ - [ ] [[BROWNFIELD ONLY]] Database migration risks identified and mitigated
109
+ - [ ] [[BROWNFIELD ONLY]] Backward compatibility ensured
110
+
111
+ ### 2.2 API & Service Configuration
112
+
113
+ - [ ] API frameworks are set up before implementing endpoints
114
+ - [ ] Service architecture is established before implementing services
115
+ - [ ] Authentication framework is set up before protected routes
116
+ - [ ] Middleware and common utilities are created before use
117
+ - [ ] [[BROWNFIELD ONLY]] API compatibility with existing system maintained
118
+ - [ ] [[BROWNFIELD ONLY]] Integration with existing authentication preserved
119
+
120
+ ### 2.3 Deployment Pipeline
121
+
122
+ - [ ] CI/CD pipeline is established before deployment actions
123
+ - [ ] Infrastructure as Code (IaC) is set up before use
124
+ - [ ] Environment configurations are defined early
125
+ - [ ] Deployment strategies are defined before implementation
126
+ - [ ] [[BROWNFIELD ONLY]] Deployment minimizes downtime
127
+ - [ ] [[BROWNFIELD ONLY]] Blue-green or canary deployment implemented
128
+
129
+ ### 2.4 Testing Infrastructure
130
+
131
+ - [ ] Testing frameworks are installed before writing tests
132
+ - [ ] Test environment setup precedes test implementation
133
+ - [ ] Mock services or data are defined before testing
134
+ - [ ] [[BROWNFIELD ONLY]] Regression testing covers existing functionality
135
+ - [ ] [[BROWNFIELD ONLY]] Integration testing validates new-to-existing connections
136
+
137
+ ## 3. EXTERNAL DEPENDENCIES & INTEGRATIONS
138
+
139
+ [[LLM: External dependencies often block progress. For brownfield, ensure new dependencies don't conflict with existing ones.]]
140
+
141
+ ### 3.1 Third-Party Services
142
+
143
+ - [ ] Account creation steps are identified for required services
144
+ - [ ] API key acquisition processes are defined
145
+ - [ ] Steps for securely storing credentials are included
146
+ - [ ] Fallback or offline development options are considered
147
+ - [ ] [[BROWNFIELD ONLY]] Compatibility with existing services verified
148
+ - [ ] [[BROWNFIELD ONLY]] Impact on existing integrations assessed
149
+
150
+ ### 3.2 External APIs
151
+
152
+ - [ ] Integration points with external APIs are clearly identified
153
+ - [ ] Authentication with external services is properly sequenced
154
+ - [ ] API limits or constraints are acknowledged
155
+ - [ ] Backup strategies for API failures are considered
156
+ - [ ] [[BROWNFIELD ONLY]] Existing API dependencies maintained
157
+
158
+ ### 3.3 Infrastructure Services
159
+
160
+ - [ ] Cloud resource provisioning is properly sequenced
161
+ - [ ] DNS or domain registration needs are identified
162
+ - [ ] Email or messaging service setup is included if needed
163
+ - [ ] CDN or static asset hosting setup precedes their use
164
+ - [ ] [[BROWNFIELD ONLY]] Existing infrastructure services preserved
165
+
166
+ ## 4. UI/UX CONSIDERATIONS [[UI/UX ONLY]]
167
+
168
+ [[LLM: Only evaluate this section if the project includes user interface components. Skip entirely for backend-only projects.]]
169
+
170
+ ### 4.1 Design System Setup
171
+
172
+ - [ ] UI framework and libraries are selected and installed early
173
+ - [ ] Design system or component library is established
174
+ - [ ] Styling approach (CSS modules, styled-components, etc.) is defined
175
+ - [ ] Responsive design strategy is established
176
+ - [ ] Accessibility requirements are defined upfront
177
+
178
+ ### 4.2 Frontend Infrastructure
179
+
180
+ - [ ] Frontend build pipeline is configured before development
181
+ - [ ] Asset optimization strategy is defined
182
+ - [ ] Frontend testing framework is set up
183
+ - [ ] Component development workflow is established
184
+ - [ ] [[BROWNFIELD ONLY]] UI consistency with existing system maintained
185
+
186
+ ### 4.3 User Experience Flow
187
+
188
+ - [ ] User journeys are mapped before implementation
189
+ - [ ] Navigation patterns are defined early
190
+ - [ ] Error states and loading states are planned
191
+ - [ ] Form validation patterns are established
192
+ - [ ] [[BROWNFIELD ONLY]] Existing user workflows preserved or migrated
193
+
194
+ ## 5. USER/AGENT RESPONSIBILITY
195
+
196
+ [[LLM: Clear ownership prevents confusion. Ensure tasks are assigned appropriately based on what only humans can do.]]
197
+
198
+ ### 5.1 User Actions
199
+
200
+ - [ ] User responsibilities limited to human-only tasks
201
+ - [ ] Account creation on external services assigned to users
202
+ - [ ] Purchasing or payment actions assigned to users
203
+ - [ ] Credential provision appropriately assigned to users
204
+
205
+ ### 5.2 Developer Agent Actions
206
+
207
+ - [ ] All code-related tasks assigned to developer agents
208
+ - [ ] Automated processes identified as agent responsibilities
209
+ - [ ] Configuration management properly assigned
210
+ - [ ] Testing and validation assigned to appropriate agents
211
+
212
+ ## 6. FEATURE SEQUENCING & DEPENDENCIES
213
+
214
+ [[LLM: Dependencies create the critical path. For brownfield, ensure new features don't break existing ones.]]
215
+
216
+ ### 6.1 Functional Dependencies
217
+
218
+ - [ ] Features depending on others are sequenced correctly
219
+ - [ ] Shared components are built before their use
220
+ - [ ] User flows follow logical progression
221
+ - [ ] Authentication features precede protected features
222
+ - [ ] [[BROWNFIELD ONLY]] Existing functionality preserved throughout
223
+
224
+ ### 6.2 Technical Dependencies
225
+
226
+ - [ ] Lower-level services built before higher-level ones
227
+ - [ ] Libraries and utilities created before their use
228
+ - [ ] Data models defined before operations on them
229
+ - [ ] API endpoints defined before client consumption
230
+ - [ ] [[BROWNFIELD ONLY]] Integration points tested at each step
231
+
232
+ ### 6.3 Cross-Epic Dependencies
233
+
234
+ - [ ] Later epics build upon earlier epic functionality
235
+ - [ ] No epic requires functionality from later epics
236
+ - [ ] Infrastructure from early epics utilized consistently
237
+ - [ ] Incremental value delivery maintained
238
+ - [ ] [[BROWNFIELD ONLY]] Each epic maintains system integrity
239
+
240
+ ## 7. RISK MANAGEMENT [[BROWNFIELD ONLY]]
241
+
242
+ [[LLM: This section is CRITICAL for brownfield projects. Think pessimistically about what could break.]]
243
+
244
+ ### 7.1 Breaking Change Risks
245
+
246
+ - [ ] Risk of breaking existing functionality assessed
247
+ - [ ] Database migration risks identified and mitigated
248
+ - [ ] API breaking change risks evaluated
249
+ - [ ] Performance degradation risks identified
250
+ - [ ] Security vulnerability risks evaluated
251
+
252
+ ### 7.2 Rollback Strategy
253
+
254
+ - [ ] Rollback procedures clearly defined per story
255
+ - [ ] Feature flag strategy implemented
256
+ - [ ] Backup and recovery procedures updated
257
+ - [ ] Monitoring enhanced for new components
258
+ - [ ] Rollback triggers and thresholds defined
259
+
260
+ ### 7.3 User Impact Mitigation
261
+
262
+ - [ ] Existing user workflows analyzed for impact
263
+ - [ ] User communication plan developed
264
+ - [ ] Training materials updated
265
+ - [ ] Support documentation comprehensive
266
+ - [ ] Migration path for user data validated
267
+
268
+ ## 8. MVP SCOPE ALIGNMENT
269
+
270
+ [[LLM: MVP means MINIMUM viable product. For brownfield, ensure enhancements are truly necessary.]]
271
+
272
+ ### 8.1 Core Goals Alignment
273
+
274
+ - [ ] All core goals from PRD are addressed
275
+ - [ ] Features directly support MVP goals
276
+ - [ ] No extraneous features beyond MVP scope
277
+ - [ ] Critical features prioritized appropriately
278
+ - [ ] [[BROWNFIELD ONLY]] Enhancement complexity justified
279
+
280
+ ### 8.2 User Journey Completeness
281
+
282
+ - [ ] All critical user journeys fully implemented
283
+ - [ ] Edge cases and error scenarios addressed
284
+ - [ ] User experience considerations included
285
+ - [ ] [[UI/UX ONLY]] Accessibility requirements incorporated
286
+ - [ ] [[BROWNFIELD ONLY]] Existing workflows preserved or improved
287
+
288
+ ### 8.3 Technical Requirements
289
+
290
+ - [ ] All technical constraints from PRD addressed
291
+ - [ ] Non-functional requirements incorporated
292
+ - [ ] Architecture decisions align with constraints
293
+ - [ ] Performance considerations addressed
294
+ - [ ] [[BROWNFIELD ONLY]] Compatibility requirements met
295
+
296
+ ## 9. DOCUMENTATION & HANDOFF
297
+
298
+ [[LLM: Good documentation enables smooth development. For brownfield, documentation of integration points is critical.]]
299
+
300
+ ### 9.1 Developer Documentation
301
+
302
+ - [ ] API documentation created alongside implementation
303
+ - [ ] Setup instructions are comprehensive
304
+ - [ ] Architecture decisions documented
305
+ - [ ] Patterns and conventions documented
306
+ - [ ] [[BROWNFIELD ONLY]] Integration points documented in detail
307
+
308
+ ### 9.2 User Documentation
309
+
310
+ - [ ] User guides or help documentation included if required
311
+ - [ ] Error messages and user feedback considered
312
+ - [ ] Onboarding flows fully specified
313
+ - [ ] [[BROWNFIELD ONLY]] Changes to existing features documented
314
+
315
+ ### 9.3 Knowledge Transfer
316
+
317
+ - [ ] [[BROWNFIELD ONLY]] Existing system knowledge captured
318
+ - [ ] [[BROWNFIELD ONLY]] Integration knowledge documented
319
+ - [ ] Code review knowledge sharing planned
320
+ - [ ] Deployment knowledge transferred to operations
321
+ - [ ] Historical context preserved
322
+
323
+ ## 10. POST-MVP CONSIDERATIONS
324
+
325
+ [[LLM: Planning for success prevents technical debt. For brownfield, ensure enhancements don't limit future growth.]]
326
+
327
+ ### 10.1 Future Enhancements
328
+
329
+ - [ ] Clear separation between MVP and future features
330
+ - [ ] Architecture supports planned enhancements
331
+ - [ ] Technical debt considerations documented
332
+ - [ ] Extensibility points identified
333
+ - [ ] [[BROWNFIELD ONLY]] Integration patterns reusable
334
+
335
+ ### 10.2 Monitoring & Feedback
336
+
337
+ - [ ] Analytics or usage tracking included if required
338
+ - [ ] User feedback collection considered
339
+ - [ ] Monitoring and alerting addressed
340
+ - [ ] Performance measurement incorporated
341
+ - [ ] [[BROWNFIELD ONLY]] Existing monitoring preserved/enhanced
342
+
343
+ ## VALIDATION SUMMARY
344
+
345
+ [[LLM: FINAL PO VALIDATION REPORT GENERATION
346
+
347
+ Generate a comprehensive validation report that adapts to project type:
348
+
349
+ 1. Executive Summary
350
+ - Project type: [Greenfield/Brownfield] with [UI/No UI]
351
+ - Overall readiness (percentage)
352
+ - Go/No-Go recommendation
353
+ - Critical blocking issues count
354
+ - Sections skipped due to project type
355
+
356
+ 2. Project-Specific Analysis
357
+
358
+ FOR GREENFIELD:
359
+ - Setup completeness
360
+ - Dependency sequencing
361
+ - MVP scope appropriateness
362
+ - Development timeline feasibility
363
+
364
+ FOR BROWNFIELD:
365
+ - Integration risk level (High/Medium/Low)
366
+ - Existing system impact assessment
367
+ - Rollback readiness
368
+ - User disruption potential
369
+
370
+ 3. Risk Assessment
371
+ - Top 5 risks by severity
372
+ - Mitigation recommendations
373
+ - Timeline impact of addressing issues
374
+ - [BROWNFIELD] Specific integration risks
375
+
376
+ 4. MVP Completeness
377
+ - Core features coverage
378
+ - Missing essential functionality
379
+ - Scope creep identified
380
+ - True MVP vs over-engineering
381
+
382
+ 5. Implementation Readiness
383
+ - Developer clarity score (1-10)
384
+ - Ambiguous requirements count
385
+ - Missing technical details
386
+ - [BROWNFIELD] Integration point clarity
387
+
388
+ 6. Recommendations
389
+ - Must-fix before development
390
+ - Should-fix for quality
391
+ - Consider for improvement
392
+ - Post-MVP deferrals
393
+
394
+ 7. [BROWNFIELD ONLY] Integration Confidence
395
+ - Confidence in preserving existing functionality
396
+ - Rollback procedure completeness
397
+ - Monitoring coverage for integration points
398
+ - Support team readiness
399
+
400
+ After presenting the report, ask if the user wants:
401
+
402
+ - Detailed analysis of any failed sections
403
+ - Specific story reordering suggestions
404
+ - Risk mitigation strategies
405
+ - [BROWNFIELD] Integration risk deep-dive]]
406
+
407
+ ### Category Statuses
408
+
409
+ | Category | Status | Critical Issues |
410
+ | --------------------------------------- | ------ | --------------- |
411
+ | 1. Project Setup & Initialization | _TBD_ | |
412
+ | 2. Infrastructure & Deployment | _TBD_ | |
413
+ | 3. External Dependencies & Integrations | _TBD_ | |
414
+ | 4. UI/UX Considerations | _TBD_ | |
415
+ | 5. User/Agent Responsibility | _TBD_ | |
416
+ | 6. Feature Sequencing & Dependencies | _TBD_ | |
417
+ | 7. Risk Management (Brownfield) | _TBD_ | |
418
+ | 8. MVP Scope Alignment | _TBD_ | |
419
+ | 9. Documentation & Handoff | _TBD_ | |
420
+ | 10. Post-MVP Considerations | _TBD_ | |
421
+
422
+ ### Critical Deficiencies
423
+
424
+ (To be populated during validation)
425
+
426
+ ### Recommendations
427
+
428
+ (To be populated during validation)
429
+
430
+ ### Final Decision
431
+
432
+ - **APPROVED**: The plan is comprehensive, properly sequenced, and ready for implementation.
433
+ - **CONDITIONAL**: The plan requires specific adjustments before proceeding.
434
+ - **REJECTED**: The plan requires significant revision to address critical deficiencies.
@@ -0,0 +1,96 @@
1
+ <!-- Powered by BMAD™ Core -->
2
+
3
+ # Story Definition of Done (DoD) Checklist
4
+
5
+ ## 开发者代理说明
6
+
7
+ 在把story标记为'Review'之前,请过一遍这个checklist的每个项目。报告每个项目的状态(如,[x] 完成,[ ] 未完成,[N/A] 不适用)并在必要时提供简短评论。
8
+
9
+ [[LLM: 初始化说明 - STORY DOD验证
10
+
11
+ 这个checklist是给开发者代理在标记story完成前自我验证工作用的。
12
+
13
+ 重要:这是自我评估。要诚实面对实际完成的和应该完成的。现在发现问题比在review时发现要好。
14
+
15
+ 执行方法:
16
+
17
+ 1. 系统性地过一遍每个章节
18
+ 2. 把项目标记为[x] 完成,[ ] 未完成,或[N/A] 不适用
19
+ 3. 为任何[ ] 或[N/A]项目添加简短评论说明
20
+ 4. 具体说明实际实现了什么
21
+ 5. 标记任何关注点或产生的技术债务
22
+
23
+ 目标是质量交付,不只是打勾。]]
24
+
25
+ ## Checklist项目
26
+
27
+ 1. **需求满足:**
28
+
29
+ [[LLM: 要具体 - 列出每个需求以及是否完成]]
30
+ - [ ] story中指定的所有功能需求都已实现。
31
+ - [ ] story中定义的所有验收标准都已满足。
32
+
33
+ 2. **编码标准和项目结构:**
34
+
35
+ [[LLM: 代码质量对可维护性很重要。仔细检查每个项目]]
36
+ - [ ] 所有新增/修改的代码严格遵循`操作指南`。
37
+ - [ ] 所有新增/修改的代码符合`项目结构`(文件位置、命名等)。
38
+ - [ ] 遵循`技术栈`的技术/版本使用(如果story引入或修改技术使用)。
39
+ - [ ] 遵循`API参考`和`数据模型`(如果story涉及API或数据模型变更)。
40
+ - [ ] 对新增/修改的代码应用基本安全最佳实践(如,输入验证、适当错误处理、无硬编码密钥)。
41
+ - [ ] 没有引入新的linter错误或警告。
42
+ - [ ] 代码在必要时有良好注释(澄清复杂逻辑,不是显而易见的语句)。
43
+
44
+ 3. **测试:**
45
+
46
+ [[LLM: 测试证明你的代码有效。诚实面对测试覆盖率]]
47
+ - [ ] 根据story和`操作指南`测试策略的所有必需单元测试都已实现。
48
+ - [ ] 根据story和`操作指南`测试策略的所有必需集成测试(如适用)都已实现。
49
+ - [ ] 所有测试(单元、集成、E2E如适用)都成功通过。
50
+ - [ ] 测试覆盖率符合项目标准(如已定义)。
51
+
52
+ 4. **功能和验证:**
53
+
54
+ [[LLM: 你真的运行和测试了你的代码吗?具体说明你测试了什么]]
55
+ - [ ] 功能已被开发者手动验证(如,本地运行app、检查UI、测试API端点)。
56
+ - [ ] 边界情况和潜在错误条件已考虑并优雅处理。
57
+
58
+ 5. **Story管理:**
59
+
60
+ [[LLM: 文档帮助下一个开发者。他们应该知道什么?]]
61
+ - [ ] story文件中的所有任务都标记为完成。
62
+ - [ ] 开发过程中做出的任何澄清或决策都在story文件中记录或适当链接。
63
+ - [ ] story总结章节已完成,包含与下一个story或整体项目相关的变更或信息说明、开发过程中主要使用的代理模型,以及任何变更的changelog已正确更新。
64
+
65
+ 6. **依赖、构建和配置:**
66
+
67
+ [[LLM: 构建问题会阻塞所有人。确保所有东西都能干净地编译和运行]]
68
+ - [ ] 项目成功构建无错误。
69
+ - [ ] 项目linting通过
70
+ - [ ] 任何新增的依赖要么在story需求中预批准,要么在开发过程中被用户明确批准(批准记录在story文件中)。
71
+ - [ ] 如果新增了依赖,它们记录在适当的项目文件中(如`package.json`、`requirements.txt`)并附有理由。
72
+ - [ ] 新增和批准的依赖没有引入已知安全漏洞。
73
+ - [ ] 如果story引入了新的环境变量或配置,它们已记录并安全处理。
74
+
75
+ 7. **文档(如适用):**
76
+
77
+ [[LLM: 好的文档防止未来困惑。什么需要解释?]]
78
+ - [ ] 新公共API或复杂逻辑的相关内联代码文档(如JSDoc、TSDoc、Python docstrings)已完成。
79
+ - [ ] 如果变更影响用户,用户面向的文档已更新。
80
+ - [ ] 如果进行了重大架构变更,技术文档(如README、系统图)已更新。
81
+
82
+ ## 最终确认
83
+
84
+ [[LLM: 最终DOD总结
85
+
86
+ 完成checklist后:
87
+
88
+ 1. 总结这个story中完成的内容
89
+ 2. 列出任何标记为[ ] 未完成的项目并附说明
90
+ 3. 识别任何技术债务或需要的后续工作
91
+ 4. 记录任何挑战或对未来story的学习
92
+ 5. 确认story是否真正准备好review
93
+
94
+ 要诚实 - 现在标记问题比以后发现要好。]]
95
+
96
+ - [ ] 我,开发者代理,确认上述所有适用项目都已处理。
@@ -0,0 +1,155 @@
1
+ <!-- Powered by BMAD™ Core -->
2
+
3
+ # Story Draft Checklist
4
+
5
+ Scrum Master应该用这个checklist来验证每个story是否包含足够的上下文,让开发代理能够成功实现它,同时假设开发代理有合理的能力来搞定问题。
6
+
7
+ [[LLM: 初始化指令 - STORY DRAFT 验证
8
+
9
+ 在开始这个checklist之前,确保你能访问到:
10
+
11
+ 1. 正在验证的story文档(通常在docs/stories/或直接提供)
12
+ 2. 父级epic上下文
13
+ 3. 任何引用的架构或设计文档
14
+ 4. 如果这是基于之前工作的,需要之前相关的story
15
+
16
+ 重要:这个checklist在实现开始之前验证单个story。
17
+
18
+ 验证原则:
19
+
20
+ 1. 清晰度 - 开发者应该理解要做什么
21
+ 2. 上下文 - 为什么要做这个以及它如何融入整体
22
+ 3. 指导 - 要遵循的关键技术决策和模式
23
+ 4. 可测试性 - 如何验证实现是否有效
24
+ 5. 自包含 - 大部分需要的信息都在story本身
25
+
26
+ 记住:我们假设有能力的开发代理可以:
27
+
28
+ - 研究文档和代码库
29
+ - 做出合理的技术决策
30
+ - 遵循既定的模式
31
+ - 在真正卡住时寻求澄清
32
+
33
+ 我们检查的是足够的指导,而不是事无巨细的细节。]]
34
+
35
+ ## 1. 目标和上下文清晰度
36
+
37
+ [[LLM: 没有清晰的目标,开发者会做错东西。验证:
38
+
39
+ 1. Story说明了要实现什么功能
40
+ 2. 业务价值或用户收益是清晰的
41
+ 3. 解释了这个如何融入更大的epic/产品
42
+ 4. 依赖关系是明确的("需要Story X完成")
43
+ 5. 成功看起来是具体的,不是模糊的]]
44
+
45
+ - [ ] Story目标/目的明确说明
46
+ - [ ] 与epic目标的关系显而易见
47
+ - [ ] 解释了story如何融入整体系统流程
48
+ - [ ] 识别了对之前story的依赖(如果适用)
49
+ - [ ] 业务上下文和价值是清晰的
50
+
51
+ ## 2. 技术实现指导
52
+
53
+ [[LLM: 开发者需要足够的技术上下文来开始编码。检查:
54
+
55
+ 1. 提到要创建或修改的关键文件/组件
56
+ 2. 在非显而易见的地方指定技术选择
57
+ 3. 识别与现有代码的集成点
58
+ 4. 定义或引用数据模型或API合约
59
+ 5. 指出非标准模式或异常
60
+
61
+ 注意:我们不需要列出每个文件 - 只需要重要的。]]
62
+
63
+ - [ ] 识别要创建/修改的关键文件(不一定是详尽的)
64
+ - [ ] 提到这个story特别需要的技术
65
+ - [ ] 充分描述关键的API或接口
66
+ - [ ] 引用必要的数据模型或结构
67
+ - [ ] 列出需要的环境变量(如果适用)
68
+ - [ ] 注意任何标准编码模式的异常
69
+
70
+ ## 3. 引用有效性
71
+
72
+ [[LLM: 引用应该有帮助,而不是创造寻宝游戏。确保:
73
+
74
+ 1. 引用指向特定部分,而不是整个文档
75
+ 2. 解释每个引用的相关性
76
+ 3. 在story中总结关键信息
77
+ 4. 引用是可访问的(不是断开的链接)
78
+ 5. 如果需要,总结之前story的上下文]]
79
+
80
+ - [ ] 对外部文档的引用指向特定的相关部分
81
+ - [ ] 总结之前story的关键信息(不只是引用)
82
+ - [ ] 提供引用为什么相关的上下文
83
+ - [ ] 引用使用一致的格式(比如,`docs/filename.md#section`)
84
+
85
+ ## 4. 自包含性评估
86
+
87
+ [[LLM: Story应该大部分是自包含的,以避免上下文切换。验证:
88
+
89
+ 1. 核心需求在story中,而不仅仅在引用中
90
+ 2. 领域术语被解释或从上下文中显而易见
91
+ 3. 假设被明确说明
92
+ 4. 提到边缘情况(即使被推迟)
93
+ 5. 可以在不阅读10个其他文档的情况下理解story]]
94
+
95
+ - [ ] 包含需要的核心信息(不过度依赖外部文档)
96
+ - [ ] 把隐式假设变得明确
97
+ - [ ] 解释领域特定的术语或概念
98
+ - [ ] 处理边缘情况或错误场景
99
+
100
+ ## 5. 测试指导
101
+
102
+ [[LLM: 测试确保实现真正有效。检查:
103
+
104
+ 1. 指定测试方法(单元、集成、端到端)
105
+ 2. 列出关键测试场景
106
+ 3. 成功标准是可测量的
107
+ 4. 注意特殊测试考虑
108
+ 5. Story中的验收标准是可测试的]]
109
+
110
+ - [ ] 概述所需的测试方法
111
+ - [ ] 识别关键测试场景
112
+ - [ ] 定义成功标准
113
+ - [ ] 注意特殊测试考虑(如果适用)
114
+
115
+ ## 验证结果
116
+
117
+ [[LLM: 最终STORY验证报告
118
+
119
+ 生成简洁的验证报告:
120
+
121
+ 1. 快速总结
122
+ - Story准备状态:READY / NEEDS REVISION / BLOCKED
123
+ - 清晰度评分(1-10)
124
+ - 识别的主要差距
125
+
126
+ 2. 填写验证表格:
127
+ - PASS:要求明确满足
128
+ - PARTIAL:有一些差距但可行
129
+ - FAIL:关键信息缺失
130
+
131
+ 3. 具体问题(如果有)
132
+ - 列出要修复的具体问题
133
+ - 建议具体的改进
134
+ - 识别任何阻塞依赖
135
+
136
+ 4. 开发者视角
137
+ - 你能按照写的那样实现这个story吗?
138
+ - 你会有什么问题?
139
+ - 什么可能导致延迟或返工?
140
+
141
+ 要实用 - 完美的文档不存在,但必须足够提供开发代理需要的极端上下文来完成工作而不造成混乱。]]
142
+
143
+ | 类别 | 状态 | 问题 |
144
+ | --------------------- | ----- | ---- |
145
+ | 1. 目标和上下文清晰度 | _TBD_ | |
146
+ | 2. 技术实现指导 | _TBD_ | |
147
+ | 3. 引用有效性 | _TBD_ | |
148
+ | 4. 自包含性评估 | _TBD_ | |
149
+ | 5. 测试指导 | _TBD_ | |
150
+
151
+ **最终评估:**
152
+
153
+ - READY:Story为实现提供了足够的上下文
154
+ - NEEDS REVISION:Story需要更新(见问题)
155
+ - BLOCKED:需要外部信息(指定什么信息)