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
[](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_5COMPONENT STACK (7)
- Client applicationSTATEFULDecision request
- GuardrailsSTATELESSHard compliance rules
- Distributed cacheSTATEFULOnline feature store
- Inference serverSTATELESSShadow -> Challenger ML
- Data quality checkSTATEFULLift + fallback SLA
- OpenTelemetry CollectorSTATELESSLogs features + score
- Client applicationSTATEFULAuditable decision
REQUEST & DATA FLOW (6)
- Client application → Guardrails (Checks rules)[HTTPS]
- Guardrails → Distributed cache (Gets feats)[RESP]
- Distributed cache → Inference server (Scores ML)[gRPC]
- Inference server → Data quality check (Checks lift)[HTTP]
- Data quality check → Client application (Decides)[HTTPS]
- Guardrails → OpenTelemetry Collector (Logs pair)[OTLP]