Keeping bots in check

Access levels

Each bot has one, set in Bot settings › Access. Pick the lowest that lets it do its job.

Level What it means
Reads and runs tests Can't change files. It can run your project's tests.
Asks before changing anything Reads freely, and asks before it changes anything.
Asks before risky things Gets on with normal work, and asks before anything risky.
Does everything without asking No checks at all. The bot can read and change anything your user account can, including secrets.

Every protection below applies to the first three levels. Does everything without asking turns them off, so keep it for bots you trust with your whole computer.

Risky commands

Some commands can't be undone. A bot always asks before one, even if you allowed something like it before:

  • deleting files, or throwing away work in git,
  • deleting data from a database,
  • erasing a disk,
  • stopping running programs,
  • deleting containers or their data,
  • emptying a file.

The card says what the command would do, like "Delete files with this command?", and that it can't be undone. Press Run it or Don't. There's no "always allow" for these.

Your passwords and keys

A bot asks before it reads places where passwords and keys live, like ~/.ssh, your cloud and Git sign-ins, your Mac's keychain and PentaBot's own data. A saved permission never lifts this. A bot set to Reads and runs tests can't read them at all.

Apps like Terminal, System Settings, Keychain Access and password managers always ask before a bot uses them.

Secrets for bots

When a bot needs a password or a key, it asks with a Secret request card. Type the value there, never in the chat. PentaBot keeps it in a file on the machine and hides it whenever it shows up in the bot's output.

Bot settings › More › Secrets lists a bot's secrets by name only. Press Delete to take one away.

Saved permissions

Each Always allow you press is saved as a rule. See them all in Settings › Advanced › Saved permissions, and press Remove on one to make the bot ask again.

What a bot did

Open a bot's Activity to see every command, file change, web page, app action and question, grouped by the request that caused it. It's kept for 30 days. (Codex bots don't record their ordinary commands and file edits.)

Watchdog

The Watchdog, in Settings › Advanced, watches for bots that are stuck, repeat themselves or use far more tokens than usual. It nudges the bot, fixes it quietly, or tells you.

Next

Browser and screen.