TealEngine v1.3 extends the parallel evaluation pipeline with pre-evaluation stages (FREEZE rules, NHI verification), post-evaluation hooks (evidence emission, response transformation), automation levels, and PLAN_ONLY mode.
TealEngine v1.3 is backward-compatible with v1.2 policies. Existing
evaluate_v12() calls continue to work. The new evaluate() method adds pre/post stages and automation level support.Installation
Quick Start
Class Signature
evaluate()
The primary v1.3 evaluation method. Executes the full pipeline:PLAN_ONLY Mode
Returns what the governance decision would be without executing enforcement or emitting evidence.approve_decision()
Resolves a PENDING decision by providing human approval.reject_decision()
Resolves a PENDING decision by rejecting it.load_policy()
Hot-swap the policy bundle at runtime. FREEZE rules are preserved across swaps.Post-Evaluation Hooks
Post-evaluation hooks run after the decision is computed but before it’s returned:Error Handling
Performance
Migration from v1.2
Related Documentation
- FREEZE Rules — Immutable safety controls
- Automation Levels — The four automation levels
- NHI Governance — Identity verification pipeline
- TealProof — Cryptographic evidence for decisions
- TealFlow — Declarative governance workflows
- Migration Guide v1.3 — Upgrade path from v1.2

