Policy Constraints as First-Class Model Inputs
Most teams enforce policy by whispering into the model's ear. The better engineering answer is stapling the policy to the model's forehead β or, more precisely, making the rule document an input the system actually consults at decision time, not a paragraph it might happen to notice.
There are two ways to make an LLM follow rules, and only one of them survives contact with hostile input.
The fragile way: policy as a bigger prompt
Put "never do X" in the system prompt and you have a request, not a constraint. Prompt injection β content smuggled into the input that tries to impersonate instructions, like a webpage whispering "ignore previous instructions" β works precisely because, in a plain prompt, the system's rules and an attacker's sentences are the same kind of object: text in a window. OpenAI's instruction-hierarchy work (Wallach et al., April 2024) named the failure directly: models trained to obey whoever is talking get confused about *whose* voice outranks whose. A model that can't rank authors can't reliably rank policies either.
The first way it got fixed: policy as training data
Anthropic's Constitutional AI (Bai et al., December 2022) was the first widely-adopted design where a short constitution β a numbered list of principles β sat inside the training loop itself. The model generates answers, critiques them against its own constitution, revises, and the revised behavior gets trained back in (a variant of reinforcement learning from AI feedback: the model grades itself against written rules instead of waiting for human thumbs). The constitution stops being a wish and starts being data the optimizer can't skip.
The second way it got fixed: policy as a reasoning step
OpenAI's Deliberative Alignment paper (RamΓ© et al., early 2024) went one better for operations. "Deliberative" just means the model is fine-tuned to *cite the relevant rule and reason about the edge case before it answers*, instead of pattern-matching a reflex. During training, the model learns to recite the applicable line of its model spec, apply it to the situation, and only then reply. The practical shape of the result: rule-triggered refusals became much more robust on tricky edge cases, and β crucially for anyone running inference at scale β that deliberation costs a negligible fraction of end-to-end latency, far less than adding a separate filter pass.
If that framing sounds like our insecure-reporting brief from yesterday, it's the same lesson wearing different clothes: an agent that never *rehearses the rule* against the specific case is guessing that it knows it.
The ops layer: check the gate, not the voice
Even deliberative models get jailbroken eventually, so the remaining defense is the boundary itself. In LLM Ops we call these guardrails: checks that run *outside* the conversational model β a separate classifier (Llama Guard, NeMo Guardrails, and similar) or a hard-coded rule β on both the input and the output paths. The design principle follows straight from the injection problem:
- Policy documents are version-controlled inputs. At MeltingFace, Presence treats the brand kit and the forbidden-claims list exactly like source code β a file with a schema, not vibes in a system prompt.
- Define the hierarchy explicitly. System policy beats user message beats tool or webpage content, and the enforcement layer knows the difference even when the chat model doesn't.
- High-stakes actions get gates, not pleas. Anything that spends money, publishes, or messages a human stops at a gate a person (or a hard rule) controls. Presence's publish button is human-only by design β no amount of clever prompting moves it.
Policy that only lives in the model's voice is a habit. Policy that lives in the training data, the reasoning step, and the gate is a control. Only one of those survives a Monday.
MeltingFace is an LLM Ops research consultancy, and Presence is our human-in-the-loop living lab: no chatbot-vendor magic, just controls that hold. If governance-as-engineering is your kind of detail, our practice notes live at /product/#how-it-works, and the related reading is our earlier essay "Why AI Governance Matters."
MeltingFace