Open· Last updated

Jev policy templates

A policy template is an enum + thresholds, not a legal policy. Counsel writes the latter. You encode the former so Jev cannot “decide” a side effect by itself.

Unofficial. docs.typesafe.ai.

Enum

auto_allow | review | block | escalate_security — include fail-closed for timeout.

Example mapping (yours to tune)

Signal Auto Review Block
Noul policy_ok ≥ 0.85 0.4–0.85 < 0.4
Choice confidence ≥ 0.6 else n/a if other

Never copy these numbers into production without a harness. They are shapes, not TypeSafe defaults.

Dual control

Lowering a floor is a product+risk change. Put it behind a flag. Log who changed τ. A template that ships 0.5 everywhere is how you auto-act on a coin flip (Noul 0.5 means yes and no equally likely — official).

What this page does not claim

FAQ

OPA vs this? This mapping feeds OPA attributes. See vs policy engines.

Can Jev store policy? No bundle API. Git is the store.

Disclaimer

This is an independent unofficial site and is not affiliated with TypeSafe AI; official documentation is available at https://docs.typesafe.ai. Never treat jev.pro as TypeSafe official documentation. We do not sell, issue, or proxy API keys.

Open-cluster pages are independent field-guide notes. Replicas and third-party interfaces mentioned anywhere on jev.pro are not Jev and not endorsed. Hub: Open. Siblings: decision templates, glossary policy check, confidence gated routing. Canonical: https://docs.typesafe.ai.

Sources

Public TypeSafe or adjacent documentation only. No private claims.