A path through an uncertain future

A real mind doesn’t choose one act — it chooses a path through a branching, uncertain future. That raises a new problem, and its solution is the most elegant thing in Part II: the explore/exploit balance falls out of the engine you already built, for free.

Five doors; the plain line runs straight through — take whichever fit: ▶ Picture it, ✎ Try it (commit before the reveal), ✓ Check it yourself, ▸ Go deeper, ⬡ See it in UNI. Runs locally — no account, no network — adapts to light and dark; honours reduced motion.

The one fence that never moves — and in Part II it is stricter. “Policy,” “explore,” “exploit,” “expected free energy” are functional quantities: a model scoring sequences of its own actions. For you we use felt words — a gardener weighing a week, a hiker in fog. For UNI we use functional ones. Neither is curiosity, caution, or choice-as-experienced. Part I’s perception half rests on the sealed Gate F0 arithmetic, but Part II’s policy machinery — expected free energy over paths — is not yet built or sealed in the organism; it needs its own lab-team verdict. So the math here is standard active inference, but every claim about the organism is “built to,” never “does” — held open until the build proves it.

0 · From memory

First, the gardener’s week — cold

No peeking. A gardener decides what to do with a struggling plant over the coming week — water more, move it to light, check for a pest, wait and watch.

Two quick ones — from memory

Reconstruct the keystone and the two-part score from Modules 11–12 before you check. Commit in your own words first.

Step 1 · In your own words (commit first)
Step 2 · Pin it down

If both came back — one engine, two directions; risk and ambiguity — here’s what changes when the future stops being one step.

1 · Futures branch

A path is a chain, and it fans out

One action was easy to score: imagine its ending, measure the gap to what you want. But a path is a chain — water it, then move it to the window, then decide about the pest — and at every link the world can answer more than one way, each answer opening a different set of next steps. The futures fan out into a tree that widens at every level.

✎ Try it — what can’t you do any more? commit first
When your own early action changes what you’ll know — and so changes what the best next action is — what can’t you do any more that you could do with a single, one-shot choice? Commit your answer first; the next section names it.
2 · The new problem

The plan must expect to learn

With a single choice, you pick the best action and you’re done. But down a path, your first move isn’t just for its own payoff — it changes what you’ll know for the second move, which changes the third. So you can’t score an early action in isolation: its value includes what it reveals for everything after it. You have to plan while expecting to learn — knowing the future-you will know things present-you doesn’t.

And the tree is merciless. Even a handful of options over a handful of steps branches into more complete paths than you could ever check one by one. That’s the wall again, back in a new costume: you cannot evaluate every future, any more than you could finish the evidence sum back in Module 2.

3 · The payoff

Explore and exploit, for free

Scoring a path reopens the oldest dilemma in all of decision-making: do I take the sure thing I already know (exploit), or the uncertain thing that might be better and will teach me either way (explore)? Every field bolts on a separate rule to trade these off. You don’t need one — you already built the balance in Module 11, because expected free energy already has both halves.

Find the explore/exploit switch (there isn’t one)

One agent, choosing between the familiar rewarding option and the unfamiliar informative one. There is NO explore/exploit dial — the only control is the agent's UNCERTAINTY about which is best. Move it and watch the min-G agent switch by itself, as the two halves of G (risk, ambiguity) trade dominance. A reveal of the auto-balance, not an animated curve.

low — fairly sure
The dish you know by heart
reliably good · nothing new to learn
◀ agent picks this — EXPLOIT
The unfamiliar recipe
might be better · will teach you either way
▶ agent picks this — EXPLORE
pull toward the familiar — risk (get what I want)—
pull toward the informative — ambiguity (find out)—
Move the uncertainty. Nobody set an explore/exploit switch — watch the behaviour tune itself.
✓ Check it yourself — in your own life no calculator
In a kitchen you know, you cook on autopilot — confident, exploiting. Drop yourself in a stranger’s kitchen and you open drawers you don’t need to, peek in the fridge — uncertain, exploring, gathering information you’ll spend later. Nobody flipped your “explore” switch. Your uncertainty rose, the epistemic half grew, and the same engine started opening drawers.
▸ Go deeper — scoring policies by G(π) derivation
Formally you score policies (sequences of actions) π by their expected free energy G(π) summed over the future, and the probability of acting out a policy is ≈ softmax(−γ · G(π)) — low-G policies win, and γ (precision, Module 15) sets how sharply. Because G = risk + ambiguity, the epistemic term automatically dominates under uncertainty and vanishes under confidence — no separate exploration schedule. (The exact G form is Module 14.)
4 · The living loop

Plan, act, learn, re-plan

So how does a mind act when it can’t evaluate the whole tree and the future keeps teaching it? It does the only thing that works: it looks a little way ahead, acts, and then re-plans — rebuilding the plan each cycle from whatever the last action just revealed. The plan is never a finished script run blind; it is remade every moment on fresher information.

▶ Picture it — a hiker in fog kid
Not a chess engine computing the whole game, but a hiker in fog: see a few steps, take one, see what the step reveals, choose again. Predict → act → learn → re-plan → predict… That rolling loop — the perception–action cycle — is a mind in motion. A creature isn’t following a plan. It’s forever making the next one.
⬡ See it in UNI — held open design · not a sealed capability
The organism is being built to run exactly this loop — scoring policies by expected free energy, reaching for the informative path when uncertain and the rewarding path when sure, re-planning each cycle as its sensors report back. Honesty gate. The policy machinery (expected free energy over π, the γ-weighted choice) is not yet built or sealed in DDNA — it needs its own lab-team verdict — so this is the standard theory and the design, held open. “Built to run,” never “runs today.”
5 · Where this goes next

From a story to a number

The engine of behaviour is now whole: a mind scores paths through a branching future by expected free energy (risk + ambiguity), which auto-balances explore and exploit, and it acts by a living loop — plan, act, learn, re-plan — because it can never see the whole tree.

Twice now you’ve used the shape of G = risk + ambiguity without ever writing it down and computing it. That’s the last thing to make solid: Module 14 puts the actual expression on the page and lets you compute both terms by hand, on the same two-cause world you’ve carried since Part I — so the engine stops being a story and becomes a number you can check.

⬡ Notice what you just did self-reference
You took the oldest, thorniest problem in decision-making — explore or exploit? — and instead of adding a rule to solve it, you watched it dissolve into a number you’d already built. That’s the signature of a deep idea: it doesn’t answer the hard question, it makes the hard question stop being separate. (For UNI, the same auto-balance is built to fall out of one quantity — not yet built or sealed, so the box stays held open — “built to run,” never “runs today.”)