0f75d75eeb
Claude Code refuses --allow-dangerously-skip-permissions when running as root, causing immediate exit with code 1. The worker image defines a "pentest" user (UID/GID 1001), but K8s job specs override the entrypoint.sh that normally switches to it. Adding a pod-level securityContext with runAsUser=1001 and fsGroup=1001 fixes both the root-privilege rejection and PVC write access. Co-Authored-By: Paperclip <noreply@paperclip.ing>