ARCHOS 525 BLUEPRINT · /d/dgm_int-policy-engine
Policy Engine (OPA / Admission) Internals (Rego Eval, Bundles & Fail-Closed)
6 COMPONENTS · 5 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-policy-engine) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-policy-engine)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-policy-engine" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Policy Engine (OPA / Admission) Internals (Rego Eval, Bundles & Fail-Closed) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["PEP"]
pdp_1["OPA Decision Engine"]
idx_2[("Rule Indexing Cache")]
bnd_3[("Signed Bundle Server")]
dec_4[("Decision Audit Log")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Check · HTTP/WAS"| pdp_1
pdp_1 -->|"2a. Evaluate · RAM"| idx_2
bnd_3 -->|"Poll · HTTPS"| pdp_1
pdp_1 -.->|"2b. Stream · Async"| dec_4
dec_4 -.->|"3. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- PEPSTATELESSAuthZ / Admission Input
- OPA Decision EngineSTATELESSIn-RAM Rego/WASM evaluator
- Rule Indexing CacheSTATEFULO hashed policy lookup
- Signed Bundle ServerSTATEFULGitOps Rego + RBAC data tarballs
- Decision Audit LogSTATEFULRecords every allow/deny + input
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (5)
- PEP → OPA Decision Engine (Check)[HTTP/WAS]
- OPA Decision Engine → Rule Indexing Cache (Evaluate)[RAM]
- Signed Bundle Server → OPA Decision Engine (Poll)[HTTPS]
- OPA Decision Engine → Decision Audit Log (Stream)[Async]
- Decision Audit Log → Downstream & OTel (Emit /)[OTLP/API]