Approvals for risky actions

Summary: Actions that are hard to undo wait for your confirmation. Nothing runs until you click the button.

BashPilot can look at your server freely, but actions marked as risky wait for you. They only run after you confirm them in the chat.

Which actions need approval

Each action in BashPilot is marked as safe to run directly or as needing confirmation. Actions that need confirmation include ones that:

  • Delete something, for example a reseller with all the customers and domains they own.
  • Suspend accounts or domains.
  • Change a password, which locks out anyone still using the old one.
  • Restart a shared service such as the web server, which briefly affects every site on the server.
  • Turn off scheduled backups.

Commands that BashPilot recognises as destructive also need confirmation. The AI cannot approve an action on its own.

The confirmation card

When an action needs approval, the chat shows a card titled Action requires your confirmation. It shows:

PartWhat it tells you
DescriptionWhat the action does
TargetWhat it acts on, for example the account, domain or file
RevertWhether and how it can be undone. If there is no undo, it says No automatic undo is available.
WarningThe specific risk of this action

Click Yes, proceed to run it, or Cancel to drop it. After you cancel, that action can no longer run from the card.

Stop a running task

While a task runs, a Stop button replaces Send. Stopping some tasks, such as a database repair or a package install, can leave the server in an inconsistent state, so BashPilot asks you to confirm first.

File editing needs Advanced Mode

BashPilot only edits files on the server when you turn on Advanced Mode for that server. See Advanced Mode.

Last updated · Applies to BashPilot