Articles

Predictability as Optimization SubstrateWhen a recurring situation becomes predictable, some of tomorrow's decisions can be made before it arrives.

Two collaborators begin work at a prepared table in a regularly arranged studio.
A familiar starting arrangement leaves room for unfamiliar work.

The Core Principle

A work session that starts at a different time every day requires repeated decisions about when to begin and repeated preparation for the task. A session that reliably starts at 10am gives you something to anticipate. Preparation can begin before the session, and the same starting sequence can become automatic.

Predictability at layer N enables optimization at layer N+1. A stable foundation removes adaptation work and makes further improvements possible. This explains the value of rigid routines: the predictable pattern supplies the conditions for automatic optimization.

A closer look

What the stable layer supports

What the stable layer supportsLevels in order: A repeatable context; Preparation for its return; Less repeated adaptation; Attention for higher-level work. The article examines the opportunities that appear above a dependable routine, while allowing the routine itself to evolve.A repeatable contextPreparation for its returnLess repeated adaptationAttention for higher-level workWhat the stable layer supportsLevels in order: A repeatable context; Preparation for its return; Less repeated adaptation; Attention for higher-level work. The article examines the opportunities that appear above a dependable routine, while allowing the routine itself to evolve.A repeatable contextPreparation for its returnLess repeated adaptationAttention for higher-levelwork

The article examines the opportunities that appear above a dependable routine, while allowing the routine itself to evolve.

Read this diagram

Levels in order: A repeatable context; Preparation for its return; Less repeated adaptation; Attention for higher-level work.

The CPU Parallel: Four Optimization Mechanisms

Predictable code runs faster than unpredictable code because of four techniques: branch prediction, caching, pipelining, and compilation. All four require predictable patterns, and each reduces a different kind of repeated work. A routine repeated at a fixed time gets cheaper to run in a similar way, because less of it has to be worked out each time. The likeness stops at that effect. A branch predictor, a cache and a compiler are separate pieces of hardware and software, and nothing in a person corresponds to them one for one.

1. Branch Prediction

An unpredictable branch does not give the CPU a reliable indication of which instructions will run:

if random():
    do_A()
else:
    do_B()

A misprediction costs 10-20 cycles and stalls the pipeline. The processor guesses which way the branch will go and starts work on that path; when the guess is wrong, it discards that work and restarts on the correct branch.

A repeating condition gives it a pattern to learn:

if monday_through_friday():
    work()
else:
    rest()

After a few iterations, the CPU can prefetch the correct branch and keep the pipeline full. The cost becomes 1 cycle without a stall.

Schedule TypePredictionActivation CostMechanism
Unpredictable: "I'll work when I feel like it"Cannot predict what's nextHigh (cold start every time)No pattern to cache
Predictable: "Julius session 10am daily"Knows what's coming at 9:45amLow (warm start)Pattern cached, preparations automatic

A daily Julius session at 10am similarly provides a predictable next event. At 9:45am, preparation for the work state begins because the pattern is recognized, without a fresh conscious decision to prepare. An unpredictable session has no equivalent cue and requires a cold start.

Guessing the week from last weekInteractive example
Week 12345678MonTueWedThuFriSatSunWeek 12345678MonTueWedThuFriSatSun
90%

With 10% of days set to go off pattern, the predictor was wrong on 7 of the 49 days after the first week.

The predictor expects each weekday to go the way it went the week before, the simplest kind a processor uses. Bright dots are work days, dim dots are rest days, and a ring marks a wrong guess. Each surprise costs it twice: on the day, and a week later when it expects a repeat.

2. Caching Through Access Pattern Predictability

CPU caching relies on repeated access. Temporal locality means that recently used data is likely to be used again; spatial locality means that nearby addresses are likely to be used together. The predictability of those accesses determines the cache hit rate.

In the random-access case, most accesses miss the cache and have to be retrieved from RAM, which is far slower. In the predictable case, nearly every access finds its data already in cache, and execution runs many times faster.

