{"version":"2.1.292","anchor":"teammate-spawn-and-plan-approval-pass-autopickedbylevel","canonical_anchor":"teammate-spawn-and-plan-approval-pass-autopickedbylevel","heading":"Teammate permission mode now considers whether auto mode was picked by level","tier":"internal","area":"Teammates","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292\/e\/teammate-spawn-and-plan-approval-pass-autopickedbylevel","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292","markdown":"### Teammate permission mode now considers whether auto mode was picked by level\n\nTeammate spawn and plan approval now pass `autoPickedByLevel`, so a teammate's permission mode can depend on whether the leader's mode was auto-picked by level\n\n**Unclear.** What difference this makes to the permission mode a teammate actually ends up with is not clear.\n\n**What**\n\nA teammate is another Claude Code session started by your session to work alongside it. When one is started, or when its plan is approved, Claude Code works out which permission mode (how much it may do without asking you) the teammate should use.\n\n- `autoPickedByLevel`: the function that turns a permission mode into the teammate's command-line flags takes this new argument, false by default. It is passed on to the mapping from proactivity level to permission mode, which before took only the mode and the level. Both places that start teammates compute it from the session's permission settings.\n\n- `leaderAutoPickedByLevel`: the function that works out a recipient teammate's permission mode during plan approval now takes this value and passes it, with the proactivity level, to the mode helper. Before, the helper took only the leader's mode and the proactivity level.\n\n- The flags emitted for each mode are unchanged; for example `bypassPermissions` still becomes `--dangerously-skip-permissions`.\n\n**Why**\n\nThe mode a teammate inherits may now differ depending on whether your session's auto mode was chosen for you by the proactivity level rather than by you.\n\n- Area: Teammates\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}