
In a headless run there's nobody to read the denial notice. A 25-line hook turns every auto-mode refusal into a ledger you can query in the morning. Ten minutes to wire up.

A model now reviews each permission request and denies what it doesn't like. The catch is what the flag leaves open, and what happens when an enterprise policy switches it off.

Chromium and rootless Podman can't create user namespaces in the sandbox. Three documented fixes exist, and one of them switches off a security boundary.

Version 2.1.307 added a telemetry event for each call a rule, hook or sandbox blocked. Point it at a 45-line local receiver and a 34-line report, and you can see what your guardrails actually do. About 15 minutes.

A Microsoft networking engineer explains why no single guardrail is enough for an agent working production incidents. Here are the four layers, and a 40-line gate to run in five minutes.

Auto mode trusts your repo and nothing else. One settings block fixes the false blocks, and one missing string quietly deletes 71 of the 72 safety rules.

Codex hooks are on by default in 0.163.0. Here's a 40-line guard, the config that wires it in, the trust step that silently skips it, and the failures that let a command through.

A deny hook makes the agent stop and try something else. A rewrite hook fixes the command and lets the work continue. Ten minutes to build, with the failure cases shown.

A /work-issue skill, five permission rules and a 40-line hook turn a ticket into a questioned, planned, tested draft pull request. About 15 minutes to set up.

The Claude Code hooks reference now documents the option that closes the fail-open gap. Nine broken hooks, run for real, show where the protection ends.

A hook that crashes, times out or can't start lets the action through by default. Ten minutes to find out which of your gates are really gates.

A PowerShell script, a read-only claude -p call, a cost cap and a scheduled task. About 15 minutes to try, plus the Windows-only traps that corrupt your commit messages or hide a failed run.

Permission prompts depend on what mode you're in. A PreToolUse deny hook doesn't. Here's a small one that blocks force pushes, and where it falls short.

A 0.4% false positive rate sounds great. The 17% miss rate on real overeager actions is the number to plan around.