Role in the stack

Guardrails belong in infrastructure, decoupled from model-generated reasoning. Policy-as-code — notably OPA — separates the decision from the enforcement point and can run across microservices, API gateways, CI/CD and Kubernetes. Log policy decisions independently of the model's rationale.

Relates to: Identity and authorisation, Observability and provenance.

Terms

Glossary terms used here: Policy-as-code, Provenance.