You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release
Unclear It is not clear what the second condition is, so it is unclear in which sessions the permission mode now carries over.
What
A permission mode decides how often Claude Code asks before acting, and --permission-mode sets it when you start Claude Code. Claude Code can pass that choice on to other parts of a session. It used to do this only when an option called inheritPermissionModeCli was set. It now also does it when a second condition is met.
Why
In some sessions the permission mode you chose may now carry over where it did not before, so Claude Code may ask you less or more than you expect.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added sinceA small documentation edit on Best practices for Claude Code touched a line naming --permission-mode after this was published.If you'd rather see an edit or command before it happens, `Shift+Tab` in the session cycles through the permission modes, Manual included, or start with `claude --permission-mode manual` from your shell. If Manual then asks too often, `/fe…best-practicessee the edit
Confirmed sinceAnthropic's documentation has since written up --permission-mode, on Run tool calls from code with Code Mode.* **The session first started in another mode**: if [auto mode is available](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) to you, exit, then run `claude --permission-mode auto` with Code Mode on to …code-modesee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what the second condition is, so it is unclear in which sessions the permission mode now carries over.
Anthropic's documentation agreesAnthropic's documentation has since written up --permission-mode, on Run tool calls from code with Code Mode.