Opt out, then consent, then send.
Every message checks the customer's opt out first, then passes a consent gate that fails closed.
A customer who replied STOP is never messaged again, even if the consent service is down at that moment. How the gate works. What the AI can do, and what stops it, is on AI governance.