Define the guardrails that stop end customers from gaming a customer refer-a-friend program, and deliver them as a guardrail spec: rules with thresholds, verification gates, a reward-hold policy, an enforcement ladder, and monitoring signals. This skill protects whatever reward structure already exists - it never redesigns it.
No ratified standard covers consumer referral abuse. Borrow exactly four things, nothing more, and only as a mental model, never as a compliance claim:
The goal is making abuse unprofitable, not catching everything.
Ask before designing anything. One question per message; multiple-choice where possible; skip anything already answered.
The last three set the control ordering in Workflow step 4, so ask them before designing anything - by step 4 the reader has already committed to a path.
-
Run the Interview; collect every answer the spec depends on.
-
Confirm the scope boundary: the reward structure (sidedness, type, size, trigger) is a given. If it is the problem, say so and route to mbfinotti/partnerships-skills@referral-incentive-design (see Reference).
-
Map the program's abuse surface from references/abuse-patterns.md: which patterns the reward value, identity model, and qualifying event actually expose it to.
-
Work the control ladder, using references/guardrail-mechanics.md. Six controls compete for the same hours:
- Event: qualifying-event design.
- Caps: budget ceiling, velocity limits, cooldowns.
- Hold: reward hold window.
- Eligibility: rules with memory.
- Verification: gates.
- Review: manual review.
Vendor blogs present this order backwards - detection tooling first, program design last. Rank them:
- efficiency:
event > caps == hold > eligibility > verification > review
- value:
event > eligibility > hold > verification > caps > review
- effort:
review > event > verification > eligibility > caps == hold
- compliance cost:
verification > eligibility > event == caps == hold > review
Caps and hold tie because each is a payout-side number published in terms, shipped in one config change, gating no legitimate user, and each bounds a loss the other cannot - caps bound volume, hold bounds reversal. Event, caps and hold tie on compliance cost because none touches identity data or needs sign-off. Review sits lowest on that axis because a human in the loop reduces exposure: several regimes bar a fully automated denial.
Effort is composite here - friction charged to legitimate users, build time, reversibility. Event design ranks high on it because rewiring the trigger is a quarter of product and billing work, yet still leads on efficiency: that cost is one-time engineering, while verification charges every legitimate signup forever.
Default: caps, hold, and published eligibility in the first pass, always. Climb to event redesign whenever the current qualifying event is bare signup or an unpaid action - nothing below it holds while the event is free to fake.
This order starves verification gates and manual review. Both are high value against the two abuses caps and holds cannot touch - automated account farming, B2B shell entities - and both lose every efficiency round. Promote them when per-item review cost sits below the reward value (the B2B default), or when an incident is confirmed automated rather than opportunistic.
Re-rank on the Interview answers and name in the spec which answer moved which control:
- A hard live-by date promotes caps, hold, and eligibility (config, one sprint) and schedules event redesign for the next cycle - never drops it.
- A compounding mandate promotes event design and eligibility memory, which keep working at no ongoing cost.
- A low effort ceiling deletes manual review and the upper verification rungs from the spec outright rather than parking them at the bottom; record which you deleted and why.
Re-rank again on what you already know about this program:
- A payment instrument collected before the qualifying event moves verification up sharply - the strongest gate is already paid for.
- An existing trust-and-safety function collapses review's effort.
- A regulated program already runs identity checks, so its top rung costs nothing at the margin.
Treat the ordering as a default, not a law: it shifts with context and with who executes it.
-
Handle B2B and B2C explicitly. Caps, holds, and eligibility memory work identically for both - say so. B2B diverges on:
- Domain-overlap checks between referrer and referee: the check that matters, since a work-email check alone is weak because a shell company has a real domain.
- Pre-payout human review: ROI-positive in B2B, not in B2C.
- Company-account credit by default: paying an individual employee is a procurement/gift-policy problem before it is a fraud problem.
-
Choose monitoring signals from references/detection-signals.md, which carries the full per-axis ranking.
- efficiency:
payment-reuse == cohort-quality > velocity > email-similarity > graph > fingerprint
The two leaders tie because both already sit in billing data, neither degrades with a browser or device change, and each catches exactly what the other misses. Cookie and IP linkage are excluded from the ranking, not demoted: their value is already at the floor, so ordering them would be false precision. Graph signals are what this order starves; see the reference for the condition that promotes them.
-
Design the enforcement ladder from references/enforcement-and-compliance.md: published rungs, a specific reason string for every denial, and a working appeal path - build the reason string and the appeal path before the detector. Keep legal constraints as design constraints and route the actual legal questions to counsel.
-
Verify every rule is publishable: flag any rule missing from current terms as unenforceable until published, and route the clause drafting to mbfinotti/partnerships-skills@affiliate-program-terms.
-
If you can query the program's event data, derive velocity and flag thresholds from the user's own legitimate-referrer distribution (e.g. p95-p99 of weekly referrals); otherwise mark them as illustrative defaults to replace with derived baselines within the first review cycle.
-
Emit the guardrail spec (Output Shape below), one section at a time for user validation; ground it in a matching worked example from references/worked-examples.md.
-
Attach the calibration plan from the Pass Threshold below and iterate until it holds.
-
If your harness has persistent memory, memorize the decided thresholds, hold window, and enforcement rungs so a later tuning run starts from them instead of re-interviewing.
Deliver every engagement as this artifact. Every threshold line carries a provenance tag; every rule line names the legitimate behavior that could trip it.
REFERRAL GUARDRAIL SPEC - <program>, <date>
Qualifying event : reward trigger + why it is costly to fake + reversibility note
Caps : per-referrer (period + lifetime), per-referee, program budget ceiling.
Take the values from the existing reward design where one exists and
record them as given; this spec enforces caps, it does not size them
Velocity : referrals/claims per referrer per window + cooldown after a burst
Hold policy : hold length = refund/chargeback window (+ processing), pending-state display
Eligibility : new-customer definition, self/household exclusion, cross-referrer cooldown,
B2B domain-overlap rule
Verification : gates by friction rung, escalation condition per rung, what is never gated
Monitoring : signals watched, expected flag baseline, cohort-quality dashboard
Enforcement : published ladder rungs, reason strings, appeal path + response SLA
Terms status : where each rule is published; unpublished rule = not yet enforceable
Calibration : holdout cell design, review cadence, leakage/friction computation
Judge the spec on leakage and friction together - never a catch rate or precision target alone. No referral-specific false-positive benchmark is published anywhere; never substitute an industry number for the user's own holdout.