The seven rules
Everything else in these docs follows from seven rules. The first is the arrangement How it works describes; the six after it say how much process an issue gets, how much work I start, what counts as done, and what earns a place in the harness. Open a rule to see the evidence behind it, and the sources you can check yourself.
The agent proposes, checks decide, you judge.Anything a machine can check, a machine checks. Your attention goes to intent, taste and the diff.
Anthropic’s guide to Claude Code puts it first: give Claude a check it can run. Without one, “looks done” is the only signal, and you become the verification loop.
A survey of 21 design systems (source: State of AI in Design Systems, July 2026) draws the same line. The strongest systems stop asking the agent nicely: they make it run linters and audits until they pass.
Process scales with uncertainty and blast radius.A one-sentence change gets no plan. A multi-session feature gets a spec and tickets.
Anthropic’s guide says it in one line: “if you could describe the diff in one sentence, skip the plan” (source: Anthropic: Best practices for Claude Code). Planning pays when you are unsure of the approach, when the change touches several files, or when you do not know the code.
For a larger feature, the same guide has Claude interview you and write a spec. Then you start a fresh session to build it.
Your review capacity sets the batch size.Never start more work than you can review the same day.
DORA’s 2025 research found that AI adoption now goes with higher delivery throughput, and still with lower delivery stability. Their reading: AI speeds up development, and the speed exposes weaknesses downstream.
Your review is the downstream. DORA’s AI capabilities model names working in small batches as a practice that amplifies AI’s positive effect on product performance and reduces friction for the team.
Evidence, not assertions.Done means commands run with their output, screenshots taken and every acceptance criterion checked.
Anthropic’s guide asks Claude to show evidence rather than assert success: the command it ran, what it returned, a screenshot of the result. Reading evidence is faster than running the checks again yourself.
Simon Willison adds a warning: code that passes its tests does not always work as intended. He has agents test by hand as well, and it often finds issues the automated tests missed.
A mistake that repeats becomes a check.Turn it into a test, a hook or a lint rule, not one more line of prose.
A 2026 study of “1,650 Claude Code CLI sessions” (source: McMillan 2026, arXiv 2605.10039) measured how instructions fade. Each extra function the agent wrote came with “approximately 5.6% lower odds of compliance” (source: McMillan 2026, arXiv 2605.10039) with the instruction.
A test does not fade: it fails on the last turn the same way it fails on the first. Anthropic’s guide makes the same distinction: CLAUDE.md instructions are advisory, hooks are deterministic.
Context is derived, never copied.State lives in git and your tracker. Memory and docs keep only what the code cannot say.
A 2026 study found stale code references in the AI configuration files of 23% of 356 repositories (source: Treude and Baltes 2026, arXiv 2606.09090): files such as CLAUDE.md and AGENTS.md naming code that no longer exists. The authors call it context rot.
A fact you copy into a file goes stale when the code moves. A fact the agent reads from git, the tracker or the code itself cannot.
Measure before adding.No new rule, skill or step without a reason to believe it changes the result. Remove what does not.
A 2026 study tested repository context files, such as AGENTS.md, on coding agents. They did not generally improve task success, and they raised inference cost by “over 20% on average” (source: Gloaguen et al. 2026, arXiv 2602.11988).
Anthropic’s engineers give the reason to keep measuring: every piece of a harness encodes an assumption about what the model cannot do on its own, and those assumptions go stale as models improve.
When two rules disagree
Section titled “When two rules disagree”I ordered the rules by how often they settle an argument in my work. When two of them seem to disagree, the earlier one wins.
Say the agent makes the same mistake a second time. Rule 5 wants a check for it. Rule 7 wants a reason to believe a new check changes the result, and you have not measured anything yet. Rule 5 comes first: the check goes in.
Sources
Section titled “Sources”- State of AI in Design Systems, July 2026 state-of-ai-in-design-systems.netlify.app
- Anthropic: Best practices for Claude Code code.claude.com
- Google Cloud: Announcing the 2025 DORA report cloud.google.com
- Google Cloud: DORA's AI capabilities model cloud.google.com
- Simon Willison: Agentic manual testing simonwillison.net
- McMillan 2026, arXiv 2605.10039 arxiv.org
- Treude and Baltes 2026, arXiv 2606.09090 arxiv.org
- Gloaguen et al. 2026, arXiv 2602.11988 arxiv.org
- Anthropic: Harness design for long-running application development anthropic.com