Domdhi logoDOMDHI.OS
TECH

The Stack That Prints Money

13 modules. 270 test files. 6,696 tests passing. One operator. 204 MCP tools, 122 REST endpoints, roughly 218 method+path operations across them -- nobody hands you that, you build a stack that lets you print it. Edge runtime, typed boundaries, an 800-line ceiling, and an AI that stays sharp because the files stay small.

DDominic BacaSOLO ENGINEER · DOMDHI.OS2026.08.115 MIN READ
TECH// FIG.01

13 modules. 270 test files. 6,696 tests passing. One operator.

Nobody hands you that. You build a stack that lets you print it.

The Stack Is Not The Point. The Compounding Is.

React Router 7, server-side rendered. Cloudflare Workers at the edge. Supabase -- Postgres plus row-level security doing the job three separate security reviews would do at a normal company. Tailwind v4. TypeScript strict, no any, ever. On paper that's just a stack. Every bootcamp grad can list the same five tools on a resume and it means nothing.

The stack isn't the leverage. The compounding is the leverage. Every constraint I picked was picked because it forces a decision I'd otherwise make badly under deadline pressure, and every one of those forced decisions pays interest on every feature I ship after it. That's the actual argument. Not "I use cool tech." I use tech that makes tomorrow's feature cheaper than today's.

Edge Runtime Forces You To Know What You Actually Need

Cloudflare Workers doesn't run Node. No fs. No native Node APIs. No dragging in some 40MB dependency because it was the first result on npm and you didn't feel like thinking. You either know exactly what your code needs, or your build breaks and tells you so immediately.

I used to think that was a limitation. It's a forcing function -- same species as the ones I run on the Freedom side, just wearing a runtime instead of a calendar. The constraint doesn't ask if I feel like understanding my dependency tree today. It just refuses to deploy until I do. Every module I ship at the edge means every module actually got interrogated for what it needs, not what's convenient to import.

And the payoff isn't abstract. Edge means the request never leaves the datacenter closest to the user before it hits a response. No round trip to us-east-1 because that's where the tutorial said to put it. I didn't get fast by optimizing later. I got fast by picking a runtime that makes slow structurally harder to write than fast.

Typed Boundaries Let You Swap The Guts Without Breaking The Skin

Every domain object in this platform passes through a Zod schema before it touches a database call, and TypeScript strict means the compiler is the first reviewer on every diff, not the last. Sounds like overhead. It's the opposite -- it's the reason I could take an entire finance module built on one JSONB column and turn it into 9 normalized tables and 57 functions in one day, against production data, with zero rollback.

The schema was the contract. The route didn't care if the data came from a blob or from a join across three tables -- it cared that the shape matched what Zod promised. I changed the entire storage strategy underneath a live feature and nothing upstream noticed. That's not luck. That's the whole reason typed boundaries exist. You don't get to swap the engine on a car doing 80 unless every wire is labeled first.

Same story with the payment provider swap -- one day, because the boundary was already typed and the seam was already cut before I needed it.

800 Lines Keeps The AI Sharp, And Keeps Me Sane

Every route in this codebase has an 800-line ceiling. Hit it, split it. Not a style preference -- an operating constraint, and it exists because I'm one person running an AI-augmented workflow at a speed that would normally take a small team to match.

An AI model reasoning over a 300-line route file gets every line of context. The same model reasoning over a 2,000-line file starts averaging, guessing, hallucinating a function that used to exist two refactors ago. Small files aren't just easier for me to hold in my head -- they're the difference between an AI that's actually sharp and one that's confidently wrong. I didn't pick 800 lines because it's a nice round number. I picked it because past that line count, the failure rate on AI-assisted edits climbs, and I've watched it happen.

Every write operation in this platform ships three layers deep -- a data function, an API route, an MCP tool registered so an agent can call it too. 204 tools. 122 REST endpoint routes, roughly 218 method+path operations stacked across them. That's not me hand-writing 204 tools at 2am. That's the file-size discipline and the typed boundaries making the third layer cheap enough to be a checklist item instead of a project.

One Operator + This Stack + AI = A Print Button

Here's the actual claim, and I'll let the number make it instead of me. 19 days off. $87,150 in value created in that window -- documented, timestamped, committed to git. That's $4,586.84 a day, on vacation, with an AI pairing session and a stack that doesn't fight me.

I'm not saying the AI writes the platform. I'm saying the AI is only as good as the boundaries I hand it, and I spent months making sure those boundaries are typed, small, and edge-native so that when I say "build this feature," the model isn't guessing at the shape of my data -- it's reading a schema that already told it the answer. Min/max the tools, min/max the constraints, and the output stops looking like "AI helped a little" and starts looking like an operator with an unfair number of hands.

New Game+

The stack isn't impressive because it's modern. It's impressive because every piece of it was chosen to make the next piece cheaper. Edge runtime forces understanding. Typed boundaries let me gut the engine without touching the skin. Small files keep the one tool doing 90% of my typing from getting stupid. Stack them and velocity stops being a personality trait and starts being an architecture decision.

13 modules. One operator. The math already ran. I just built the machine that keeps running it while I sleep.

GET_TRANSMISSIONS

Raw signal on finance, freedom, fitness, and tech. No spam. Unsubscribe anytime.

D
Dominic Baca

One engineer building Domdhi.OS in public — money, freedom, and the occasional 2am migration. Every number live, every commit public.

FOLLOW THE LOGS →
// NEXT IN THE LOGS