A Production Agent Architecture for Claude Code: Task Contracts, Isolated Worktrees and Adversarial Verification
blaizedsouza · x · 2026-11-26
A reposted long-form guide, "The Harness Is the Machine," on building unbreakable AI agents with Claude Code.
The thesis: don't let unmanaged Claude Code runs die at turn 14 — set up the harness before launching multi-file tasks.
The architecture covers:
- Task contracts defining scope and acceptance criteria up front
- Isolated worktrees so each task runs in its own git worktree without cross-contamination
- Adversarial verification using a separate model (Fable 5.5) to check results
- A compounding flywheel splitting work across Opus, Sonnet, Haiku and Fable 5.5
The author recommends bookmarking and reading the full piece.
More from coding & agent
- Open Artifact: open-source plugin lets coding agents produce locally editable slides, docs and sheets — dotey · 2026-11-26
- Google Antigravity ships mid-turn model switching and conversation resume — rseroter · 2026-11-26
- Karpathy: 'Prompting is going away — delete everything, keep Graph' — JohnAlexander · 2026-11-26
- Weaviate Podcast #144: AI Insurance Brokers, Agent Harnesses and Browser Agents — CShorten30 · 2026-11-26
- supermemory claims #1 agent memory spot, weekly downloads overtake mem0 — julianweisser · 2026-11-26
- Agents deliver more structured feedback in days than humans would in months — DavidWells · 2026-11-26