Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_legacy-decision-engine-to-ml

Legacy rules engine to ML replacement

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![Legacy rules engine to ML replacement — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_legacy-decision-engine-to-ml/opengraph-image)](https://archos.sageideas.dev/d/dgm_legacy-decision-engine-to-ml)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_legacy-decision-engine-to-ml)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_legacy-decision-engine-to-ml" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Legacy rules engine to ML replacement — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0[("Client application")]
  rules_1["Guardrails"]
  feat_2[("Distributed cache")]
  ml_3["Inference server"]
  eval_4[("Data quality check")]
  obs_5["OpenTelemetry Collector"]
  sink_6[("Client application")]
  client_0 -->|"1. Checks rules · HTTPS"| rules_1
  rules_1 -->|"2. Gets feats · RESP"| feat_2
  feat_2 -->|"3. Scores ML · gRPC"| ml_3
  ml_3 -->|"4. Checks lift · HTTP"| eval_4
  eval_4 -->|"5. Decides · HTTPS"| sink_6
  rules_1 -->|"Logs pair · OTLP"| obs_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    Decision request
  • GuardrailsSTATELESS
    Hard compliance rules
  • Distributed cacheSTATEFUL
    Online feature store
  • Inference serverSTATELESS
    Shadow -> Challenger ML
  • Data quality checkSTATEFUL
    Lift + fallback SLA
  • OpenTelemetry CollectorSTATELESS
    Logs features + score
  • Client applicationSTATEFUL
    Auditable decision

REQUEST & DATA FLOW (6)

  1. Client application → Guardrails (Checks rules)[HTTPS]
  2. Guardrails → Distributed cache (Gets feats)[RESP]
  3. Distributed cache → Inference server (Scores ML)[gRPC]
  4. Inference server → Data quality check (Checks lift)[HTTP]
  5. Data quality check → Client application (Decides)[HTTPS]
  6. Guardrails → OpenTelemetry Collector (Logs pair)[OTLP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →