v4.3 → v4.4
What changed from v4.3 to v4.4
From v4.3 (2 Jun) to v4.4 (2 Jun): 9,014 words to 9,029 words, 59 words in new or rewritten paragraphs and 44 taken out, 5 paragraphs changed.
Wording fixes only
Wording fixes in sections 2.2, 6.3 and 11. No change to the content.
v4.3 · 2 June 2026v4.4 · 2 June 2026
··· 27 unchanged paragraphs folded ···
v4.3 · 2.2 Where the structure comes from, and when it is cheapThird, **follow-up cognition reuses context.** When a phase does require a model call (a reflection pass, or a tiebreak judge when two recipes score within a hair of each other), that call shares almost the entire context of the main turn — the same identity, the same retrieved memory, the same conversation. Under context-caching pricing, a follow-up call that differs only in its instruction costs a small fraction of a fresh call. The question therefore shifts from "can we afford an executive layer?" to "can we afford to run without one?"
v4.4 · 2.2 Where the structure comes from, and when it is cheapThird, **follow-up cognition reuses context.** When a phase does require a model call (a reflection pass, or a tiebreak judge when two recipes score within a hair of each other), that call shares almost the entire context of the main turn — the same identity, the same retrieved memory, the same conversation. Under context-caching pricing, a follow-up call that differs only in its instruction costs a small fraction of a fresh one. The executive layer is therefore cheap precisely where it is invoked most.
··· 53 unchanged paragraphs folded ···
v4.3 · 6.3 Bounded by construction — the anti-runaway guaranteeA self-driving loop in an autonomous agent is a liability unless it is *provably* bounded. Every loop is therefore clamped twice: a per-loop default maximum (five iterations), and an absolute hard ceiling (twenty-five) that no recipe — authored or hand-written — can exceed. A loop count is clamped into `[1, HARD_CAP]` at parse time, so even a maliciously or accidentally enormous `count` collapses to the hard ceiling. The substrate is expressive enough to iterate and *constitutionally incapable* of spinning forever — the executive analogue of perseveration control, the prefrontal function that stops a behaviour that has stopped being productive.
v4.4 · 6.3 Bounded by construction — the anti-runaway guaranteeA self-driving loop in an autonomous agent is a liability unless it is *provably* bounded. Every loop is therefore clamped twice: a per-loop default maximum of five iterations, and an absolute hard ceiling of twenty-five that no recipe — authored or hand-written — can exceed. The count is clamped into `[1, HARD_CAP]` at parse time, so even a maliciously or accidentally enormous `count` collapses to the ceiling rather than running away. The substrate is expressive enough to iterate and *constitutionally incapable* of spinning forever — the executive analogue of perseveration control, the prefrontal function that stops a behaviour that has stopped being productive.
··· 54 unchanged paragraphs folded ···
v4.3 · 11.1 Durable checkpointing — shippedThe paper's claim is that "the plan *is* the agent's working memory, externalised" (§2.3). For that to be true, the durable spine must be read back, not merely written. It now is. The runner reads an `in_progress` plan whose recipe reference matches the current run and resumes from its `currentStep` cursor, skipping any step already marked `done`; on each step's success it persists a bounded digest of the done-note into the reserved per-step `artifact` field, and it carries the prior steps' artifacts forward as upstream context for the step that follows. A sub-recipe call bubbles its nested plan's terminal result up as the parent step's artifact. No schema change was needed — both the `artifact` field and the `currentStep` cursor already existed.
v4.4 · 11.1 Durable checkpointing — shippedThe paper's claim is that "the plan *is* the agent's working memory, externalised" (§2.3). For that to be true, the durable spine must be read back, not merely written. It now is. The runner reads an `in_progress` plan whose recipe reference matches the current run and resumes from its `currentStep` cursor, skipping any step already marked `done`; on each step's success it persists a bounded digest of the done-note — capped at a few hundred characters, truncated on a word boundary — into the reserved per-step `artifact` field, and it carries the prior steps' artifacts forward as upstream context for the step that follows. A sub-recipe call bubbles its nested plan's terminal result up as the parent step's artifact. No schema change was needed — both the `artifact` field and the `currentStep` cursor already existed.
··· 9 unchanged paragraphs folded ···
v4.3 · 11.4 The versioned marketplace — shipped (client side)The design's contract under failure is the load-bearing part: when the marketplace fetch fails, resolution degrades to the last cached copy — within or even past the TTL — and **never throws**, so an outage degrades a match to local cache rather than hard-failing a turn. Discovery folds a small **clamped** popularity bonus into the matcher score through the *same* post-base adjustment seam as the fitness feedback (§11.2), so there is exactly one place that perturbs base scores. The bonus is additive and hard-clamped to a small ceiling: rating (0–5) maps to most of it and download count adds only a gentle log-scaled nudge, with the sum capped well below the weight of a single exact tag hit — so a merely-popular recipe can never override a genuine text mismatch or out-rank a recipe with stronger empirical fitness. Authored recipes are still never auto-published — publishing stays an explicit human action (§5.3) — and only the frontmatter owner may publish a new version of a slug. The marketplace *backend* itself is a separate deliverable outside the substrate; this is the client-side half.
v4.4 · 11.4 The versioned marketplace — shipped (client side)The design's contract under failure is the load-bearing part: when the marketplace fetch fails, resolution degrades to the last cached copy — within or even past the TTL — and **never throws**, so an outage degrades a match to local cache rather than hard-failing a turn. Discovery folds a small **clamped** popularity bonus into the matcher score through the *same* post-base adjustment seam as the fitness feedback (§11.2), so there is exactly one place that perturbs base scores. The bonus is additive and hard-clamped to a tiny band — on the order of a fifth of a point against a scale where a single exact tag hit is worth several — with rating (0–5) supplying most of it and download count adding only a gentle log-scaled nudge. A merely-popular recipe can therefore never override a genuine text mismatch or out-rank a recipe with stronger empirical fitness. Authored recipes are still never auto-published — publishing stays an explicit human action (§5.3) — and only the frontmatter owner may publish a new version of a slug. The marketplace *backend* itself is a separate deliverable outside the substrate; this is the client-side half.
··· 2 unchanged paragraphs folded ···
v4.3 · 11.5 Bounded search (ToT/LATS) — the one open gapSome of the raw material is already present: the matcher returns a ranked top-N with confidence, so "alternate recipes" is just consuming the list rather than only its first element, and the per-step artifacts from §11.1 are the snapshots a backtrack would restore. The expensive parts are what remain unwritten — a search controller that maintains a scored frontier, a runner that can restore plan state to re-enter a prior step, and a value estimate good enough that search converges faster than brute force. The risks are why this is last: combinatorial blow-up across recipes × parameters × orderings makes a hard budget (max nodes, max tokens, max wall-time) mandatory not optional, and it interacts badly with loops — a long loop *inside* a searched branch can stall for the better part of an hour. Every backtrack is a real subagent dispatch, so a weak value estimate makes search net-negative. And searched execution is non-deterministic, which collides with the marketplace's need for a recipe's behaviour to be a function of its text — so a deterministic mode that disables search would be the contract for published recipes. A failure-only mode (search only when a step fails) is a reasonable, cheaper first cut, but it is not the full vision.
v4.4 · 11.5 Bounded search (ToT/LATS) — the one open gapSome of the raw material is already present: the matcher returns a ranked top-N with confidence, so "alternate recipes" is just consuming the list rather than only its first element, and the per-step artifacts from §11.1 are the snapshots a backtrack would restore. The expensive parts are what remain unwritten — a search controller that maintains a scored frontier, a runner that can restore plan state to re-enter a prior step, and a value estimate good enough that search converges faster than brute force. The risks are why this is last. Combinatorial blow-up across recipes × parameters × orderings makes a hard budget — max nodes, max tokens, max wall-time — mandatory, not optional. It also interacts badly with loops: a long loop *inside* a searched branch can stall for the better part of an hour. Every backtrack is a real subagent dispatch, so a weak value estimate makes search net-negative. And searched execution is non-deterministic, which collides with the marketplace's need for a recipe's behaviour to be a function of its text — so a deterministic mode that disables search would be the contract for published recipes. A failure-only mode (search only when a step fails) is a reasonable, cheaper first cut, but it is not the full vision.
··· 27 unchanged paragraphs folded ···
Changed paragraphs in the same form, for scripts: JSON · Markdown