TrueFoundryChangelog
Announcements
DeprecationLLM GatewayAnnounced Oct 15, 2026

Move to Named Guardrail Policies

From v0.179, each guardrail policy is a named gateway-guardrails-config. Folded rules[] is deprecated; will be removed 15 November 2026.

In effect. The deadline was Nov 15, 2026.

Who's affected
Teams that manage guardrail policies in Git with tfy apply and keep all their rules in one combined file.
What to do
Split each rule into its own named guardrail policy file, remove the old combined file, and apply the new files with tfy apply.
On-prem versions
Starts in 0.179.0Compare them with the control plane version you run.

What Is Changing

Starting in v0.179, each guardrail policy is a named gateway-guardrails-config — the same grain as logging configuration: one configuration name, one when block, and the four hook arrays.

Previously, all rules lived in a single document:

name: guardrails-control          # optional / ignored for storage grain
type: gateway-guardrails-config
rules:
  - id: palo-alto-rule
    when: { ... }
    llm_input_guardrails: [ ... ]
  - id: mcp-test-rule
    when: { ... }
    mcp_tool_pre_invoke_guardrails: [ ... ]

Now each former rule is its own config (apply separately):

type: gateway-guardrails-config
name: palo-alto-rule
when: { ... }
llm_input_guardrails: [ ... ]
llm_output_guardrails: [ ... ]
mcp_tool_pre_invoke_guardrails: []
mcp_tool_post_invoke_guardrails: []
type: gateway-guardrails-config
name: mcp-test-rule
when: { ... }
llm_input_guardrails: []
llm_output_guardrails: []
mcp_tool_pre_invoke_guardrails: [ ... ]
mcp_tool_post_invoke_guardrails: [ ... ]

Why This Change

Named configs match how other multi-instance gateway policies work (for example logging). You can create, edit, and delete one policy without rewriting the entire set, and GitOps can own one file per policy.

What You Need to Do

GitOps / tfy apply

  1. For each entry under the old rules[] array, create one YAML file (or one document) with:
    • type: gateway-guardrails-config
    • name: <old rule id>
    • top-level when and the four *_guardrails arrays (not nested under rules)
  2. Remove the folded parent document that only wraps rules: [...].
  3. Apply with tfy apply (each named config is an independent resource).
  4. Prefer copying YAML from the UI (Edit as YAML on a rule) so the shape matches production.

Changes in YAML Schema

Before (folded)After (named)
One document, rules: [{ id, when, ... }]One document per policy
Rule identity = rules[].idConfig identity = top-level name
Hooks nested under each ruleHooks at top level

when, hook field names (llm_input_guardrails, …), and custom_error_message are unchanged — only the document grain changes.

Timeline

MilestoneDate
Named policies available; folded format still accepted for compatibilityv0.179
Deprecation announcement15 October 2026
Folded { type, rules: [...] } format fully removed15 November 2026

If you face any issues in the migration, reach out to [email protected].

Questions about this change? Email [email protected].