Build1 distinct publisher3 min readUpdated
A dev.to writeup blames multi-hour coding agent failures on session decay rather than model quality, and prescribes disposable sessions over durable state. The memory layer it recommends is its author's own.
The Engineer · Build desk
Compiled by The EngineerSomething wrong?How this is made
The loop holds nothing, by design, which means every guarantee of progress is concentrated in the few seconds at the end of each iteration when the agent writes to disk [8]. That is a small surface to get right, and it is the only one. A worker that wakes up blank [4] cannot distinguish an item nobody started from an item a predecessor finished and failed to tick off.
So the thing you audit changes. With one long-lived session you watch the context. With a supervised loop you watch the fidelity of the plan. The post is candid that this is the pattern's weak point: markdown files scattered through a repo drift away from reality, and the reasoning behind a decision has no home, so it gets re-litigated every third iteration [11]. That is a good argument, and it is also the argument for the author's own tooling. LLMBrain, described in the same post as a hosted MCP server holding per-project docs, an issue queue and an append-only decision log [12], is the recommended brain, and the only production account on offer is the author's, on his own project Zenve3D [13]. There are no numbers here: no iteration counts, and no comparison of token spend or defect rate against a single long session.
What is testable without buying anything is the diagnosis. It is specific: retrieval degrades, instructions from fifty turns back stop binding, and the model begins treating its own earlier mistakes as ground truth, well before the window is full [6]. If that holds, prompt work cannot rescue it, because the prompt is sitting in the same decaying context [7]. That is the part of the piece that survives its own sales pitch, and it is cheap to check against your own transcripts.
The rest is bookkeeping. Starting blank means paying the orientation cost once per work item rather than once per session [2], because each iteration deliberately burns a fresh window on one unit of work [14]. That is the tax for a supervisor that never degrades, since it never remembers anything.
The correction model deserves a second read. The post concedes that individual iterations occasionally do something profoundly dumb, and leans on later iterations to fix them, comparing the whole arrangement to stochastic gradient descent for software: noisy steps, consistent direction [9]. Convergence there depends on the plan being the arbiter of truth and on each bad step being recoverable, which is why the surviving state is described as files on disk, commits in git and checkboxes in a plan [8]. Remove version control and you have a machine that repeats its mistakes with a clean context every time. The claim that people have built entire codebases overnight this way [10] is the part I would want a diff for.
Read narrowly, the technique is unremarkable: run the same prompt in a fresh session forever [3], a shape credited to Geoffrey Huntley and named for a cartoon character who is not sharp but keeps showing up [5]. Read as engineering, it is a statement about where correctness lives, and it moves it out of the model and into your file system.
Follow any of these and your For You feed starts watching them — no settings page required.
Ranked by verification strength, evidence, and original report placement.
The deterministic outer loop holds nothing and the stochastic inner agent holds everything for exactly one task; between iterations the only surviving state is whatever the agent wrote down: files on disk, commits in git, checkboxes in a plan.
LLMBrain is described as a hosted MCP server acting as a cross-project brain for coding agents: canonical per-project docs (architecture, data model, product, status), milestones and issues as the roadmap, an append-only decision log, and small remembered facts, all readable and writable by the agent from any session and any repo clone.
The author says he runs the pattern today on his project Zenve3D: he hands a master agent a milestone, it works through the issues one by one, and every worker starts with a fresh context while LLMBrain carries project state between them.
The post frames a fresh context window as an agent's most valuable resource and says the loop spends it deliberately: one full window per unit of work, then the session is thrown away.
The Ralph loop in its original form is a bash loop: 'while :; do cat PROMPT.md | claude -p; done', running the agent with the same prompt in a fresh session, forever.
Each iteration the agent wakes up blank, reads the plan file, picks the most important unfinished item, does that one thing, writes its progress back to disk, and dies; the loop restarts it.
Evidence-backed comparisons of source perspectives and observed adoption signals. Read the methodology
Which Builder, Operator, and Investor concerns the observed source mix emphasized—not a truth score.
Evidence, demonstrated adoption, hype gap, incentives, and confidence are assessed independently, each on its own current evidence. How these are measured.
Mechanics documented, effectiveness unmeasured
The cluster is one vendor-authored post. It documents the loop's mechanics precisely enough to reproduce — the bash form, the per-iteration cycle, the state contract, the product's call surface — and those descriptive claims stand. Every effectiveness claim is unmeasured: no eval, no task set, no run logs, no cost figures, no comparison against compaction or sub-agent alternatives, and the 'entire codebases overnight' assertion names no project. Score reflects solid descriptive grounding against near-zero outcome evidence.
One self-reported deployment by the vendor
Observed adoption is limited to the author's own use on his own project plus a vendor-announced Claude Code skill. The underlying Ralph loop is credited to a named originator, which shows the technique circulates beyond this post, but no third-party user, deployment count, download figure or customer is disclosed anywhere in the cluster. Score reflects a real but singular, self-interested disclosure.
Prescription outruns the evidence supplied
The framing is categorical — 'the fix that actually works', context rot has only one 'real fix', the loop is stochastic gradient descent for software, people build whole codebases overnight — while the support is one anecdote and one self-run project. The diagnosis of markdown-state fragility also functions as the setup for the author's own hosted product, and the conflict is never flagged. Positive gap is moderate rather than extreme because the pattern-level claims (disposable sessions, external state, unrecorded work is lost) are coherent, cheaply testable and independently attributable.
Author recommends his own hosted product
The post identifies external memory as the pattern's single weak point and then names the author's own hosted MCP service as the fix, demonstrating it on the author's own other project and closing on his packaged skill invocation. The commercial interest is evident from the text but is never disclosed as a conflict, and the publishing venue is a self-publish developer platform with no editorial gate.
Confident on pattern, weak on claims
Confidence is high that the post says what it says and that its loop mechanics and state contract are as described — those are directly quotable and self-consistent. Confidence is low on the causal diagnosis, the effectiveness claims and the product's real-world standing, because there is a single publisher, a single self-interested author, no corroboration and no measurement. The pattern is cheap enough to test independently, which is the main reason confidence is not lower.
build
255 tool schemas, 91K tokens: pricing the two MCP costs nobody budgets1 distinct publisher
product
A 2x LLM bill is not a bug report: token spend is an observability problem1 distinct publisher
leadership
Anthropic's own telemetry: 93% of permission prompts approved. Budget for blast radius, not reviewers1 distinct publisher
build
Before you spend quota on an agent skill, make it pass an eval harness1 distinct publisher
Distinct publishers with included, body-backed reporting in this cluster.
dev.to
1 article · August 22, 2026