← All live demos
ML Platform & Model Governance · Enterprise AI, FinTech & Trust Teams adl.modelops · ADL 0.5.1

Model Ops

Every model version earns its way to production.

ML model release management where candidates train only on steward-approved datasets, evaluation pass/fail flags must agree mathematically with recorded metric values and thresholds, reviewers can approve only after accuracy, fairness, and safety suites pass with zero failures, production promotion requires a completed canary and explicit superseding of any live version, running canaries over their error budget halt automatically every 15 minutes, and every production rollback requires four-eyes approval from a second SRE.

Declarative Domain Pipeline dataset (registered → steward approve → deprecated) · model → candidate (trained [approved dataset] → evaluations [accuracy · fairness · safety · latency · robustness; passedMatchesTheNumbers] → reviewer approve | reject → canary → rollout [traffic %, errorBudget; 15m auto-halt over budget] → complete | halt → promote [supersede prior production] → superseded | rolled_back → retire) · rollback (requested → second-SRE approve | reject → execute)
Model Ops landing page showing the live four-stage candidate promotion pipeline across 25 candidates and real-time PostgreSQL counts for production versions, running canaries, blocked evaluations, rollbacks, and unapproved datasets
The Model Ops landing page queries the live Kalos C++20/PostgreSQL backend on load to plot all 25 model candidates across Trained, Approved, Canary, Production, and off-path states alongside live counts of 8 production versions, 2 within-budget canaries, 1 fairness-blocked candidate, 121 evaluations, 2 pending four-eyes rollbacks, and 1 PII dataset awaiting its steward.

Why Model Ops Exists

ML platform teams ship fraud classifiers, search rankers, support summarizers, embedders, demand forecasters, computer-vision detectors, and trust-and-safety filters on weekly cadences. In most stacks, the rules that matter most — “never train on unreviewed PII,” “never waive fairness or safety,” “never jump past a canary to 100%,” and “never let one person roll back production unreviewed” — live scattered across CI scripts, wiki checklists, and Slack threads that anyone with deployment credentials or an API token can bypass.

In Model Ops, those release gates are compiled directly into the Kalos API server from backend/domain.yaml:

  • Approved training data in, honest evaluations recorded: No candidate can be created unless its referenced dataset is approved by a steward (trainOnlyOnApprovedData). Every evaluation validates passedMatchesTheNumbers on write so a metric worse than its threshold (higher_better or lower_better) can never be recorded as passed: true.
  • Mandatory accuracy, fairness, and safety before traffic: Moving a candidate from trained to approved is restricted to [reviewer, admin] and guarded by approveOnlyEvaluated, which queries PostgreSQL to confirm accuracy, fairness, and safety suites are all present and zero evaluations of any suite (latency and robustness included) failed.
  • Self-halting canaries, unambiguous production lineage, and four-eyes rollbacks: Traffic rollouts open only for candidates in canary (canaryOnlyForCanaries). Every 15 minutes, haltCanariesOverBudget automatically transitions any running rollout with errorRate > errorBudget to halted. Promotion requires a completed rollout (productionNeedsACompletedCanary) and zero other versions of that model in production (oneProductionVersionPerModel), while rolling a live model back requires a rollback approved by someone other than requestedBy (fourEyesOnRollbacks and rollBackOnlyUnderAnApprovedRollback).

The entire release platform — 6 audited resources, 5 RBAC roles, 4 coordinated state machines, 1 mathematical field-consistency validator, 7 cross-resource AEL rejection rules, 3 declarative views, a 15-minute error-budget circuit breaker, and transition history timelines — runs from a single ADL 0.5.1 suite (adl.modelops) on Kalos and PostgreSQL.

Inside the 10-Model, 25-Candidate Live Registry

