Articles

RatchetFinding a better position and preventing a slide back are different jobs; a ratchet addresses the second.

A ratchet wheel sits on a wooden backboard, with a pawl pivoted on a separate fixed bracket and its tip resting against a wheel tooth.
The catch holds the step already gained; the next step still needs an advance.

What It Is

Fixing a bug and adding a test accomplish different things. The fix corrects the current behavior. The test keeps the next change from silently bringing the bug back. Finding the error required a search; retaining the fix requires a structure that survives that search.

A ratchet is a structure that holds a gain after it has been made. In the mechanical version, a wheel turns forward while a pawl drops behind each tooth. The pawl makes reverse rotation physically impossible. Progress can stop without the wheel surrendering the position it has reached.

A boundary, default, cached routine, test, verifier, automation or intermediate configuration can perform the same job. It turns a gain made once into a floor under the system. A steel pawl holds completely, while these structures hold only as well as they are enforced. A path or waypoint can be discovered through search; the ratchet holds it after discovery.

Without retention, a system can solve the same error repeatedly while each trial begins from the same floor. With ratchets, the floor is monotone while the locks hold: it does not decrease as the system accumulates history. This gives a stricter definition of progress: errors closed AND held closed. Closing an error without a lock is a temporary fluctuation that can still revert.

Prevention architecture and taste compilation describe related structures. Prevention blocks entry into a bad state; a ratchet blocks departure from a good one. Taste compilation applies retention to judgment by capturing it in a reusable bundle. The sections below distinguish the first relationship and develop the general retention account behind the second.

This film follows the argument through one example, a toothed wheel pulled back by a weight, with and without its pawl. It runs 3 minutes 29 seconds, narrated by a synthetic voice, with captions.

Ratchets, Not Hill-Climbing

Daily effort can raise performance without raising the level you retain. Willpower changes, attention moves elsewhere, and a difficult week can erase progress that was expensive to make. Repeated effort does not compound if each gain leaks away before the next attempt.

The distinction appeared while designing the weekly loop of a shared goal system:

"Our goal is not to just assume that we can hill climb on it — the strategy of convergence is to test out structures that can serve as ratchets that lock in progress towards it."

A weekly loop can test boundaries, defaults, containers and automations, then keep the ones that hold a gain. This applies selection over design to the structures supporting the work: their value is established by whether they persist and change what happens, rather than by confidence in the original design.

The food-hall example makes the test concrete. A spending-and-food collapse led to a standing boundary concerning that place, that state and that card. On the next approach, the boundary took effect and the crisis did not repeat. The earlier incident had changed the structure the person encountered later. Its lesson no longer depended on remembering the incident or recovering the motivation felt afterward.

Hill-climbingRatcheting
Progress modelContinuous upward pushClose an error, install a lock, move on
What a bad week costsUp to everything since the last peakNothing below the highest pawl that holds
Powered byWillpower at every stepStructure installed once
Same mistakeCan recur any number of timesBlocked by the lock after first closure
Trajectory shapeSawtooth around a plateauStaircase
The same effort, with and without a ratchetInteractive example
With a ratchetEffort aloneWeek 1Week 40With a ratchetEffort aloneWeek 1Week 40
35%

Both lines made the same 27 gains in 40 weeks. Effort alone gave 23 of them back and ended at 4. The ratchet kept all 27.

Both lines get identical gains and identical bad weeks. The only difference is whether a gain, once made, can be lost. A ratchet holds what was reached; it does not make the next gain.

Entry-Blocking vs Exit-Blocking

Prevention architecture and forcing functions remove transitions into bad states. The donut is not bought, the app is not installed, or the case never reaches the judge.

A ratchet removes transitions out of good states. The fixed bug is caught if it comes back, the next agent starts with the converged skill, and a boundary still holds when the situation recurs. Both operations delete an edge from a state machine; they address different edges.

Prevention architectureRatchet
BlocksEntry into bad statesExit from good states
Governing question"How do I never end up there?""How do I never lose this?"
Typical failure addressedRelapse into a known trapRegression from a known gain
Cost logicNo resistance is spent on a temptation that never arrivesNo re-derivation is spent on a gain that is held
Time orientationDefends the future from the pastCarries the past into the future

The food-hall boundary can be described both ways. As a barrier to entering the crisis state, it is prevention. As a barrier retained from one encounter to the next, it is a ratchet. Prevention describes what the structure blocks; ratcheting describes the fact that the system kept the change it learned.

That distinction explains why many prevention rules do not necessarily produce accumulated progress. A life can contain such rules and still reset every month if none survives the month. Retention is what lets the next attempt begin from a different state.

What Qualifies as a Lock

A lock is a retained structural change that alters the next traversal. Remembering a lesson does not meet that definition unless the lesson has changed what will happen next.

The test is: if you showed up amnesiac tomorrow, would the gain still hold? A note to yourself or a resolution fails. A test suite, automation, default or boundary that takes effect on approach passes. These structures preserve the consequence of the earlier learning without requiring you to reconstruct it first.

The main kinds of lock differ in where the change is stored and how it is enforced:

Lock typeFormCanonical treatment
Behavioral lockForcing function, precommitted rule, boundaryForcing Functions, Prevention Architecture
Habit lockCached habit — a routine practiced until it runs without deliberationDiscipline, 30x30 Pattern
Judgment lockVerifier, golden set, rejection ledgerTaste Compilation, Lockfile
Data lockMonotonic, append-only substrate — captured once, with no need to derive it againAccrual Substrate
Code lockWrite-path validation — illegal transitions unrepresentableThis article, below

