MLOPS FRAMEWORKS & DELTA LAKE OPTIMIZATION
How Haven Blueshore runs machine learning on operations telemetry — what is live, what is standard, and what is next.
Status labels
Every section on this page carries one label. Live — running in production today. Standard — the delivery standard we build to. Target — an alternative approach, defined here for engagements that call for it.
What runs today: SOC alert correlation Live
Fleet and Wazuh alerts arrive at an n8n correlation workflow. A language model (Ernie, free tier, temperature 0.2) decides for each alert whether to open a ticket, append to an open ticket, or suppress it. Alerts for the same host and rule within 4 hours are deduplicated into the open ticket. Wazuh alerts route to the Security group in Zammad; Fleet alerts route to NOC. Priorities run 1–4, with 4 meaning critical — active compromise, ransomware or malware, failed security controls on servers, or a critical outage.
The workflow was proven end to end with a synthetic level-15 ransomware alert, which opened a Security ticket at priority 4 with Tier 2 diagnostics appended. The test ticket was deleted afterwards; Zammad returned to zero open tickets.
Tier 2: Copilot diagnostics Live
Critical alerts (priority 3 or 4), or alerts that need local log inspection, escalate to a second tier: the GitHub Copilot CLI (model claude-haiku-4.5) running read-only inspection through a forced-command wrapper. The wrapper allows a small allowlist — container status and logs, disk usage — and denies destructive commands, container management, and unrestricted shell. The CLI never receives --allow-all-tools and never gets raw external alert text with an unrestricted shell, because that would be a prompt-injection path.
Tier 2 is diagnostics only. Nothing it reports changes production without human approval, and a Copilot failure never blocks a ticket — the workflow fails safe and the ticket still gets created.
L1 ticket triage Live
New Zammad tickets pass through an L1 triage workflow (Ernie) that enriches the ticket with an internal note. It never remediates, closes, or reassigns anything on its own. Ticket handling beyond triage is a human decision — the phone control plane is read and trigger only by design.
Where the data comes from Live
| Source | What it contributes | System of record |
|---|---|---|
| Wazuh | Security alerts, level 10 and above | Zammad (Security) |
| Fleet | Device posture, failing policies | Zammad (NOC) |
| Zabbix | Infrastructure metrics and trapper events | Zabbix |
| Snipe-IT | Asset lifecycle and ownership | Snipe-IT |
| Zammad | Tickets — the record of what happened | Zammad |
Open WebUI, backed by OpenRouter, is the chat front end for the agent layer. Agents answer from tool results, not from memory — a status report is only trusted when the tool actually ran.
Delta Lake: the telemetry data standard Standard
Telemetry lands in a Delta Lake laid out in three layers. Bronze holds raw events exactly as they arrive — Wazuh alerts, Fleet policy results, Zabbix metrics. Silver holds the same events deduplicated and normalized: one row per host and rule per window, timestamps in UTC, severities mapped to the 1–4 priority scale. Gold holds aggregates built for reporting: alert counts by host and rule, response times, and ticket outcomes.
Tables are partitioned by date and source, so a query over last week's Fleet data never scans the Wazuh archive. Optimize compacts small files on a schedule and vacuum reclaims the files optimize leaves behind. Z-ordering on host and rule keeps the correlation queries — the ones that ask "what else fired for this host and this rule?" — reading contiguous files.
This is the adopted data lake standard for telemetry — the layout new telemetry storage follows.
Model lifecycle Standard
- Prompts are versioned. A prompt change goes through the same review as a code change — the correlation workflow's prompt defines the priority scale, so changing it changes what "critical" means.
- Suppression stays a model decision, not a hard rule. The model decides create, append, or suppress per alert; the dedup window is the only hard rule.
- Evaluation uses synthetic alerts. The priority-4 ransomware test above is the pattern: a fixed synthetic alert set, a known expected outcome, and a check that the ticket landed with the right priority and group.
- Cost is a design constraint. Triage and correlation run on the free Ernie tier; Tier 2 runs on a lightweight model under a capped autopilot loop, inside a usage-based credit allowance.
What is next Target
- A fixed synthetic alert set as a standing evaluation harness, run on every prompt change.
- Drift monitoring on triage decisions — tracking how often the model suppresses, appends, or escalates over time, so a quiet change in behavior gets noticed.
- A feature store for the correlation queries, so host and rule history is read from one place instead of rebuilt per alert.
- Cost guardrails that cap Tier 2 invocations per alert storm, so a flood of critical alerts cannot exhaust the monthly credit allowance.
These are the next steps, in priority order, for engagements that call for them.
Architecture decisions Standard
ADR-001 — Ernie free tier for L1 triage and SOC correlation. Triage and correlation run on the free Ernie tier (baidu/ernie-5.5-flash-preview:free, temperature 0.2 for correlation). Decision: cost is a design constraint, so the $0 tier is the default for both workflows. Accepted trade-offs, both observed: free-tier models can be rate-limited or return empty content (gemma-4-31b-it:free returned a persistent 429; reasoning-heavy free models returned content:null), and a model answers from its own head if the tools are not enabled in the chat — so a status report is only trusted when the tool actually ran. If the free tier stops serving, the fallback is a paid frontier model through the same OpenRouter path, not a redesign.
ADR-002 — Copilot Tier 2 escalates on priority 3 or 4, or needs-local-logs. Critical alerts (priority 3 or 4) and alerts that need local log inspection escalate to the GitHub Copilot CLI (model claude-haiku-4.5) through a forced-command wrapper. Decision: escalation is narrow — only those two triggers — because Tier 2 runs on a usage-based credit allowance and because the CLI must never receive --allow-all-tools or raw external alert text with an unrestricted shell (prompt-injection path). The wrapper allowlists container status and logs plus disk usage, and denies destructive commands, container management, and docker inspect. A Copilot failure never blocks a ticket.
User requirements — URS outline Standard
Requirements for the MLOps delivery. No client is named — these are the requirements Haven builds to for any Pulse engagement.
- URS-ML-01. Every Fleet and Wazuh alert shall receive a correlation decision: open a ticket, append to an open ticket, or suppress.
- URS-ML-02. Alerts for the same host and rule within 4 hours shall be deduplicated into the open ticket, not opened as a new ticket.
- URS-ML-03. Priorities shall run 1–4, with 4 meaning critical — active compromise, ransomware or malware, failed security controls on servers, or a critical outage. Wazuh alerts shall route to the Security group; Fleet alerts to NOC.
- URS-ML-04. Priority 3 or 4 alerts, and alerts needing local log inspection, shall escalate to Tier 2 Copilot diagnostics; Tier 2 is diagnostics only and shall never change production without human approval.
- URS-ML-05. L1 triage shall enrich only — it shall never remediate, close, or reassign a ticket on its own.
- URS-ML-06. A model or tool failure shall fail safe to a human-readable ticket, never to silence.
Test scripts Standard
Standing scripts for the live SOC and triage pieces. Each script is a procedure to run; the completed runs noted below are the only runs claimed.
- TS-ML-01 — SOC end-to-end. Inject a synthetic Wazuh level-15 ransomware alert. Expect: a Security ticket at priority 4 with Tier 2 diagnostics appended, and an L1 triage note at normal priority. Delete the test ticket afterwards; Zammad returns to zero open tickets. Completed run: Nov 17, 2026 — passed (ticket #66056, priority 4, Tier 2 diagnostics appended).
- TS-ML-02 — Tier 2 CLI and model. Prove the Copilot CLI runs (version 1.0.112) with model claude-haiku-4.5 and that an invalid model id is rejected. First run: Nov 14, 2026 — passed (gpt-5-mini proved invalid; claude-haiku-4.5 accepted).
- TS-ML-03 — Tier 2 wrapper allowlist. Prove allowed commands (container status, container logs, disk usage) pass and denied commands (destructive commands, container management, docker inspect) are refused. First run: Nov 14, 2026 — passed.
- TS-ML-04 — Tier 2 escalation triggers. Prove escalation fires on priority 3, on priority 4, and on a needs-local-logs flag, and does not fire on lower priorities without the flag. First run: Nov 14, 2026 — passed.
- TS-ML-05 — Tier 2 fail-safe. Prove a Copilot failure still leaves the ticket created and routed correctly. First run: Nov 14, 2026 — passed.
Known edge case: a critical alert recurring within 4 hours for the same host and rule appends to the open ticket instead of opening a new Critical ticket — that is the existing dedup behavior, not a bug.
BPA and AI-orchestration benchmarks Standard
This track defines the capability measures re-evaluated yearly.
- Triage accuracy — share of L1-triaged tickets routed to the correct group with the correct priority.
- Correlation decisions — share of alerts where create / append / suppress matched the expected outcome on the fixed synthetic alert set.
- Tier 2 diagnostic usefulness — share of escalated alerts where the appended diagnostics identified the cause or the next step.
- Response-time distribution — time from alert arrival to ticket creation, by priority.
- Suppression rate — share of alerts suppressed, tracked over time so a quiet change in model behavior gets noticed.
- Cost per alert — Tier 2 credit usage per alert storm, against the monthly allowance.
Re-evaluation is yearly, against the same fixed synthetic alert set used by the test scripts. The baseline measurement approach is set out in the engagement's delivery plan.
Guardrails
- Read-only inspection only — no agent writes to production without human approval.
- No --allow-all-tools, no unrestricted shell, no raw external alert text into a privileged prompt.
- Fail closed: a tool or model failure degrades to a human-readable ticket, never to silence.
- Sections are labeled Live, Standard, or Target.