An effect ledger records completed, failed, and pending MCP steps, then selects resume, compensate, or stop based on verified production state

Recover a partially completed Claude Code MCP workflow

A multi-step Claude Code run can fail after several external writes have already succeeded. Use an effect ledger to resume, compensate, or stop without repeating completed work.

August 19, 2026 · 7 min · 1402 words · Thomas De Vos
Read Recover a partially completed Claude Code MCP workflow
A Claude Code test denominator records expected, discovered, selected, executed, skipped, and missing tests before a review can pass

Make Claude Code report the tests it did not run

A green test result says little when the agent selected the wrong suite or skipped the risky path. Add a test denominator to every Claude Code review packet.

August 18, 2026 · 5 min · 940 words · Thomas De Vos
Read Make Claude Code report the tests it did not run
MCP tool output is labelled untrusted, reduced to evidence, checked against the original Claude Code scope, and recorded in a reviewable trace

Do not let MCP tool output rewrite Claude Code's instructions

An MCP response can contain instruction-shaped text that pushes Claude Code beyond its approved task. Put a trust boundary between tool evidence and agent authority.

August 17, 2026 · 8 min · 1531 words · Thomas De Vos
Read Do not let MCP tool output rewrite Claude Code's instructions

Stopping Claude Code does not cancel queued MCP work

A stopped Claude Code run can leave queued MCP calls and provider jobs alive. Use a cancellation barrier to revoke authority, drain pending work, and prove the run is quiet.

August 16, 2026 · 12 min · 2386 words · Thomas De Vos
Read Stopping Claude Code does not cancel queued MCP work
A timed-out Claude Code MCP write enters an unknown state, checks an operation journal, and either verifies the existing effect or retries with the same idempotency key

Treat a timed-out MCP write as an unknown outcome

A timed-out MCP write may have failed, succeeded, or finished after the client gave up. Use an operation journal and effect lookup before Claude Code retries it.

August 13, 2026 · 5 min · 1007 words · Thomas De Vos
Read Treat a timed-out MCP write as an unknown outcome
A Claude Code run pins an MCP capability manifest and stops when the live server schema, implementation, target scope, or side effects differ

Pin the MCP tool contract before Claude Code uses it

An MCP method can keep the same name while its schema, target scope, or side effects change. Pin a capability manifest so Claude Code cannot inherit a different tool after approval.

August 12, 2026 · 6 min · 1090 words · Thomas De Vos
Read Pin the MCP tool contract before Claude Code uses it
A Claude Code cost envelope that prices tool calls before execution, reserves budget at dispatch, records actual spend, and stops over-budget paths

Make Claude Code price the tool path before it starts

Token limits miss the expensive part of many Claude Code runs. A cost envelope prices search, MCP calls, evals, and retries before the agent can spend them.

August 11, 2026 · 7 min · 1438 words · Thomas De Vos
Read Make Claude Code price the tool path before it starts
A Claude Code evidence-linked trace connecting an observed failing deployment to a scoped plan, an authorised MCP tool call, the resulting effect, and a review decision

Make Claude Code cite the evidence behind every tool call

A tool-call log shows what Claude Code did. An evidence-linked trace shows which observation caused each action, which policy allowed it, and when the chain broke.

August 10, 2026 · 5 min · 918 words · Thomas De Vos
Read Make Claude Code cite the evidence behind every tool call
A Claude Code rollback rehearsal verifies a recovery target, restores an isolated environment, checks all external effects, and proves old code can read new data

Make Claude Code rehearse rollback before production approval

A rollback note says recovery should work. A rollback rehearsal checks the exact target, non-code state, data compatibility, recovery time, and service behaviour before approval.

August 8, 2026 · 5 min · 958 words · Thomas De Vos
Read Make Claude Code rehearse rollback before production approval
Two passing Claude Code test commands point to different commit, working tree, and lockfile fingerprints, so the review marks one result stale and requests a rerun

Bind Claude Code test results to the code they actually tested

Claude Code can report passing tests from different repository states. Add a run fingerprint so each result names the exact code, dependencies, tools, and policy it tested.

August 5, 2026 · 5 min · 1065 words · Thomas De Vos
Read Bind Claude Code test results to the code they actually tested