agentvibes 2.4.3-beta.2 → 2.4.3

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 (129) hide show
  1. package/README.md +7 -7
  2. package/RELEASE_NOTES.md +94 -119
  3. package/package.json +1 -1
  4. package/.bmad-core/agent-teams/team-all.yaml +0 -15
  5. package/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  6. package/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  7. package/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  8. package/.bmad-core/agents/analyst.md +0 -84
  9. package/.bmad-core/agents/architect.md +0 -85
  10. package/.bmad-core/agents/bmad-master.md +0 -110
  11. package/.bmad-core/agents/bmad-orchestrator.md +0 -147
  12. package/.bmad-core/agents/dev.md +0 -81
  13. package/.bmad-core/agents/pm.md +0 -84
  14. package/.bmad-core/agents/po.md +0 -79
  15. package/.bmad-core/agents/qa.md +0 -87
  16. package/.bmad-core/agents/sm.md +0 -65
  17. package/.bmad-core/agents/ux-expert.md +0 -69
  18. package/.bmad-core/checklists/architect-checklist.md +0 -440
  19. package/.bmad-core/checklists/change-checklist.md +0 -184
  20. package/.bmad-core/checklists/pm-checklist.md +0 -372
  21. package/.bmad-core/checklists/po-master-checklist.md +0 -434
  22. package/.bmad-core/checklists/story-dod-checklist.md +0 -96
  23. package/.bmad-core/checklists/story-draft-checklist.md +0 -155
  24. package/.bmad-core/core-config.yaml +0 -22
  25. package/.bmad-core/data/bmad-kb.md +0 -809
  26. package/.bmad-core/data/brainstorming-techniques.md +0 -38
  27. package/.bmad-core/data/elicitation-methods.md +0 -156
  28. package/.bmad-core/data/technical-preferences.md +0 -5
  29. package/.bmad-core/data/test-levels-framework.md +0 -148
  30. package/.bmad-core/data/test-priorities-matrix.md +0 -174
  31. package/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  32. package/.bmad-core/install-manifest.yaml +0 -230
  33. package/.bmad-core/tasks/advanced-elicitation.md +0 -119
  34. package/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  35. package/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  36. package/.bmad-core/tasks/brownfield-create-story.md +0 -149
  37. package/.bmad-core/tasks/correct-course.md +0 -72
  38. package/.bmad-core/tasks/create-brownfield-story.md +0 -314
  39. package/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  40. package/.bmad-core/tasks/create-doc.md +0 -103
  41. package/.bmad-core/tasks/create-next-story.md +0 -114
  42. package/.bmad-core/tasks/document-project.md +0 -345
  43. package/.bmad-core/tasks/execute-checklist.md +0 -88
  44. package/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  45. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  46. package/.bmad-core/tasks/index-docs.md +0 -175
  47. package/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  48. package/.bmad-core/tasks/nfr-assess.md +0 -345
  49. package/.bmad-core/tasks/qa-gate.md +0 -163
  50. package/.bmad-core/tasks/review-story.md +0 -316
  51. package/.bmad-core/tasks/risk-profile.md +0 -355
  52. package/.bmad-core/tasks/shard-doc.md +0 -187
  53. package/.bmad-core/tasks/test-design.md +0 -176
  54. package/.bmad-core/tasks/trace-requirements.md +0 -266
  55. package/.bmad-core/tasks/validate-next-story.md +0 -136
  56. package/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  57. package/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  58. package/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  59. package/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  60. package/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  61. package/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  62. package/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  63. package/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  64. package/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  65. package/.bmad-core/templates/prd-tmpl.yaml +0 -203
  66. package/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  67. package/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  68. package/.bmad-core/templates/story-tmpl.yaml +0 -138
  69. package/.bmad-core/user-guide.md +0 -577
  70. package/.bmad-core/utils/bmad-doc-template.md +0 -327
  71. package/.bmad-core/utils/workflow-management.md +0 -71
  72. package/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  73. package/.bmad-core/workflows/brownfield-service.yaml +0 -188
  74. package/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  75. package/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  76. package/.bmad-core/workflows/greenfield-service.yaml +0 -207
  77. package/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  78. package/.bmad-core/working-in-the-brownfield.md +0 -606
  79. package/.claude/commands/BMad/analyst.md +0 -88
  80. package/.claude/commands/BMad/architect.md +0 -89
  81. package/.claude/commands/BMad/bmad-master.md +0 -114
  82. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  83. package/.claude/commands/BMad/dev.md +0 -85
  84. package/.claude/commands/BMad/pm.md +0 -88
  85. package/.claude/commands/BMad/po.md +0 -83
  86. package/.claude/commands/BMad/qa.md +0 -91
  87. package/.claude/commands/BMad/sm.md +0 -69
  88. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  89. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  90. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  91. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  92. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  93. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  94. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  95. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  96. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  97. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  98. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  99. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  100. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  101. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  102. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  103. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  104. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  105. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  106. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  107. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  108. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  109. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  110. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  111. package/.claude/commands/BMad/ux-expert.md +0 -73
  112. package/.claude/github-star-reminder.txt +0 -1
  113. package/.claude/piper-voices-dir.txt +0 -1
  114. package/.claude/plugins/bmad-voices-enabled.flag +0 -0
  115. package/.mcp.json +0 -88
  116. package/RELEASE_NOTES_v2.4.0_DRAFT.md +0 -116
  117. package/RELEASE_NOTES_v2.4.1_DRAFT.md +0 -61
  118. package/docs/2025-11-15_15-14-33.snagx +0 -0
  119. package/docs/Screenshot 2025-11-15 151325.png +0 -0
  120. package/docs/Screenshot 2025-11-15 151432.png +0 -0
  121. package/docs/macos-piper-issue.md +0 -172
  122. package/docs/stargazer-cms-prd.md +0 -1918
  123. package/docs/whatsapp-plugin-github-issue.md +0 -393
  124. package/docs/whatsapp-tts-plugin-feasibility.md +0 -418
  125. package/docs/whatsapp-tts-standalone-plugin.md +0 -628
  126. package/github-profile-draft.md +0 -57
  127. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  128. package/mcp-server/agentvibes.db +0 -0
  129. package/scripts/audio-tunnel.config +0 -17
