ARCHOS 525 BLUEPRINT · /d/dgm_approval-workflow
Human-in-the-Loop Approval Workflow Engine (RBAC, SLA & Audit)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_approval-workflow) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_approval-workflow)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_approval-workflow" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Human-in-the-Loop Approval Workflow Engine (RBAC, SLA & Audit) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Requesters & Approvers"]
n1_1["Workflow API Edge"]
n2a_2[("Durable Engine")]
n2b_3["Policy & Escalation"]
n3_4[("Immutable Audit DB")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Submit req · HTTPS"| n1_1
n1_1 -->|"2a. Wait human · gRPC"| n2a_2
n1_1 -.->|"2b. Check auth · gRPC"| n2b_3
n2a_2 -->|"3a. Log · SQL"| n3_4
n2b_3 -->|"3b. Apply · Async"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Requesters & ApproversSTATELESSExpense, deploy & IAM gates
- Workflow API EdgeSTATELESSSubmit & approve actions
- Durable EngineSTATEFULTemporal/state-machine steps
- Policy & EscalationSTATELESSRBAC matrix + SLA reminder
- Immutable Audit DBSTATEFULCryptographic approval ledger
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Requesters & Approvers → Workflow API Edge (Submit req)[HTTPS]
- Workflow API Edge → Durable Engine (Wait human)[gRPC]
- Workflow API Edge → Policy & Escalation (Check auth)[gRPC]
- Durable Engine → Immutable Audit DB (Log)[SQL]
- Policy & Escalation → Immutable Audit DB (Apply)[Async]
- Immutable Audit DB → Downstream & OTel (Emit /)[OTLP/API]