{"version":"2.1.288","anchor":"cloud-session-permission-mode-message-changed","canonical_anchor":"cloud-headless-sessions-carry-the-permission-mode-and-proact","heading":"Cloud sessions take their permission mode from --permission-mode and can default to auto","tier":"notice","area":"Cloud Sessions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288\/e\/cloud-session-permission-mode-message-changed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288","markdown":"### Cloud sessions take their permission mode from --permission-mode and can default to auto\n\nNew cloud sessions now get their permission mode from --permission-mode, may start in auto mode by default, and weigh your carried mode when deciding\n\n**Unclear.** Only the message wording changed in what was seen, so it is not confirmed that cloud sessions now apply the mode from the flag.\n\n**What**\n\nA permission mode controls how much Claude may do without asking you first. When you start a cloud session, Claude Code decides its model and permission mode. That decision now takes more into account:\n\n- The message about permission modes in cloud sessions now says a cloud session does not inherit a permission mode and that `--permission-mode` sets it. Before, it said the mode came from the repository's settings.\n\n- The decision now receives `typedLevel` and `carriedMode`, so the level you typed and the mode carried over from where you started are considered.\n\n- A new source of the chosen mode, `default_auto`, covers sessions that start in auto mode by default. Before, the only recorded sources were `auto_seeded`, `flag`, `settings` and `none`.\n\n- An extra notice is shown when a session is created or attached to.\n\n- Tools served to the session get a `needsOwnFlagAnswer` option.\n\nThe related gate `tengu_remote_model_gate_hint` has not been read, so whether these paths are active for any given account is unknown.\n\n**Why**\n\nIf you start cloud sessions, the mode they begin in now depends on the flag you pass rather than on repository settings, and some sessions may begin in auto mode. Passing `--permission-mode` is the way to choose it.\n\n- Area: Cloud Sessions\n- Names: `--permission-mode`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}