Skip to content
shadowiq
Policy-as-code · review it like code

Policies are code. Review them like code.

YAML for the happy path, Rego when you need it. Versioned in Git, tested in CI, observed in shadow mode, enforced as WASM, signed on promotion. Every step leaves a receipt.

What this is

Summary

ShadowIQ policy-as-code lets AI governance teams author, test, and deploy AI safety and compliance policies as version-controlled artifacts in YAML or Rego. Policies are unit-tested in CI, validated in shadow mode, compiled to WASM for sub-75ms inline enforcement at the AI Gateway, and cryptographically signed on promotion.

The policy lifecycle

Five stages. All version-controlled. All signed.

policies/prompt-injection-v2.yaml# Policy v2.1.4 · signed on mergekind: Policyname: prompt-injection-v2triggers: - event: gateway.inference.requestrules: - when: classifier.injection.conf > 0.8 do: deny(reason: injection) - when: pii.types contains "ssn" do: redact(types:[ssn]) - when: tenant.region != provider.region do: deny(reason: residency)evidence: sign: ed25519 anchor: sigstore# siq test → ✓ 124/124 passed1Author
YAML / Rego · versioned in Git
2Test
Unit + replay in CI
3Shadow
Observe in prod · no impact
4Enforce
WASM-compiled · < 75ms p99
5Evidence
Signed · Merkle-rolled
RECEIPT · SIGNED ON PROMOTIONpolicy: prompt-injection-v2 · v2.1.4fingerprint: fp_a9c3…e71danchor: sigstore · rekor 0x4e12a0
Why policy-as-code

Because policies that live in PDF drift away from what the system actually does.

Review like code.

Pull requests, approvals, diffs, git blame. Your SOC 2 auditor has opinions about who approved what, and so should you.

Test like code.

Unit tests with synthetic inputs, replay tests with recorded prod traffic, shadow-mode tests that observe without impact.

Ship like code.

GitOps promotion with per-tenant or per-environment rollout. Rollback in seconds with a signed revert.

Measure like code.

Per-policy hit rate, false-positive rate, latency contribution. Every rule has a budget; you can see where it's spent.

Own like code.

CODEOWNERS for policies. Legal owns residency rules; security owns injection rules; engineering owns tooling policies. No kings.

Sign like code.

Every promoted policy is signed with an Ed25519 key you control. Auditors verify without our credentials.

Ready to see the signet in motion?

Your 30-minute demo. A signed audit trail by the end of it.

We'll wire ShadowIQ into one live workload, block a prompt injection in real time, and hand you a cryptographic receipt — before the meeting ends.