Skip to main content
Product EngineeringDraft — pending editorial review. This article has not completed editorial review and may change before publication.

Building an MVP Without Creating Technical Debt

A minimum viable product is a learning instrument, not a discount build. The distinction decides which shortcuts are free and which ones you pay for twice.

"MVP" has drifted a long way from what it originally meant. It was a learning instrument: the smallest thing you can build that produces a trustworthy answer to the riskiest question about the product. It is now frequently used to mean "the same product, but cheaper and faster", which is a different thing entirely and produces a different codebase.

The distinction matters because it decides which shortcuts are free. A shortcut that limits what the product does costs nothing later. A shortcut that limits what the product can become is a loan, and the interest rate on that loan is high precisely during the period when the product is succeeding and you can least afford to stop.

Scope down capability, never foundations

The most reliable way to build a first version quickly without mortgaging the second is to cut features aggressively and cut engineering fundamentals not at all.

Things that are safe to cut in a first version:

  • Roles and permissions beyond the two you can name today.
  • Bulk operations, import and export.
  • Internationalisation, when every early customer is in one market.
  • Configurability. Hard-code the one behaviour your first users need.
  • Anything that exists because a competitor has it.

Things that are not safe to cut, because retrofitting them touches everything:

  • A schema whose entities match the business vocabulary.
  • Authentication and a real authorisation check at the boundary.
  • Automated tests around the two or three flows that define the product.
  • Structured logs with a request identifier that crosses service calls.
  • A repeatable deployment that anyone on the team can run.

Debt you take deliberately is not the problem

Every fast build accumulates compromises. The dangerous ones are the compromises nobody recorded. A team that knowingly hard-codes a tax rate, writes it down and puts a check around it has made an engineering decision. A team that hard-codes it in three places and forgets has created a bug scheduled for the first day of the next financial year.

The practice that separates the two costs about a minute per decision:

ts
// DEBT(pricing): single currency assumed end-to-end. Revisit before the
// first non-domestic customer — touches checkout, invoicing and reporting.
const CURRENCY = "USD";

A marker like this is greppable, it names the trigger for repayment, and it names the blast radius. At the point where someone asks "how much work is multi-currency", the answer takes ten minutes to assemble instead of two days.

The problem was never that the team moved fast. It was that nobody kept the list of what moving fast cost.

Design the seams, not the implementations

An MVP is allowed to have naive implementations. It is not well served by having no seams. A seam is a place where a naive implementation can be replaced without its callers noticing.

In practice that means the first version stores files by calling a small storage module rather than by calling a cloud SDK from a request handler; sends mail through one function rather than from four; and reads configuration from one typed settings object rather than from process.env scattered through the tree. None of these are architecture. They are each about twenty lines, written once, and they are the difference between swapping a provider in an afternoon and swapping it in a sprint.

The seams that pay for themselves most often

  • Persistence. One module that owns queries for an entity.
  • External services. One adapter per third party, with the response shape validated at the boundary.
  • Time and identifiers. Injectable, so tests are deterministic.
  • Feature flags. Even a simple map of booleans, so an unfinished path can ship dark instead of living on a branch.

Instrument from day one

The purpose of a first version is to learn. A build that ships without observability has removed its own reason for existing: it can tell you that people signed up, but not where they abandoned the flow, how long the slow page actually takes, or which error the support ticket refers to.

This does not require a platform. It requires that every request has an identifier, that logs are structured, that errors are captured with enough context to reproduce them, and that the two or three events that define activation are recorded deliberately rather than inferred later from whatever happens to be in the database.

Set the repayment date before you need it

The last piece is scheduling. Debt with no repayment date becomes architecture by default. Two mechanisms work reliably: attach repayment to a business trigger — the second market, the tenth enterprise customer, the first compliance review — and keep a standing allocation of engineering capacity, small enough that it survives a bad quarter and large enough to matter.

Neither is complicated. Both are far easier to establish while the product is small and nobody is arguing about roadmap, which is exactly the moment teams skip them.

An MVP built this way is still fast, still small, and still mostly disposable in its details. What it does not do is force the next team to choose between shipping and repairing.

Next step

Working on Something This Touches?

If any of the above describes a decision in front of you, the useful next step is a conversation with the engineers who would do the work — not a download.