Summary As of October 2026, keep the agent on plan and preview commands, enforce deployment policies, and separate apply credentials. An optional files-only Claude Code hook restricts Bash requests to an exact inspection allowlist. Configure PreToolUse.