Claude Code talk: guardrails move from you to the harness

Anthropic's Lydia Hallie told AI Engineer CODE 2026 that Claude Code users should replace hand-approval with deny rules, sandboxes, hooks and CI.

In a talk posted Nov 11, 2026 on AI Engineer CODE, Lydia Hallie of Anthropic's Claude Code team argued that the old best practices still apply, but the work has moved. The model now steers, auto mode approves, deny rules and the environment restrict, and tests, hooks and CI verify. Your job is to start the work and review what comes out. If you run long or unattended sessions, this is a checklist of what to set up before you walk away. (Hallie re-recorded the talk at home after technical difficulties, and the page notes its transcript is machine-generated.)

Her case rests on Anthropic's own August study: about 14% of people caught a clearly dangerous command, while auto mode blocked 89%. That still lets roughly one in ten through, she said. These are Anthropic's numbers, and BigGo Finance reports them only as cited in the talk. Anthropic's docs say auto mode "reduces permission prompts but does not guarantee safety," per Tahir Nazir's guide.

The practical layers:

Our read: the exit-code detail is the one most likely to be silently wrong in your setup today. A verification hook that exits 1 looks like it's working while letting failures through.

Try it: grep your existing hook scripts for how they exit on failure, and switch blocking checks to exit code 2. Then apply Hallie's "can I take it back?" test to every "never" line in your CLAUDE.md. Move each one you couldn't undo into a deny rule, with /sandbox on.

Sources