← Sapien Engineering

Owning a retailer's entire technical platform, and holding it to one standard

One architect, our principal, owns a luxury retailer's whole technical estate: point of sale, staff and customer applications, identity, telephony, and an AI assistant layer, rebuilt from an inherited, broken integration into one platform held to a single rule: every decision defensible as the long-term-correct one.

Anonymized case study. A luxury menswear retailer; name withheld. The retailer's own vendors and products are generalized. Describes the system, not how it was built. Engagement led by Ryan Luccioni, principal.

The estate

Staff console operations CRM Customer kiosk shared design system Identity Keycloak Core API single source of writes Telephony / messaging AI assistant layer self-hosted local model, never on the critical path Postgres read-model all reads go here Change data capture Point of sale: system of record read-only authenticate owned write path only
Accent-outlined boxes are the discipline: the API is the only writer, and change data capture keeps the read-model in step without application traffic ever touching the live POS.

What we inherited

The retailer's systems had been in place for years before we touched them, and the existing implementation was broken at the foundation. The clearest example: the data had two databases with no referential integrity between them. One held who was a VIP member, the other was the point-of-sale record, and nothing reliably linked them. ~11,000 associations were wrong. We reconstructed them with SQL matching down to the last ~400 pairs, which our principal resolved by hand: best-effort, labeled as best-effort, no false precision.

That was the first phase: database surgery and mapping the workflows we'd later rebuild the platform around.

What we built

A single platform, one monorepo, architected and largely implemented by our principal, directing two of the firm's engineers:

The standard

The thing that makes this different from a pile of features is a written rule the whole platform is held to: every decision must be defensible as the world-class optimal solution for long-term, pristine architecture and product quality. Not "good enough to ship" but defensible as correct. The principal holds the team to it and enforces it against his own work first.

It rests on one design philosophy we apply everywhere: use AI to leverage judgment, and code to leverage mechanical work. Most teams invert it: a model bolted onto a problem a loop solves better, hand-written logic where judgment was needed. The console's "floor and ceiling" law and the POS read-isolation are the same principle in two places.

Outcome

This is what platform ownership actually means: not advice from the sidelines. Owning the whole technical estate, setting the standard, and being accountable that it's correct.

← All work