Daily PatternCachingWork State LoadingCost
Variable schedule: Different activities, triggers, contexts dailyNo repetition → no cachingMust load from scratchHigh activation energy, slow warm-up
Predictable rhythm: Same triggers, sequence, timing dailyRepetition → caching via 30x30State pre-loaded automaticallyLow activation energy, quick warm-up

Repeating the same trigger, sequence, and timing supplies the corresponding temporal locality for behavior. Thirty days of that repetition are meant to cache the pattern, so the trigger can load the work state automatically instead of requiring preparation from scratch. The reduction in activation energy is the one the 30x30 pattern describes.

3. Pipelining Through Timing Predictability

A CPU divides instruction processing into stages:

Stage 1: Fetch instruction
Stage 2: Decode instruction
Stage 3: Execute instruction
Stage 4: Write result

When stage durations are predictable, work can overlap across them. Unpredictable delays leave pipeline bubbles in which a stage waits rather than doing useful work.

An irregular morning provides no reliable point at which to begin preparing the next activity:

Wake: 5:40am-8:00am (variable 2h20m window)
Breakfast: 0-60min (variable)
Start work: ??? (completely unpredictable)

A predictable sequence allows preparation to overlap the activity already underway:

5:40am ±5min: Wake
5:45am-6:00am: Mantra (15min)
6:00am-6:10am: Braindump (10min)
6:10am-6:15am: OBS launch (5min)
10:00am sharp: Julius session starts

At 5:50am, preparation for the braindump that follows the mantra can already begin. At 9:45am, the state for the 10am work session can start to load. Pipelining is this overlap of preparation and execution, which depends on knowing when the next stage will arrive.

4. Compiler Optimization Through Predictable Control Flow

A loop whose next action comes from unpredictable input has to execute dynamically:

while True:
    action = get_random_input()
    execute(action)

The compiler cannot optimize it through loop unrolling or dead-code elimination. A fixed loop exposes more of the work in advance:

for i in range(10):
    process(data[i])

The compiler can unroll the loop, vectorize operations, and move invariant work outside the repetition, producing much faster compiled code.

Trigger PatternOptimizationDecision OverheadResult
"I'll work when inspired"No predictable triggerAll decision logic executed every timeHigh overhead, variable execution
"Every day 10am Julius session"Time-based triggerDecision logic compiled out over 30 days of repetitionLittle overhead, close to automatic

Thirty days of consistent execution at 10am are meant to compile the behavioral pattern. The decision "should I work now?" then no longer needs to be evaluated on each occurrence, and the arrival of 10am activates the work script directly.

The Meta-Pattern: Optimization Layers

Each stable layer supplies conditions on which a more capable layer can depend:

  • Layer 0 has no predictability. Variable wake times, random work schedules, and changing triggers require fresh computation on every occasion. Neither caching nor anticipation is possible, so cognitive load is highest.
  • Layer 1 establishes a predictable rhythm. Fixed waking, working, and meal times supply repeated patterns. Caching and anticipation become possible, reducing the ongoing load.
  • Layer 2 contains cached patterns after 30x30 is complete. Morning routines, gym visits, and work launches become automatic, with little activation energy left. That infrastructure can support the next layer.
  • Layer 3 uses the released capacity for higher-order work. Deep coding, research, writing, strategic thinking, and complex problem-solving can use that capacity because Layer 2 requires little attention.

Skipping a layer is expensive. Trying to do creative strategy from a chaotic schedule spends the available resources on deciding when to work, resisting distractions, and repeatedly loading context. Stable routines remove those demands so that the same capacity can be used on the content of the work.

Why Chaos Is Computationally Expensive

A changing work schedule can require a new launch on each occasion:

Monday: Work 2pm-8pm
Tuesday: Work 9am-11am
Wednesday: No work
Thursday: Work 6pm-midnight
Friday: Work 10am-2pm

The context differs, so patterns do not cache. Nothing predicts the next activity, so its state cannot be prepared in advance and the decision about whether to begin cannot be compiled away. Each session is a cold start that pays the full activation energy, while the variability adds questions about when to work, what to do, and how long it will take.

