Skip to content

Option to Blacklist specific commands #4138

@SmartManoj

Description

@SmartManoj

What problem does this proposed feature solve?

Incident :
Context: Added * to allow all commands,

python task_30.py will open a matplotlib window.

When it was open, I made a screen capture and sent a new message.

Agent's thought is "Let me stop the running command ..." and executes "taskkill /f /im python.exe" in a new terminal instead of sending Ctrl + C. (it interprets when the command entered by the user is not finished?)

Image


The agent didn't follow the rules. Was the context missing?

Image


Now the taskkill /f /im python.exe command killed the other Python process. So, there should a blacklist option for a peace of mind.


Image

There should be Kill command and stop button?

Describe the proposed solution in detail

Add option to blacklist commands below the following

Image

Technical considerations or implementation details (optional)

No response

Describe alternatives considered (if any)

No response

Additional Context & Mockups

No response

Proposal Checklist

  • I have searched existing Issues and Discussions to ensure this proposal is not a duplicate.
  • This proposal is for a specific, actionable change intended for implementation (not a general idea).
  • I understand that this proposal requires review and approval before any development work begins.

Are you interested in implementing this feature if approved?

  • Yes, I would like to contribute to implementing this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.enhancementNew feature or requestfeature requestFeature request, not a bug

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions