Skip to main content

CONTEXT_ORIGINS

@forge/monorepo


@forge/monorepo / backend/src / CONTEXT_ORIGINS

Variable: CONTEXT_ORIGINS

const CONTEXT_ORIGINS: readonly ["platform", "external"]

Defined in: backend/src/security/prompt-safety.ts:36

Where a context section's content came from.

Two values, deliberately. A finer taxonomy ("web", "mcp", "document", "attachment") invites a caller to decide that their source is a bit trustworthy, and the interesting question has only two answers: did someone the tenant trusts author this, or did they not.