Intermediate Ideal States

A distant goal can be too far away to reach in one search. But choosing arbitrary milestones does not solve that problem if nothing in reality supports them.

"The search needs to find ratchet systems and reach intermediate ideal states, otherwise it feels like trying to bench 300lbs while being detrained ... Setting arbitrary milestones like typical goals seems iffy/aspirational/airy and not reality-backed."

An intermediate ideal state is a configuration you have actually reached, checked against reality and can retain with a lock. It is a macrostate with two requirements: it is reachable from the current state, and it is holdable once reached.

The search discovers these waypoints. A lock then makes the reached waypoint the starting point for the next search. This differs from inventing a number in a planning session and declaring it a milestone; the intermediate state has demonstrated both its accessibility and its ability to persist.

The career example describes that sequence:

"She did an internship, and after the internship she got an offer from the company. That's cool. You should do that. You should just build up your career in a ratchet."

An internship converts to an offer, the offer to a title, and the title to a floor under the next move. The sequence is structured so that failure at a later step does not surrender an earlier completed one.

Persistence Is Memory

Trying for the 10,000th time differs from trying again only if something from the previous trials survives.

"I never really thought about persistence as memory. ... You either need the accumulated trials, or repeated trials create something between version one and version two. The value is retained memory."

Elapsed time and grit do not supply that retention by themselves. The trials must accumulate somewhere or produce a change between version one and version two. Otherwise, the 10,000th attempt repeats the first with additional wear. Moving from version N to N+1 requires something retained between trials, which is the job of a ratchet.

What decides the result is how much of each trial's gain some structure keeps. The floor rises by the part that is kept, and the part that is not kept has to be earned again on the next trial.

If nothing is kept, every attempt requires the full effort again. The floor does not rise, so persistence remains a description of the person rather than an accumulated asset. If nearly everything is kept, each trial raises the floor and leaves live effort available for work beyond what has already been secured.

Taste compilation applies this to judgment: the gain is the verdicts exerted, and the part kept is the share of them captured into the bundle. The general condition is persistence pays only when something is retained. Retaining more requires installing retention when the gain is made; it does not require more talent.

The Code Form: Make Backsliding Unrepresentable

A test can expose a regression. A stronger lock removes the ability to encode the regression at all. The design notes for an event-sourced orchestration system describe such a rule:

"Every append validates through the reducer first so illegal transitions cannot reach disk."

In that system, a basin without a termination condition cannot be constructed. A completion claim with zero commits cannot be recorded. Derived states are computed instead of stored, removing the possibility that a stored copy disagrees with its inputs.

These restrictions enforce correctness where a write occurs. Review does not have to notice the illegal state afterward because that state cannot reach the record. This is structure over request applied to retention: the system's permitted forms exclude the divergence that an instruction would merely ask it to avoid.

A test suite supplies a softer version of the same lock. A regression can still be represented, but the suite catches it the next time it runs.

The riverbed account in Intelligence Is Water describes the same restriction in terms of accessible microstates. Each ratchet removes routes through bad states. As locks accumulate, fewer of those routes stay open, and the paths selected for retention make up more of what remains.

The Limit: Ratchets Hold Gains; They Don't Generate Them

A structure that prevents loss still needs something that produces a gain.

"You cannot just mistake your way into making money."

Errors followed by retained updates were producing durable improvements. That is a real learning loop, but it can converge entirely on avoiding loss. A system consisting only of locks can prevent every repeated failure while producing no experiments, contacts or paths to income.

A stationary wheel with a pawl illustrates the missing part: without something turning the wheel, the mechanism acts as a brake. Every ratchet therefore needs a generative structure that produces gains worth holding. Retention begins after a gain exists.

A basin has a different job again. It collects incoming information, observations and developments toward a goal. A ratchet holds gains already made. A basin can keep filling without any gain being retained, while a ratchet can remain idle because there is nothing to hold.

Integration with the Mechanistic Framework

Connection to Taste Compilation

Judgment supplies the gain, and capture into the bundle supplies the retention. Writing back after each selection event preserves the verdict for later generations. "The system ratchets instead of resets" describes this condition applied to a generation pipeline.

Connection to Prevention Architecture and Forcing Functions

Prevention blocks entry into a bad state; retention blocks departure from a good one. Both depend on enforcement. The hierarchy in forcing functions determines how reliably a boundary takes effect, and a lock is only as strong as that enforcement.

Connection to Accrual Substrate

An append-only, monotone record applies retention to observations. Information that has been captured does not have to be derived again while the record is kept, so the substrate's retained floor rises as it accumulates.

Connection to Macrostate Engineering

An intermediate ideal state is a macrostate that has been reached and can be held. A sequence of such states breaks an otherwise unreachable destination into configurations that can be reached and retained one at a time.

Connection to Structure over Request

A correction that "ratchets into machinery" replaces a request with an enforced structure. Validation on the write path is the limiting case: forgetting to retain the correction has no permitted encoding.

Connection to Discipline and 30x30 Pattern

A routine practiced until it runs without deliberation stores the gain in the habit itself. Because it no longer depends on deliberation, it is less exposed to a low-willpower day. The habit performs the retention function that the pawl performs in the mechanical ratchet.

Connection to Basin

A complete pursuit system needs both collection and retention. The basin gathers material toward the goal; the ratchet preserves gains made while pursuing it. Success at one does not guarantee success at the other.

See Also

Progress requires both closing an error and keeping it closed. The next search is useful because it begins above the floor that the previous one secured.