Case studies · selected work

Reviews that changed what shipped.

Worked examples, not client stories: the failure modes we hunt for, drawn from real-world patterns. Each one started with a working product and a question the team couldn't answer alone.

E-commerce · checkout

The retry that charged twice

  • TypeScript
  • Next.js
  • Stripe
  • Postgres

Context. A small team was preparing a checkout for higher traffic. The happy path had been tested; the failure paths had not.

What we found. The client retried a failed payment request after a timeout. Because the order creation and the charge were separate steps, a retry could create a second order and a second charge. The catch block logged the timeout but returned a success-shaped response, so the UI moved on.

  • No idempotency key on the charge request.
  • Order and payment were not committed together.
  • A swallowed error made the retry look successful.

What changed. The team added idempotency keys, made the order state explicit, and replaced the silent catch with a real failure state. The code change was small. The failure window it closed was not.

SaaS · AI-assisted build

Errors hidden by generated code

  • React
  • TypeScript
  • Supabase
  • LLM-generated

Context. A founder had built a dashboard quickly with an AI assistant. It looked finished, and most of the time it was.

What we found. The generated data layer caught request errors and returned an empty array. When a query failed or a policy blocked a row, the UI showed "No data yet" instead of an error. Two screens also contained their own copies of the same query, each with slightly different filters.

  • Failed requests looked like empty results.
  • The same rule existed in three places.
  • An internal-only endpoint was reachable from the client bundle.

What changed. We mapped the real states — loading, empty, failed, forbidden — and the team consolidated the data layer into one path. The dashboard stopped lying to its users, and the next feature had one place to change.

Marketplace · access control

Invoices readable by everyone

  • Node.js
  • Postgres RLS
  • S3
  • Auth

Context. A marketplace stored invoices for both buyers and sellers. The interface only linked to a user's own invoices, so the permissions looked fine from the screen.

What we found. The storage rule allowed any authenticated user to read any invoice by changing the object ID. Presigned links were also issued with a long expiry, so a shared link stayed live far longer than the team intended.

  • Authorization lived in the UI, not the data layer.
  • Object IDs were sequential and easy to guess.
  • Signed links outlived the session that created them.

What changed. The team moved authorization into the data layer, scoped links to the requesting user, shortened expiry and added an access log. The UI stayed the same; the boundary moved to where it belonged.

Mobile · pre-launch

A launch blocked by small things

  • React Native
  • Expo
  • Firebase
  • Deep links

Context. Two weeks before launch, a mobile app passed its internal demo. The team wanted a second opinion before submitting to the stores.

What we found. A session refresh loop could sign users out after a background return. A deep link route reached an authenticated screen before the auth check completed. And a development key was still in the shipped bundle.

  • Auth state and navigation were racing each other.
  • Deep links bypassed the usual guard.
  • A test credential was included in the release build.

What changed. The team gated navigation on auth readiness, added a deep-link guard, and rotated the exposed key before release. None of these were large features; all of them would have been visible to users.

These are representative composites based on engagement patterns, not named clients. We don't publish client identities or live findings without permission.

Your app could be the next one.

Tell us what you're building and what worries you. We'll reply with a straight answer about fit, scope and the smallest useful next step.