- Add Honda client with static_general and video_general profiles
- Add video QC capability using Gemini native video analysis (4 checks:
visual_quality, brand_consistency, text_legibility, pacing_flow)
- Add video_general profile assigned to all 8 clients
- Extend session lifetime with MSAL silent token refresh (proactive
every 45min + reactive on expiry), switch cache to localStorage
- Re-enable OCR layout measurements for Amazon checks
- Add scope boundary notes to all 6 Amazon checks to prevent cross-
check penalization (locale errors isolated to logo_country only)
- Relax margins left-alignment tolerance from 1% to 4% to account
for logo lockup internal padding
- Update brand guidelines DB with Amazon localization matrix and
processed Dove PDF summary
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
OCR measurements were causing the LLM to over-rely on bounding box numbers
and fail correct assets on minor measurement inaccuracies. Changes:
- All prompts now say "supplementary data" not "authoritative/primary source"
- LLM instructed to prioritise visual assessment, use OCR to confirm/question
- Alignment tolerance widened from 1.5% to 3% of width
- OCR context footer softened with accuracy caveat (~5-10px margin of error)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds Tesseract-based OCR pre-processing that computes pixel-level text
positions, margins, spacing, and alignment before LLM analysis. This
enables detection of subtle layout differences that vision models miss
(e.g. 2.8% vs 6.4% headline margin, 83px vs 39px date gap).
OCR measurements injected into 10 checks across all client profiles:
- Amazon: margins, typography, headline_layout
- Static General: element_alignment, safety_area, visual_hierarchy_general,
text_readability_general, text_edge_clearance
- L'Oreal: text_readability
- Diageo/Unilever KV: visual_hierarchy
Non-blocking: if Tesseract is unavailable, checks run with visual
estimation only. Production requires: sudo apt install tesseract-ocr
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Typography: soften date spacing rule for tall/portrait formats (half cap-height OK)
to fix false positive on DE_Ströer correct file
- Margins: add percentage-based gap estimation to force LLMs to quantify left alignment
differences, improving detection of subtle headline oversizing (IE_BrightSide case)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Box placement: tape cut off by asset edge is now a fail (was passing if tape visible on other edges)
- Margins: left alignment consistency elevated to critical check with step-by-step comparison method
- Typography: headline-to-date spacing uses cap-height reference instead of lenient "only if clearly too tight"
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Headline layout: prepositions at end of line (di, of, de) are now
acceptable in display typography. Tall format one-word-per-line is
standard. Only fail for sentence endings mid-line or genuinely
confusing breaks.
Typography: spacing check now only flags genuinely cramped/touching
elements, not moderate gaps that provide visible separation.
Box placement: improved tape description to match actual campaign
assets (branded coloured strips on box edges, not plain packing tape).
Only flag tape as missing if cropped by asset edge or genuinely absent.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The typography check was giving 10/10 when the date text was squeezed
up against the headline with no breathing room. Added explicit element
spacing assessment section with guidance that the gap between headline
and next element should be at least the height of a capital letter in
the date text, and included it in evaluation steps and output JSON.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add Boots client with static_general profile and Amazon client with
6 new brand-specific QC checks based on ASD 2025 design guidelines:
amazon_required_elements, amazon_logo_country, amazon_typography,
amazon_headline_layout, amazon_margins, and amazon_box_placement.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>