Safe actions, handoff and service profiles — bRRAIn Docs
Let a workspace do things on a visitor's behalf with confirmation, undo and an audit trail, and hand over to a person.
Safe actions, handoff and service profiles
These features arrived in UI Builder 1.1.1. They are off until you turn them on for a workspace, and a workspace that leaves them off behaves exactly as before.
Safe actions
When actions are enabled, the assistant may call tools that change things. A gate outside the model decides what happens, by risk level:
- R0 and R1 run. R1 actions can be undone.
- R2 and R3 pause and show an exact preview. The visitor presses Confirm. R3 adds the amount and fee and a typed confirmation, and in the finance profile a second step-up check.
- R4, disabled or switched-off tools, and calls over a limit are refused. The refusal says whose rule applied and where the visitor can do it themselves.
You can set limits per action and per period. Deleting goes to trash first. Visitors can choose Always allow for an action and revoke it later in the Permissions dialog. Undoing within the window updates the saved conversation.
Tools
Tools declare their effect, undo and idempotency. Write tools include writing and trashing vault files, drafting or sending email, creating tickets and updating cases, through signed webhooks or MCP connectors. Tools from MCP servers are listed dynamically and default to R2.
Audit
Every action is recorded in an append-only, tamper-evident log per workspace and month, with redaction. The Audit page exports CSV or JSON and verifies the chain.
Handoff
Workspaces can offer Talk to a person. The assistant also offers it after two failures or a third repeat. A context packet goes with the case. Handoff works with Zendesk, Freshdesk, Intercom or a signed webhook, supports staffed-hours routing, shows the person's messages in the transcript and records the case outcome. Set it up on the Handoff page.
Service profiles
- Service: identity verification before account data, common requests, routing of vulnerable customers.
- Finance: figures only from your system of record, never asking for or storing a PIN, card number, password or one-time code, routing of disputes, fraud, complaints and hardship, and step-up checks.
- Commerce: the total before purchase, an explicit yes, and a payment line.
An operating policy template is included. These packs load only when actions are enabled.
Security controls
- Rule of Two check when you save a workspace.
- An egress allow-list for outbound calls (secure addresses only).
- A supply-chain register for R2 and above tools, with pins and reviewers.
- Budgets per user and per tenant.
- Signed hooks before and after a tool runs.
- A secrets store for connector credentials, with a guard against secrets in outbound messages.
- Authenticator-app (TOTP) sign-in for protected workspaces and for step-up.
Before turning on actions, name an owner for each tool and review its risk level. Some pieces need your own system connectors, for example account and finance data.