Sub topic 6
Write Your Recovery Plan in Advance
This chapter assumes you know the never miss twice rule and what a minimum version of a habit is. The code examples are short Python 3.9+ functions, but you can skip them and still follow the plan-writing steps.
Why decide before the miss
After a missed day, you are in a poor position to make good decisions. You may feel guilty or tired, or you may already be telling yourself the streak is over. If you have to invent a response at that moment, the all-or-nothing reaction usually wins.
A recovery plan moves the decision to a calmer time. You write down what you will do the day after a miss, so on that day you only have to follow the plan. This is an implementation intention, a fixed "if X, then Y" statement that links a trigger to an action.
The three parts of a recovery plan
A useful plan has three parts:
- The full habit. Name it concretely, with a time and a place or cue.
- The minimum version. Name a fallback small enough that you can do it on your worst day.
- The trigger rule. State exactly what counts as a miss and what you do the next day.
Here is a plan for a writing habit:
Habit: Write for 30 minutes after breakfast.
Minimum version: Write one sentence.
If I miss a day, then the next day I do the minimum version at the usual time, even if I only have two minutes.Notice what the plan does and does not say. It does not ask you to make up the lost 30 minutes. It does not promise to "try harder." It keeps the same time of day, so the cue stays familiar, and it sets a bar low enough that skipping it would be hard to justify.
How the plan runs
The plan only needs to answer one question each morning: was yesterday done?
The check is binary and takes seconds. This matters because a plan that needs judgment ("Am I feeling up to it?") brings back the in-the-moment negotiation you were trying to avoid.
Letting code check your log
If you keep your log as a set of dates, you can automate the check. This function returns one of three states for today:
from datetime import date, timedelta
def status(done_days: set[date], today: date) -> str:
"""Return 'done', 'on_track', or 'recover_today'."""
yesterday = today - timedelta(days=1)
if today in done_days:
return "done"
if yesterday in done_days:
return "on_track"
return "recover_today"
log = {date(2026, 11, 24), date(2026, 11, 25)}
print(status(log, date(2026, 11, 26))) # on_track: yesterday was done
print(status(log, date(2026, 11, 27))) # recover_today: 26th was missedrecover_today is exactly the situation the rule targets: yesterday has no entry and today is not yet done. When you see it, your plan says to do the minimum version.
The second function tells you how bad the gap is:
from datetime import date, timedelta
def consecutive_misses(done_days: set[date], today: date) -> int:
"""Count missed days in a row, ending yesterday."""
count = 0
day = today - timedelta(days=1)
while day not in done_days and count < 365:
count += 1
day -= timedelta(days=1)
return count
log = {date(2026, 11, 20)}
print(consecutive_misses(log, date(2026, 11, 27))) # 6A result of 1 means a single miss, which is the case the rule handles. A larger number means the rule was already broken, so the plan needs a second branch. The 365 cap stops the loop from running forever on an empty log.
Add a branch for longer gaps
A plan that only covers one miss will fail after two. Decide ahead of time what you do when the gap is longer. A simple version is:
| Misses in a row | What you do |
|---|---|
| 0 | Do the full habit. |
| 1 | Do the minimum version at the usual time. |
| 2 or more | Do the minimum version today, then review why you missed (covered in a later chapter). |
The third row is not a punishment. It acknowledges that two misses are information about the habit or your schedule, not only a lapse in willpower.
Common errors
- A minimum version that is not small enough. "Write for 10 minutes" is a short version of the habit, not a minimum. If you can imagine skipping it, shrink it.
- Make-up work. Adding the missed amount to the next day turns recovery into a penalty and makes a second miss more likely.
- A vague trigger. "If I miss a day, I'll get back on track" gives you nothing to follow. Name the day, the time, and the action.
- Writing the plan after the miss. Plans written mid-lapse tend to be either too harsh or too lenient. Write it on a day when the habit is going fine.
- Changing the cue. Moving the recovery action to a new time or place removes the cue that makes the habit automatic.
Write yours
Fill in this template for one habit you already practice:
- Habit: what, when, where.
- Minimum version: something you could do in two minutes while ill.
- Trigger: "If I miss a day, then the next day I __ at __."
- Long gap: what you do after two misses.
Exercise
A reader's plan says "If I miss a day, I'll do double the next day to catch up." Name two problems with this plan and rewrite it using the three parts from this chapter.
Show answer
Problems: (1) doubling raises the effort on a day when motivation is already low, which makes a second miss more likely; (2) it treats the miss as a debt, which feeds the all-or-nothing reaction. Rewrite: "Habit: run 20 minutes at 7 a.m. Minimum version: put on running shoes and jog for 2 minutes. If I miss a day, then the next day I do the minimum version at 7 a.m., even if that is all I do."