Examples

Use the framework where work already happens.

The repository includes runnable examples for infrastructure, services, Python validation, UI evidence, documentation metadata, and CI composition.

Terraform-style IaC

OPA controls evaluate plan-like fixtures for ownership, conformance, rollback, blast radius, and evidence.

opa test examples/terraform

Go services

A small package emits PED decision outcomes from service delivery controls.

go test ./examples/go/...

Python validators

Stdlib-only validation proves decision records are portable outside a specific platform.

python3 -m unittest discover examples/python

UI changes

The UI example requires rendered screenshots and accessibility evidence before approval.

node --test examples/ui/*.test.mjs

Docs repositories

Documentation controls require owner, evidence, and rationale for public docs changes.

node --test examples/docs/*.test.mjs

CI gate

The workflow example shows how independent controls compose into a delivery gate.

examples/ci/ped-delivery-gate.yml