Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.257 ·

Hidden --inherit-permission-mode CLI flag

A helper decides whether an inherited permission mode is flagged as inherited, which elsewhere softens the effective level.

TierUnder the hoodhow much it should matter to you
Useful3my rating, 1 to 5
Signal4worth watching, 1 to 5
AreaPermissionswhat it touches
KindInternal Changesin v2.1.257,
Group of 2 Under the hood No documentation found

A helper decides whether an inherited permission mode is flagged as inherited, which elsewhere softens the effective level.

A new, hidden CLI option --inherit-permission-mode lets a spawned session inherit its permission mode from the launching process/frame instead of setting one explicitly. It is wired through argument parsing, storage (inheritPermissionModeCli), and resolution logic that propagates a permissionModeInherited flag into session state; the option is registered with .hideHelp() so it does not appear in claude --help.

When a permission mode is inherited this way, a helper decides whether to also set permissionModeInherited: true (used elsewhere to demote/soften the effective permission level) versus simply passing the inherited mode through silently.

Read from
Names in the bundlepermissionModeInherited
Feature flag
tengu_agentview_inherit_mode_demote Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.257: on

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.257. It isn't a statement about your account. What a flag value here can and cannot tell you

How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's release notes agreeFixed sessions dispatched from an agent view opened with ← always starting in the original session's permission mode, overriding the target…
The name it cites is new in this buildNew in this build: tengu_agentview_inherit_mode_demote

See this entry in the whole of v2.1.257 →

Feedback