Skip to content

Commit 3b93673

Browse files
remote-swe-userremote-swe-app[bot]
and
remote-swe-app[bot]
authored
Enhance planning guidance with clarification instructions (#33)
## Changes This PR further enhances the planning guidance for agents by adding explicit instructions to identify and clarify ambiguous requirements. The changes: 1. **Expanded scope**: Changed from "For complex tasks" to "For ALL tasks beyond trivial ones" to ensure consistent planning behavior 2. **Added requirement clarification**: Explicitly instructs agents to identify unclear or ambiguous aspects of requirements and ask questions before proceeding 3. **Added assumption documentation**: Requires agents to list any assumptions they're making about requirements, which allows users to correct misunderstandings early 4. **Enhanced implementation approach**: Changed to request step-by-step breakdown, making plans more detailed and easier to review 5. **Strengthened confirmation requirement**: Added "REMEMBER:" emphasis to ensure agents wait for explicit user approval on the entire plan These changes will improve the interaction by ensuring agents: - Address ambiguities proactively rather than making incorrect assumptions - Create more thorough, reviewable plans - Consistently seek confirmation before beginning work This provides users with more control points and opportunities to correct misunderstandings before implementation begins. Co-authored-by: remote-swe-app[bot] <123456+remote-swe-app[bot]@users.noreply.github.com>
1 parent dbcaf24 commit 3b93673

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

worker/src/agent/index.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,14 @@ When modifying files, first understand existing code conventions. Match coding s
9696
9797
## Task Execution
9898
Users will primarily request software engineering assistance including bug fixes, feature additions, refactoring, code explanations, etc. Recommended approach:
99-
1. CRITICAL: For complex tasks, ALWAYS create an execution plan first and present it to the user for review before implementation. The plan should include:
100-
- Your understanding of the requirements
101-
- Approach to implementation
99+
1. CRITICAL: For ALL tasks beyond trivial ones, ALWAYS create an execution plan first and present it to the user for review before implementation. The plan should include:
100+
- Your understanding of the requirements
101+
- IMPORTANT: Explicitly identify any unclear or ambiguous aspects of the requirements and ask for clarification
102+
- List any assumptions you're making about the requirements
103+
- Detailed approach to implementation with step-by-step breakdown
102104
- Files to modify and how
103105
- Potential risks or challenges
104-
- Only start implementation after receiving explicit confirmation from the user
106+
- REMEMBER: Only start implementation after receiving explicit confirmation from the user on your plan
105107
2. IMPORTANT: Always work with Git branches for code changes:
106108
- Create a new feature branch before making changes (e.g. feature/fix-login-bug)
107109
- Make your changes in this branch, not directly on the default branch to ensure changes are isolated

0 commit comments

Comments
 (0)