hi, I'm Shalini :)

Systems that keep their promises.

I've spent eleven years building iOS for billions of people, across messaging and privacy at WhatsApp, Stories at Instagram, and Photos at Google. The question I can't stop asking is the unglamorous one under every feature: what in the code actually makes this promise true? Lately I'm asking it of AI systems too.

Shalini Sah
golden hour
2B+people on WhatsApp, where I worked on messaging, privacy and reliability
IC → EM → ICengineer, then manager at Instagram and WhatsApp, then back to building
10+Google iOS apps built on shared components I wrote
11 yrsshipping iOS at Google, Instagram and WhatsApp
The thesis

A promise is only as strong as what enforces it.

Every app makes promises. This upload will finish. This photo stays on your phone. This message disappears. This agent only touches what you approved. When I review a design, I ask one thing about each of them: what enforces it? Usually the answer is lower on this ladder than the team thinks.

Try it

Pick a promise, then click a rung to see what enforces it, and what still breaks it there.

  1. Policy

    It's written down in a doc, a policy or a prompt.

    Policy-only promise
  2. Process

    A review or checklist asks about it. Depends on someone remembering.

    Human memory
  3. Test

    CI asserts the behaviour. Holds for the paths you thought to test.

    Known paths
  4. Monitoring

    An alert fires when it breaks in production. You find out after users do.

    After the fact
  5. Architecture

    The system can't represent the broken state.

    By construction
  6. Cryptography / hardware

    Breaking it requires defeating a cryptographic or hardware boundary, even for the operator.

    Boundary-enforced
Policy
Enforced by

Still breaks when

Which rung does your product's biggest promise sit on?

I learned this on billions of phones. AI agents are making the same kinds of promises now, and most of them live on the bottom rung: policy-only.
The newsletter

My newsletter.

Mostly how real products keep their promises, and sometimes how I keep mine. Engineering, AI and privacy, plus the human systems around them (yes, that includes debugging my sleep with sudoku).

Vocabulary

Words I use a lot.

If you've read my posts, you've seen these. They're how I talk about earning trust, because trust is what turns into a business that lasts. Here's what I mean by each one. They all have their own link, so you can send one to a teammate.

01Policy-only promise#

A guarantee that exists only in a document, a privacy policy or a prompt. Nothing in the system stops it from being broken.

On the ladder →
02Enforcement ladder#

The six rungs a promise can rest on, from weakest to strongest: policy, process, test, monitoring, architecture, cryptography or hardware.

See the ladder →
03Promises into architecture#

The practice of moving each promise up the ladder until the system itself makes breaking it hard or impossible.

The tooling →
04Enforcement drift#

When a promise quietly slides down the ladder as code changes: yesterday’s architectural guarantee becomes today’s test, then a policy.

Coined for promise-lint
05Trust debt#

What a product accumulates when its code maximizes engagement but minimizes user agency. Like tech debt, you pay it back later, with interest.

Read the essay →
06Cognitive safety#

A product invariant: people stay in control of their attention, choices and understanding, especially when AI acts on their behalf.

Read the RFC →
What I'm building

Things I'm building.

I've been a learner by doer since I was nine. If I write about an idea, I try to build something you can run first.

Open source · Agent skillBuilding now

promise-check

Point it at a design doc or a PR, for an iOS app, a backend or an AI agent. It finds every promise the system makes and tells you which rung of the ladder actually enforces it, and which ones are policy-only.

$ promise-check design/photo-sharing.md

✓ "uploads survive app kills"    architecture
✓ "server can't read photos"     cryptography
! "unsharing revokes access"     test only
✗ "never used for ads"            policy-only

2 of 4 promises enforced by construction
Now open source on swadharma.app →
iOS · MethodLive

How I review AI-generated iOS code like a Staff+ architect

The review lens I use to find the edge cases that actually break your app.

Read the method →
Open sourceLive

Staff+ Behavioral Interview Toolkit

Prompts, evidence patterns and a story-bank structure for preparing on your own.

Use the toolkit →
Work with me

Work with me.

I take on a few projects at a time through my company, Swadharma Labs, and I do the work myself.

For investors

Technical due diligence

An independent read on the technology and engineering team behind an AI or mobile investment.

Explore technical due diligence
For engineers

Staff+ behavioral story audit

A written level read, rebuilt stories, an evidence map and live practice.

Explore the Staff+ story audit