Claude Code permission modes: plan, edit, and auto-accept — and when to switch
Claude Code's three permission modes gate different levels of agent autonomy. Getting the mode wrong costs you either hours of unnecessary round-trips or a destructive operation you can't undo.