Every record and transition in seeds/seed.yaml (generated deterministically by seeds/gen_seed.py) executes under privileges: user as the actual role-scoped actor (steward1, mle1, reviewer1, sre1, or sre2). Across 10 model families, 12 versioned datasets, 25 candidates, 121 evaluations, 22 canary rollouts, and 10 rollbacks, every governance path is live and inspectable:

  • 8 Active Production Models & Clean Retirements: card-fraud-score 1.1.0, catalog-search-ranker 1.1.1, comment-toxicity-filter 1.4.0, doc-embedder 1.1.1, home-feed-recs 5.0.0, store-demand-forecast 2.0.1, support-ticket-summarizer 2.0.1, and weld-defect-detector 3.2.0 serve production traffic, while 8 prior 1.0.0, 1.1.0, and 2.0.0 versions stand cleanly retired after superseding or hotfix rollbacks.
  • 3 Canary Candidates & 1 Halted Tokenizer Regression: weld-defect-detector 3.3.0 (5% traffic, 1.1% error rate vs 2.0% budget, 92 ms p95) and subscriber-churn 2.1.0 (10% traffic, 0.6% vs 2.0% budget, 41 ms p95) are actively running in liveCanaries; card-fraud-score 1.2.0 has completed its 10% canary (0.7% vs 2.0%) and waits for 1.1.0 to be superseded; and comment-toxicity-filter 1.5.0 passed all 5 offline suites only to spike to a 4.6% error rate (3× its 1.5% budget) within 20 minutes at 5% traffic — halting its rollout and leaving 1.4.0 untouched in production.
  • 2 Fairness Failures (failingEvaluations) & 1 Approved Queue: Both home-feed-recs 5.1.0 (rejected by reviewer1: “Group gap 0.071 against a 0.05 threshold.”) and delivery-eta 4.1.0 (still in trained, blocked by approveOnlyEvaluated) fail fairness (max_group_gap = 0.0710 > 0.0500), while support-ticket-summarizer 2.1.0 sits approved awaiting canary launch.
  • 10 Four-Eyes Rollbacks & 12 Governed Datasets: Five production rollbacks were approved by sre2 and executed ahead of 2.0.1 / 1.1.1 hotfixes; two (delivery-eta 4.0.0 and subscriber-churn 2.0.1) stand approved and rolled_back awaiting retirement; one (home-feed-recs 5.0.0) was rejected by sre2 after tracing the error spike to an upstream outage; and two (card-fraud-score 1.1.0 and weld-defect-detector 3.2.0, both requested by sre1) wait for sre2’s independent sign-off. Meanwhile, support-call-transcripts 2026-11 (containsPii: true, 118,000 rows) waits in registered for steward1, and completed-deliveries 2025-06 is deprecated.

How ADL Enforces Model Risk & Release Governance

When an AI safety board, model-risk auditor, or SRE lead inspects backend/domain.yaml, five declarative mechanisms guarantee that every invariant holds regardless of client or caller:

  1. Steward-gated training corpora (trainOnlyOnApprovedData): Creating a candidate evaluates some(query('dataset', { id: $record.dataset }), d => d.status != 'approved'), rejecting both unreviewed registered PII corpora (support-call-transcripts 2026-11) and deprecated exports (completed-deliveries 2025-06) before training lineage can be polluted.
  2. Self-verifying evaluation math & mandatory suites (passedMatchesTheNumbers & approveOnlyEvaluated): Every evaluation checks passed == ((direction == 'higher_better' && value >= threshold) || (direction == 'lower_better' && value <= threshold)) on ingestion, and candidate.approve verifies via query('evaluation', ...) that accuracy, fairness, and safety exist on the candidate with zero passed: false rows across all suites.
  3. State-locked canary traffic & 15-minute circuit breaking (canaryOnlyForCanaries & haltCanariesOverBudget): rollout.create rejects any candidate whose status is not canary, while the declarative haltCanariesOverBudget schedule scans status == 'running' && errorRate > errorBudget every 15 minutes and fires rollout.halt automatically.
  4. Completed-canary proof & single-version production (productionNeedsACompletedCanary & oneProductionVersionPerModel): candidate.promote requires at least one completed rollout on that candidate and zero existing production candidates for $record.model, forcing explicit supersede transitions and clean version handoffs.
  5. Four-eyes production rollback control (fourEyesOnRollbacks & rollBackOnlyUnderAnApprovedRollback): On rollback.approve, Kalos checks $record.approver == $record.requestedBy (422 "A different SRE must approve this rollback."), and candidate.rollBack refuses to pull a production version unless an approved or executed rollback exists for that candidate.

Zero Sign-Up · Live Kalos Sessions

Sit at a Bench and Try It Live

Each card below signs directly into a real role-scoped JWT session on the production Kalos backend so you can test role queues, transitions, and server refusals immediately.

mlengineer as mle1

ML Engineer

Register candidates against steward-approved datasets, test why training on unapproved PII dataset support-call-transcripts 2026-11 returns HTTP 422, record evaluation metrics validated by passedMatchesTheNumbers, request rollbacks, and retire superseded versions.

