A shared working tree enters a diff ownership gate where Claude Code changes continue to review while a developer edit and unattributed generated file are excluded

Make Claude Code prove diff ownership before it commits

Claude Code can accidentally include a developer’s unfinished edit or another agent’s output in its patch. Record the baseline, attribute every hunk, and block commits when ownership is unclear.

July 31, 2026 · 6 min · 1149 words · Thomas De Vos
Read Make Claude Code prove diff ownership before it commits
An approved Claude Code plan bound to commit A reaches a freshness gate after commit B changes a relevant dependency, so execution stops and the agent replans for review

Expire Claude Code plans when the repository changes

A Claude Code plan can become stale after another commit changes its assumptions. Bind approval to repository state and force a replan when the relevant boundary moves.

July 30, 2026 · 6 min · 1117 words · Thomas De Vos
Read Expire Claude Code plans when the repository changes
Claude Code sends a write through an MCP tool, receives a timeout, and verifies the external system before continuing, retrying, or stopping

A Claude Code tool timeout does not mean the action failed

A timed-out MCP tool call may have completed after the connection closed. Verify the external result before Claude Code retries a write.

July 29, 2026 · 7 min · 1345 words · Thomas De Vos
Read A Claude Code tool timeout does not mean the action failed
An AI agent proposal passing through schema, operation, target, policy, dry-run, and approval checks before a receiving system may execute it

Treat AI agent output as untrusted input at every handoff

An approved AI agent can still produce a dangerous command, query, or tool argument. Validate generated output at the receiving boundary before another system acts on it.

July 28, 2026 · 7 min · 1292 words · Thomas De Vos
Read Treat AI agent output as untrusted input at every handoff
A tested Claude Code commit changing after a rebase, causing a release gate to reject stale evidence and run the checks again

Your green check belongs to a commit, not a pull request

A Claude Code branch can change after tests pass and approval is given. Bind test results, review evidence, and release approval to the exact commit that produced them.

July 26, 2026 · 6 min · 1260 words · Thomas De Vos
Read Your green check belongs to a commit, not a pull request
An AI agent memory record passing through provenance, scope, expiry, review, and deletion checks before reuse

AI agent memory needs provenance and an expiry date

Persistent memory can make an AI agent faster, but stale facts, copied instructions, and missing ownership can quietly steer later runs. Store provenance, scope, review dates, and deletion rules with every memory.

July 24, 2026 · 7 min · 1422 words · Thomas De Vos
Read AI agent memory needs provenance and an expiry date
An AI agent evaluation that checks the request, identity, tool path, data boundary, side effects, evidence, and final answer

Test the tool path before you trust the agent's answer

An AI agent can return the right answer after using the wrong identity, reading the wrong data, or calling a tool it never needed. Production evals should inspect the path as well as the result.

July 23, 2026 · 7 min · 1327 words · Thomas De Vos
Read Test the tool path before you trust the agent's answer
A Claude Code run replay record connecting the task contract, agent actions, decision points, evidence packet, human review, and incident replay

A diff cannot replay a Claude Code run

A Claude Code diff shows the final change, but it leaves out the starting state, failed commands, MCP results, skipped tests, and plan changes. Capture a compact replay record before the run disappears.

July 22, 2026 · 6 min · 1272 words · Thomas De Vos
Read A diff cannot replay a Claude Code run
A production control loop for Claude Code with task contract, stop conditions, bounded run, evidence packet, and human review

Claude Code stop conditions are agent security controls

A production Claude Code run should know when to stop. Stop conditions turn unclear scope, wider tool access, weak rollback, and missing evidence into human review moments before an agent crosses a security boundary.

July 21, 2026 · 7 min · 1347 words · Thomas De Vos
Read Claude Code stop conditions are agent security controls
A four step control loop for normal agent grants, exception asks, human gates, and receipts

Give agent exceptions a budget before they become policy

Claude Code and enterprise AI agents sometimes need more access than the normal task contract allows. Treat that extra authority as an exception budget, with a reason, owner, expiry, evidence, and revocation path.

July 20, 2026 · 6 min · 1135 words · Thomas De Vos
Read Give agent exceptions a budget before they become policy