Skip to content

QUOTED_COMMAND_FENCE_BEGIN

const QUOTED_COMMAND_FENCE_BEGIN: "[BEGIN QUOTED COMMAND TEXT]" = '[BEGIN QUOTED COMMAND TEXT]'

Defined in: packages/core/src/utils/untrustedText.ts:35

EXT-65 — the fence a refused command is quoted back inside, emitted by core/shell/abstention.ts. A command the gate could not parse is frequently a command the model assembled out of text it read somewhere, so quoting it back for the model to rewrite is quoting untrusted bytes into the model’s context.