Channel 02 — Agents & harnesses
Agents & harnesses
Case studies with trace replays and evals — including where a script beat the agent.
- 01The harness that built this siteThis site is built by Claude Code agents inside a harness: a to-do list, specs with acceptance criteria, three agents with fixed roles, guard hooks and a local gate that runs before every push.Claude Code · Claude Opus · Claude Sonnet · Astro · React · TypeScript · Docker · Playwright · POSIX sh
- 02Rewriting an end-to-end suite with parallel agentsI moved about 130 Playwright tests to API-based seeding and set conventions, with one agent per module running in parallel. The suite went from 36 to 12–14 minutes, with none skipped.Playwright · TypeScript · Claude Code · Claude Opus · CI
Anatomy of a harness
- L6Human gateApproval at irreversible, high-blast-radius steps — not every step.
- L5VerifierIndependent checks with their own criteria. Completion is a check, not a claim.
- L4Scoped toolsRead-only first; write access limited to one directory. Output shaped before it enters context.
- L3ModelPlans one bounded unit of work and proposes the next action.
- L2Context managerOwns the window: compacts errors and tool output, keeps it under budget.
- L1State on diskProgress file and feature list. A fresh session rebuilds from them cold.