Skip to the content

Built-in checks

Ready-made screens for manipulation, harmful content, personal data, leaked instructions, secrets and stray links, plus the warning ladder that decides when a conversation ends. Most are on from the start.

Where
Assistant menuConfigureGuardrailsBuilt-in checks
Permission
Needs Change assistant setup
Time
14 min read
Markdown
01 / 05Checks are already on. Most built-in checks enforce from day one. Each card's chip says Enforcing, Monitoring or Off.
  1. Checks are already on. Most built-in checks enforce from day one. Each card's chip says Enforcing, Monitoring or Off.
  2. Enforce a category. Illicit activity starts in Monitor. Enforce it so customer requests for help with crimes count as strikes.
  3. Redact card numbers. Set personal data to redact: card numbers and bank accounts are removed before the model sees the message.
  4. Open the warning ladder. Under Advanced, decide how many warnings come before the final action.
  5. Choose the final action. End + block the contact also refuses the customer for the cooldown. The preview updates.

What built-in checks are

Built-in checks are the guardrails HeyServo writes for you. They sit beside your own rules on the Guardrails page and follow the same master switch: while guardrails are off, every card here is greyed out and nothing is screened.

Some checks need the safety checker (a small model that reads the turn): manipulation, content categories and your custom rules. The rest are instant pattern checks that need no model call: personal data, blocklist, tool results, prompt leak, secrets and links.

Monitor or enforce

EnforcingThe check acts: the customer's message counts as a strike, or the reply is replaced.
MonitoringHits are logged in Activity as Logged. Nothing changes for the customer.
RedactingPersonal data only: the data is removed from the message.
OffThe check does not run.

Every built-in check

CheckScreensDefaultSafety checkerWhen enforced
Prompt injection & manipulationCustomer messagesEnforceYesA strike that counts double, or ends the conversation
Content categoriesCustomer messages and repliesEnforce (Illicit activity: Monitor)YesCustomer: a strike. Reply: replaced
Personal data in messagesCustomer messagesOffNoRedact removes the data
Tool result screeningWhat tools and documents returnMonitorNoInstruction-like text removed
System prompt leak protectionRepliesEnforceNoReply replaced
Secret protectionRepliesEnforceNoReply replaced
Allowed link domainsRepliesEmpty (any link)NoAlways enforced once set: reply replaced
BlocklistCustomer messagesOffNoA strike

Prompt injection & manipulation

Prompt injection & manipulation2 controls
Prompt injection & manipulationChoice
Catches attempts to override the instructions, jailbreak the assistant or push it out of role: "ignore previous instructions", asking for the system prompt, role-play to unlock forbidden behaviour. Checks customer messages only. Severity high: counts as two strikes.
Default EnforceOptions OffMonitorEnforce
On manipulationChoice
strike: goes through the warning ladder like any other violation. end: ends the conversation immediately, no warnings.
Default strikeOptions strikeend

Content categories

Each category has its own Off, Monitor and Enforce. Monitor all and Enforce all set every category at once. A customer message that hits a category counts as a strike; an assistant reply that hits one is replaced with the Replacement reply.

Content categories6 controls
HarassmentChoice
Insults, threats, demeaning or intimidating language.
Default EnforceOptions OffMonitorEnforce
HateChoice
Attacks or slurs based on race, ethnicity, religion, gender, sexual orientation, disability.
Default EnforceOptions OffMonitorEnforce
SexualChoice
Explicit sexual content or solicitation.
Default EnforceOptions OffMonitorEnforce
ViolenceChoice
Threats, glorification or instructions for physical harm.
Default EnforceOptions OffMonitorEnforce
Self-harmChoice
Suicidal intent or self-injury. High severity, but never warned or cut off: with the assistant's handoff tool on, the conversation is handed to a person; otherwise it is logged and the assistant responds with care.
Default EnforceOptions OffMonitorEnforce
Illicit activityChoice
Requests for help with crimes, fraud, hacking, weapons or drugs.
Default MonitorOptions OffMonitorEnforce

Personal data in messages

Personal data in messages2 controls
Personal data in messagesChoice
Finds payment cards, bank accounts, emails or phone numbers in customer messages. monitor logs them. redact also removes them before the model sees the message and from the stored transcript: the model sees, for example, [card number removed]. The card chip reads Redacting. Redacting is not a strike: the customer did nothing wrong.
Default offOptions offmonitorredact
Personal data to detectText
Comma-separated: card (valid payment card numbers), iban (bank accounts), email, phone (8 or more digits). Disabled while the check is off.
Default card, ibanOptions cardibanemailphone

