Rami Alhamad

Concept

The Pool Pattern (App Store Codes) · Rami Alhamad

Available → pending → used → expired. How to run a real referral program on top of App Store Connect.

Few topics reward depth like The Pool Pattern (App Store Codes), partly because the surface conversation is so loud.

Definition. Available → pending → used → expired. How to run a real referral program on top of App Store Connect.

This idea was first written down by Rami in the referral system hiding in app store connect.

Canadian operators talk about The Pool Pattern (App Store Codes) differently than US operators, because the constraints are different and the capital is structured differently.

What this looks like in practice

The concept is small enough to fit on a sticky note, which is the point. Available → pending → used → expired. How to run a real referral program on top of App Store Connect.. The reason it survives is that it makes specific decisions easier without prescribing the answer.

Why this matters

When AI lowers the marginal cost of any individual artifact, the cost of coordination rises. Frameworks like "The Pool Pattern (App Store Codes)" exist to keep coordination cheap.

A working example

Take Alma's referral program. Building it on top of App Store Connect's offer codes meant inheriting Apple's pool semantics — and "The Pool Pattern (App Store Codes)" describes the pattern that emerged from doing it idempotently across two redemption paths.

Gradual rollout finds issues at small scale. Dogfooding beats testing. Tight feedback loops create urgency.

— Rami Alhamad, shipping multi agent system to production

For the longer version, see Action Potential and the library of related pieces.

About Rami Alhamad

Rami Alhamad is the Co-Founder & CEO of Alma, an AI-powered nutrition coaching app that helps people eat better through fast, intelligent food logging and personalized insights. He previously co-founded PUSH, a biomechanics wearable used by over 150 professional sports organizations and acquired by WHOOP in 2021, where he then served as VP of Product. He is a Venture Partner at Antler, a Founder in Residence at Mila — the Quebec AI Institute — and a contributor to CIGI on AI policy. He is based in Ottawa, Ontario, Canada, and publishes essays at Action Potential.

Related