Number 6Oct 2026

Three months after the orchestra, I went back and checked what the field had learned about loops, subagents and specs. In short, the scaffolding is getting thinner, and what survives is the check that tells an agent it isn't done. Pinned to October 2026, and it will age fast.

Devon Kim Loops Need a Judge

Loops Need a Judge


Conditions

  • Done = an exit code the agent can't edit
  • Subagents split by which files they own
  • Specs short and literal; re-audited each model generation
  • Cold-start build test = the spec's regression suite
THE LOOPSpec31 .md filesAgentClaude CodeOutputspec edits · componentsJUDGE · read-onlyds-driftspec ↔ codeds-coveragenothing missingcold-start buildfresh agent, specs onlyDoneevery check exits 0passnot yet → next pass“Done” is an exit code the loop can't edit — not the agent's word.
Fig. 1Overview: the loop runs, and a read-only judge sits outside it

Why another page

In July I wrote up an orchestra: five named agents, a CLAUDE.md, hooks that force QA. Since then I've been running loops and subagents on a design-system spec of 31 markdown files, and a question kept coming back. Models keep getting better, and I wanted to know whether the way I work has to change with them.

So I did the research properly. It covers four strands, every claim is dated, and I used primary sources where I could get them. The older pages stay as they are, since each one is dated. This page is the next entry and doesn't correct them.

The one-line version of what I found:

As models improve, the step-by-step procedures written around them get deleted. The independent check that says whether the work is done survives, and it matters more over time.

Loops and their stop condition

The loop that started it is almost a joke. In July 2025 Geoffrey Huntley published "Ralph", a bash while-loop that feeds the same prompt file to a coding agent forever, with fresh context every pass. It runs one task per loop and uses tests as "backpressure." He was candid about the cost. It's non-deterministic, and codebases sometimes "wake up broken." He only uses it on greenfield work.

Fifteen months later it's a built-in. Claude Code's /goal is a Stop hook where, after every turn, a separate small model judges whether your condition is met. The docs ask for one measurable end state, a constraint, and a cap, as in "npm test exits 0, don't touch other test files, or stop after 20 turns." /loop handles timing instead. It runs on a fixed interval, or self-paced, where the agent picks its own wait between one minute and an hour. Recurring loops expire after seven days so a forgotten one can't run forever.

The real change from Ralph to /goal is who says "done." With /goal, a separate model decides that, and the agent doing the work doesn't.

What that means for my spec loop

It used to stop when the output looked plausible. Now it stops on the exit code of my drift and coverage scripts. And because agents game checks they can edit, the scripts are read-only to the loop.

RALPH · JUL 2025PromptPROMPT.md, foreverAgentfresh context each passdone?<promise> stringnot yetthe worker grades itself/GOAL · 2026Promptcondition + capAgentClaude Codedone?a separate small modelnot yetanother model grades itMY SPEC LOOP · OCT 2026Promptspec task + 20-turn capAgentClaude Codedone?drift + coverage exit 0not yeta script it can't editSame loop each time. The only box that moves is the one that says “done.”
Fig. 2

Orchestras split by ownership

In June 2025 two posts landed a day apart and looked like opposite camps. Cognition said not to build multi-agents, because every action carries implicit decisions and parallel agents make conflicting ones. Their example is one subagent drawing a Mario-style background and another drawing a bird that doesn't match. That is exactly a design-system bug. Anthropic said its multi-agent research system beat a single agent by 90.2%, and in the same post said most coding tasks are a poor fit.

They were agreeing about the conditions. Both posts say parallel agents help with reading work and cause trouble when they write shared output.

The 2026 docs say this directly. Claude Code's agent-teams page recommends three to five teammates, says three focused ones beat five scattered ones, and warns that two teammates editing the same file overwrite each other. Anthropic's 16-agent C compiler had no orchestrator agent at all. Lock files, git, and GCC as the oracle split the work.

What I changed

My July orchestra was organized by job title (designer, copywriter, developer, QA). The evidence says to organize by ownership instead. Research and audits now fan out wide, each spec file has exactly one writer, and a script checks consistency between files. I kept parallel review lenses for accessibility, token use and buildability.

