Writing
#architecture
4 articles tagged architecture.
Building Forge: Postgres-Orchestrated LLM Batch and Realtime Jobs Without a Queue
Forge runs LLM batch and realtime jobs across OpenAI and Anthropic with two Node daemons that share nothing but a Postgres database. No queue, no IPC, no shared worker process — the database does the coordinating. Here is how that architecture works and what I learned building it.
Hexagonal DDD from Day One: Building Matcha to Be Built by Agents
Matcha is a multi-tenant WhatsApp booking platform built as a hexagonal-DDD monorepo from day one — a structure chosen so a team of agents could produce and maintain it, keep full context in one place, and depend on nothing I don't control.
TDD by Construction: How the Vimbus Loop Validates Its Own Code at Scale
A validation layer wrapped around an autonomous code-generation loop: static task validation before any agent runs, split browser verification and re-grounded hexagonal rules while it runs, and a codebase audit that marks nothing done without a traced, tested path.
Ports and Adapters in NestJS: A Domain That Doesn't Know About Mongo
A deep-dive into hexagonal architecture in Matcha's NestJS backend: ports, Symbol() tokens, and one repository with two interchangeable adapters.