PART 1 · CHAPTER 02
Every System Runs on Assumptions
Architecture decisions contain premises: traffic shape, ownership, trust, latency, legal retention, user behaviour and availability targets. Undocumented premises…
Saved locally in this browser, not synced to an account.
The invisible rule: A schema constraint is often a disguised business assumption. Before removing it, determine which reports, refunds and fraud checks depended on the old rule.
The question
What happens when a design depends on a fact nobody agreed was true?
This question sounds simple because we usually evaluate a software system by the parts we can see. Yet an incident often begins in a rule that nobody wrote down: a hidden timing assumption, a missing owner, an ambiguous business word or an unsafe fallback.
Throughout this book we follow Meridian, a fictional enterprise order and payments platform. Its incidents are constructed teaching cases, not claims about a real company. They are based on common engineering patterns and are designed to make the underlying trade-offs observable.
The familiar world
A family drives to an airport assuming every passenger has a passport. The itinerary is flawless; the unstated assumption ruins the trip.
The useful detail in this analogy is that the visible equipment is not enough. Reliable outcomes depend on relationships, rules and responses to exceptions. These are precisely the aspects that disappear when architecture is represented as nothing more than boxes and arrows.
The connection
Architecture decisions contain premises: traffic shape, ownership, trust, latency, legal retention, user behaviour and availability targets. Undocumented premises become invisible liabilities.
In a software system, this is not merely a theoretical distinction. The first version of the checkout required one card payment. A product manager adds gift cards plus a bank card. Developers attempt to patch the UI, but the one-payment-per-order database constraint blocks the new business model.
The architecture becomes visible only when we ask more specific questions: Which component has authority? Which fact is immutable? How long may another service be out of date? Which error is retryable? Who must approve the next action? The answers define a system more accurately than the technology list alone.
The visual explanation
A concrete model to inspect:
Old: Order 1 ── 1 Payment
New: Order 1 ── N PaymentIntents ── N Captures
└── Settlement policies and limits
Read the model from the point of view of a user action rather than from the point of view of a service. Follow the business intention, identify where meaning is translated or lost, and mark the precise point where a decision becomes irreversible or externally visible.
The deeper truth
A realistic engineering situation
Meridian initially expects one payment per order. A new marketplace feature supports split tenders and partial captures. A unique order_id constraint now prevents legitimate payments.
A team could easily mistake this for a small implementation defect. That diagnosis would be incomplete. The incident arises because the surrounding system has not represented an important contract or policy explicitly enough for other parts of the system to rely on it.
How to design the solution
Replace the hidden one-to-one assumption with an explicit model: order to payment intents is one-to-many, each intent has allowed state transitions, and settlement occurs per capture. Migrate data with compatibility rules.
Implementation requires more than adding one validation check. Decide which data is authoritative, how the rule is enforced during concurrent requests, what evidence is recorded, and how old clients behave during migration. Prefer a small set of explicit guarantees over a long list of informal expectations.
What can still go wrong
An assumption is useful until it is wrong; the important design question is how early change becomes visible.
For a production rollout, make the failure case part of the acceptance criteria. Include at least one network timeout, one duplicate or late input, one authorisation failure, one version mismatch and one observable recovery path where those scenarios are relevant. Test under concurrency, because a guarantee demonstrated by a sequential unit test may not hold when requests overlap.
Design review questions
| Review dimension | Question to answer before release |
|---|---|
| Business meaning | What does success mean to a customer or operator? |
| Ownership | Which service or human is accountable for the result? |
| Failure | What happens if the next step never occurs? |
| Evidence | Which test, log or metric demonstrates the guarantee? |
| Change | How will older consumers and existing data behave? |
Try this in your own system
Maintain an assumption register with evidence, confidence, owner, expiry date and a test or telemetry signal.
Do not start by selecting a framework. Write down the observable outcome, the invariant that must hold, and the evidence that would convince a sceptical reviewer. Then identify the simplest design that enforces those conditions.
The takeaway
A schema constraint is often a disguised business assumption. Before removing it, determine which reports, refunds and fraud checks depended on the old rule.
The most important architecture is often the architecture of decisions. Make the hidden rule explicit, give it an accountable owner, enforce it where the business effect occurs, and verify it in realistic conditions. That is how a plausible design becomes a dependable system.
Further reading
- Google Site Reliability Engineering, Addressing Cascading Failures. Relevant background; the Meridian case is an illustrative example, not a case study reported by this source.