01
The operating problem
Referral programmes cross several trust boundaries: anonymous links, authenticated customers, provider purchase events, affiliate identities and money-moving operator actions.
When those boundaries are compressed into one marketing script, retries and refunds become manual reconciliation work. AffiliateRails keeps them explicit.