How to Assign Rule Severity: Block, Warn, or Auto-Fix

Checklist notebook beside a laptop keyboard

Last updated: November 27, 2026

Quick Answer: use 3 severities for How to assign rule severity: block, warn, or auto-fix—block for breakage, warn for review, and auto-fix for safe, mechanical edits. In practice, the right setting depends on workflow and risk, so teams should consult an editor, product owner, or similar professional before locking a policy in place. For a general pattern, see WordPress’s validation and editorial workflow guidance and the WCAG principle that behavior should be predictable and consistent.

Key takeaways

  • Block is for rules that make content unsafe, invalid, or not ready to ship.
  • Warn is for problems a human can judge in context, not by a simple switch.
  • Auto-fix fits predictable edits that do not change meaning.
  • Exceptions and editor override keep the system from becoming brittle.
  • A good rule severity model is less about punishment and more about risk.

What does a rule severity model do?

A rule severity model tells WordPress what to do when a validation rule fails: stop publishing, show a warning, or change the content automatically. That choice matters because the same issue class can be harmless in one post and risky in another, so one action rarely fits all 3 cases.

The model is not just a UI label. It is the decision logic behind how validation rules behave during editing, preview, and publish. In a clean setup, the severity matches the cost of letting the issue pass: a broken requirement gets blocked, a debatable case gets warned, and a fixed-format problem gets auto-corrected.

A generic article often gets this wrong by treating severity as a style choice; in practice, consult a professional or team lead before setting policy, because the right severity depends on editorial risk, workflow, and audience. It is not a style choice. It is a control system for publishing risk, and the wrong setting creates either noisy friction or silent damage. For background on predictable behavior in interfaces, see the WCAG guidance on consistency and predictability.

How do I decide between block, warn, and auto-fix?

I decide by asking 4 questions in order: can the rule be corrected without judgment, can the issue survive a publish, can a human resolve it quickly, and does the fix risk changing meaning. If the answer to the last question is yes, do not auto-fix. If the answer to the publish question is no, block.

Use this order because it keeps the model stable when rule sets grow. A team often wants to start with the harshest setting, then softens it after editors complain. That usually creates a mess: too many blocks for low-risk issues, then too many exceptions to work around them.

Here is a simple comparison of the 3 actions:

Severity Best for Editor effect Main risk if overused
Block Hard failures and required conditions Publishing stops Teams route around the rule
Warn Cases that need human judgment Publishing can continue People ignore repeated alerts
Auto-fix Mechanical, predictable cleanup The rule changes content for the editor Quiet changes can alter meaning
Comparison table of How do I decide between block, warn, and auto-fix?
Comparison table: How do I decide between block, warn, and auto-fix?

A useful test is this: if two editors would agree on the same fix in 24 hours, auto-fix may fit. If they might disagree, warn. If the issue should never ship, block. That is the point of the model: put each issue where its real risk belongs, not where it feels strict.

Which rules should block publishing?

Blocking rules should stop publishing when the issue creates a real failure, not just a tidy-up task. If a post cannot safely go live with the problem present, block it.

The cleanest block rules are narrow and obvious. They should have a clear pass/fail line, a short explanation, and no room for taste. If a rule needs a long argument in the editor, it is probably not a block rule.

Good block candidates have 3 traits:

  1. The failure is unambiguous.
  2. The cost of publishing with the failure is high.
  3. The editor cannot reasonably fix it in the moment without losing time or trust.

Bad block rules are the ones that punish small editorial choices. A block on a debatable issue teaches the team to hunt for loopholes. Once that happens, the rule stops being a guardrail and becomes clutter.

This is where many teams overreach. They make block the default because it feels safe, then wonder why editors start resenting validation. A hard stop should be rare enough that people still trust it when it fires.

Which rules should warn instead of block?

Warning rules should flag issues that need judgment, not force a yes-or-no gate. A warn setting says, “This may be a problem, but the editor should decide in context.”

Use warn when the issue has 2 valid outcomes, or when the rule can be true in one template and false in another. That makes warning the right middle ground for content decisions that depend on page type, audience, or editorial intent.

