Software engineer. Backend, web and mobile.
I build and ship complete products: databases, auth, payments, deploys, the unglamorous middle. I build the systems around them too, including queues, background workers, real time services, and automations that run without anyone watching. When AI belongs in a product I build that part as well, with the guardrails that make it safe to hand over. It's one tool in the box, not the job description.
Based in Hangzhou. I ship in English, 中文 and العربية. RTL is a first class layout here, not an afterthought.
Most of my work sits close to money and trust: someone quoting a price to a buyer, someone looking at their own bank balance, someone letting a program run a command on their laptop. A wrong answer there isn't a bug report. It's a price the owner has to honour, or a claim they can't back. So the same thread runs through everything below: the system asks before it acts, and refuses when it isn't sure.
A sales employee a manufacturer can trust.
TypeScript · Fastify · PostgreSQL (RLS) · Kysely · pg-boss
Answers buyer enquiries on WhatsApp, identifies products from photos and voice notes, and quotes within the owner's own price rules. It never states a price, specification or certification the owner hasn't given it. When it can't answer safely it stops and hands the conversation to a person.
A modular TypeScript monolith: server rendered HTML with no client framework, queues in the same Postgres, and a pure domain core with no I/O, clock or randomness, enforced by a boundaries check in CI.
The control system around the model, which is the part that actually took the work
- One send path. Exactly one function writes an outbound message, and exactly one place calls the provider, behind one gate. Nothing reaches a buyer without passing activation, allowlist, handoff, pause, daily ceiling and messaging window checks. Every check fails closed: an unresolved input is "no", never "yes".
- One approval path. Every draft resolution goes through one service under a row lock, so a double tap cannot send twice.
- Default deny claims. Certifications not explicitly authorised are refused, even when the buyer insists. Prices come from the owner's catalogue, never from the model.
- Multi tenant by Postgres RLS. The app connects as a role that is neither superuser nor
BYPASSRLS, and every query runs inside a tenant transaction. Two boot guards refuse to serve rather than serve unsafely: wrong role, or a schema behind the build. - No invented numbers. Every figure shown to an owner is a real count. No scores, no ratings, no percentages dressed up as performance.
- Archive, never erase. The application role holds no
DELETEanywhere.
Product research for e-commerce sellers.
Next.js 15 · TypeScript · Supabase · Tailwind
Paste a product URL from Amazon, Alibaba or Shopify, or upload a photo, and get a structured verdict in seconds instead of a guess. It reads the listing, extracts pricing, claims and positioning, then returns a judgement a seller can act on.
Personal finance that never leaves your device.
React Native · Expo · TypeScript · SQLite
Offline first: multi account net worth, 80+ currencies, discipline mechanics, an advisor working over real spending data, and a household mode where shared visibility is held by the person being shared, not the person asking.
100% on device SQLite. No cloud, no sync, no data leaving the phone. Fully localised including Arabic, laid out in start/end rather than left/right, so RTL is structural rather than patched on afterwards.
Run your laptop from your phone, with a gate in front.
Node.js · React Native · Expo · WebSocket
A local first execution system. A desktop agent pairs with a phone by QR code over the local network, so there's no manual IP and nothing leaves the LAN, and it streams live logs back as tasks run.
Sensitive actions don't just execute. They wait for an explicit approval from the phone first, which is the same instinct as Nomi's send gate applied to a very different problem.
Learned mostly by getting them wrong first.
| One path for anything irreversible | One function sends, one service approves, under a row lock, so a double tap can't send twice. |
| Fail closed | If the system can't resolve whether an action is allowed, the answer is no. |
| Archive, never erase | The application role holds no DELETE anywhere. |
| Reachability is a test | A passing test proves a function works. It never proved anything called it. CI fails when code in src/ is reachable only from tests. |
| Write down the regrets | ADRs are more useful when they record what turned out badly. |
| Languages | TypeScript · JavaScript · Python · Java · C · C++ · Dart · SQL |
| Backend | Fastify · Node.js · Django · REST APIs · pg-boss |
| Mobile & web | React Native · Expo · Next.js · Tailwind · server rendered templates |
| Data | PostgreSQL (row level security) · SQLite · Supabase · Kysely · Prisma |
| AI | LLM integration · agents · retrieval over owner taught knowledge · guardrails and refusal design |
| Systems & automation | queues and background workers · WebSocket services · webhooks · pipelines · multi tenant isolation |
| Practice | i18n and RTL · offline first · fail closed defaults · CI that enforces architecture |
Open to collaboration and interesting problems, particularly multilingual products, or systems where being wrong is expensive.

