Reference · Agent Orchestration

Harness Checklist

Agent = Model + Harness. When an agent fails, fix the harness, not just this one output.

The 2×2 of controls

Guide (before acting)
Sensor (after acting)
Computational
(deterministic program)
Codemods, templates, LSP
Tests, linters, type checks, structural/architecture tests
Inferential
(LLM interprets/judges)
CLAUDE.md / AGENTS.md, skills
Review agents, LLM-as-judge

When an agent fails, ask in order

  1. Preventable before it acts? → guide
  2. Detectable after? → sensor (write the message for the model: how to fix)
  3. Can a program decide it? → computational; needs judgment → inferential
  4. Must a fresh session know it? → state file or git

Rules of thumb

Long-running harness (Anthropic)

PieceKindPrevents
Initializer agent (runs once)SetupMissing state for later sessions
feature_list.json, only passes editableStateDeclaring done too early
claude-progress.txt + gitStateFresh session not knowing the history
init.sh + end-to-end smoke checkGuide + sensorSetup waste; building on broken code
One feature per sessionGuideRunning out of context halfway

Sources: Böckeler 2026 · Anthropic 2025 · OpenAI 2026. Introduced in Lesson 5.

Related ideas