Skip to content
New to BhaiCode? Install the desktop app in under a minute, or build in your browser with Cloud Studio.
BhaiCode Docs
BhaiCode Docs
Desktop Workspace › Transparency Dock & Approval Gates

Transparency Dock & Approval Gates

How BhaiCode classifies agent actions and when it asks you before running them.

The Transparency Dock monitors every agent tool call and decides whether it runs, stages for review, or waits for your approval.

Risk tiers

TierExamplesBehaviour
Safe (read-only)Reading files in the workspace, symbol search, git status, diffsExecutes without interrupting you
Workspace modificationCreating files, editing code in the projectExecutes and stages in the diff viewer
High risk (gated)npm install, docker run, rm -rf, writes outside the workspace, git pushIntercepted — the agent waits for your choice

The approval prompt

When a high-risk command is intercepted, the dock shows:

  1. The exact command — command line, working directory, and flags.
  2. The reason — why the agent believes it is needed.
  3. Your options:

Runs this specific command only. The next similar command asks again.

Whitelists this command pattern until the current task finishes.

Cancels the command and sends your explanation back to the agent so it can find another approach.

Tune the noise

Approve repetitive safe patterns for the session rather than editing a config file — the whitelist expires with the task.

Was this page helpful?