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)
(deterministic program)
Codemods, templates, LSP
Tests, linters, type checks, structural/architecture tests
Inferential
(LLM interprets/judges)
(LLM interprets/judges)
CLAUDE.md / AGENTS.md, skills
Review agents, LLM-as-judge
When an agent fails, ask in order
- Preventable before it acts? → guide
- Detectable after? → sensor (write the message for the model: how to fix)
- Can a program decide it? → computational; needs judgment → inferential
- Must a fresh session know it? → state file or git
Rules of thumb
- Guide ignored repeatedly → back it with a computational sensor.
- Feedback alone repeats mistakes; feedforward alone is never checked. Use both.
- The steering loop: a recurring failure means the harness needs to change ("add a sign on the slide").
Long-running harness (Anthropic)
| Piece | Kind | Prevents |
|---|---|---|
| Initializer agent (runs once) | Setup | Missing state for later sessions |
feature_list.json, only passes editable | State | Declaring done too early |
claude-progress.txt + git | State | Fresh session not knowing the history |
init.sh + end-to-end smoke check | Guide + sensor | Setup waste; building on broken code |
| One feature per session | Guide | Running out of context halfway |
Sources: Böckeler 2026 · Anthropic 2025 · OpenAI 2026. Introduced in Lesson 5.