⌨️sandbox.failIfUnavailable
Also known as failIfUnavailable
The key that stops Claude Code if the sandbox cannot start.
Think of it like
It is like a pool that stays shut when the lifeguard is not there. No guard, no swim.
Example
Lucy's new laptop was missing bubblewrap, and Claude ran with no sandbox. Her IT turns this key on, so that cannot happen again.
Why it matters
Without it, a broken sandbox lets each command run free, and no one knows.
Definition
Example code
json
{
"sandbox": {
"enabled": true,
"failIfUnavailable": true
}
}Common mistake
Key takeaways
- 1Stops at startup. If no sandbox.
- 2Off by default. Runs unsandboxed.
- 3For required sandbox. Companies.