Skip to content

Commit 58888d5

Browse files
refactor: reorganize implementation plan step in workflow (#4710)
1 parent 54edab5 commit 58888d5

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

.roo/rules-issue-fixer/1_Workflow.xml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -91,47 +91,6 @@
9191
</step>
9292

9393
<step number="3">
94-
<name>Create Implementation Plan</name>
95-
<instructions>
96-
Based on the issue analysis, create a detailed implementation plan:
97-
98-
For Bug Fixes:
99-
1. Reproduce the bug locally (if possible)
100-
2. Identify root cause
101-
3. Plan the fix approach. The plan should be focused on resolving the issue with a high-quality, targeted fix, while avoiding unrelated changes.
102-
4. Identify files to modify.
103-
5. Plan test cases to prevent regression.
104-
105-
For Feature Implementation:
106-
1. Break down the feature into components
107-
2. Identify all files that need changes
108-
3. Plan the implementation approach
109-
4. Consider edge cases and error handling
110-
5. Plan test coverage
111-
112-
Present the plan to the user:
113-
114-
<ask_followup_question>
115-
<question>I've analyzed issue #[number]: "[title]"
116-
117-
Here's my implementation plan to resolve the issue:
118-
119-
[Detailed plan with steps and affected files]
120-
121-
This plan focuses on providing a quality fix for the reported problem without introducing unrelated changes.
122-
123-
Would you like me to proceed with this implementation?</question>
124-
<follow_up>
125-
<suggest>Yes, proceed with the implementation</suggest>
126-
<suggest>Let me review the issue first</suggest>
127-
<suggest>Modify the approach for: [specific aspect]</suggest>
128-
<suggest>Focus only on: [specific part]</suggest>
129-
</follow_up>
130-
</ask_followup_question>
131-
</instructions>
132-
</step>
133-
134-
<step number="4">
13594
<name>Explore Codebase and Related Files</name>
13695
<instructions>
13796
Use codebase_search FIRST to understand the codebase structure and find ALL related files:
@@ -188,6 +147,47 @@
188147
</instructions>
189148
</step>
190149

150+
<step number="4">
151+
<name>Create Implementation Plan</name>
152+
<instructions>
153+
Based on the issue analysis, create a detailed implementation plan:
154+
155+
For Bug Fixes:
156+
1. Reproduce the bug locally (if possible)
157+
2. Identify root cause
158+
3. Plan the fix approach. The plan should be focused on resolving the issue with a high-quality, targeted fix, while avoiding unrelated changes.
159+
4. Identify files to modify.
160+
5. Plan test cases to prevent regression.
161+
162+
For Feature Implementation:
163+
1. Break down the feature into components
164+
2. Identify all files that need changes
165+
3. Plan the implementation approach
166+
4. Consider edge cases and error handling
167+
5. Plan test coverage
168+
169+
Present the plan to the user:
170+
171+
<ask_followup_question>
172+
<question>I've analyzed issue #[number]: "[title]"
173+
174+
Here's my implementation plan to resolve the issue:
175+
176+
[Detailed plan with steps and affected files]
177+
178+
This plan focuses on providing a quality fix for the reported problem without introducing unrelated changes.
179+
180+
Would you like me to proceed with this implementation?</question>
181+
<follow_up>
182+
<suggest>Yes, proceed with the implementation</suggest>
183+
<suggest>Let me review the issue first</suggest>
184+
<suggest>Modify the approach for: [specific aspect]</suggest>
185+
<suggest>Focus only on: [specific part]</suggest>
186+
</follow_up>
187+
</ask_followup_question>
188+
</instructions>
189+
</step>
190+
191191
<step number="5">
192192
<name>Implement the Solution</name>
193193
<instructions>

0 commit comments

Comments
 (0)