modcomms/backend
michael 2cd3b2b9ae Add brand selection support for Barclays vs Barclaycard guidelines
- Add brand field to AnalyzeProofOptions interface and WebSocket message
- Pass campaign's brandGuidelines to analyzeProof in App.tsx (upload & retry)
- Extract brand from WebSocket message in handlers.py and pass to analysis
- Update AnalysisService.analyze_proof to accept brand parameter
- Refactor BrandAgent to dynamically select brand spec based on brand param
- Add get_barclays_brand_spec() method to ReferenceDocsService (placeholder)

The brand agent now uses the appropriate specification (Barclaycard spec or
Barclays spec when available) based on the campaign's brandGuidelines setting.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 11:31:59 -06:00
..
alembic Add migration to cleanup duplicate dropdown options 2026-01-23 13:22:44 -06:00
app Add brand selection support for Barclays vs Barclaycard guidelines 2026-01-24 11:31:59 -06:00
.env.example Add support email functionality via Mailgun 2026-01-24 07:03:11 -06:00
alembic.ini permissions changes 2025-12-18 16:51:27 +00:00
Dockerfile permissions changes 2025-12-18 16:51:27 +00:00
requirements.txt Add PDF rasterization support for reliable preview and analysis 2026-01-24 09:36:56 -06:00