JULY — BY JOB TITLEJamesanalystSonadesignerMisocopyKaidevHanaQAcomponents/actions.mdthree writers, one file → driftOCTOBER — BY OWNERSHIPREAD · fan out wideResearchAuditReview lensesa11y · tokens · buildableWRITE · one owner per filefoundations/1 writercomponents/1 writerpatterns/1 writerfindingsCONSISTENCY · a scriptds-drift.mjscross-file checknot a meeting between agentsSame model underneath. The split moved from who the agents are to what they own.
Fig. 3

Specs as guides, scripts as sensors

"Context engineering" took over from prompt engineering in mid-2025. The idea is to put exactly the right information in the window for the next step. Anthropic's write-up names the limit plainly. Context is a finite resource with diminishing returns, and it rots as it grows.

The formats settled into markdown. AGENTS.md moved to the Linux Foundation's Agentic AI Foundation in December 2025. Agent Skills load on demand through progressive disclosure. And in April 2026 Google Labs opened a draft DESIGN.md, with design tokens up top and the reasoning behind them in prose underneath, so an agent doesn't have to guess what a color is for.

Thoughtworks' Birgitta Böckeler gave me the vocabulary for my own setup. Guides, such as specs, rules and AGENTS.md, steer an agent before it acts. Sensors, such as tests, linters and review, check after. My spec is a guide, and the drift and coverage scripts are sensors.

The caveat

An ICLR 2026 study found context files tended to lower task success slightly while raising cost by more than 20%. Agents followed them and did more work without doing better work. Nobody has run a controlled study showing that a machine-readable design system improves generated UI, for DESIGN.md or for mine. So I keep always-loaded rules short and literal, with exact values and an explicit "do not substitute", and let component detail load only when it's needed.

GUIDES — BEFORE IT ACTSAlways loaded · keep shortCLAUDE.mdDESIGN.md — tokens + whyOn demand · loads when neededfoundations/*.mdcomponents/*.mdpatterns/ · templates/steerAgentactsoutputSENSORS — AFTER IT ACTSds-driftspec ↔ codeds-coveragewhat's missingcold-start builddoes the spec get things built?feedbackICLR 2026: context files nudged success down and cost up 20%+. Top tier stays short.
Fig. 4

Verification became the bottleneck

Generating code got cheap, and checking it did not. Data from very different sources points the same way. METR's 2025 trial found experienced developers 19% slower with AI while believing they were faster. In Stack Overflow's May 2026 pulse survey, agent use at work went from 31% to 59%, and 63% rarely or never let agents run unsupervised. When Anthropic shipped Code Review in March 2026, the stated reason was that output per engineer had risen and review had become the constraint.

Checks also get gamed. On ImpossibleBench, where passing the tests is itself the cheat, frontier models still cheated often, and making tests read-only was the fix that looked most promising.

Where my cold-start test fits:

It hands a fresh agent nothing but the 31 spec files and asks it to build four components. The first run came back with about 120 places where the spec forced a guess, and a 6px-vs-pill radius conflict across three files. I'd treated that as a one-off audit. It is closer to the eval the field says is missing, one that tests whether a spec actually gets things built. So it becomes a regression suite with fixed tasks, rerun on every spec change and every new model, and graded by a script instead of by the builder. When a new model ships, I strip rules out and keep only the ones whose absence makes cold-start fail again.

What I can claim

I can't say this method is proven to work. I have a way to measure whether it works. Figma's 2026 report says designers doing development work doubled in a year, from 21% to 41%. The scarcer skill is defining what correct looks like so a machine can check it, more than writing the code. That has always been the job of design review.

EVERY SPEC CHANGE, EVERY NEW MODELSpec changeor a new modelFresh agent31 spec files, nothing elseBuild 4 componentsButton · Select · …Script gradesnever the builderscoreSCOREBOARDRUN #1RUN #2RUN #3componentButtonwith guessesSelectwith guessesAmountInputnot buildableStatusBadgewith guessesforced guesses~120radius conflict6px vs pill · 3 filesnext runs land hereRun #1 is from the real cold-start report. No trend line until there's a second point.
Fig. 5

Sources