CSE Roadmap

Common tier · about 3 hours · 4 parts

Part 2 of 4 · 11 min read

Definitions

Covers: Definitions; The lifecycle and the controls and more.

Definitions

SLI, SLO, error budget

  • SLI: a measured indicator, such as the share of requests that succeed.
  • SLO: the target for it, such as 99 percent.
  • Error budget: the allowed failure, here 1 percent of requests.

Burn rate

  • Burn rate: the observed error rate divided by the error budget; 10 means the budget is being consumed ten times too fast.

Kill switch

  • Kill switch: a control that disables a capability immediately without a deploy, scoped (tool, tenant, global) and fail-closed.

MTTD, MTTA, MTTM, MTTR

  • Time to detect, acknowledge, mitigate, resolve: measured from the start of the incident to each event, averaged over incidents.

Runbook

  • Runbook: the written procedure tied to one alert.

Blameless post-mortem

  • Blameless post-mortem: a written review focused on system causes and actions, not individual fault.

Game day

  • Game day: a rehearsal where a failure is injected or simulated to test alerts, switches and people.

The lifecycle and the controls

AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYTo0OWNhMTFkNy01NzZmLTQyNGQtODYwMi1iZTI4NzJlY2FhMDMAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaLBANOBoKK7GML1S3HJUo8IAAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDozNzUzY2VmMi1iMmQyLTRjNmYtYjBmYi03YzAyOGVlMjdmNTlscmVsYXRpb25zaGlwaHBhcmVudE9mAAAB4mp1bWIAAABBanVtZGNib3IAEQAQgAAAqgA4m3ETYzJwYS5hY3Rpb25zLnYyAAAAABhjMnNoRfyeg8lro/y+6almBDavoAAAAZljYm9yomdhY3Rpb25zgqJmYWN0aW9ua2MycGEub3BlbmVkanBhcm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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQFVGk3ybrgCYt/z0lnlQMDEVpPWq6gx3aVwE8+sBEjfogqJq8vrtOdBPXPI+keMw2Rhr1kZ0O6DyZpH6eAxrQVE=An incident, from first bad action to learning; the clocks you measure are the improvement targetsstartbad release,provider fault,attackdetectalert orcustomeracknowledgeon-call owns it,sets severitymitigatekill switch,rollback, fallbackresolveroot cause fixed,switches offlearnblamelesspost-mortemtime to detect (alerts, SLOs, canary)time to mitigate (switches, runbooks, rollback)time to resolveMitigate first, diagnose second: stopping harm beats understanding it.Fail-closed scoped switches (tool, tenant, global) with a logged who and why; practise them before you need them.Every runbook entry names a control, an owner and the last drill date.Post-mortems are blameless, with owned and dated actions for prevent, detect and mitigate.
The incident lifecycle with the three clocks, and the rules that keep response fast.

Results

Rule on simulated traffic (assumed) Sudden outage, minutes to page Slow burn, minutes to page False pages in 7 quiet days
1-minute error rate above 5% 0 24 (by chance) 44
Multi-window burn rate 5 75 2
Cost alert Result
Runaway loop raising spend from $0.20 to $3.00 per minute at minute 300, budget $30 per hour, 15-minute window first page at minute 301
Mitigation (5 bad actions per minute, detected at minute 8) Minutes until harm stops Bad actions Legitimate actions blocked
Wait for a fix (60 min) 68 340 0
Roll back the release (15 min) 23 115 0
Kill switch, left on 60 min 10 50 720
Kill switch, lifted at rollback (15 min) 10 50 156
AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYTowOWFmOGQwMy1hZmQ3LTQzMWYtOThmZS03ZDY0Y2U0ZTAzNTYAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaGUyFO+kxtP0p4te4pRAyEsAAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDo2Y2Q1Mjg5Mi1hOWRlLTQ4MDgtOTg3MC1lZDRlNTlkNDQxMjlscmVsYXRpb25zaGlwaHBhcmVudE9mAAAB4mp1bWIAAABBanVtZGNib3IAEQAQgAAAqgA4m3ETYzJwYS5hY3Rpb25zLnYyAAAAABhjMnNo86fQHn1oKWL2kFB+fVx7aQAAAZljYm9yomdhY3Rpb25zgqJmYWN0aW9ua2MycGEub3BlbmVkanBhcmFtZXRlcnOha2luZ3JlZGllbnRzgaJjdXJseC1zZWxmI2p1bWJmPWMycGEuYXNzZ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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQFBsI9VtZZisDF72JgFpEFPhwzlTq0Y8YB+xPSpj9QaGb36u9ibBzUZfizUbVlNri+E9pbMR2uLDp4Tphq9aCZI=Alert rules on simulated traffic, and what each mitigation costs (all inputs assumed)Detection delay in minutes and false pages over 7 noise-only dayssudden outage (40% errors)0 (1-min threshold)5 (burn rate)slow burn (3% errors for 4 h)2475false pages in 7 quiet days442Harm until the fault stops (5 bad actions/min, detected after 8 min)wait for a fix (60 min)340 bad actions; 0 legit blockedroll back the release115 bad actions; 0 legit blockedkill switch, left on 60 min50 bad actions; 720 legit blockedkill switch, lifted at rollback (15 min)50 bad actions; 156 legit blockedSwitches trade a little legitimate work for a large cut in harm; a rollback alone leaves 115 bad actions.
Alert rules on simulated traffic, and the cost of each mitigation.
  1. Burn rate trades a few minutes of delay for far fewer false pages, and it is the one that notices slow degradation reliably.
  2. A narrow kill switch plus a rollback gave the least total harm in this scenario.
  3. The threshold rule's 24-minute slow-burn catch was luck, not detection; do not read it as a strength.

