{"version":"2.1.337","anchor":"untrusted-workspace-stops-background-and-cidemo-sessions","canonical_anchor":"untrusted-workspace-stops-background-and-cidemo-sessions","heading":"Background, CI and demo sessions now stop in folders that are not trusted","tier":"notice","area":"Trust","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/untrusted-workspace-stops-background-and-cidemo-sessions","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Background, CI and demo sessions now stop in folders that are not trusted\n\nNon-interactive sessions in an untrusted folder now stop with an error instead of continuing with a warning\n\n**What**\n\nA non-interactive session runs without anyone at the keyboard to answer questions. When one runs in a folder that has not been marked as trusted, it now stops with an error. Before, it carried on as an untrusted session and only showed a warning. This covers:\n\n- Background sessions\n\n- Sessions where `IS_DEMO` is set\n\n- Sessions where `CLAUBBIT` is set\n\n- Sessions where `CI` is set\n\nThe error explains that a Yes given earlier doesn't count here, and that Claude Code can't ask while the variable is set.\n\n**Why**\n\nAutomated or demo runs in folders that are not trusted may now fail where they used to go ahead, so trust the folder before running them.\n\n- Area: Trust\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: yes"}