A stable schedule supplies repeated opportunities to prepare:

Monday-Friday: Julius session 10am-12pm
Every day: Morning launch 6am-7am
Every day: Gym 12:30pm

The same context repeats, and the repetition lets the routine settle. Preparation for the 10am session can begin at 9:45am while the activity begun at 9:30am is still underway. By day 30, the aim is for the trigger to activate the script directly. The starting cost is expected to fall across the month.

The rhythm eliminates the recurring decisions about when, what, and how to begin. Those preparations no longer compete with the task during each launch.

Circadian Optimization: Biological Predictability

Circadian rhythms evolved to anticipate repeating environmental cycles. A consistent schedule allows the body to prepare for demands before they arrive.

How Biology Optimizes Around Predictability

With a predictable wake time, alertness can arrive when the day starts. Variable waking leaves that timing unsettled, so more mornings begin groggy.

Meal timing provides another recurring signal. With meals at predictable times, the body can prepare for them. Random eating gives it nothing to prepare for.

Predictable work hours also let peak alertness align with the period of work. Random work hours can place demanding tasks in natural dips instead. A randomized schedule works against the body's daily rhythm.

The underlying constraint is simple: a system in a predictable environment can allocate resources in advance. In a chaotic environment, it has to remain on alert because the next demand is unknown.

Fixed Routines in Demanding Work

CEOs who wake at the same time, athletes who train at the same time, and writers or artists who keep fixed work hours provide recurring examples of this arrangement. Calling them disciplined does not explain how the schedule helps their work.

Predictable timing supports several kinds of preparation:

Optimization LayerMechanismResult
Caching30x30 pattern completionBehaviors close to automatic, little overhead
Circadian alignmentBody adjusts to the timingPeak alertness when needed
Mental anticipationContext loaded ahead of timePreparation automatic, fewer cold starts
Decision eliminationTriggers compiled into scriptsLittle willpower spent on starting
Capacity allocationInfrastructure runs automaticallyMore cognitive capacity available for actual work

The routine supplies infrastructure for sustained performance. As a stable codebase makes feature development easier, a stable daily rhythm reduces the preparation that must be repeated before higher-level work can happen. Its value lies in the capacity that becomes available for that work.

Application: Installing Predictable Rhythm

Problem Pattern: Unpredictable Collaboration

When Julius collaboration sessions happen "when convenient," neither their timing nor the preparation sequence is established. Each session begins with a cold start that pays the full activation energy of starting.

The threshold makes it easier to drift into analysis loops instead of building. Because the next session cannot be anticipated, its preparation cannot be cached or overlapped with an earlier activity.

Solution: Install Time-Based Trigger

A Julius build session from 10am-12pm on every day he is available provides a repeating trigger. The expected progression is:

  • Days 1-3 require manual execution. The person consciously decides to begin while the pattern starts to become familiar. The cost is at its highest.
  • Days 4-7 bring anticipation of 10am. Unconscious preparation starts at 9:45am, and the cost begins to fall.
  • Days 8-15 establish the rhythm. The arrival of 10am becomes an automatic trigger for the work state. The cached pattern interrupts the analysis-loop default, and the cost falls further.
  • Days 16-30 approach automatic execution. The work state begins loading at 9:45am with little deliberation. The cost is low.
  • Day 31+ has cached collaboration. The work state loads at 10am without deliberation, and starting costs very little.

Temporal regularity gives caching enough repeated material to occur. The fixed session supplies that regularity rather than requiring a new decision to be consistent each day.

The Profound Implication: Rigidity Enables Freedom

Predictable infrastructure can run at little cost after 30x30 caching. Caching, circadian alignment and anticipation then leave capacity available for creative work.

A variable routine repeatedly consumes that capacity in adaptation. Without a pattern, none of the four processor techniques has anything to work on. Decisions about the infrastructure keep the work at Layer 1 instead of allowing Layer 3 work.