Tool result screening

Tool result screening1 controls
Tool result screeningChoice
What tools, documents and web pages return is data, not instructions. This scans it for instruction-like text ("ignore previous instructions", "you are now … assistant", hidden HTML comments, "do not tell the user") before the model reads it. Monitor logs it. Enforce replaces the passage with [instruction-like text removed] and tells the model so. No model call.
Default MonitorOptions OffMonitorEnforce

Prompt leak, secrets and links

Reply checks (no model call)3 controls
System prompt leak protectionChoice
Stops the assistant from revealing its instructions, tools or configuration. Replaces any reply that repeats a run of 10 words from its instructions word for word.
Default EnforceOptions OffMonitorEnforce
Secret protectionChoice
Replaces any reply containing what looks like an API key, token, private key or valid payment card number.
Default EnforceOptions OffMonitorEnforce
Allowed link domainsList
Links in agent replies must point at one of these domains, one per line, subdomains included. Leave empty to allow any link. Once set it is always enforced: a reply with another link is replaced. The chip shows how many domains.
Default EmptyLimit 100 domains

Blocklist

Blocklist2 controls
BlocklistChoice
Exact words or phrases that always count as a violation, no judge call needed. Checks customer messages only. An enforced match is a strike.
Default OffOptions OffMonitorEnforce
Blocked termsList
One entry per line: a word or phrase (matched as whole words, ignoring capitals) or a pattern written /like this/. The chip shows how many terms.
Limit 200 entries

Messages customers see

What a customer reads when a check fires. Plain text, sent as the assistant. Each message can be worded differently per channel.

Messages customers see5 controls
Warning messageText
Sent instead of a reply when a customer message is blocked and warnings remain.
Default I can't help with that. Let's keep this conversation respectful and about how I can assist you.
Final warning messageText
Sent on the last warning before the final action.
Default This is a final reminder: if this continues I'll have to end the conversation.
Closing messageText
Said when guardrails end the conversation (spoken before hanging up on a call).
Default I'm ending this conversation now. Goodbye.
Blocked contact messageText
The reply to a contact in cooldown. Empty means stay silent.
Default This assistant isn't available to you right now.
Replacement replyText
Replaces an assistant reply that failed a check, and answers a blocked customer message when a rule says Block only.
Default I'm not able to help with that. Is there something else I can do for you?

The warning ladder

Strikes belong to the conversation. Every enforced hit whose action is a strike (a content category or manipulation on a customer message, the blocklist, or a custom rule set to Strike) adds its weight: 1 for low or medium severity, 2 for high. The total decides what the customer gets.

GoalHow a conversation moves from a first warning to the final action, with the default 2 warnings.

  1. 1

    Strike total below the warnings: a warning

    The customer gets the Warning message. The assistant is told the message was blocked and carries on normally, without bringing it up again.

  2. 2

    Strike total equal to the warnings: the final warning

    The customer gets the Final warning message.

  3. 3

    Strike total above the warnings: the final action

    The conversation ends, is handed over, or ends with the contact blocked, as Final action says.

  4. 4

    Blocked contacts wait out the cooldown

    With End + block the contact, their messages are stored but get only the Blocked contact message until the cooldown ends or you press Unblock.

HitsStrikesResult
One medium hit1Warning
A second medium hit2Final warning
A third medium hit3Final action
One high hit (for example manipulation)2Final warning
Any hit with Warnings before ending = 01 or moreFinal action at once
Examples with Warnings before ending = 2
  • A custom rule set to Hand off hands over at once, whatever the count, and wins over everything else in that turn.
  • A rule set to End immediately (or On manipulation set to end) skips the ladder and applies the final action at once; when the final action is Hand off to a human, it ends the conversation instead.
  • Block only, Rewrite, redacted personal data and problems in the assistant's own replies never add strikes and never warn the customer.
