ARCHOS 525 BLUEPRINT · /d/dgm_agent-eval-regression-gating-ci
Regression gating: evals in CI and release
10 COMPONENTS · 10 FLOWS · UPDATED 2026-11-21
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_agent-eval-regression-gating-ci) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_agent-eval-regression-gating-ci)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_agent-eval-regression-gating-ci" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Regression gating: evals in CI and release — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0[("Web Client")]
sink_1[("Web Client")]
gw_2["API gateway"]
secrets_3[("Secrets manager")]
ci_4["CI runner"]
eval_5[("Evaluation service")]
registry_6[("Prompt and config registry")]
tsdb_7[("Time-series database (TSDB)")]
alerting_8[("Alerting")]
capacity_9["Capacity Estimate"]
client_0 -->|"1. Pushes with JWT · HTTPS"| gw_2
gw_2 -->|"2. Calls (mTLS) · HTTP/2"| ci_4
ci_4 -->|"3. Runs evals · HTTP/2"| eval_5
eval_5 -->|"4. Sends verdict · HTTP/2"| ci_4
ci_4 -->|"5. Promotes on allow · HTTP/2"| registry_6
registry_6 -->|"6. Serves (JWT) · HTTPS"| sink_1
secrets_3 -->|"Supplies credentials · HTTPS"| ci_4
ci_4 -->|"Exports (OTLP) · OTLP"| tsdb_7
alerting_8 -->|"Queries series · HTTP"| tsdb_7
eval_5 -->|"Reads set, rules · HTTP/2"| registry_6COMPONENT STACK (9)
- Web ClientSTATEFULDeveloper who pushes a prompt or model change
- Web ClientSTATEFULOutside our boundary: app that pulls the canary
- API gatewaySTATELESSChecks JWT and role, stamps a trace id
- Secrets managerSTATEFULHolds the CI runner credentials
- CI runnerSTATELESSRuns the gate job, promotes on allow
- Evaluation serviceSTATEFULScores both configs on one set, decides
- Prompt and config registrySTATEFULPinned set, gate rules, canary pointer
- Time-series database (TSDB)STATEFULCounts runs, verdicts and promotions
- AlertingSTATEFULPages on-call when a run gets no verdict
REQUEST & DATA FLOW (10)
- Web Client → API gateway (Pushes with JWT)[HTTPS]
- API gateway → CI runner (Calls (mTLS))[HTTP/2]
- CI runner → Evaluation service (Runs evals)[HTTP/2]
- Evaluation service → CI runner (Sends verdict)[HTTP/2]
- CI runner → Prompt and config registry (Promotes on allow)[HTTP/2]
- Prompt and config registry → Web Client (Serves (JWT))[HTTPS]
- Secrets manager → CI runner (Supplies credentials)[HTTPS]
- CI runner → Time-series database (TSDB) (Exports (OTLP))[OTLP]
- Alerting → Time-series database (TSDB) (Queries series)[HTTP]
- Evaluation service → Prompt and config registry (Reads set, rules)[HTTP/2]