Skip to content
1 min read · 190 words

Interface: PreflightOptions ​

Defined in: src/batteries/sandbox/preflight.ts:23

Inputs to the construction-time environment admission check.

Properties ​

PropertyModifierTypeDescriptionDefined in
allowUnsandboxedFallback?readonlybooleanExplicit opt-in to run without OS containment when a pre-execution condition applies.src/batteries/sandbox/preflight.ts:29
enforcerreadonlySandboxPolicyEnforcerPolicy backend to admit.src/batteries/sandbox/preflight.ts:25
fsNodeVersion?readonlystringPath redaction is performed by the observability sink, not by this admission check.src/batteries/sandbox/preflight.ts:37
onSandbox?readonlySandboxEventSinkReceives dependency warnings; warnings never make admission fail.src/batteries/sandbox/preflight.ts:35
optionalPeerPresent?readonlybooleanWhether the optional SRT peer was resolved. Defaults to true for injected test enforcers.src/batteries/sandbox/preflight.ts:33
platform?readonlystringPlatform override, primarily for hermetic tests.src/batteries/sandbox/preflight.ts:27
strictMode?readonlybooleanClaude Code's strict mode: per-call escape/bypass is ignored by the consumer.src/batteries/sandbox/preflight.ts:31