Skip to main content

ALLOW_DECISIONS

@forge/monorepo


@forge/monorepo / backend/src / ALLOW_DECISIONS

Variable: ALLOW_DECISIONS

const ALLOW_DECISIONS: readonly ["allow-once", "allow-conversation", "allow-always"]

Defined in: backend/src/hitl/service.ts:190

Decisions that authorize the approved call to run.

A whitelist rather than !== "deny": a decision added later — a deferral, an escalation — would read as permission under the negative form, which is the wrong direction to be wrong in.