Building: The Book of Life
Chapter III The Book of Life

Building

What it actually costs to build software products, run companies, and make decisions without a safety net.

Building a product is not a technical problem. It is a decision problem, and the hardest decisions are not about architecture or stack. They are about what to cut, what to delay, when to stop, and whether the thing you are building is worth building at all.

The Solo Founder Problem

Building without a co-founder is not lonely in the way people think. The loneliness is not social. It is epistemic. There is nobody to push back on your reasoning, nobody who has committed their own time and reputation to the same bet. Every decision you make passes through one filter, and that filter is you, which means your blind spots are always unchecked.

The essays in this chapter examine what that actually costs. Not in the abstract sense of “it’s hard,” but in concrete decisions: the product bets that made sense in your head and failed on contact with users, the months spent optimizing the wrong thing because there was nobody to say “why are we doing this?”, the funding conversations you lost because you couldn’t explain the business model to someone who wasn’t already living inside your assumptions.

What Building a SaaS Actually Teaches You

Nobody tells you that building a SaaS product is mostly a lesson in what you do not know yet. The technology part is tractable. The user behavior part is not. The economics part looks tractable until it isn’t. And the gap between “this works” and “this is a business” is wider than most first-time founders expect.

The stories here are not success narratives. They are reconstructions: attempts to understand, after the fact, what was actually happening during the years of building. What the data was telling us that we weren’t reading. What users were saying that we weren’t hearing. What decisions made sense given the information we had, and which of those decisions were wrong anyway.

On Shipping and Deciding

The bottleneck in most building projects is not engineering. It is deciding. What to build next, what to abandon, which user complaint to take seriously and which to deprioritize. These decisions compound (good ones open up options, bad ones close them down), and the compounding is invisible until you are far enough into the consequences to see the pattern.

These essays try to make that pattern visible earlier.