Launch mle1 bench ↗
reviewer as reviewer1

Model Reviewer

Inspect accuracy, fairness, safety, latency, and robustness suites across trained candidates, test the live HTTP 422 fairness refusal on delivery-eta 4.1.0 (0.071 group gap vs 0.05 threshold), or reject failing candidates with a mandatory reason.

Launch reviewer1 bench ↗
steward as steward1

Data Steward

Review registered PII dataset support-call-transcripts 2026-11 (118,000 rows containing customer names and phone numbers), audit steward attribution across 10 approved warehouse corpora, and deprecate superseded dataset exports.

Launch steward1 bench ↗
sre as sre1

Primary Release SRE

Monitor live running canaries against error budgets, test why promoting subscriber-churn 2.1.0 mid-canary or card-fraud-score 1.2.0 before superseding 1.1.0 returns HTTP 422, and verify why sre1 cannot approve sre1's own rollback requests.

Launch sre1 bench ↗
sre as sre2

Second Approver SRE

Act as the independent second pair of eyes on the 2 pending production rollback requests (card-fraud-score 1.1.0 and weld-defect-detector 3.2.0) submitted by sre1, or inspect why home-feed-recs 5.0.0's rollback was rejected after tracing a spike upstream.

Launch sre2 bench ↗

Production Interface Walkthrough

Inside Model Ops — Screen by Screen

Captured directly from the live Kalos deployment. Click any screenshot to inspect full resolution or jump straight to that screen in the running application.

01

Multi-Stage Model Promotion Board & Off-Path Ledger (promotionPipeline)

Signed in as mle1, the Pipeline console surfaces all 25 candidates across 10 model families: delivery-eta 4.1.0 blocked in Trained with 1 failing evaluation, support-ticket-summarizer 2.1.0 Approved awaiting its canary, 3 Canary candidates (card-fraud-score 1.2.0 waiting for 1.1.0 to be superseded, plus subscriber-churn 2.1.0 and weld-defect-detector 3.3.0 with live error-budget gauges), 8 Production versions (2 with pending rollback badges), and the Off the path audit table below.

Open Promotion Pipeline as ML Engineer (mle1) ↗
https://model-ops.infinity-sdg.com/app/#as=mle1 Full size ↗
Model Ops Pipeline console signed in as mle1 showing 25 candidates across Trained, Approved, Canary, and Production columns plus the Off the path table with retired, rejected, and rolled-back versions
02

Canary Rollouts, Error-Budget Gauges & Halted Regression Telemetry (liveCanaries)

Signed in as sre1, the Canaries view tracks all 22 canary rollouts against their error budgets and p95 latency telemetry. At the top sit the 2 live running rollouts surfaced by liveCanaries (weld-defect-detector 3.3.0 at 5% traffic, 1.1% of 2.0% budget, 92 ms p95; subscriber-churn 2.1.0 at 10% traffic, 0.6% of 2.0% budget, 41 ms p95), while comment-toxicity-filter 1.5.0 stands recorded in red as Halted at 4.6% against a 1.5% budget ('Error rate 3x budget within 20 minutes of the canary.').

Inspect Canaries & SRE rollout telemetry (sre1) ↗
https://model-ops.infinity-sdg.com/app/#as=sre1 Full size ↗
Model Ops Canaries view signed in as sre1 showing 2 running canaries within error budget, 19 completed rollouts, and the halted comment-toxicity-filter 1.5.0 canary at 4.6% of its 1.5% error budget
03

Candidate Lineage, Evaluations, History & Live 422 Four-Eyes Rollback Refusal

On production candidate card-fraud-score 1.1.0, one view joins all 5 passing evaluation suites, the completed 10% canary rollout (0.8% of 2.0%), dataset-to-team lineage (48.2M-row card-auth-events 2026-10 approved by steward1 → xgboost-2.1 artifact → Risk ML 40 ms p95 SLO), and chronological History events. Because sre1 requested the pending rollback, attempting to approve it as sre1 triggers an immediate Kalos HTTP 422 RULE_VIOLATION ('A different SRE must approve this rollback.' · fourEyesOnRollbacks).

Test four-eyes rollback & inspect lineage as sre1 ↗
https://model-ops.infinity-sdg.com/app/#as=sre1 Full size ↗
Model Ops candidate detail for card-fraud-score 1.1.0 signed in as sre1 showing a live 422 RULE_VIOLATION refusal for fourEyesOnRollbacks above 5 passing evaluations, completed rollout, lineage graph, and history timeline
04

