Skip to main content
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
[![Regression gating: evals in CI and release — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_agent-eval-regression-gating-ci/opengraph-image)](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_6

COMPONENT STACK (9)

  • Web ClientSTATEFUL
    Developer who pushes a prompt or model change
  • Web ClientSTATEFUL
    Outside our boundary: app that pulls the canary
  • API gatewaySTATELESS
    Checks JWT and role, stamps a trace id
  • Secrets managerSTATEFUL
    Holds the CI runner credentials
  • CI runnerSTATELESS
    Runs the gate job, promotes on allow
  • Evaluation serviceSTATEFUL
    Scores both configs on one set, decides
  • Prompt and config registrySTATEFUL
    Pinned set, gate rules, canary pointer
  • Time-series database (TSDB)STATEFUL
    Counts runs, verdicts and promotions
  • AlertingSTATEFUL
    Pages on-call when a run gets no verdict

REQUEST & DATA FLOW (10)

  1. Web Client → API gateway (Pushes with JWT)[HTTPS]
  2. API gateway → CI runner (Calls (mTLS))[HTTP/2]
  3. CI runner → Evaluation service (Runs evals)[HTTP/2]
  4. Evaluation service → CI runner (Sends verdict)[HTTP/2]
  5. CI runner → Prompt and config registry (Promotes on allow)[HTTP/2]
  6. Prompt and config registry → Web Client (Serves (JWT))[HTTPS]
  7. Secrets manager → CI runner (Supplies credentials)[HTTPS]
  8. CI runner → Time-series database (TSDB) (Exports (OTLP))[OTLP]
  9. Alerting → Time-series database (TSDB) (Queries series)[HTTP]
  10. Evaluation service → Prompt and config registry (Reads set, rules)[HTTP/2]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →