Sandbox — synthetic data, anonymous, no signup. Apply for pilot → to govern your real AI agents
interactive · in-browser PDP

kye_decide() playground

Construct an observed_action, choose a scenario for context, hit Decide. The shadow-mode evaluator runs the production precedence rules against the action and returns a signed decision envelope — all in your browser.

Loading scenario…

Request

Decision envelope

POST /v1/runtime/decide → kye.pdp_decision.v1
// Decision JSON will appear here.

Precedence rules (reference)

  1. R-PROHIBIT-CLASS — action is in denied_actions for the PP → deny / denied_action_class
  2. R-AMOUNT-CAPcontext.amount_gbp exceeds scope.amount_cap_gbprequire_approval / amount_cap_exceeded
  3. R-RISK-HIGHcontext.risk_score ≥ 0.85deny / risk_threshold_exceeded
  4. R-REQUIRED-GATE-UNMETrequired_gate set but gate_satisfied = falserequire_approval
  5. R-MEANING-DRIFT-MATERIALmeaning_drift === "material"require_approval
  6. R-ASSURANCE-FLOORassurance_level < min_assurancerequire_approval
  7. R-CONSENT-MISSING — PP requires consent + no receipt → deny / consent_required
  8. R-EXTERNAL-EXPORTexternal_export === truequarantine
  9. R-REDACTION-REQUIREDunredacted_fields overlaps with PP's redaction_requiredquarantine
  10. R-ALLOW-DEFAULT — otherwise → allow / policy_allow_default