Reviewer Workbench & Live 422 Evaluation Gate (failingEvaluations / approveOnlyEvaluated)

Signed in as reviewer1 on delivery-eta 4.1.0, accuracy (0.912 vs 0.85), latency (0.74 vs 1.0), and safety (0.0003 vs 0.001) all pass on steward-approved dataset completed-deliveries 2026-10, but fairness records max_group_gap = 0.071 against a 0.05 threshold (FAIL). Submitting Approve triggers an immediate Kalos HTTP 422 RULE_VIOLATION ('Accuracy, fairness and safety must be evaluated, and every evaluation must pass.' · approveOnlyEvaluated) with zero state mutation.

Sit at the Model Reviewer bench (reviewer1) ↗
https://model-ops.infinity-sdg.com/app/#as=reviewer1 Full size ↗
Model Ops candidate detail for delivery-eta 4.1.0 signed in as reviewer1 showing a live 422 RULE_VIOLATION refusal banner for approveOnlyEvaluated above a failing 0.071 fairness max_group_gap evaluation
05

Data Steward Governance: PII Hold, Approved Corpora & Deprecation (steward1)

Signed in as steward1, the Datasets ledger governs all 12 training corpora before any candidate can reference them: support-call-transcripts 2026-11 (118,000 call-centre transcripts containing customer names and phone numbers) is flagged PII in Registered awaiting steward sign-off, 10 warehouse exports carry steward1's approval across 186K to 210M rows, and completed-deliveries 2025-06 is marked Deprecated after an address-geocoding fix.

Open Data Steward governance bench (steward1) ↗
https://model-ops.infinity-sdg.com/app/#as=steward1 Full size ↗
Model Ops Datasets view signed in as steward1 showing PII-flagged support-call-transcripts 2026-11 in Registered state with an Approve as steward1 button above 10 approved datasets and 1 deprecated dataset
06

Interactive Live 422 Refusal Gates & Four-Role Operational Desks (#refusals)

The home page's 'Seven gates the server enforces' panel wires each AEL rule in backend/domain.yaml to a live Try it button that signs in as mle1, reviewer1, or sre1 and sends the forbidden REST payload to Kalos — displaying verbatim HTTP 422 RULE_VIOLATION refusals inline above the role-scoped engineering, review, and on-call SRE desk entry points.

Trigger all seven live 422 gates on the home page ↗
https://model-ops.infinity-sdg.com/#refusals Full size ↗
Model Ops Seven gates the server enforces section showing three live 422 RULE_VIOLATION responses from Try it buttons above Four roles, one record desk photography cards

Declarative Server Enforcement

What the Kalos Server Refuses — Whoever Asks

These invariants live in the ADL domain definition, not in client-side UI JavaScript. Every REST request is checked by Kalos before touching PostgreSQL, and any violation returns a structured error naming the rule.

Attempted Operation Enforced ADL Rule / Guard Regulatory Alignment
Register a model candidate trained on a registered or deprecated dataset not approved by a data steward trainOnlyOnApprovedData Training data provenance & PII stewardship
Record an evaluation whose passed boolean disagrees with its metric value, threshold, and direction passedMatchesTheNumbers Tamper-proof evaluation metric integrity
Approve a candidate missing accuracy, fairness, or safety evaluations — or with any failed evaluation suite approveOnlyEvaluated Mandatory AI safety, fairness & quality gating
Promote a candidate to production without a completed canary rollout on record productionNeedsACompletedCanary Progressive delivery & blast-radius control
Promote a candidate while another version of the same model family is still in production oneProductionVersionPerModel Unambiguous single-active-version lineage
Open a traffic-bearing canary rollout for a candidate that has not been approved and moved into canary canaryOnlyForCanaries State-machine-governed traffic routing
Approve a production rollback request as the same SRE or engineer who requested it fourEyesOnRollbacks Four-eyes production change control
Transition a production model version to rolled_back without an approved or executed rollback record rollBackOnlyUnderAnApprovedRollback Audited incident & rollback authorization

Domain Footprint

ADL Suite Inventory

Resources (6)

datasetmodelcandidateevaluationrolloutrollback

RBAC Roles (5)

mlengineerreviewerstewardsreadmin

Declarative Views (3)

promotionPipelinefailingEvaluationsliveCanaries