Skip to main content

Policies

A policy is an ordered or parallel bundle of guardrail steps. Create one on Guardrails → Policies, then open /guardrails/policies/[id] to edit the flow.

Execution

ModeBehavior
PARALLELEvery step runs; any blocking step fails the request
FLOWSteps run in order. Each step's pass / fail / error action is NEXT, BLOCK or CONTINUE

Steps

Each step references a configured guardrail (Garden, custom or vendor) and chooses how a match is treated (block vs flag). Step count appears on the policy directory.

Enable / disable

A disabled policy is not evaluated, even if it still has attachments. Use this as a kill switch without deleting attachments.

Who can write

Creating, editing and deleting policies is a platform-admin write. Everyone can browse the directory.

Next: attach the policy.