-
concept
Statelessness
Hook
each turn is conditioned on retained history again; logical reinjection yields a cost face and an explicit-state recovery face
Thesis
The model is a pure function of the window: the window is the entire state, rebuilt, re-shipped, and re-read on every call, so what looks like memory is residency and continuity is something you construct in the window or the world, never something the model provides.
Laws & fences
- One message is never one message: every API call re-ships the entire conversation, system prompt, tool schemas, and full history, and the model re-reads all of it from scratch, so a ten-word question at turn 30 ships the whole transcript behind it.
- The two faces are one coin: re-shipping everything every turn is the price, and disposable, reproducible, restartable actors are what it buys; designs go wrong by seeing only one face.
- A pure function of the window has no hidden state to lose, so discarding a bad run is cheaper than repairing it, but discard is free only if the run did not change the world; effects must be pure, idempotent, or isolated.
When to reach
- Reach for it when a design treats the agent as a stateful colleague, since that belief quietly corrupts what to re-send, what to persist, when to repair versus restart, and why a long session degrades.
- Skip it for a design step or for the price arithmetic; it states a property and corrects a belief, each consequence is taught by the node that owns it, and the arithmetic belongs to context-economy.
-
The Context Economy
-
The Session Bill
-
The Contract Keystone
-
Momentum
-
Effect Discipline
-
Foundations
-
Verification Asymmetry
-
Deferred Context
-
Baseline Skill
-
field notes
-
“validate at the return seam; re-dispatch over repair; bounded autonomy — the contract keystone, applied”
-
“accumulated memory, a separate concern from config”
-
“episodic skills with persisted, context-specific behavior — incl. the free idempotent setup optimization”
-
Verification AsymmetryDeferred Context +2 more unfold the map fold the map
The default mental model is wrong, and designs inherit the error. People treat the agent as a stateful colleague: it read the file earlier, so it "knows" it; this turn builds on the last one inside the model; sending ten words costs ten words. Every one of those beliefs is false, and each quietly corrupts a design decision — what to re-send, what to persist, when to repair versus restart, why a long session degrades.
The shock that exposes the error: one message is never one message. Every API call re-ships the entire conversation — system prompt, tool schemas, full history — and the model re-reads all of it from scratch. A ten-word question at turn 30 ships the whole transcript behind it (the session-bill example measures the gap: a ~30k-token visible transcript, a ~680k-token actual bill).
The model is a pure function of the window. The window is the entire state; it is rebuilt, re-shipped, and re-read on every call. Nothing persists inside the model between calls — no memory of the last turn, no accumulated understanding of the session, no experience from yesterday. What looks like memory is residency: the earlier material is still in the window being re-read, not remembered.
Correct the one belief and the rest of the tree follows: continuity is something you construct in the window (or the world), never something the model provides.
The two faces are one coin — you cannot buy the feature without paying the cost. Re-shipping everything every turn is the price; disposable, reproducible, restartable actors are what it buys. Designs go wrong by seeing only one face: cost-only thinking hoards context and fights restarts (repairing in place to "save" the session); feature-only thinking fans out dispatches while ignoring the multiplier on every resident token. The tree's context-engineering family manages the cost face; the verification family spends the feature face.
(Concept/substrate — a fact to internalize, not a move to make.) Nothing here prescribes a design step: the node states a property and corrects the belief that hides it.
What it does not hold is the consequences themselves. This node owns the property, the wrong mental model it corrects, and the map — each consequence is taught by the node that owns it, and the price arithmetic the cost face generates is The Context Economy's, not this node's.
One property, two faces, and two nodes that make it survivable. This node owns the map; each consequence lives where it's taught:
- The cost face — re-shipping is a per-turn multiplier on every resident token; the whole price arithmetic derives from it. → The Context Economy (Statelessness — the first principle the arithmetic derives from), measured in its The Session Bill example.
- The feature face — a pure function of the window has no hidden state to lose, so discarding a bad run is cheaper than repairing it: re-dispatch, fresh-context resets, and parallel fan-out are all free moves. → The Contract Keystone (recovery role), validate at the return seam; re-dispatch over repair; bounded autonomy — the contract keystone, applied (the applied form), Momentum (fresh dispatch = zero momentum).
- The precondition — discard-is-free only holds if the run didn't change the world; effects must be pure, idempotent, or isolated. → Effect Discipline.
- The survivability move — state the dispatch can't hold lives in the world instead: config, durable state, the shared workspace. → accumulated memory, a separate concern from config, episodic skills with persisted, context-specific behavior — incl. the free idempotent setup optimization.
One empirical claim, and it is measured rather than asserted here: the gap between what a turn looks like and what it bills is read off the The Session Bill example, itself stable. The rest is substrate — the consequence map is the proof, and each arrow is checkable at the node it points to. No example is manufactured for this node.
- Parent: Foundations — sibling of the other taken-for-granted pillars, Effect Discipline and Verification Asymmetry.
- Consumed by (the five dependents that motivated hoisting this to foundations): The Context Economy, Momentum, The Contract Keystone / validate at the return seam; re-dispatch over repair; bounded autonomy — the contract keystone, applied, accumulated memory, a separate concern from config, Deferred Context (deferral exists because frontloaded tokens get re-billed).
- Canonical definition: GLOSSARY → Statelessness.
The pure function, and stateless protocol design (HTTP, and REST's statelessness constraint): nothing is carried between calls, so every request must arrive complete. The window is the request.
The relationships ledger
Evidence-bearing references
Relationships
Every connection keeps the section where it was found. The map above orients; this ledger carries the evidence.
Outbound references 18
-
in-slice · occurrence 1
The Context Economy
statics — the price list: denominations, the quality curve, cost classes, time value
Evidence: Scope and boundaries · occurrence 1
-
in-slice · occurrence 1
The Context Economy
statics — the price list: denominations, the quality curve, cost classes, time value
Evidence: Implications · occurrence 1
-
in-slice · occurrence 2
The Session Bill
one 30-turn session billed, then re-billed under six single-decision shifts
Evidence: Implications · occurrence 2
-
in-slice · occurrence 3
The Contract Keystone
contract ↔ verification ↔ re-dispatch
Evidence: Implications · occurrence 3
-
undisclosed · occurrence 4
Undisclosed relationship
validate at the return seam; re-dispatch over repair; bounded autonomy — the contract keystone, applied
Evidence: Implications · occurrence 4
-
in-slice · occurrence 5
Momentum
resident context steers, not just informs — path dependence, and eviction's second motive
Evidence: Implications · occurrence 5
-
in-slice · occurrence 6
Effect Discipline
the precondition under "discard is cheaper than repairing"
Evidence: Implications · occurrence 6
-
undisclosed · occurrence 7
Undisclosed relationship
accumulated memory, a separate concern from config
Evidence: Implications · occurrence 7
-
undisclosed · occurrence 8
Undisclosed relationship
episodic skills with persisted, context-specific behavior — incl. the free idempotent setup optimization
Evidence: Implications · occurrence 8
-
in-slice · occurrence 1
The Session Bill
one 30-turn session billed, then re-billed under six single-decision shifts
Evidence: Evidence · occurrence 1
-
in-slice · occurrence 1
Effect Discipline
the precondition under "discard is cheaper than repairing"
Evidence: Relationships · occurrence 1
-
in-slice · occurrence 2
Verification Asymmetry
why checking ≪ doing lets verification work at all; the ladder + coverage, and the three failure modes (coverage exhaustion / discrimination collapse / quantifier inversion)
Evidence: Relationships · occurrence 2
-
in-slice · occurrence 3
The Context Economy
statics — the price list: denominations, the quality curve, cost classes, time value
Evidence: Relationships · occurrence 3
-
in-slice · occurrence 4
Momentum
resident context steers, not just informs — path dependence, and eviction's second motive
Evidence: Relationships · occurrence 4
-
in-slice · occurrence 5
The Contract Keystone
contract ↔ verification ↔ re-dispatch
Evidence: Relationships · occurrence 5
-
undisclosed · occurrence 6
Undisclosed relationship
validate at the return seam; re-dispatch over repair; bounded autonomy — the contract keystone, applied
Evidence: Relationships · occurrence 6
-
undisclosed · occurrence 7
Undisclosed relationship
accumulated memory, a separate concern from config
Evidence: Relationships · occurrence 7
-
in-slice · occurrence 8
Deferred Context
the load-in-place branch: defer by probability and lateness of need — a 50-token pointer buys ~60× on the session that never fires
Evidence: Relationships · occurrence 8
Inbound references 5
-
in-slice · occurrence 1
Baseline Skill
each turn is conditioned on retained history again; logical reinjection yields a cost face and an explicit-state recovery face
Evidence: Model and claims · occurrence 1
-
in-slice · occurrence 1
The Context Economy
each turn is conditioned on retained history again; logical reinjection yields a cost face and an explicit-state recovery face
Evidence: Definition · occurrence 1
-
in-slice · occurrence 1
The Context Economy
each turn is conditioned on retained history again; logical reinjection yields a cost face and an explicit-state recovery face
Evidence: Model and claims · occurrence 1
-
in-slice · occurrence 7
Foundations
each turn is conditioned on retained history again; logical reinjection yields a cost face and an explicit-state recovery face
Evidence: Model and claims · occurrence 7
-
in-slice · occurrence 5
Foundations
each turn is conditioned on retained history again; logical reinjection yields a cost face and an explicit-state recovery face
Evidence: Relationships · occurrence 5
↑ back to the top ← the survey
Node statelessness · corpus 31de4cb · Catalog revision 35263c4c415da742953d0462804fb14424e2244dae4c63efd27e468988de70ab