# BRAND_CONSTRAINT_WARNING

> BRAND_CONSTRAINT_WARNING is a lint warning: an explicitly requested inspect-only Brand constraint failed or could not be measured.

- **Tier:** lint
- **Severity:** warning

## What triggers it

A StyleSpec `contrast`, `accent-area`, or `mono-role` constraint with `action: "warn"` inspects final Scene paint. Transparent or unresolved compositing contexts report unmeasurable evidence without inventing a ratio.

## How to fix it

Inspect the structured measurement payload and adjust the role/slot paint or the constraint threshold. The renderer deliberately preserves the authored artifact and never repaints or relayouts it.

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_WARNING/
