Step 7 · Runtime gateway

Enforcement at the decision point.

Step 6 produces a signed verdict. Step 7 is the gateway that enforces it. The gateway intercepts a candidate action at the commit boundary, asks the policy engine for a decision, and only lets the action commit when the signed Decision Map™ says allow.

Runtime gateway, stage by stage

Demo data

You learn: How it works, one stage at a time. You can: Run it end to end.

  1. Pre-commit decision

    KYE Protocol™

    call POST /v1/runtime/authorize ; do not commit unless the verdict is allow (or allow_with_constraints and constraints are satisfied).

  2. Audit chain emission

    KYE Protocol™

    the gateway hash-links every decision into an append-only audit ledger; the verify endpoint detects breaks end-to-end.

  3. Signal Bus™ publication

    KYE Protocol™

    the gateway publishes signed events ( kye.decision.* , kye.signal.* , profile-specific events) so downstream subscribers can react atomically.

How this widget is built
Demonstrates
KYE™ runtime
Components
  • The stages this page describes
Flow
Each stage in order, as the page sets it out. Architecture diagram
Used on

1 · What it does

Three reference deployments. All open.

Every claim here is backed by the open KYE Protocol™ contracts and verifiable end-to-end from the publisher's JWKS — you check it yourself, you don't take our word for it.

KYE™ Reference Gateway™

edge-native PEP+PDP Worker. npx wrangler dev (in internal). Production hardening (auth, rate limit, body-size, structured logging, JSONL audit chain) opt-in via env vars.

Express PEP middleware

Node middleware that wraps any Express route with a KYE™ authorize call. Drops into existing services without rewriting the action surface.

ePDP — edge PDP

Locally-cached, offline-capable PDP for the bank / merchant edge. Walks the chain, verifies signatures, returns a decision in < 1 ms.

2 · The enforcement contract

Three obligations. Every commit-level action.

Every claim here is backed by the open KYE Protocol™ contracts and verifiable end-to-end from the publisher's JWKS — you check it yourself, you don't take our word for it.

  1. Pre-commit decision — call POST /v1/runtime/authorize; do not commit unless the verdict is allow (or allow_with_constraints and constraints are satisfied).
  2. Audit chain emission — the gateway hash-links every decision into an append-only audit ledger; the verify endpoint detects breaks end-to-end.
  3. Signal Bus™ publication — the gateway publishes signed events (kye.decision.*, kye.signal.*, profile-specific events) so downstream subscribers can react atomically.

Where to go next

Continue the stack →

Every claim here is backed by the open KYE Protocol™ contracts and verifiable end-to-end from the publisher's JWKS — you check it yourself, you don't take our word for it.

Ready to see your AI agents flagged?

Start in shadow mode. We’ll deliver your first Evidence Pack™ in 4–8 weeks.

Canonical KYE™ surfaces referenced on this page: KYE Protocol™.