{"version":"2.1.337","anchor":"headless-restricted-refused-for-remote-sessions-and-a-ne","canonical_anchor":"headless-restricted-refused-for-remote-sessions-and-a-ne","heading":"Headless mode recognises when a workspace blocks cloud sessions by default","tier":"notice","area":"Elsewhere","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/headless-restricted-refused-for-remote-sessions-and-a-ne","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Headless mode recognises when a workspace blocks cloud sessions by default\n\nHeadless Claude Code now reports a new reason a session cannot default to the cloud: the workspace is restricted\n\n**What**\n\nHeadless mode runs Claude Code without its interactive screen, for example from a script. Some sessions run in the cloud by default rather than on your own computer. Claude Code already reported when that cloud default was not allowed. It now also recognises a second case, where the workspace is restricted. It reports this as `cloud_session_default` with the reason `workspace_restricted`.\n\nThe existing refusal of `--restricted` for cloud, remote environment and SSH sessions is unchanged.\n\n**Why**\n\nA workspace's policy can now stop sessions from running in the cloud by default, and headless runs say when that is the reason.\n\n- Area: Elsewhere\n- Names: `cloud_session_default`, `workspace_restricted`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: no"}