@@ -1,153 +0,0 @@
1
- # /brownfield-create-story Task
2
-
3
- When this command is used, execute the following task:
4
-
5
- <!-- Powered by BMAD™ Core -->
6
-
7
- # Create Brownfield Story Task
8
-
9
- ## Purpose
10
-
11
- Create a single user story for very small brownfield enhancements that can be completed in one focused development session. This task is for minimal additions or bug fixes that require existing system integration awareness.
12
-
13
- ## When to Use This Task
14
-
15
- **Use this task when:**
16
-
17
- - The enhancement can be completed in a single story
18
- - No new architecture or significant design is required
19
- - The change follows existing patterns exactly
20
- - Integration is straightforward with minimal risk
21
- - Change is isolated with clear boundaries
22
-
23
- **Use brownfield-create-epic when:**
24
-
25
- - The enhancement requires 2-3 coordinated stories
26
- - Some design work is needed
27
- - Multiple integration points are involved
28
-
29
- **Use the full brownfield PRD/Architecture process when:**
30
-
31
- - The enhancement requires multiple coordinated stories
32
- - Architectural planning is needed
33
- - Significant integration work is required
34
-
35
- ## Instructions
36
-
37
- ### 1. Quick Project Assessment
38
-
39
- Gather minimal but essential context about the existing project:
40
-
41
- **Current System Context:**
42
-
43
- - [ ] Relevant existing functionality identified
44
- - [ ] Technology stack for this area noted
45
- - [ ] Integration point(s) clearly understood
46
- - [ ] Existing patterns for similar work identified
47
-
48
- **Change Scope:**
49
-
50
- - [ ] Specific change clearly defined
51
- - [ ] Impact boundaries identified
52
- - [ ] Success criteria established
53
-
54
- ### 2. Story Creation
55
-
56
- Create a single focused story following this structure:
57
-
58
- #### Story Title
59
-
60
- {{Specific Enhancement}} - Brownfield Addition
61
-
62
- #### User Story
63
-
64
- As a {{user type}},
65
- I want {{specific action/capability}},
66
- So that {{clear benefit/value}}.
67
-
68
- #### Story Context
69
-
70
- **Existing System Integration:**
71
-
72
- - Integrates with: {{existing component/system}}
73
- - Technology: {{relevant tech stack}}
74
- - Follows pattern: {{existing pattern to follow}}
75
- - Touch points: {{specific integration points}}
76
-
77
- #### Acceptance Criteria
78
-
79
- **Functional Requirements:**
80
-
81
- 1. {{Primary functional requirement}}
82
- 2. {{Secondary functional requirement (if any)}}
83
- 3. {{Integration requirement}}
84
-
85
- **Integration Requirements:** 4. Existing {{relevant functionality}} continues to work unchanged 5. New functionality follows existing {{pattern}} pattern 6. Integration with {{system/component}} maintains current behavior
86
-
87
- **Quality Requirements:** 7. Change is covered by appropriate tests 8. Documentation is updated if needed 9. No regression in existing functionality verified
88
-
89
- #### Technical Notes
90
-
91
- - **Integration Approach:** {{how it connects to existing system}}
92
- - **Existing Pattern Reference:** {{link or description of pattern to follow}}
93
- - **Key Constraints:** {{any important limitations or requirements}}
94
-
95
- #### Definition of Done
96
-
97
- - [ ] Functional requirements met
98
- - [ ] Integration requirements verified
99
- - [ ] Existing functionality regression tested
100
- - [ ] Code follows existing patterns and standards
101
- - [ ] Tests pass (existing and new)
102
- - [ ] Documentation updated if applicable
103
-
104
- ### 3. Risk and Compatibility Check
105
-
106
- **Minimal Risk Assessment:**
107
-
108
- - **Primary Risk:** {{main risk to existing system}}
109
- - **Mitigation:** {{simple mitigation approach}}
110
- - **Rollback:** {{how to undo if needed}}
111
-
112
- **Compatibility Verification:**
113
-
114
- - [ ] No breaking changes to existing APIs
115
- - [ ] Database changes (if any) are additive only
116
- - [ ] UI changes follow existing design patterns
117
- - [ ] Performance impact is negligible
118
-
119
- ### 4. Validation Checklist
120
-
121
- Before finalizing the story, confirm:
122
-
123
- **Scope Validation:**
124
-
125
- - [ ] Story can be completed in one development session
126
- - [ ] Integration approach is straightforward
127
- - [ ] Follows existing patterns exactly
128
- - [ ] No design or architecture work required
129
-
130
- **Clarity Check:**
131
-
132
- - [ ] Story requirements are unambiguous
133
- - [ ] Integration points are clearly specified
134
- - [ ] Success criteria are testable
135
- - [ ] Rollback approach is simple
136
-
137
- ## Success Criteria
138
-
139
- The story creation is successful when:
140
-
141
- 1. Enhancement is clearly defined and appropriately scoped for single session
142
- 2. Integration approach is straightforward and low-risk
143
- 3. Existing system patterns are identified and will be followed
144
- 4. Rollback plan is simple and feasible
145
- 5. Acceptance criteria include existing functionality verification
146
-
147
- ## Important Notes
148
-
149
- - This task is for VERY SMALL brownfield changes only
150
- - If complexity grows during analysis, escalate to brownfield-create-epic
151
- - Always prioritize existing system integrity
152
- - When in doubt about integration complexity, use brownfield-create-epic instead
153
- - Stories should take no more than 4 hours of focused development work
@@ -1,76 +0,0 @@
1
- # /correct-course Task
2
-
3
- When this command is used, execute the following task:
4
-
5
- <!-- Powered by BMAD™ Core -->
6
-
7
- # Correct Course Task
8
-
9
- ## Purpose
10
-
11
- - Guide a structured response to a change trigger using the `.bmad-core/checklists/change-checklist`.
12
- - Analyze the impacts of the change on epics, project artifacts, and the MVP, guided by the checklist's structure.
13
- - Explore potential solutions (e.g., adjust scope, rollback elements, re-scope features) as prompted by the checklist.
14
- - Draft specific, actionable proposed updates to any affected project artifacts (e.g., epics, user stories, PRD sections, architecture document sections) based on the analysis.
15
- - Produce a consolidated "Sprint Change Proposal" document that contains the impact analysis and the clearly drafted proposed edits for user review and approval.
16
- - Ensure a clear handoff path if the nature of the changes necessitates fundamental replanning by other core agents (like PM or Architect).
17
-
18
- ## Instructions
19
-
20
- ### 1. Initial Setup & Mode Selection
21
-
22
- - **Acknowledge Task & Inputs:**
23
- - Confirm with the user that the "Correct Course Task" (Change Navigation & Integration) is being initiated.
24
- - Verify the change trigger and ensure you have the user's initial explanation of the issue and its perceived impact.
25
- - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `.bmad-core/checklists/change-checklist`.
26
- - **Establish Interaction Mode:**
27
- - Ask the user their preferred interaction mode for this task:
28
- - **"Incrementally (Default & Recommended):** Shall we work through the change-checklist section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
29
- - **"YOLO Mode (Batch Processing):** Or, would you prefer I conduct a more batched analysis based on the checklist and then present a consolidated set of findings and proposed changes for a broader review? This can be quicker for initial assessment but might require more extensive review of the combined proposals."
30
- - Once the user chooses, confirm the selected mode and then inform the user: "We will now use the change-checklist to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
31
-
32
- ### 2. Execute Checklist Analysis (Iteratively or Batched, per Interaction Mode)
33
-
34
- - Systematically work through Sections 1-4 of the change-checklist (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
35
- - For each checklist item or logical group of items (depending on interaction mode):
36
- - Present the relevant prompt(s) or considerations from the checklist to the user.
37
- - Request necessary information and actively analyze the relevant project artifacts (PRD, epics, architecture documents, story history, etc.) to assess the impact.
38
- - Discuss your findings for each item with the user.
39
- - Record the status of each checklist item (e.g., `[x] Addressed`, `[N/A]`, `[!] Further Action Needed`) and any pertinent notes or decisions.
40
- - Collaboratively agree on the "Recommended Path Forward" as prompted by Section 4 of the checklist.
41
-
42
- ### 3. Draft Proposed Changes (Iteratively or Batched)
43
-
44
- - Based on the completed checklist analysis (Sections 1-4) and the agreed "Recommended Path Forward" (excluding scenarios requiring fundamental replans that would necessitate immediate handoff to PM/Architect):
45
- - Identify the specific project artifacts that require updates (e.g., specific epics, user stories, PRD sections, architecture document components, diagrams).
46
- - **Draft the proposed changes directly and explicitly for each identified artifact.** Examples include:
47
- - Revising user story text, acceptance criteria, or priority.
48
- - Adding, removing, reordering, or splitting user stories within epics.
49
- - Proposing modified architecture diagram snippets (e.g., providing an updated Mermaid diagram block or a clear textual description of the change to an existing diagram).
50
- - Updating technology lists, configuration details, or specific sections within the PRD or architecture documents.
51
- - Drafting new, small supporting artifacts if necessary (e.g., a brief addendum for a specific decision).
52
- - If in "Incremental Mode," discuss and refine these proposed edits for each artifact or small group of related artifacts with the user as they are drafted.
53
- - If in "YOLO Mode," compile all drafted edits for presentation in the next step.
54
-
55
- ### 4. Generate "Sprint Change Proposal" with Edits
56
-
57
- - Synthesize the complete change-checklist analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the change-checklist.
58
- - The proposal must clearly present:
59
- - **Analysis Summary:** A concise overview of the original issue, its analyzed impact (on epics, artifacts, MVP scope), and the rationale for the chosen path forward.
60
- - **Specific Proposed Edits:** For each affected artifact, clearly show or describe the exact changes (e.g., "Change Story X.Y from: [old text] To: [new text]", "Add new Acceptance Criterion to Story A.B: [new AC]", "Update Section 3.2 of Architecture Document as follows: [new/modified text or diagram description]").
61
- - Present the complete draft of the "Sprint Change Proposal" to the user for final review and feedback. Incorporate any final adjustments requested by the user.
62
-
63
- ### 5. Finalize & Determine Next Steps
64
-
65
- - Obtain explicit user approval for the "Sprint Change Proposal," including all the specific edits documented within it.
66
- - Provide the finalized "Sprint Change Proposal" document to the user.
67
- - **Based on the nature of the approved changes:**
68
- - **If the approved edits sufficiently address the change and can be implemented directly or organized by a PO/SM:** State that the "Correct Course Task" is complete regarding analysis and change proposal, and the user can now proceed with implementing or logging these changes (e.g., updating actual project documents, backlog items). Suggest handoff to a PO/SM agent for backlog organization if appropriate.
69
- - **If the analysis and proposed path (as per checklist Section 4 and potentially Section 6) indicate that the change requires a more fundamental replan (e.g., significant scope change, major architectural rework):** Clearly state this conclusion. Advise the user that the next step involves engaging the primary PM or Architect agents, using the "Sprint Change Proposal" as critical input and context for that deeper replanning effort.
70
-
71
- ## Output Deliverables
72
-
73
- - **Primary:** A "Sprint Change Proposal" document (in markdown format). This document will contain:
74
- - A summary of the change-checklist analysis (issue, impact, rationale for the chosen path).
75
- - Specific, clearly drafted proposed edits for all affected project artifacts.
76
- - **Implicit:** An annotated change-checklist (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
@@ -1,318 +0,0 @@
1
- # /create-brownfield-story Task
2
-
3
- When this command is used, execute the following task:
4
-
5
- <!-- Powered by BMAD™ Core -->
6
-
7
- # Create Brownfield Story Task
8
-
9
- ## Purpose
10
-
11
- Create detailed, implementation-ready stories for brownfield projects where traditional sharded PRD/architecture documents may not exist. This task bridges the gap between various documentation formats (document-project output, brownfield PRDs, epics, or user documentation) and executable stories for the Dev agent.
12
-
13
- ## When to Use This Task
14
-
15
- **Use this task when:**
16
-
17
- - Working on brownfield projects with non-standard documentation
18
- - Stories need to be created from document-project output
19
- - Working from brownfield epics without full PRD/architecture
20
- - Existing project documentation doesn't follow BMad v4+ structure
21
- - Need to gather additional context from user during story creation
22
-
23
- **Use create-next-story when:**
24
-
25
- - Working with properly sharded PRD and v4 architecture documents
26
- - Following standard greenfield or well-documented brownfield workflow
27
- - All technical context is available in structured format
28
-
29
- ## Task Execution Instructions
30
-
31
- ### 0. Documentation Context
32
-
33
- Check for available documentation in this order:
34
-
35
- 1. **Sharded PRD/Architecture** (docs/prd/, docs/architecture/)
36
- - If found, recommend using create-next-story task instead
37
-
38
- 2. **Brownfield Architecture Document** (docs/brownfield-architecture.md or similar)
39
- - Created by document-project task
40
- - Contains actual system state, technical debt, workarounds
41
-
42
- 3. **Brownfield PRD** (docs/prd.md)
43
- - May contain embedded technical details
44
-
45
- 4. **Epic Files** (docs/epics/ or similar)
46
- - Created by brownfield-create-epic task
47
-
48
- 5. **User-Provided Documentation**
49
- - Ask user to specify location and format
50
-
51
- ### 1. Story Identification and Context Gathering
52
-
53
- #### 1.1 Identify Story Source
54
-
55
- Based on available documentation:
56
-
57
- - **From Brownfield PRD**: Extract stories from epic sections
58
- - **From Epic Files**: Read epic definition and story list
59
- - **From User Direction**: Ask user which specific enhancement to implement
60
- - **No Clear Source**: Work with user to define the story scope
61
-
62
- #### 1.2 Gather Essential Context
63
-
64
- CRITICAL: For brownfield stories, you MUST gather enough context for safe implementation. Be prepared to ask the user for missing information.
65
-
66
- **Required Information Checklist:**
67
-
68
- - [ ] What existing functionality might be affected?
69
- - [ ] What are the integration points with current code?
70
- - [ ] What patterns should be followed (with examples)?
71
- - [ ] What technical constraints exist?
72
- - [ ] Are there any "gotchas" or workarounds to know about?
73
-
74
- If any required information is missing, list the missing information and ask the user to provide it.
75
-
76
- ### 2. Extract Technical Context from Available Sources
77
-
78
- #### 2.1 From Document-Project Output
79
-
80
- If using brownfield-architecture.md from document-project:
81
-
82
- - **Technical Debt Section**: Note any workarounds affecting this story
83
- - **Key Files Section**: Identify files that will need modification
84
- - **Integration Points**: Find existing integration patterns
85
- - **Known Issues**: Check if story touches problematic areas
86
- - **Actual Tech Stack**: Verify versions and constraints
87
-
88
- #### 2.2 From Brownfield PRD
89
-
90
- If using brownfield PRD:
91
-
92
- - **Technical Constraints Section**: Extract all relevant constraints
93
- - **Integration Requirements**: Note compatibility requirements
94
- - **Code Organization**: Follow specified patterns
95
- - **Risk Assessment**: Understand potential impacts
96
-
97
- #### 2.3 From User Documentation
98
-
99
- Ask the user to help identify:
100
-
101
- - Relevant technical specifications
102
- - Existing code examples to follow
103
- - Integration requirements
104
- - Testing approaches used in the project
105
-
106
- ### 3. Story Creation with Progressive Detail Gathering
107
-
108
- #### 3.1 Create Initial Story Structure
109
-
110
- Start with the story template, filling in what's known:
111
-
112
- ```markdown
113
- # Story {{Enhancement Title}}
114
-
115
- ## Status: Draft
116
-
117
- ## Story
118
-
119
- As a {{user_type}},
120
- I want {{enhancement_capability}},
121
- so that {{value_delivered}}.
122
-
123
- ## Context Source
124
-
125
- - Source Document: {{document name/type}}
126
- - Enhancement Type: {{single feature/bug fix/integration/etc}}
127
- - Existing System Impact: {{brief assessment}}
128
- ```
129
-
130
- #### 3.2 Develop Acceptance Criteria
131
-
132
- Critical: For brownfield, ALWAYS include criteria about maintaining existing functionality
133
-
134
- Standard structure:
135
-
136
- 1. New functionality works as specified
137
- 2. Existing {{affected feature}} continues to work unchanged
138
- 3. Integration with {{existing system}} maintains current behavior
139
- 4. No regression in {{related area}}
140
- 5. Performance remains within acceptable bounds
141
-
142
- #### 3.3 Gather Technical Guidance
143
-
144
- Critical: This is where you'll need to be interactive with the user if information is missing
145
-
146
- Create Dev Technical Guidance section with available information:
147
-
148
- ````markdown
149
- ## Dev Technical Guidance
150
-
151
- ### Existing System Context
152
-
153
- [Extract from available documentation]
154
-
155
- ### Integration Approach
156
-
157
- [Based on patterns found or ask user]
158
-
159
- ### Technical Constraints
160
-
161
- [From documentation or user input]
162
-
163
- ### Missing Information
164
-
165
- Critical: List anything you couldn't find that dev will need and ask for the missing information
166
-
167
- ### 4. Task Generation with Safety Checks
168
-
169
- #### 4.1 Generate Implementation Tasks
170
-
171
- Based on gathered context, create tasks that:
172
-
173
- - Include exploration tasks if system understanding is incomplete
174
- - Add verification tasks for existing functionality
175
- - Include rollback considerations
176
- - Reference specific files/patterns when known
177
-
178
- Example task structure for brownfield:
179
-
180
- ```markdown
181
- ## Tasks / Subtasks
182
-
183
- - [ ] Task 1: Analyze existing {{component/feature}} implementation
184
- - [ ] Review {{specific files}} for current patterns
185
- - [ ] Document integration points
186
- - [ ] Identify potential impacts
187
-
188
- - [ ] Task 2: Implement {{new functionality}}
189
- - [ ] Follow pattern from {{example file}}
190
- - [ ] Integrate with {{existing component}}
191
- - [ ] Maintain compatibility with {{constraint}}
192
-
193
- - [ ] Task 3: Verify existing functionality
194
- - [ ] Test {{existing feature 1}} still works
195
- - [ ] Verify {{integration point}} behavior unchanged
196
- - [ ] Check performance impact
197
-
198
- - [ ] Task 4: Add tests
199
- - [ ] Unit tests following {{project test pattern}}
200
- - [ ] Integration test for {{integration point}}
201
- - [ ] Update existing tests if needed
202
- ```
203
- ````
204
-
205
- ### 5. Risk Assessment and Mitigation
206
-
207
- CRITICAL: for brownfield - always include risk assessment
208
-
209
- Add section for brownfield-specific risks:
210
-
211
- ```markdown
212
- ## Risk Assessment
213
-
214
- ### Implementation Risks
215
-
216
- - **Primary Risk**: {{main risk to existing system}}
217
- - **Mitigation**: {{how to address}}
218
- - **Verification**: {{how to confirm safety}}
219
-
220
- ### Rollback Plan
221
-
222
- - {{Simple steps to undo changes if needed}}
223
-
224
- ### Safety Checks
225
-
226
- - [ ] Existing {{feature}} tested before changes
227
- - [ ] Changes can be feature-flagged or isolated
228
- - [ ] Rollback procedure documented
229
- ```
230
-
231
- ### 6. Final Story Validation
232
-
233
- Before finalizing:
234
-
235
- 1. **Completeness Check**:
236
- - [ ] Story has clear scope and acceptance criteria
237
- - [ ] Technical context is sufficient for implementation
238
- - [ ] Integration approach is defined
239
- - [ ] Risks are identified with mitigation
240
-
241
- 2. **Safety Check**:
242
- - [ ] Existing functionality protection included
243
- - [ ] Rollback plan is feasible
244
- - [ ] Testing covers both new and existing features
245
-
246
- 3. **Information Gaps**:
247
- - [ ] All critical missing information gathered from user
248
- - [ ] Remaining unknowns documented for dev agent
249
- - [ ] Exploration tasks added where needed
250
-
251
- ### 7. Story Output Format
252
-
253
- Save the story with appropriate naming:
254
-
255
- - If from epic: `docs/stories/epic-{n}-story-{m}.md`
256
- - If standalone: `docs/stories/brownfield-{feature-name}.md`
257
- - If sequential: Follow existing story numbering
258
-
259
- Include header noting documentation context:
260
-
261
- ```markdown
262
- # Story: {{Title}}
263
-
264
- <!-- Source: {{documentation type used}} -->
265
- <!-- Context: Brownfield enhancement to {{existing system}} -->
266
-
267
- ## Status: Draft
268
-
269
- [Rest of story content...]
270
- ```
271
-
272
- ### 8. Handoff Communication
273
-
274
- Provide clear handoff to the user:
275
-
276
- ```text
277
- Brownfield story created: {{story title}}
278
-
279
- Source Documentation: {{what was used}}
280
- Story Location: {{file path}}
281
-
282
- Key Integration Points Identified:
283
- - {{integration point 1}}
284
- - {{integration point 2}}
285
-
286
- Risks Noted:
287
- - {{primary risk}}
288
-
289
- {{If missing info}}:
290
- Note: Some technical details were unclear. The story includes exploration tasks to gather needed information during implementation.
291
-
292
- Next Steps:
293
- 1. Review story for accuracy
294
- 2. Verify integration approach aligns with your system
295
- 3. Approve story or request adjustments
296
- 4. Dev agent can then implement with safety checks
297
- ```
298
-
299
- ## Success Criteria
300
-
301
- The brownfield story creation is successful when:
302
-
303
- 1. Story can be implemented without requiring dev to search multiple documents
304
- 2. Integration approach is clear and safe for existing system
305
- 3. All available technical context has been extracted and organized
306
- 4. Missing information has been identified and addressed
307
- 5. Risks are documented with mitigation strategies
308
- 6. Story includes verification of existing functionality
309
- 7. Rollback approach is defined
310
-
311
- ## Important Notes
312
-
313
- - This task is specifically for brownfield projects with non-standard documentation
314
- - Always prioritize existing system stability over new features
315
- - When in doubt, add exploration and verification tasks
316
- - It's better to ask the user for clarification than make assumptions
317
- - Each story should be self-contained for the dev agent
318
- - Include references to existing code patterns when available