Importance: HIGH. Tasks: PENDING (fix authorization awaiting Sam; no changes deployed).
Scanned all published WordPress content via REST API using context=edit / content.raw (raw block markup, not rendered HTML — avoids the ~500 theme-CSS false positives). Scope: 338 pages + 208 posts = 546 items. Counted the 12 deprecated/banned patterns from the task spec. QA-verified the orange matches by inspecting the exact background…#F89C22 substrings and their span lengths — all confirmed genuine solid fills, not greedy regex false positives.
16 published pages still use the banned orange background fill background: #F89C22 (37 total hits). #F89C22 is the deprecated pre-2026-05-28 orange, fully superseded by Foundry #D97706. These pages predate or were missed by the Foundry color migration.
Orange-bg pages (orange-fill count): jeremy-prichard (4), attorney-jimmy-brown (4), attorney-abigail-kenyon (4), attorney-austin-d-pollard (4), car-accidents (3), locations (3), bicycle-accident (3), sam-aguiar-jonathan-hollan-2026-super-lawyers (2), premises-liability (2), sam-aguiar-discussing-his-clients-raw-interview (2), and 6 more at 1 each (ntsb UPS post, dare-to-care post, wave3 feature, faqs-personal-injury, truck-accident, brownstown-indiana true-crime post). The 4 attorney bios share one identical bio-card template → effectively one template fix replicated 4x; one also carries an orange linear-gradient (gradients on orange are prohibited).
sa-stat-card — 507 items / 5042 hits. Caveat: ~93% of all items = almost certainly a shared/global block, not 507 broken pages. Treat as ONE block fix; confirm source before any bulk action.rgba(0,61,84…) deprecated teal — 88 items.sa-hero-sub — 63 items. sa-cta-sublabel — 36. sa-card-grid — 3. orange linear-gradient #005a7a — 3. rgba(11,33,45,0.85) glass — 5.background-color:#F89C22, #003D54 old blue, Free Consultation phrase, 2x2 phone.Completed the read-only audit as scoped. No fixes deployed — task is explicitly read-only + clickable approval. Awaiting Sam's go/no-go on remediation.
wp-content-deployer draft pipeline with QA sampling + rollback. The 4 bio pages collapse to one template change.sa-stat-card / rgba(0,61,84), resolve whether they live in shared/global blocks — a single block swap likely clears most of the count.Full report: Projects/admin/brand-drift-reports/2026-06-09-orange-bg-sweep.md (canonical Codex tree was not mounted this session, so it landed in the Projects tree). results.json with per-page hit detail is in the session outputs. Credentials loaded fine from Projects/.credentials/vault.env; WP REST auth valid; SITE_URL = https://www.aguiarinjurylawyers.com. Re-run is a single scan.py (in outputs/brand-sweep) given the vault. Remediation should NOT use direct live post_content writes — draft pipeline only, per CLAUDE.md.