Design rules

  • Page on user-visible symptoms (errors, latency, wrong actions, cost) rather than on every internal cause.
  • Use burn-rate alerts for availability and quality signals; keep a simple threshold for hard limits such as spend.
  • Every page needs a runbook and an owner; delete pages nobody acts on.
  • Build the kill switches before you need them: per tool, per tenant, global; fail closed; logged with who and why; tested monthly.
  • Make rollback one command and rehearse it (module 8, module 9).
  • Separate roles in a serious incident: commander, fixer, communicator.
  • Communicate: status updates at a fixed cadence; for customer data incidents, follow your notification duties (Level 10 module 10) and ask counsel, since this module is not legal advice.
  • Preserve evidence: traces, journals and the audit chain (Level 10 module 9); do not delete logs while mitigating.
  • Write the post-mortem within days, blameless, with owned and dated actions; track them to completion.
  • Turn every incident into an eval, an alert or a control.

Interview questions, with the follow-ups

Your support agent started issuing wrong refunds. What do you do?

"Acknowledge and set severity; money moved makes it at least SEV2. Mitigate first: flip the refund tool kill switch so the agent can no longer issue refunds and route those cases to humans, accepting that legitimate refunds wait. Then check recent releases through the manifest; if a prompt or model change is the cause, roll back, then lift the switch. Preserve the traces, list the affected refunds from the audit log, fix them with the customers, and write a blameless post-mortem with an eval for the case, an alert on refund rate, and tighter approval limits." Follow-up: "How do you know the scope?" Trace and journal records tagged with release id and tenant (Level 9, module 9) plus the tool-call audit log.

How do you design alerting for an agent system?

"Symptom-based, with burn-rate alerts on success rate and quality proxies, plus agent-specific signals: cost per minute, steps per run, tool errors, escalation rate and eval or replay drift. Every page has an owner and a runbook, and I review pages monthly to remove noisy ones. In a simulation, burn rate cut false pages from 44 to 2 in a week at the cost of a few minutes' delay." Follow-up: "What about slow quality drift?" A scheduled replay or eval on production samples with a threshold and a trend alert (module 9, Level 9).

What goes in a post-mortem?

"Summary, impact, timeline with the incident clocks, root causes plural including contributing factors, how it was detected and why not sooner, what went well, and action items each with owner, due date and a kind: prevent, detect or mitigate. It is blameless, so it asks why the system allowed it." Follow-up: "How do you stop actions being ignored?" Track them like work items with owners and review them in a recurring meeting.

An agent leaks one tenant's data to another. What now?

"SEV1. Pause the affected tenants or the feature with a scoped switch, stop the leak path, preserve evidence, identify exactly which data went where using the audit log, notify according to contractual and legal duties with counsel, then fix the isolation bug (module 7) and add a regression test." Follow-up: "How would you have caught it earlier?" Canary tests with seeded cross-tenant probes and alerts on cross-tenant access denials.

Common mistakes

  • Diagnosing before mitigating.
  • No kill switch, or one that needs a deploy.
  • Kill switches that fail open or have no audit trail.
  • Alerting on every spike, leading to ignored pages.
  • Runbooks that say "investigate" or were never drilled.
  • Treating wrong actions like downtime: forgetting to find and repair what the agent already did.
  • Deleting logs or traces while cleaning up.
  • Blameful post-mortems, so people hide information next time.
  • One root cause only and no actions that improve detection.
  • Actions without owners or dates.

What the example does not do

  • No real paging, dashboard or on-call process; only alert rules over a simulated series.
  • The noise model is mine: real error series are bursty, seasonal and correlated, so false-page counts will differ.
  • Burn-rate windows and factors are common choices, not tuned; tune them to your traffic and tolerance.
  • The harm simulation is a straight line: real incidents have ramps, partial fixes and side effects.
  • Severity rules are illustrative, not an industry standard; the legal and contractual notification duties are not modelled and need counsel.
  • The post-mortem checker only tests structure and a short list of blame words; it cannot judge quality.
  • Optional real experiment (I did not run this): hold a one-hour game day on your own system: inject a bad prompt in staging, time detection, flip a kill switch and roll back, then write the post-mortem and run check_postmortem on it.

