Guardrails are rules that run after Dear generates text. When a suggestion or rewrite contains a blocked pattern, Dear silently replaces it with your preferred alternative — or removes it entirely if you don’t specify one. You stay in control of the specific phrases, punctuation, and rhetorical moves the AI is allowed to use. The guardrails system is called Blacklist in AI preferences. It’s on by default.Documentation Index
Fetch the complete documentation index at: https://docs.trydear.app/llms.txt
Use this file to discover all available pages before exploring further.
Built-in rules
Dear ships with three built-in guardrails. All three are enabled by default, with scopes chosen to reflect typical writing preferences.Dash (em dash → double dash)
| Type | Syntax |
| Blocked | — (em dash, U+2014) and – (en dash, U+2013) |
| Replace with | -- (double dash) |
| Default scope | Everywhere |
| Default state | On |
-- over typeset em dashes in prose. This rule catches both em and en dashes in AI output.
Framing A (“It’s not X, it’s Y”)
| Type | Framing |
| Blocked | Constructions matching "It's not [X], it's [Y]" |
| Replace with | State Y directly |
| Default scope | Everywhere |
| Default state | On |
Framing B (“In today’s fast-paced world”)
| Type | Framing |
| Blocked | "In today's fast-paced world" |
| Replace with | Cut entirely — start with the point |
| Default scope | Suggestions only |
| Default state | Off |
Scope options
Each rule (built-in or custom) has a scope that controls where it applies.| Scope | Where the rule runs |
|---|---|
| Everywhere | Both inline Tab suggestions and rewrites |
| Suggestions | Inline Tab suggestions only |
| Rewrites | Rewrites only |
Adding custom guardrails
You can define your own rules in the Add a guardrail form inside AI preferences.Open AI preferences
Click your user menu and select AI preferences, then scroll to the Blacklist section.
Choose a type
Select Syntax for literal text replacements (a specific word, phrase, or punctuation character). Select Framing for rhetorical patterns or sentence-level constructions.
Enter the blocked text
Type the exact text you never want to appear in the Never say… field. This is matched case-insensitively against AI output.
Optionally add a replacement
Type a preferred alternative in the Say this instead field. If you leave it empty, Dear removes the blocked text and cleans up surrounding whitespace.
Guardrails run after generation, not before. They rewrite the model’s output rather than steering the prompt. This means very long or complex patterns may not be caught in every case — keep rules concise and specific for best results.
Managing rules
Each rule in the blacklist table has:- On/off toggle — disable a rule without deleting it.
- Scope selector — change the scope at any time.
- Delete button (×) — remove the rule permanently.
Enabling and disabling all guardrails
The master Blacklist toggle at the top of the section turns all guardrails on or off at once. When disabled, no rules run — neither built-in nor custom. Individual rule states are preserved so re-enabling restores your previous configuration.Related
- Inline completions — where guardrails run for Tab suggestions
- Voice blending — control the style of AI output alongside guardrails