Channel 02 — Agents & harnesses

Agents & harnesses

Case studies with trace replays and evals — including where a script beat the agent.

  1. 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
  2. 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

fig. 3 — harness, explodedtop: last line of defence
  1. L6Human gateApproval at irreversible, high-blast-radius steps — not every step.
  2. L5VerifierIndependent checks with their own criteria. Completion is a check, not a claim.
  3. L4Scoped toolsRead-only first; write access limited to one directory. Output shaped before it enters context.
  4. L3ModelPlans one bounded unit of work and proposes the next action.
  5. L2Context managerOwns the window: compacts errors and tool output, keeps it under budget.
  6. L1State on diskProgress file and feature list. A fresh session rebuilds from them cold.