Interface: PreflightOptions
Defined in: src/batteries/sandbox/preflight.ts:17
Inputs to the construction-time environment admission check.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
allowUnsandboxedFallback? | readonly | boolean | Explicit opt-in to run without OS containment when a pre-execution condition applies. | src/batteries/sandbox/preflight.ts:23 |
enforcer | readonly | SandboxPolicyEnforcer | Policy backend to admit. | src/batteries/sandbox/preflight.ts:19 |
fsNodeVersion? | readonly | string | Path redaction is performed by the observability sink, not by this admission check. | src/batteries/sandbox/preflight.ts:31 |
onSandbox? | readonly | SandboxEventSink | Receives dependency warnings; warnings never make admission fail. | src/batteries/sandbox/preflight.ts:29 |
optionalPeerPresent? | readonly | boolean | Whether the optional SRT peer was resolved. Defaults to true for injected test enforcers. | src/batteries/sandbox/preflight.ts:27 |
platform? | readonly | string | Platform override, primarily for hermetic tests. | src/batteries/sandbox/preflight.ts:21 |
strictMode? | readonly | boolean | Claude Code's strict mode: per-call escape/bypass is ignored by the consumer. | src/batteries/sandbox/preflight.ts:25 |