{"name":"failIfUnavailable","slug":"failifunavailable","family":"setting","title":"Settings keys","noun":"settings key","description":"Sandbox options passed in now merge with your sandbox settings, deny lists add up, and failIfUnavailable defaults to true","description_source":"entry","described_by":{"version":"2.1.296","anchor":"sandbox-option-settings-merge"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.330","builds":0,"mined_builds":169,"first_cited":{"version":"2.1.83","released_at":"2026-03-24 22:16:47","spans":1}},"aliases":[],"entries":[{"version":"2.1.324","anchor":"sandbox-flag-tengu-vectorized-wall-defined-next-to-failifuna","heading":"Claude Code tracks where a required-sandbox setting comes from","line":"New logic sorts where a strict sandbox setting came from and checks, on Linux, for a sandbox that is required but cannot start","released_at":"2026-11-13 18:42:36","reason":"named in this entry, found in this entry's text"},{"version":"2.1.324","anchor":"sandbox-settings-descriptions-clarified","heading":"Two sandbox settings explain cloud sessions and Windows support","line":"`failIfUnavailable` now notes cloud sessions start anyway with a warning, and `autoAllowBashIfSandboxed` notes it does nothing on native Windows","released_at":"2026-11-13 18:42:36","reason":"found in this entry's text"},{"version":"2.1.324","anchor":"sandbox-requirement-can-be-set-aside-in-hosted-workers","heading":"Hosted workers can start without the sandbox when an admin policy allows it","line":"In hosted workers, an admin policy can set aside `failIfUnavailable`, so Claude Code starts without a sandbox and warns that its rules are not enforced","released_at":"2026-11-13 18:42:36","reason":"named in this entry, found in this entry's text"},{"version":"2.1.296","anchor":"sandbox-option-settings-merge","heading":"The sandbox option now merges with your settings instead of replacing them","line":"Sandbox options passed in now merge with your sandbox settings, deny lists add up, and failIfUnavailable defaults to true","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text"}],"entries_total":4,"docs":[{"source":"claude-code","path":"agent-sdk\/python","title":"Agent SDK reference - Python","documented":false},{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"errors","title":"Error reference","documented":false},{"source":"claude-code","path":"managed-settings","title":"Deploy managed settings","documented":false},{"source":"claude-code","path":"monitoring-usage","title":"Monitoring","documented":false},{"source":"claude-code","path":"sandboxing","title":"Configure the sandboxed Bash tool","documented":false},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":false},{"source":"claude-code","path":"settings-example","title":"Example settings files","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false}],"docs_total":12,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/failifunavailable","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}