Partner program

Referral codes, attribution, commission ledger, and payout reporting.

Not built yetPhase 4 — Accounts, orders, partners

Waiting on: Confirmation that the affiliate program is in scope for v1. This is a whole subsystem — attribution, a commission ledger, and payouts — and it is the single easiest thing on this project to under-scope.