Policy enforcement for agents has quietly outgrown the content-moderation model everyone started with. The question is no longer “is this one message safe” but “did this multi-turn transcript, with all its tool calls, actually stay inside a compound business policy.” SCOPE argues the two dominant answers are both wrong for production: fine-tuned guardrail models fall apart on compound policies, and LLM-as-a-judge is accurate but expensive and maddeningly unstable run-to-run.

Its answer is to compile the natural-language policy into an executable program of small neural predicates, deterministic extractors, and plain code that composes them — then optimize that program against adversarially generated counterexamples that target where it drifts from the policy.

This lands on a real LLM-ops pain. Anyone who has run an LLM-as-a-judge guardrail in production knows the instability tax: the same transcript flips verdicts between runs and your eval dashboard quietly stops meaning anything. A compiled, inspectable predicate program is the kind of artifact a governance review actually wants to see. The HF paper page has the ablations. My open question: compound enterprise policies change constantly — how cheap is recompiling and re-verifying a SCOPE program when legal edits one clause, versus just editing a judge’s prompt?

tags: [ llm-ops ] [ agentic-ai ] [ enterprise-ai ] [ research ]