29 essays in this chapter

  1. Accept an Intended API Schema Change Without Losing History Accept an intended API schema change by saving a new baseline with its reviewed diff, and keeping every earlier baseline so drift history survives. 8 min read
  2. Route LLM Requests by Model Capability: Tools, Vision Route LLM requests by model capability first: drop models lacking tool calling or vision, then choose by cost. Filter hard requirements before price. 9 min read
  3. Share a Client Portal Link Without Creating an Account Share a client portal link without accounts: one scoped, expiring token per client, stored as a hash, served with no-referrer and noindex. Code included. 8 min read
  4. Fall Back to a Local LLM When the API Budget Runs Out To fall back to a local LLM when your API budget runs out, check spend before each call and route only tolerant tasks to a local server like Ollama. 8 min read
  5. Per-Tenant Rate Limiting in a Multi-Tenant Client Portal Per-tenant rate limiting in a multi-tenant SaaS keys a token bucket on the tenant and weights it by cost. Counting requests alone misses the expensive work. 8 min read
  6. API Snapshot Testing vs Schema Diffing for Drift API snapshot testing vs schema diffing: schema diffing reads the spec, but live response snapshots catch the drift clients hit in production. Code included. 8 min read
  7. Cap LLM Spend per End User in a Multi-Tenant SaaS App To cap LLM spend per end user in SaaS, reserve each call's worst-case cost in your own database before sending it. Provider limits can't do this. 8 min read
  8. Estimate Image Tokens Before an LLM Call to Enforce a Budget Estimate image tokens before an LLM call with Claude's 28×28 patch formula: ceil(w/28) × ceil(h/28), capped per model tier. Includes a budget gate sketch. 8 min read
  9. Per-Tenant Theming in a White-Label Portal Without Rebuilds How to theme a white-label portal per tenant without rebuilds: store brands as validated tokens, apply CSS custom properties at runtime, check contrast. 8 min read
  10. Share MCP Server Config Across Claude Code Accounts Share MCP server config across Claude Code accounts with one project .mcp.json and ${VAR} secrets, instead of copying each account's config by hand. 8 min read
  11. Claude Code Usage Limit Reset Time: Tracking the 5-Hour Window Claude Code usage limit reset time in the 5 hour window: Anthropic publishes no start time, so here is how to track it for each account. 8 min read
  12. Playwright Test a Manifest V3 Chrome Extension: ScreenGuard Log How to Playwright-test a Manifest V3 Chrome extension: load it in a persistent context, find the service worker, and test screen-share-only behavior. 9 min read
  13. Infer JSON Schema From API Responses: Optional, Nullable, Union Infer JSON schema from API responses and you learn the sample, not the contract. Why optional fields, nullables and unions mislead drift checks. 8 min read
  14. Claude Code OAuth Token Refresh Races Across Multiple Sessions Claude Code OAuth token refresh fails when several sessions share one login: rotating tokens, a stale overwrite, and a 1996 TOCTOU parallel. 9 min read
  15. JSON API Response Diff: How to Ignore Dynamic Fields Safely How to ignore dynamic fields in a JSON API response diff: timestamps, request IDs and reordered arrays, without hiding real breaking changes. 8 min read
  16. Postgres Row-Level Security for Multi-Tenant SaaS: Design and Pitfalls Postgres row level security for multi-tenant SaaS: why 170 Lovable apps leaked, the owner-bypass trap, tenant policy design, and the test that catches leaks. 9 min read
  17. White-Label Client Portal on a Custom Domain: Automating SSL A white-label client portal on a custom domain needs SSL issued and renewed for every agency. Here is where that automation fails silently. 9 min read
  18. Pre-Flight Budget Checks: Blocking an LLM Call Before It Is Billed Want to limit OpenAI API spending? Dashboard caps fire after the bill is already running. The check has to run before the request exists. 8 min read
  19. How to Set a Hard LLM API Spend Limit (Alerts Won't) To set a hard LLM API spend limit, block calls in your own code once a budget is hit; provider alerts only notify. Here is the gap and how to close it. 8 min read
  20. Why Does Every SaaS Product Look the Same? (SaaS Commoditization Explained) 41 SaaS homepages, nearly identical copy. SaaS commoditization isn't lazy differentiation. It's a comparison layer quietly writing your roadmap. 8 min read
  21. How to Price a SaaS Product When You Have No Competitors to Copy Pricing with nobody to copy feels like guesswork. But the wrong number is rarely what kills you. What kills you is who that number brings through the door. 10 min read
  22. How to Run Multiple SaaS Products as a Solo Founder How to run multiple SaaS products as a solo founder: the systems that make three products work for one person, and why most second products are really just a way of avoiding a verdict. 8 min read
  23. Why Does Nobody Use My Open Source Project? 3 Months, Zero Users Why nobody uses your open source project, what the adoption data actually says, and how to tell the difference between a dead repo and a normal one. Three months, zero users, and the belief I got wrong. 10 min read
  24. Vibe Coding Technical Debt: How to Build With AI Without Losing Track of What You Are Actually Building Vibe coding technical debt is what happens when you ship faster than you can explain. The data on AI-generated code quality, and the discipline that keeps you the one actually building your product. 10 min read
  25. Bootstrapped Startup Running Out of Money: Loan or Fold? A bootstrapped startup running out of money isn't proof it failed. It's proof your definition of bootstrapped was wrong. Here's the real one, and how to decide between a loan and folding. 11 min read
  26. Is Building Indie Software Still Viable in 2026? Is indie software development still viable in 2026? Micro-SaaS revenue data, solo-founder survival rates, and the structural advantages that decide who actually makes a living. 8 min read
  27. The Real Cost of Building a SaaS With No Co-Founder Building a SaaS alone isn't hard because of loneliness or labor. After four wasted months, here's the cost nobody warned me about. 10 min read
  28. What I Would Do Differently If I Started AgencyHandy Today SaaS founder lessons learned the expensive way: the hidden cost isn't the risky bet, it's the safe, sensible, comfortable choice nobody questions. 9 min read
  29. Solo Founder Burnout: Why 49% Consider Quitting 4-9 Months After Launch Solo founder burnout doesn't strike randomly. There's a specific stage where 49% consider quitting, and the system was engineered to produce it. 9 min read