Skip to main content
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
[![Human-in-the-Loop Approval Workflow Engine (RBAC, SLA & Audit) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_approval-workflow/opengraph-image)](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_5

COMPONENT STACK (6)

  • Requesters & ApproversSTATELESS
    Expense, deploy & IAM gates
  • Workflow API EdgeSTATELESS
    Submit & approve actions
  • Durable EngineSTATEFUL
    Temporal/state-machine steps
  • Policy & EscalationSTATELESS
    RBAC matrix + SLA reminder
  • Immutable Audit DBSTATEFUL
    Cryptographic approval ledger
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Requesters & Approvers → Workflow API Edge (Submit req)[HTTPS]
  2. Workflow API Edge → Durable Engine (Wait human)[gRPC]
  3. Workflow API Edge → Policy & Escalation (Check auth)[gRPC]
  4. Durable Engine → Immutable Audit DB (Log)[SQL]
  5. Policy & Escalation → Immutable Audit DB (Apply)[Async]
  6. Immutable Audit DB → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →