{"version":"2.1.257","anchor":"inherit-mode-demote-gate-controls-whether-inherited-permissi","canonical_anchor":"hidden-inherit-permission-mode-cli-flag","heading":"Hidden --inherit-permission-mode CLI flag","tier":"use","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/inherit-mode-demote-gate-controls-whether-inherited-permissi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### Hidden --inherit-permission-mode CLI flag\n\nA helper decides whether an inherited permission mode is flagged as inherited, which elsewhere softens the effective level.\n\nA 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`.\n\nWhen 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.\n\n- Flag `tengu_agentview_inherit_mode_demote`: Not enough to say (read for one account on one subscription tier against v2.1.257; this account: no value returned, anonymous baseline: no value returned, compiled default: 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.\n- Area: Permissions\n- Names: `permissionModeInherited`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5"}