# BRAND_CONSTRAINT_ERROR

> BRAND_CONSTRAINT_ERROR is a lint error: a caller-selected Brand constraint failed with error action and therefore blocks verification.

- **Tier:** lint
- **Severity:** error

## What triggers it

The same final-Scene rules as `BRAND_CONSTRAINT_WARNING`, selected with `action: "error"` when a project wants its declared brand policy to flip `verify.ok`.

## How to fix it

Correct the StyleSpec or diagram paint named by the payload, or deliberately change that constraint to `action: "warn"`. Suppression does not repair the visual issue.

Run `am verify diagram.mmd --json`, inspect this code, and apply the smallest source or typed mutation that clears it. If it persists after two mechanical attempts, return the warning and ask for human review.

Full page: https://agentic-mermaid.dev/warnings/BRAND_CONSTRAINT_ERROR/
