CalmLens policies score content with qualifiers such as historical or graphic, and one account policy can run several projects.
·3 min read
Moderation
Policies
Qualifiers
A category score tells you how strongly content matches violence or self-harm. It says nothing about whether the passage is a news report, a threat, a request for help or an account of a war. Two posts can reach the same violence score and deserve different outcomes.
Release 2026.4 changes how CalmLens policies make that call. A policy still starts from a category score and an action. Allowances and restrictions now act on the qualifiers in the classification results, and together they turn the category score into a policy score: how strongly the content breaks your policy. Policies also moved from individual projects to your account, so several projects can share one set of decisions.
Context and the action
A historical account can contain a physical attack without asking the reader to harm anyone. A community may allow that account while still blocking a graphic depiction or a separate current threat in the same post.
Allowances and restrictions let a policy express that distinction. An allowance softens the category's action when a qualifier covers the category's qualifying content. A restriction can keep harmful material blocked even when its context would otherwise be allowed. These rules affect the policy score used for the decision; they do not change what the classifier found.
A worked example
Take a Violence category set to block, with two rules:
An allowance: Historical → allow. It applies when the Historical qualifier covers all of the category's qualifying content.
A restriction: Graphic detail → age-restrict. It applies wherever graphic detail is present. Because it is weaker than Block, it only acts where the allowance would otherwise let the content through.
Content
Findings
Outcome
A museum caption: soldiers struck a prisoner in 1910.
Physical attack; Historical covers all of it.
allowed: the allowance covers the attack.
The same account, describing the wounds in graphic detail.
Physical attack and Graphic detail; Historical covers all of it.
age-restricted: the restriction overrides the allowance.
The caption, followed by a threat against a living person.
Physical attack and Threat of violence; Historical covers only some of it.
blocked: the threat is not historical, so the allowance does not cover it and Violence keeps its Block action.
The allowance covers only Violence. A slur in the same caption is still judged under Hate, by that category's own action and rules.
The custom-policy walkthrough shows how to configure this for historical violence. Some and All explains the evidence each kind of rule reads, and Policy score explains how allowances and restrictions affect the outcome.
Moderating text synchronously returns the report with the response:
const response =await client.assets.classify({
"name": "post-1042",
"externalId": "post-1042",
"content": {
"plainText": "The text of the post to check.",
"type": "text/plain" }
});
The report keeps the classification evidence separate from the policy result. Reading classification results documents the fields and their availability.
One policy for several projects
Before this release, each project stored its own moderation settings. If you ran a staging and a production project, or one project per app, keeping them aligned meant repeating every change.
Policies now belong to your account, and each project uses one of them. When policies moved to the account, each project with custom settings had them converted into an account policy named after the project, so existing behaviour carried over.
You can update a shared policy for its projects or save a separate copy, and the save confirmation identifies affected projects. See How policies apply for editing, switching and version-conflict behaviour.
What changes for existing assets
Policy changes apply to future moderation checks, including checks that reuse cached classification evidence. CalmLens does not reprocess decisions already made on existing assets. The guide's result troubleshooting section explains how to compare a saved decision with a new check under an edited policy.
We use essential cookies for sign-in and security. With your permission, functional cookies remember your preferences and Google Analytics measures website use and signups. Optional ad measurement cookies link Google ad clicks to signups. Personalised advertising stays off. Manage cookies