Check yourself

A refund bug sends 5 wrong refunds a minute and was detected after 8 minutes. Compare waiting for a fix (60 minutes), rolling back (15) and a kill switch (2). (340, 115 and 50 bad actions. The kill switch stops the harm fastest, at the cost of blocking legitimate refunds while it is on.)

For the curious Alert on burn rate, not a single noisy minute

A static 1-minute error threshold is fast but noisy. A multi-window burn-rate rule pages only when the error budget burns fast over both a short and a long window. The series are simulated at 200 requests a minute with assumed noise. A runbook that says investigate has no mitigation: each needs an owner, a concrete switch, flag or rollback, an escalation path and a recent drill.

What you will use daily at work

Practice What it looks like
Mitigate first, diagnose second Disable a tool, fall back, require approval, pause a tenant, or stop.
Keep scoped kill switches with an audit trail Who, why and when.
Write the runbook before the incident Owner, first check, mitigation, rollback, escalation, last drill.
Hold a blameless post-mortem Plural root causes and owned action items.

Draft: confirm your paging tool, on-call rota and incident-reporting duties with your team and counsel.

What you must be able to say (one page)

  • An incident is any event that harms users or the business and needs a coordinated response. For agents the usual causes are a bad release (prompt, model or tool change), a provider fault, a runaway loop or cost spike, a cross-tenant leak, a prompt-injection exploit, or wrong actions (refunds, emails) at scale. The lifecycle is start, detect, acknowledge, mitigate, resolve, learn; the clocks time to detect, time to mitigate and time to resolve are the numbers you improve.
  • Mitigate first, diagnose second. Stopping the harm beats understanding it. The mitigation ladder, from narrowest to widest: disable one tool, switch to a fallback model, require human approval for all writes, pause one tenant, global stop. Roll back a release (module 9) when a release caused it. Kill switches must be scoped, fail-closed, logged (who and why) and practised.
  • Alert on symptoms users feel, with rules that resist noise. A static "1-minute error rate above 5%" rule is fast but noisy; a multi-window burn-rate rule pages only when the error budget burns fast over both a short and a long window. In my simulation (200 requests per minute, assumed noise): on a sudden 40% outage the threshold rule paged at minute 0 and burn rate at minute 5; on a slow 3% burn for 4 hours the threshold rule paged at minute 24 only by chance, because random 1-minute spikes crossed 5%, and burn rate paged at 75; over 7 noise-only days the threshold rule paged 44 times, burn rate 2. Noisy pages train people to ignore them. Agent-specific signals to alert on: cost per minute, steps per run, tool error rate, approval queue depth, guardrail block rate, eval or replay drift (module 9), and refusal or escalation rate changes.
  • Severity decides who wakes up and how fast. Example rules (mine, illustrative): data exposure or large money movement is SEV1; low availability, many tenants or any money moved is SEV2; wrong answers or mild degradation is SEV3. A cross-tenant leak is SEV1 regardless of size (module 7, Level 10 module 10 for notification duties). Say who is incident commander, who communicates, and who fixes.
  • Mitigation is a trade. Simulated refund bug (5 bad actions per minute, detected after 8 minutes, all inputs assumed): waiting for a fix for 60 minutes means 340 bad actions; a rollback that takes 15 minutes means 115; a kill switch on the refund tool that takes 2 minutes means 50, at the cost of blocking legitimate refunds (720 if left on for an hour, 156 if lifted when the rollback lands at minute 15). A narrow, fast switch plus a rollback beat either alone.
  • Runbooks are for the 3 a.m. brain. Each alert maps to a runbook with: owner, severity, first check, a concrete mitigation (a switch, a flag or a rollback command), rollback, who to escalate to, and the date it was last drilled. A runbook that says "investigate" has no mitigation. Practise with game days; stale runbooks fail when needed.
  • The post-mortem is the improvement mechanism, and it is blameless. Required parts: summary, impact, timeline, root causes plural (contributing factors), how it was detected, what went well, and action items with an owner, a due date and a kind (prevent, detect or mitigate). Blameless means asking why the system allowed the mistake, not who made it. The usual agent-specific actions: add an eval for the failing case, add an alert for the symptom, add or tighten a kill switch, improve approval limits (Level 10 module 9), add the case to the replay set (module 9).
  • Safe-change patterns reduce incidents: shadow mode (new version sees real inputs, outputs not served), canary with automatic rollback (module 8), eval gates, per-run budget caps (module 5), and human approval for irreversible actions.
  • Honest limits: the simulations are small and the noise model, rates and severity rules are mine and assumed; no real incident process was run here.