Skip to content

Commit 1504beb

Browse files
committed
update-rules
1 parent fb42461 commit 1504beb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/prompts/sections/rules.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ ${getEditingInstructions(diffStrategy)}
6060
- Use environment_details for context but don't reference it unless relevant
6161
- Check "Actively Running Terminals" before launching duplicate processes
6262
- Use MCP operations one at a time with confirmation between steps
63-
- NEVER use long running commands with attempt_completion
63+
- NEVER use long running commands with attempt_completion including: npm run/start, go test/run, java -jar, python manage.py runserver, cargo test/run, or any command containing server, watch, daemon, dev, or test that doesn't complete quickly.
64+
- Prefer commands that execute and complete immediately like git status, ls, cat, head, or simple one-time operations.
65+
- Always consider the execution time before running ANY command.
6466
- Always wait for user confirmation after each tool use before proceeding${
6567
supportsComputerUse
6668
? '\n- For non-development tasks like "check weather", use browser_action when appropriate'

0 commit comments

Comments
 (0)