Simon Willison on Claude Code auto mode: AI classifiers for permission decisions are non-deterministic by nature. The right approach is deterministic containment — filesystem restrictions, network rules, explicit allowlists. For scheduled tasks: use hooks (PermissionDenied, PreToolUse) for deterministic guardrails. Pin dependencies. Layer with CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1.
You must log in or # to comment.
