The Agent SDK's IPC protocol must match the Claude Code version. Also allowlist @anthropic-ai/claude-code in only-built-dependencies so its postinstall script runs during Docker build — without this, the native binary is never installed and the SDK fails at spawn time. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>