Middleware that enforces release gating rules before a run is executed. Specifically prevents draft prompts from being served in production paths.
Summary
Functions
Checks if the given workflow_attrs or PromptTemplate is allowed to execute.
Returns :ok or {:error, :unapproved_draft}.