Skip to content

Implement Manual Safeguard for Destructive Commands#10

Open
Luis-Leao-rbcx wants to merge 1 commit intoKirti-Rathi:mainfrom
Luis-Leao-rbcx:destructive
Open

Implement Manual Safeguard for Destructive Commands#10
Luis-Leao-rbcx wants to merge 1 commit intoKirti-Rathi:mainfrom
Luis-Leao-rbcx:destructive

Conversation

@Luis-Leao-rbcx
Copy link

Key Changes:

  • Users are prompted with a warning message when attempting to execute a destructive command, asking for confirmation.
  • After confirming, users must manually re-type the command (excluding the CONFIRM: prefix) to proceed with execution.
  • If the re-typed command does not match the original command, execution is aborted, preventing accidental command execution.
  • This enhancement aims to improve user safety and reduce the risk of unintended consequences from executing destructive commands.

@Kirti-Rathi Kirti-Rathi added the enhancement New feature or request label Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants