-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Problem (one or two sentences)
The default command execution denial prompt is too generic. I'd like to be able to customise this, ideally per command.
Context (who is affected and when)
When a command like 'python' is denied by the user, roo-code sends the LLM messages like this:
"Commands with the prefix python
have been forbidden by the user. Do not bypass this restriction by running another command."
The "Do not bypass this restriction by running another command." is too strong, however, and probably discourages the LLM from doing the right thing, rather than guiding it toward doing the right thing.
In this case I would want the LLM to run "uv run python", rather than the system-wide python. So a custom prompt for this denial, that tells it do favor uv
would be very welcome.
Desired behavior (conceptual, not technical)
Ideally, each denied command could have a string telling the LLM what to do instead.
Constraints / preferences (optional)
No response
Request checklist
- I've searched existing Issues and Discussions for duplicates
- This describes a specific problem with clear context and impact
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
No response
Proposed approach (optional)
No response
Trade-offs / risks (optional)
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status