Why This Matters
Compliance alignment: NIST AI RMF (GOVERN 1.2 — accountability mechanisms), ISO 42001 (A.8.4 — AI system integrity), EU AI Act Article 15 (accuracy, robustness, cybersecurity).
How FREEZE Rules Work
FREEZE rules are evaluated before the normal policy pipeline. They operate as a pre-evaluation gate that cannot be bypassed:DENY immediately. No further evaluation occurs. The FREEZE rule’s reason code and evidence are attached to the decision.
Defining FREEZE Rules
FREEZE Rule Structure
Immutability Guarantees
FREEZE rules provide three immutability guarantees:1. Persist Across Hot-Swaps
When a policy bundle is hot-swapped (replaced at runtime), FREEZE rules from the original configuration are preserved. The new bundle cannot remove or weaken them.2. Cannot Be Modified or Disabled
Any programmatic attempt to modify a FREEZE rule is rejected and logged:3. Tamper Detection
Any modification attempt — whether through the API, configuration reload, or bundle replacement — triggers aFREEZE_TAMPER_ATTEMPT event:
FREEZE_TAMPER_ATTEMPT events are emitted through a separate, hardcoded evidence channel that cannot be reconfigured. Even if the primary audit sink is compromised, tamper attempts are still recorded.Use Cases
Critical Safety Controls
Regulatory Compliance Controls
FREEZE vs. Normal Policy Rules
Configuration
Best Practices
Start Small
Begin with 3-5 FREEZE rules covering your most critical safety invariants. You can always add more, but you cannot remove them.
Document Justification
Every FREEZE rule should reference a specific risk scenario or compliance requirement. Future teams need to understand why each rule exists.
Test Before Deploying
Use the Policy Test Harness to validate FREEZE rules against your expected traffic patterns before deployment. False positives in FREEZE rules cannot be quickly resolved.
Separate from Business Logic
FREEZE rules are for safety invariants, not business logic. If a rule might need to change based on business requirements, it belongs in normal policy.
Related Documentation
- TealEngine v1.3 API — Pre-evaluation pipeline with FREEZE gates
- Anti-Tamper Controls — Bundle integrity and forbidden config keys
- Automation Levels — How FREEZE interacts with auto_deny
- NHI Governance — Identity verification before FREEZE evaluation
- SOC/IR Pipeline — How FREEZE_TAMPER_ATTEMPT events flow to SIEM

