# Leave every decision with a reversal condition that can trigger an alarm

Date: 2025-11-28
Category: Efficiency
Tags: Decision Making, Retrospectives, Habits
Summary: Use a three-line decision log to record what is known, what is unknown, and the trigger conditions for reversal when making judgments, turning vague selection intuition into observable, accountable evidence while filling monitoring gaps

I once moved the scheduled tasks in a project from Celery to a machine running cron. The reasoning at the time was clear, and I remember being quite pleased with it. Some time later, the system had a problem: a task failed silently for a while, and nobody noticed. Sitting in front of the screen trying to reconstruct my judgment at the time, all I had left in my head was one thought: "Celery is too heavy."

Why did I rule out the other option? What did I think the biggest risk was? How did I convince myself it was "good enough"? All gone.

The lesson from that wasn't "write documentation." I did write documentation—it said "Scheduled tasks have been migrated to cron, see deploy/cron.d." That sentence describes the outcome; it contains no judgment. What I was really missing was the input at the moment of the decision.

Since then I've added a very small habit: for any decision I won't remember the reasoning for in three days, I spend five minutes on the spot writing three lines. I call it a decision log, though the actual form is closer to leaving a note for my future self.

## Three lines, written next to the code

The template is roughly this:

```
2025-04-12 搜索从 ES 换成 Postgres 全文检索
已知：日查询峰值约 5k，中文分词只要求能切词；未知：明年要不要做相关性排序
反悔条件：查询 P95 连续一周超过 300ms，或出现“必须支持同义词扩展”的需求
```

The first line is the decision itself and the date; the second line splits into "known" and "unknown"; the third line is the reversal condition.

The "unknown" column is the most valuable—it forces you to say what you're betting on. In the entry above, I was betting that we wouldn't need relevance ranking next year. If I lose that bet, the cost of switching back to ES is about three days, which is acceptable. It was only when I wrote it down that I realized I was making a bet.

The location follows the project: a decisions.md, with new entries at the top. Not in a note-taking app, because it has to appear where I'll naturally see it: when browsing code or looking at a PR, I scan past it. Some entries I paste directly into the PR description, and reviewers will follow up with "how do we monitor this reversal condition?"—more effective than a lot of design reviews.

The cost has to be clear. Five minutes per entry, and only four or five a month are genuinely worth recording. Small decisions don't get recorded; if they change, they change.

## The reversal condition has to be something that can trigger an alert

My first version was "if performance isn't good enough, switch back." That's as good as not writing anything: who decides performance isn't good enough? Not good enough to what degree? Who bears the cost of switching back?

Later I changed it to a three-part form: a metric, a threshold, a duration. Or replace it with a concrete event. "A customer asks for pinyin search" is an event and can be observed; "the experience is bad" is not.

This requirement has a side effect that I think is more useful than the log itself: when writing the reversal condition, you first have to confirm whether that metric is currently being collected. Six or seven times out of ten, the answer is no. So you add a query or an instrumentation point along the way. This habit is quietly patching holes in monitoring.

There's another case where the reversal condition simply can't be written. My experience is that this usually means one of two things: either the decision has no way back, in which case it's a commitment, not a decision, and has to be treated separately; or you haven't figured out what you're betting on. The latter is more common. In that case, don't rush to act.

## Review only when triggered

The record itself produces no value; only reviewing does. But I've failed at this: I tried a weekly review, and after two weeks it became a formality, and by the third week I stopped.

Now it's once a quarter, scanning only two categories: reversal conditions that have already triggered, and ones that clearly no longer hold. Ten minutes is enough.

After more than a year of flipping through, I've seen a few recurring flaws of my own. None are novel insights, but with dates and my exact words at the time, I can't fool myself anymore:

- I systematically underestimate cross-team communication time, roughly by a factor of two. I'm not sure whether this is just me, but it's very consistent in me.
- I overestimate weekend output, roughly by double.
- In more than half of my technical choices, I ultimately didn't switch back. But that doesn't mean the choice was right at the time—it only means the cost of switching hasn't been reached yet.

The most worth looking at is another category: the reversal condition triggered, but I did nothing. These entries are where the log really does its job—it turns "I knew at the time" into dated evidence. Not triggering doesn't mean the decision was correct; triggering without action is what needs explaining.

## What I haven't figured out

I basically don't record work decisions. Judgments involving people or the organization carry risk just by being written down, and many reversal conditions aren't observable—"if this project gets deprioritized," you can't say what the standard for deprioritization is. So my log is almost entirely technical choices, personal investment, and time allocation. That's a clear limitation.

Another question: does writing things down make people more conservative? My own observation is no—it actually makes me faster, because before acting I've already seen what the way back looks like, so I agonize less. But the sample is only a year or so; I can't draw a conclusion.

Next time you face a decision whose rollback would take more than a day, open an empty file and type three lines. If you can't write the third line, it's not a writing problem—it's that the matter isn't thought through yet.

Further reading: [Three entries a day for half a year: what's useful isn't memory, it's retrieval](/2025/01/13/three-daily-observations/)
