Writing
Notes on building operational products.
Articles and notes on building operational products: CRMs, booking systems, internal tools, and the Next.js patterns that keep them reliable in production.
Building Forge: Postgres-Orchestrated LLM Batch and Realtime Jobs Without a Queue
How Forge runs LLM batch and realtime jobs across OpenAI and Anthropic with two Node daemons that coordinate through Postgres alone.
Hexagonal DDD from Day One: Building Matcha to Be Built by Agents
Why I built Matcha as a hexagonal DDD monorepo from day one, so a team of agents could write and maintain it with full context.
TDD by Construction: How the Vimbus Loop Validates Its Own Code at Scale
The checks around an autonomous coding loop: task validation before any agent runs, a separate browser pass, and an audit that needs a tested path.
Evaluation-Driven Development: Shipping an AI Booking Agent You Can Trust
How I stopped fixing Matcha's booking agent one chat at a time and started shipping changes only when evals show they are better.
Idempotent WhatsApp Webhooks in NestJS: Receiving Messages You Can't Process Twice
How Matcha handles WhatsApp Cloud API webhooks in NestJS: a verify-token handshake, HMAC signature checks, and a unique index that ignores retries.
Ports and Adapters in NestJS: A Domain That Doesn't Know About Mongo
How Matcha's NestJS backend uses ports, Symbol() tokens and one repository with two interchangeable adapters.
How This Blog Renders MDX with @next/mdx and Turbopack
The MDX setup behind this blog: the @next/mdx config, a Turbopack plugin catch, and static pages from generateStaticParams.
Building a Pet Boarding CRM: Lessons from Apollon
How I modelled clients, pets, bookings, rooms and money as one system for the Apollon pet boarding CRM.