Skip to content
1 min read · 102 words

Variable: E_SANDBOX_PATH_ESCAPE

ts
const E_SANDBOX_PATH_ESCAPE: CreatedException<[string]>;

Defined in: src/batteries/sandbox/exceptions.ts:84

Thrown when a model-supplied path is an UNAMBIGUOUS escape or an unsupported form.

Remarks

Only the refuse-outright set of LLM-operator rule 1 reaches this: a NUL byte anywhere, a leading ~, any leading drive letter, a device/verbatim prefix, a UNC form, and a ../ that still escapes after lexical resolution. A leading / does NOT — it normalises to the sandbox root, because the model's world IS the sandbox and refusing it would punish the model for a distinction we deliberately hid from it. Message template is bare '%s' so the narrator text arrives unprefixed.