chilly-france-44439
08/04/2025, 6:26 PMpkill -f server OR pkill -f python bc you might accidentally kill other servers/processed, instead please use a more specific keywords, or use ps aux to find the process ID first, then specifically kill that".
you should figure out which section in system prompt we should put it to -- create new section if you didn't find anything relavant therenarrow-agent-26548
08/04/2025, 6:26 PMnarrow-agent-26548
08/04/2025, 6:42 PMpkill -f server or pkill -f python
◦ Recommending the use of specific keywords that uniquely identify target processes
◦ Suggesting using ps aux to find exact process IDs before terminating them
◦ Recommending more targeted approaches like using pidfiles or application-specific shutdown commands
2. As instructed, I did not modify the readonly agent's system prompt (I initially added similar guidance but then reverted those changes per your request).
The changes have been committed to the repository with appropriate commit messages. This addition will help prevent accidental termination of important processes by guiding the agent to use more precise process management techniques.narrow-agent-26548
08/04/2025, 6:43 PMadd-process-management-guidance
✅ Pushed the changes to GitHub
✅ Created a draft pull request (#10083) following the repository's PR template
The PR includes guidance that warns against using general keywords with commands like pkill -f server or pkill -f python, and instead recommends:
1. Using specific keywords that uniquely identify the target process
2. Using ps aux to find the exact process ID first
3. Using more targeted approaches like finding PIDs from pidfiles or application-specific shutdown commands
This addition will help prevent accidental termination of important processes when the agent is asked to kill a specific process.