~/writing
Agent Harness
2 posts tagged agent-harness. clear filter
October 2026
- 13Sagas for agent runs
How to treat a multi-step coding agent run as a distributed transaction: pair each tool with a compensation, log every intent before the call runs, hold irreversible calls in an outbox until the run succeeds, and send corrections to the people who saw a change that got reverted.
- 13Prompt caching for coding agents
You'll learn how to measure prompt cache hits in a coding agent harness, and how to fix the things that quietly break caching: volatile values in the system prompt, shifting tool lists, shared CLAUDE.md edits, aggressive compaction and badly placed breakpoints.