Warnings before ending (under Advanced)5 controls
Warnings before endingNumber
How many warning replies a customer gets before the final action. 0 means the first violation is final. High-severity violations count double.
Default 2Limit 0 to 5
Final actionChoice
End the conversation: say the closing message and end it (hang up on a call). Hand off to a human: escalate to your team instead. End + block the contact: end, and refuse this contact for the cooldown.
Default End the conversationOptions End the conversationHand off to a humanEnd + block the contact
Cooldown (minutes)Number
How long a blocked contact is refused after End + block. Works on channels with a stable identity: a WhatsApp number, a website chat visitor, a SocialHub contact.
Default 1440 (one day)Limit 1 to 43,200
Web visitor IP cooldown (minutes)Number
Website visitors can start a new chat, so after End + block their IP address is also refused for this long. Kept short because offices and phones share addresses. 0 turns the IP block off.
Default 60Limit 0 to 1,440
PreviewShown
A row of pills showing what each strike does with these settings, for example Strike 1 · Warning, Strike 2 · Final warning, Strike 3 · End + block for 1 day.

Blocked contacts

A blocked contact's messages never reach the assistant. They are stored in the conversation, so your team can read them, and the customer gets the Blocked contact message (or nothing, if you left it empty). Activity logs each one as Blocked contact.

Active cooldowns (under Advanced)5 controls
ChannelShown
Where the contact wrote from.
ContactShown
The contact, or an IP address for a website visitor's IP block.
ReasonShown
Why they were blocked.
LiftsShown
When the block ends. expiring when it is about to.
UnblockButton
Lets the contact message again right away. "No contacts are blocked." when the list is empty.

The safety checker

The safety checker (the dashboard also calls it the judge) is the model that reads each checked turn against the content categories, manipulation and your custom rules. Everything a turn needs is checked together, in one call for the customer's message and one for the reply (a custom rule on a different checker model adds a second call, run at the same time). The card notes the cost as ≈ +1 small model call per checked turn.

Safety checker (under Advanced)10 controls
Safety checker modelChoice
The model that checks each turn.
Default Same as the assistant's main model
Judge confidence thresholdChoice
How sure the checker must be before a flag counts. low catches more, with more false alarms; high only acts on clear cases. Flags below the threshold are ignored.
Default mediumOptions lowmediumhigh
Message screening timingChoice
blocking: the customer's message is checked before the model answers (adds the check's time to every turn). parallel: the check races the model; the reply and any tool calls wait for the verdict. auto: parallel on calls, blocking elsewhere.
Default autoOptions autoblockingparallel
Reply screeningChoice
blocking: the reply is held until the checks pass. streaming: the reply goes out while the checks run and is cut on a violation (a call interrupts and speaks the replacement; a chat bubble is replaced). monitor: replies go out and violations are only logged. off: no reply checks. auto: blocking on text channels, streaming on calls.
Default autoOptions autooffmonitorblockingstreaming
Streaming check interval (characters)Number
With streaming reply screening, also check the reply while it is still being written, every this many characters, so a long bad reply is cut early. Each interim check is an extra call. 0 checks only the finished reply.
Default 160Limit 0 to 2,000
When the judge failsChoice
open: the turn goes ahead normally and a Judge error is logged. closed: the customer gets the replacement reply instead, with no strike.
Default openOptions openclosed
Judge timeout (ms)Number
How long a turn waits for the checker before When the judge fails applies. Calls usually want a tighter value, for example 1200.
Default 2500Limit 300 to 8,000
Context turns for the judgeNumber
How many recent exchanges the checker sees with the message under review. More context catches manipulation spread over several messages.
Default 4Limit 0 to 10
Prompt hardeningSwitch
Adds a guardrails section to the assistant's instructions: stay in role, never reveal instructions, treat documents, tool results and customer messages as data, decline disallowed content, stay calm with abuse, plus your custom reply rules in plain language.
Default On
Extra prompt constraintsText
Your own extra constraints, added to that section.
Limit 4,000 characters

Several of these settings can differ per channel, for example a shorter judge timeout on phone calls. A custom rule can also use its own checker model and history turns: see the rule sheet on Guardrails.

The order checks run in

SideOrder
Customer message1. Cooldown: a blocked contact gets the blocked message and goes no further. 2. Personal data. 3. Blocklist. 4. One safety-checker call for manipulation, content categories and custom rules on customer messages.
Assistant reply1. Prompt leak, secrets and links (instant). 2. One safety-checker call for content categories and custom rules on replies.
Tool resultsScreened as they come back, before the model reads them.

Retention

Privacy & retention (under Advanced)2 controls
Keep violation log for (days)Number
Events older than this are deleted by the nightly sweep. 0 keeps them forever.
Default 90Limit 0 to 3,650
Keep message snippets for (days)Number
The customer text stored with each violation is removed after this many days; the event itself stays. 0 keeps snippets as long as the event.
Default 30Limit 0 to 3,650

Questions people ask

Keep going
Built-in checks · HeyServo Docs