Warnings work best when they explain why the rule matters and what changed. A vague alert is easy to dismiss. A specific warning helps the editor decide in 10 seconds instead of 10 minutes.

The downside is simple: too many warnings turn into background noise. Once editors see 6 warnings on every post, they stop reading them carefully. That is why warn should stay for judgment calls, not for every minor inconsistency.

When should auto-fix be allowed?

Auto-fix should be allowed when the rule can make one safe change with no real chance of altering meaning. That means the system can act without waiting for a person, and the result is still the same content the editor intended.

A good auto-fix rule is mechanical. It often removes extra space, applies a standard format, or corrects a predictable structure. The rule should have a clear before-and-after shape, and the editor should be able to see what changed. For general automation guardrails, see the NIST guidance on managing risk with human oversight.

Use auto-fix only when 3 conditions hold:

  • The correction is deterministic.
  • The change is reversible or easy to inspect.
  • The content meaning stays intact.

Do not use auto-fix when the rule has editorial judgment inside it. If the system has to guess, it is no longer a fix. It is an edit, and that belongs to a person.

The main trade-off is speed versus control. Auto-fix saves time, but it also removes a decision from the editor’s hands. That is fine for routine cleanup and dangerous for anything that changes emphasis, tone, or meaning.

How do exceptions and editor override work?

Exceptions and editor override keep the rule severity model useful when real content does not fit the default rule. They stop the system from turning a policy into a wall.

An exception should be explicit and limited. It should apply to a named case, a named content type, or a known editorial situation. If the exception is broad enough to cover half the site, the rule is probably too strict.

Editor override should also be deliberate. The editor should leave a reason, or at least trigger a visible approval step, so the exception is not invisible. That matters because a hidden override becomes a habit, and then the rule loses force.

A good override path does 2 things at once: it preserves editorial speed and keeps a record of why the rule was bypassed. That record is what lets the team revisit the rule later instead of arguing from memory.

This is also where approval belongs in the model. Not every override should be a silent click. Some cases deserve a second look from a reviewer, especially when the rule is blocked by context rather than by a clear failure.

How do I set the model without making it too strict?

I set the model by starting narrow, then widening only when the editor workflow proves it needs it. That means a rule begins with the lightest action that still protects the content, not the most aggressive one.

A practical 5-step setup looks like this:

  1. Write the rule in one sentence.
  2. Decide whether the issue is mechanical, judgment-based, or unsafe.
  3. Map mechanical issues to auto-fix.
  4. Map judgment-based issues to warn.
  5. Map unsafe or non-negotiable issues to block.

Then test the rule against real editorial cases, not imaginary edge cases. If the rule keeps firing on legitimate content, it is too strong. If it never fires on anything important, it is too weak.

The most common mistake is to force every rule into the same severity. That makes the model simple on paper and painful in practice. Different issue classes need different actions, or the team spends its time fighting the system instead of using it.

A second mistake is treating auto-fix as a shortcut for policy. It is not. Auto-fix is only for changes that are boring in the best way: predictable, repeatable, and easy to explain. If a rule needs a debate, it is not an auto-fix rule. If you need a policy decision, consult a professional or editor before converting it into automation.

For a broader map of publishing-stage choices, this page sits under the hub on validation rules by publishing stage.

Which issues should block publishing?

Block the issues that make the content unsafe, invalid, or not ready to publish. If the rule protects something the editor cannot reasonably waive, it belongs here.

Hand checking items in a notebook
Photo: jakubzerdzicki via Pexels

The best block rules are narrow and easy to explain in one sentence. If the team starts asking for exceptions every time the rule fires, the block is too broad.

When should a warning be allowed?

A warning should be allowed when the issue needs human judgment and the post can still ship. That fits cases where context matters more than a fixed pass/fail line.

Warnings are weaker than blocks, so they need a clear explanation or editors will ignore them. The rule should say why the issue matters and what the editor should check next.

Can validation rules auto-fix content?

Yes, but only when the fix is mechanical and does not change meaning. Auto-fix is right for predictable cleanup, not for editorial judgment.

If the rule has to guess, it should warn instead. If the issue must never publish, it should block.

Drafted with AI; not yet reviewed by a person.

Leave a Reply

Your email address will not be published. Required fields are marked *