Rules and the filter
Every Bot has rules for what it may do, set by its owners. As the operator you add a layer under all of them. Rules and approvals explains how the layers stack. These settings are under Admin → Settings → Rules.
The operator’s rules
Section titled “The operator’s rules”- Rule rows are in the database and edited on the same page. A locked row is a floor: an owner may make it stricter, never looser. An unlocked row is only a default the owner may change.
- Policies are text a judge model reads.
rules.approval_policysays what may run without a person, for actions whose rule is Auto, and is read before a Bot’s own policy.rules.output_policyis read before a Bot’s own output policy by the output filter. - Workspaces have a layer of their own, between yours and the Bot’s, set by their admins.
The output filter
Section titled “The output filter”An action’s output rule says what happens to its result before the Bot reads it: pass, flag (always marked as outside content), check (the filter model judges it) or withhold. By default what comes from outside is checked: web searches, mail, reading another chat, transcripts, another Bot’s reply and every connector’s answer.
A checked result passes as it is, passes marked as untrusted, or is withheld. If the judge fails or takes over 30 seconds, it passes with a warning: the filter never holds a run up and never asks a person. Each checked result is one call to model_filter (else model_approval), and a long one is judged in parts.
| Key | Default | What it does |
|---|---|---|
filter.enabled |
true |
Off, every result passes whatever a Bot’s rules say. The rules are kept. |
filter.max_chars |
48000 |
The longest result judged, in characters (1,000 to 400,000). A longer one passes marked as unchecked. |
rules.approval_policy |
none | The operator’s auto-approval policy. |
rules.output_policy |
none | The operator’s output policy. |
The filter does not judge images, the live output a person watches, or messages that are not tool results (a channel’s message, mail that wakes the Bot).
The audit log
Section titled “The audit log”Calls and their decisions, results the filter did not pass, and what the network filter blocked or flagged are on each Bot’s Audit tab and at Admin → Audit.
| Key | Default | What it does |
|---|---|---|
audit.detail_days |
7 |
How long an audit line is kept. |
audit.traffic_days |
30 |
How long the network filter’s per-minute traffic sums (host, requests, bytes) are kept. |