One-way vs two-way doors

In one sentence

Match process to reversibility: one-way doors (costly to undo) get slow, deliberate analysis; two-way doors get decided fast by a small group. Good architecture turns one-way doors into two-way ones.

Analogy: Picking a restaurant tonight is a two-way door: if it's bad, you choose another tomorrow. Buying the restaurant is a one-way door. Don't spend buying-effort on dinner choices, or the reverse.

Ask first whether you can make the door two-way; only the truly irreversible decisions get the slow path.

How it works

  • Two-way doors in AI: a prompt change behind a flag, a model swap through a gateway, a retrieval k.
  • One-way doors: multi-year committed spend, customer data sent to a third party, retention policies, public API schemas.
  • Decide with ~70% of the information you wish you had; waiting for 90% is usually too slow.
  • Make doors two-way with a gateway, feature flags, versioned contracts and exit clauses in vendor deals.
  • Two traps: Type 1 process for everything makes you slow; treating one-way doors as two-way can sink you.

Check yourself

Answer to mark it learned; your answers aren't scored.

A team has spent three weeks in architecture review on whether to route ticket summaries to a cheaper model. All calls go through the LLM gateway and an eval suite runs in CI. What do you advise?

Go deeper

Full explanation

Jeff Bezos split decisions into two types in Amazon's 2015 shareholder letter:

  • Type 1, one-way doors. Irreversible or very expensive to undo. Go slow: gather data, consult widely, write it down.
  • Type 2, two-way doors. If it's wrong, you walk back through. Decide fast, with one owner or a small group.

The failure he warned about is using the heavyweight Type 1 process for everything, which makes a large organization slow and risk-averse. The opposite failure, treating a one-way door as a two-way one, gets a footnote: companies that habitually do that go extinct before they get large.

The 2016 letter added two tools for speed:

  • Decide with about 70% of the information you wish you had. Waiting for 90% usually means you're slow, and being wrong on a two-way door is cheap to fix.
  • Disagree and commit. Voice the disagreement, then back the decision fully instead of slow-walking it.

In AI systems:

  • Two-way: a prompt change behind a flag, a model swap through a gateway, a retrieval k.
  • One-way: a multi-year committed-spend contract, sending customer data to a third party, a data-retention policy, a public API schema.

The Staff move is making doors two-way: an LLM gateway so no product code imports a vendor SDK, feature flags, versioned contracts, and exit clauses plus data-portability terms in vendor deals.

Code Reversibility check for a decision header
yamlReversibility check for a decision header
# Paste into the PR or design-doc header. Process follows the door type.
decision: Route ticket summarization to a cheaper model
door: two-way
undo_cost:
  time: "< 1 hour"          # flip the gateway route back
  money: none               # pay-as-you-go, no commitment
  data: none                # zero-retention terms already signed
blast_radius: summaries only, 10% of traffic first
who_decides: support tech lead   # one owner
review: async PR, 24 h
kill_switch: gateway route flag support.summarize.model
---
decision: Sign a 3-year committed-spend deal with one model vendor
door: one-way
undo_cost:
  time: 3 years
  money: committed spend, no early exit
  data: prompts retained by vendor (check terms)
make_it_two_way:
  - annual exit clause or step-down commitment
  - zero-data-retention addendum
  - all calls through the gateway; no vendor SDK in product code
who_decides: VP Eng + Finance + Security
review: design doc + ADR
Real example

A team wants to try a cheaper model for ticket summaries. Every call already goes through the gateway and an eval suite runs in CI, so it's a two-way door: the tech lead routes 10% of traffic, compares eval scores and cost for a week, and rolls forward, no committee. The same quarter, procurement proposes a three-year committed-spend deal in exchange for a discount. That's a one-way door: it gets a design doc and a Security review of data retention, and the Staff architect negotiates an annual exit clause, turning part of it back into a two-way door.

Trade-offs +3 · −3

+ You gain

  • Speeds up most decisions by matching process weight to reversibility.
  • Focuses senior attention on the few decisions that truly can't be undone.
  • Shared vocabulary to push back on both rushing and over-analysis.

− You pay

  • Reversibility is often misjudged: data, contracts and public APIs look two-way and aren't.
  • Two-way doors harden over time as more systems depend on them.
  • "Disagree and commit" can be abused to silence real objections.

Use it when

Whenever you set the process for a decision: who decides, how much review, how much data you need. Especially when a team is stuck analyzing something cheap to reverse.

Avoid it when

Not an excuse to skip safety on "reversible" changes that touch customer data, money or security: the code rolls back, the harm may not.

Numbers to know 2
  • Bezos (2016): decide with ~70% of the information you wish you had; waiting for 90% is usually too slow.
  • Type 1 / Type 2 decisions: Amazon's 2015 shareholder letter.
Common pitfalls 4
  • Calling a change two-way because the code reverts, while the data it sent, wrote or deleted does not.
  • Running every prompt tweak through architecture review: Type 1 process on Type 2 decisions.
  • Invoking "disagree and commit" before anyone has actually disagreed; it comes after the debate, not instead of it.
  • Letting a two-way door harden: no gateway, no flag cleanup, and six months later it's one-way.
Interview questions 3

Answer out loud first, then reveal.

How do you decide how much process a technical decision needs?Show answer

I ask how expensive it is to undo, not how important it feels. If we can reverse it in days with no lasting data or contract consequences, like a prompt change behind a flag or a model swap through our gateway, one owner decides fast and we measure. If it's a vendor commitment, a retention policy or a public API, it gets a design doc, wide review and an ADR. And before taking the slow path I ask whether we can make it reversible instead; an abstraction or an exit clause is often cheaper than the deliberation.

Tell me about a time you disagreed with a decision but committed.Show answer

We standardized on a single model vendor; I argued for multi-vendor because of lock-in. I lost on cost and simplicity, and I said so clearly in the review. Then I committed fully and led the integration, but I insisted every call go through our gateway, which nobody objected to. When pricing changed a year later, moving one workload to a second vendor took a week. Committing didn't mean dropping my concern; it meant turning it into a cheap hedge inside the decision.

Give examples of one-way doors in an AI platform.Show answer

Sending customer data to a third-party model provider: you can't unsend it, so retention and training terms are settled up front. Multi-year committed-spend contracts. A public API or output schema customers build on. Data-retention policy, both keeping and deleting. And, less obviously, the embedding model behind a large index, since switching means re-embedding everything. Prompts, routing and retrieval parameters, by contrast, should be two-way by design, and I'd push back if they weren't.