That is why, in this account, "follow your energy" fails as a way to schedule work. Each unpredictable session is another cold start because the pattern never caches. Creative freedom depends on a predictable foundation for a plain reason: resources used to recreate the conditions for work are unavailable for the work itself.

Integration with Existing Frameworks

Rhythm needs predictable timing to become established. Stable zeitgebers align circadian activity, while regular beats let preparation for one activity overlap the previous activity.

30x30, a month of daily repetition, depends on that consistency. Execution at a predictable time repeats the pattern and gives it the chance to be cached; variable timing works against that.

For activation energy, anticipation distinguishes a warm start from a cold one. An established rhythm makes the launch far cheaper because preparation has already begun.

A predictable state transition also gives you a pattern to learn: at 10am, the work state loads. Prevention architecture can run without a decision once its installation has been cached.

The same compilation conserves willpower. Once the pattern is compiled, the recurring question of whether to work no longer consumes a decision, because the trigger initiates the script.

Implementation: Tomorrow's Architecture

Personal Rhythm (Layer 1 Infrastructure)

The proposed morning sequence establishes a circadian anchor and a series of preparations:

  • Waking is at 5:40am ±5min.
  • The morning mantra starts at 6:00am and lasts 15min, establishing the intended state.
  • The braindump starts at 6:15am and lasts 10min, loading context.
  • The OBS launch starts at 6:30am and lasts 5min, preparing the work environment.

The company rhythm fixes the Julius session at 10:00am sharp, ends it at 12:00pm to provide a discrete boundary, and places the gym at 12:30pm as a reset in the middle of the day.

After 7 days, the expectation is that anticipation is emerging and the costs are declining. After 30 days, the aim is for the routines to be cached and automatic. Layer 3 strategic work can then be built on the stable Layer 1 infrastructure and the routines cached on it.

Why Morning Routines Work

A stable launch sequence gives the body a consistent wake signal. A month of repetition is meant to cache the sequence, while predictable stages let each activity prepare the next. Because the order is predetermined, the person does not have to decide what comes next, and the transition to the work state can be anticipated.

The resulting activation cost is small enough to preserve cognitive resources for the task. A flexible morning with no reliable wake signal or sequence cannot provide the same preparation. The pattern does not cache, every morning requires a cold start, and repeated decisions consume willpower before work begins.

Common Objections Resolved

"Rigid routines feel constraining." The constraint concerns when work happens in Layer 1. It leaves the content of Layer 3 work open. Fixing the session's timing preserves attention for variation within the session.

"What about flexibility for unexpected events?" A predictable schedule is the default. A genuine high-value opportunity can justify a deliberate exception while most days retain the rhythm. The practice allows 1-2 misses per month, which still leaves enough repetition for caching.

"Different people have different energy patterns." A person's own energy pattern should determine the timing. Someone whose best focus is from 8pm-midnight can use 8pm as the regular work trigger. Predictability requires a consistent pattern, not the same schedule for everyone.

"This seems to remove spontaneity." Spontaneous creative work needs cognitive capacity available for an unexpected insight. Automatic temporal infrastructure provides that capacity. Unpredictability in the launch sequence instead consumes it in recurring preparation.

  • Rhythm establishes a repeating temporal pattern.
  • 30x30 Pattern describes a month of daily repetition and how the cost of starting is expected to fall across it.
  • Activation Energy distinguishes the cost of warm and cold starts.
  • State Machines represents the transitions that prediction prepares.
  • Prevention Architecture can run without a decision once its installation is cached.
  • Willpower is conserved when recurring decisions are removed.
  • Zeitgebers provides the external signals that synchronize the rhythm.
  • The Braindump acts as a morning werkgeber.
  • Working Memory becomes available when infrastructure runs automatically.
  • Discretization makes predictable blocks available for tracking and optimization.

Key Principle

A recurring session gives preparation somewhere reliable to happen. Its timing can fit the person's own energy pattern, with deliberate exceptions for valuable opportunities. Repeating that chosen pattern allows the preparations to become automatic while the work performed inside the session can keep changing.