Rana Maninder Singh
Lesson 11 of 12Advanced AI Engineering & LLMOps

Governance, Operations & Incident Response for LLM Platforms

Lesson opener

In one line: Give every LLM use case an accountable owner, a place in an inventory, an approved scope and risk class, evidence-based change approval, a monitoring and audit cadence, and a rehearsed incident-response playbook, so that the organisation can both scale AI and stop it safely.

Why it matters: Technical controls decay without ownership. Models are updated by vendors, prompts are edited, someone connects a new data source, and a pilot quietly becomes a business-critical process. When an assistant produces something wrong, the first questions are always organisational: who owns it, what was it approved to do, what changed, what evidence did we have, who decides to switch it off and who tells the affected people. Governance answers them before the incident, and incident response uses the answers during it.

Before this lesson: Cost, Performance & Capacity. Principles of responsible AI and data governance are in AI Strategy & Responsible AI and Data Governance at Scale; introductory agent governance is in Security, Guardrails & Governance. This lesson builds the operating model for a platform with many use cases.

Northline Consumer Goods (illustrative) uses an assistant that drafts variance commentary for the monthly management pack from budget and actuals data. One month, commentary in the draft pack stated that a regional margin "improved due to lower freight costs". Freight data showed no such change; the explanation was fluent but unsupported. A finance manager noticed before the pack was finalised, but two regional managers had already used the draft in planning calls. The CFO asks: "Who owns this, was it approved for this, what changed, and what do we do now and next time?"

What you will be able to do

Deliverable: a governance operating model and incident-response playbook for the finance commentary assistant: roles, inventory entry, risk class, approved and prohibited uses, change-approval rules, monitoring and audit cadence, vendor plan, severity table, containment steps, communication plan, PIR template, benefits tracker and retirement criteria.

Prerequisites

PrerequisiteWhy it matters
Cost, Performance & CapacityBudget ownership and unit-cost reporting that governance reviews.
Production Deployment & ReliabilityRollback and kill-switch mechanisms the playbook uses.
Security, Privacy & Adversarial RiskRisk register and escalation to security.
LLM Observability, Tracing & Operational DashboardsTraces and alerts that evidence an incident and its scope.
LLM & Agent Evaluation EngineeringEvaluation evidence required for approval.
Prompt, Configuration & Release ManagementVersioned changes that approval gates control.
AI Strategy & Responsible AIOrganisational principles and risk appetite.
Data Governance at ScaleOwnership, stewardship and policy concepts.
Integration Governance & OperationsGovernance of the integrations the assistants use.
Month-End Close CapstoneThe finance process whose outputs the assistant supports.

Plain English

Accountable owner. Every AI use case has one named business owner who is accountable for its outcomes and risk acceptance, and a named technical owner who runs it. "The AI team" is not an owner. A RACI (Responsible, Accountable, Consulted, Informed) per decision clarifies who does what: approving a new use, approving a change, accepting residual risk, declaring an incident, deciding to roll back, informing affected people.

Inventory. A single register of all AI use cases, including shadow tools that teams bought themselves once discovered. Fields: identifier, purpose, business owner, technical owner, users, data sources and classes, tools and permissions, models and vendors with version identifiers, risk class, approved and prohibited uses, human-oversight design, evaluation evidence reference, last review date, next review date, monitoring dashboards, status (pilot, live, paused, retired). You cannot govern what is not listed.

Approved uses and risk class. State what the system may be used for and, as importantly, what it may not (for example "draft commentary for human review", not "publish commentary to investors" or "decide provisions"). A risk class (for example low, medium, high; proposals for the organisation to define) combines impact of a wrong output, degree of autonomy, data sensitivity, number and vulnerability of affected people, regulatory exposure and reversibility. Class sets the rigour: review frequency, approval level, evidence needed and human-oversight requirements. A use case is re-classified when scope, data or autonomy changes.

Documentation. A short, living record per use case: intended purpose and users, data and sources, architecture and tools, model and prompt versions, limitations and known failure modes, evaluation results and thresholds, human-oversight arrangements, monitoring plan, incident contacts. A model card or system card style summary is a useful template.

Change approval. Changes to the model, prompt, retrieval sources, tools, permissions, thresholds or scope follow a risk-based path: low-risk changes need technical review and passing evaluation; high-risk changes need the business owner's approval with evidence (evaluation results by slice, red-team results for tool or permission changes, rollback plan). The bundle versions from Prompt, Configuration & Release Management are what is approved, so approval refers to specific identifiers. Vendor model updates are changes: a provider updating or retiring a model version can change behaviour without any change on your side, so pin versions where possible, subscribe to vendor notices and re-run evaluation before moving.

Evidence. Approval is based on eval evidence: results from the golden set and slices from LLM & Agent Evaluation Engineering, red-team outcomes, and online-stage results (shadow, canary). Evidence has a date; stale evidence (older than the last material change) does not count.

Monitoring cadence and audit. Monitoring is continuous (dashboards and alerts from LLM Observability, Tracing & Operational Dashboards), but governance also needs a rhythm: weekly operational review, monthly owner review of quality, incidents, cost and benefits, and periodic risk-based audit (frequency by class). Audit checks that controls work and that evidence is real: sample traces against policy, confirm approvals existed for each change, test that the kill switch works, confirm access lists are current, and check that the inventory matches what is actually running. Internal audit or an independent function should be able to do this without relying on the build team's word.

Vendor dependency. Record each vendor, service, region, contract terms (data retention, training use, incident notification, deprecation notice), and a plan B: alternative model or provider, tested fallback, or a manual process. Track concentration risk (many use cases on one provider) and exit options.

Severity and incident response. An incident is an event where the AI system caused or could have caused harm, a policy breach or a material quality failure. Define severity levels that decide response speed and who is involved. Example proposals (to be set by the organisation):

SeverityTypical criteriaResponse
SEV1Personal-data exposure; unsupported or wrong output distributed externally or driving a material decisionImmediate containment, executive and legal or privacy notified, incident lead appointed
SEV2Wrong output reached business users and influenced work, or an approved control was bypassedContainment same day, owner and risk informed
SEV3Quality degradation affecting multiple users, no confirmed harmFix within the sprint, owner informed
SEV4Minor defect, caught before useBacklog, tracked for trends

Incident-response steps: (1) Detect and report: alert, user report or audit; (2) Triage: severity, owner, incident lead; (3) Contain: kill switch or disable the capability, stop distribution of affected outputs, preserve traces, versions and logs as evidence; (4) Assess scope: which outputs, users and decisions were affected, using traces; (5) Communicate: internal stakeholders, affected users, and external parties only through the approved route (legal, privacy, regulator or customer notifications are decided by the responsible functions, not by engineers); (6) Correct: recall or correct outputs and decisions; (7) Recover: fix, test, roll back to the last good bundle or relaunch with owner approval; (8) Learn: blameless post-incident review (PIR).

PIR. A written review within an agreed period (proposal: within five working days of containment) covering timeline, impact, root cause (technical and organisational), what worked, what did not, contributing factors, corrective actions with owners and due dates, and changes to evaluation, monitoring and policy. It is blameless: it asks how the system allowed the failure, not who to blame. Findings become regression cases and governance changes.

Benefits and retirement. Each use case states expected benefits (hours saved, errors avoided, response-time improvement, cost) with a baseline and a measurement method, and is reviewed against them. Retirement criteria are defined at launch: no owner, benefits not realised after an agreed period, usage below a threshold, cost exceeding value, vendor model end-of-life with no tested replacement, or unacceptable residual risk. Retirement includes disabling access, archiving or deleting data per policy, removing credentials and updating the inventory.

Teacher walkthrough

Build the governance model and incident playbook for the finance commentary assistant.

  1. Owner. The Head of FP&A is the accountable business owner; the platform lead is the technical owner; the CFO accepts residual risk for the high class; the risk and compliance lead chairs the quarterly review.
  2. Approved users. FP&A analysts and finance business partners, by named role. Regional managers receive commentary only through the finalised management pack, not directly from the assistant.
  3. Sources. Budget and actuals through read-only finance data tools, and the finance policy library. Source and tool versions are recorded in the inventory entry.
  4. Permissions. Read-only data access; the assistant drafts text and cannot publish, post or send; publication to the pack is performed by an analyst. Changes to the model, prompt, sources or scope need the approval path below.
  5. Inventory and risk class. Create the inventory entry with all fields listed in Plain English. Classify as high because commentary influences management decisions and may be quoted in external reporting; high class means 90-day review, owner approval for changes and mandatory human review of every draft.
  6. Approved and prohibited uses. Approved: draft variance commentary for review, using supplied numbers. Prohibited: publishing without review, introducing explanations not supported by supplied data, forecasts or provisions, and use for external reporting without separate approval.
  7. Documentation. Maintain the use-case record with limitations ("cannot know causes not in the data") and the required wording standard that every causal claim cites a data row or is marked as a hypothesis.
  8. Change approval and evidence. Any prompt, model, source or permission change requires evaluation evidence by slice (including a numeric-claims slice with a deterministic check that every figure in the commentary matches the source data), red-team results if tools or permissions change, a rollback plan and the Head of FP&A's approval referencing exact version identifiers. Vendor model notices are tracked; a provider's model change is treated as a change request.
  9. Monitoring and audit. Weekly review of sampled commentary for unsupported claims; monthly owner review of quality, incidents, cost and benefits; quarterly audit that checks approvals against change records, tests the kill switch and reviews access lists.
  10. Escalation. Any unsupported claim found in a distributed output escalates immediately to the Head of FP&A; SEV1 criteria escalate to the CFO and the privacy and legal functions; the incident lead is the platform on-call until the owner assigns one.
  11. Fallback. If the assistant is disabled, analysts write commentary manually from templates; the pack timeline does not depend on the assistant.
  12. Validation of the playbook. Run a tabletop exercise using the freight-claim scenario: detection, severity, containment, communication and PIR. Test the kill switch in staging and measure time to containment.
  13. Stop condition. Disable the assistant (kill switch) for any distributed unsupported financial claim, any control bypass or any evidence of data exposure; relaunch requires a completed PIR, a regression case that reproduces the failure and the owner's written approval.

Worked example

The script below implements two governance controls in miniature: an inventory audit and an incident classifier. The audit flags use cases with no accountable owner, overdue reviews (the cadence depends on risk class), live model identifiers that differ from the approved one, stale evaluation evidence and high-risk use cases without a human gate. It also checks a requested use against the approved list. The classifier applies the proposed severity table, and a PIR checker lists missing sections. Dates are fixed in the script so that the output is the same on every run. Use cases, dates and thresholds are synthetic. It uses only the Python standard library.

from datetime import date, timedelta

TODAY = date(2026, 10, 1)
CADENCE_DAYS = {"high": 90, "medium": 180, "low": 365}

INVENTORY = [
    {"id": "UC-01", "name": "Finance commentary assistant", "owner": "Head of FP&A", "risk": "high",
     "approved_uses": {"draft variance commentary for review"}, "approved_model": "model-a-2026-05",
     "live_model": "model-a-2026-09", "last_review": date(2026, 5, 20), "eval_date": date(2026, 5, 18),
     "human_gate": True, "vendor": "Provider A"},
    {"id": "UC-02", "name": "Support reply drafter", "owner": "Head of Support", "risk": "medium",
     "approved_uses": {"draft replies for agent review"}, "approved_model": "model-b-1",
     "live_model": "model-b-1", "last_review": date(2026, 8, 30), "eval_date": date(2026, 8, 28),
     "human_gate": True, "vendor": "Provider B"},
    {"id": "UC-03", "name": "Meeting summariser", "owner": "", "risk": "low",
     "approved_uses": {"summarise internal meetings"}, "approved_model": "model-b-1",
     "live_model": "model-b-1", "last_review": date(2025, 6, 1), "eval_date": date(2025, 5, 30),
     "human_gate": False, "vendor": "Provider B"},
]


def audit(inventory):
    findings = []
    for uc in inventory:
        if not uc["owner"]:
            findings.append((uc["id"], "no accountable owner"))
        due = uc["last_review"] + timedelta(days=CADENCE_DAYS[uc["risk"]])
        if due < TODAY:
            findings.append((uc["id"], f"review overdue since {due}"))
        if uc["live_model"] != uc["approved_model"]:
            findings.append((uc["id"], "live model differs from approved model: re-approve"))
        if uc["eval_date"] < uc["last_review"] - timedelta(days=30):
            findings.append((uc["id"], "evaluation evidence stale"))
        if uc["risk"] == "high" and not uc["human_gate"]:
            findings.append((uc["id"], "high risk without human gate"))
    return findings


def is_approved_use(uc, request):
    return request in uc["approved_uses"]


def severity(i):
    if i["personal_data_exposed"] or (i["external_distribution"] and i["decision_affected"]):
        return "SEV1"
    if i["external_distribution"] or i["decision_affected"]:
        return "SEV2"
    if i["users_affected"] > 10:
        return "SEV3"
    return "SEV4"


CONTAINMENT = ["disable feature via kill switch", "preserve traces and versions",
               "identify affected outputs and recipients", "notify owner and risk",
               "correct or recall outputs", "decide on rollback", "start PIR"]

incident = {"personal_data_exposed": False, "external_distribution": False,
            "decision_affected": True, "users_affected": 4}
print("findings:")
for f in audit(INVENTORY):
    print(" ", f)
print("approved use check:", is_approved_use(INVENTORY[0], "publish commentary to investors"))
print("severity:", severity(incident))
print("first containment step:", CONTAINMENT[0])

PIR_REQUIRED = {"timeline", "root_cause", "impact", "what_worked", "actions", "owners", "due_dates"}
pir = {"timeline": "...", "root_cause": "...", "impact": "...", "actions": ["add numeric check"]}
print("PIR missing sections:", sorted(PIR_REQUIRED - set(pir)))

benefit = {"target_hours_saved": 120, "measured_hours_saved": 85, "cost": 900}
print("benefit realised:", round(benefit["measured_hours_saved"] / benefit["target_hours_saved"], 2))

Expected output: four audit findings. UC-01 (the high-risk commentary assistant) has a review overdue since 2026-08-18 (last review 20 May plus the 90-day cadence for high risk) and its live model model-a-2026-09 differs from the approved model-a-2026-05, which is exactly the vendor-update trap: behaviour may have changed without approval. UC-03 has no accountable owner and its annual review has been overdue since 2026-06-01. UC-02 passes. The request "publish commentary to investors" is not an approved use (False). The freight incident classifies as SEV2 because a decision was affected (the planning calls) but nothing was distributed externally and no personal data was exposed. The first containment step is to disable the feature, and the sample PIR is missing due_dates, owners and what_worked. The benefit check shows 0.71 of the target hours saved, which the owner weighs against cost and risk at the monthly review. In practice the inventory would be a maintained system of record rather than a Python list, and the severity table would be agreed by the organisation.

A second workplace case

Northline's procurement team has been using a free contract-summary tool without telling anyone. A routine inventory exercise discovers it. Governance does not start with punishment: the tool is added to the inventory as shadow AI, the owner is identified, the data classes it has seen are assessed (contracts are confidential), the vendor's terms on retention and training use are reviewed, and a decision is made by the risk lead and procurement director: approve with conditions and an approved enterprise alternative, restrict to non-confidential contracts, or retire. The lesson is that an inventory and an amnesty-style discovery process bring hidden use into governance, while a pure ban tends to push it further out of sight.

Failure example

Symptom: The finance commentary assistant states that a margin improved "due to lower freight costs". The freight data does not show this. Two managers used the statement in planning calls before an analyst noticed.

Diagnosis: The prompt asked for "insightful commentary", which encouraged causal storytelling beyond the supplied numbers. The evaluation suite checked tone and format but had no check that every causal claim was supported by the data. A vendor model update three weeks earlier had not triggered re-evaluation because model changes were not in the change-approval process. The review of drafts was a quick read, not a claim check. The use case had no review since May.

Correction: Contain: disable the assistant and notify recipients of the draft that the commentary is unsupported. Correct: change the prompt to state only what the supplied data shows and to label hypotheses; add a deterministic check that every figure matches source data and a rubric check that every causal claim cites a data row; require analysts to confirm cited rows before publication. Govern: pin the model version, add vendor model updates to change approval, bring the review forward and re-baseline evaluation.

Validation: Re-run the golden set including the freight case and 20 variants; confirm unsupported-claim rate within threshold; run a tabletop exercise and a kill-switch drill; confirm the inventory entry and approvals reference the new version identifiers.

Prevention: Make "claims supported by supplied data" a release-gate metric, treat vendor changes as changes, enforce the review cadence automatically with overdue alerts and complete the PIR with owned actions.

Guided practice

Scenario: Northline's HR team has started using an assistant that screens internal job applications and ranks candidates. Nobody has registered it. Create the governance entry and decide the immediate steps.

Hints:

  1. Who must own it, and what risk class does it deserve?
  2. What uses should be approved, and what must be prohibited?
  3. What evidence would you require before it can continue?
  4. What should happen in the meantime?
  5. What would trigger retirement?

Complete solution:

Independent practice

Create a governance operating model and incident-response playbook for an LLM use case you know (for example "sales forecast commentary" or "customer complaint triage").

Acceptance criteria

Common mistakes

  1. Naming a team or a committee instead of a person as accountable owner.
  2. Keeping no inventory, so shadow AI and forgotten pilots go unreviewed.
  3. Approving a use case once and never reviewing it, even as its model, data and users change.
  4. Not treating vendor model updates and deprecations as changes that need re-evaluation.
  5. Approving on demonstrations instead of dated, sliced evaluation evidence.
  6. Defining approved uses but not prohibited uses, so scope creep goes unnoticed.
  7. Having no tested kill switch and no named authority to use it.
  8. Letting engineers decide on external communication or regulator notification.
  9. Running a PIR that assigns blame instead of fixing the system, or that produces no owned actions.
  10. Measuring no benefits, so low-value or risky use cases are never retired.
  11. Treating audit as a self-assessment by the build team.
  12. Ignoring the manual fallback, so the business cannot work when the assistant is off.

Quick check

  1. Why must the accountable owner be one named person from the business?
  2. Why is a vendor model update treated as a change request?
  3. In the worked example, why is the incident SEV2 and not SEV1?
  4. What is the first containment step, and why does it come before investigation?
  5. What are two features of a blameless PIR?

Answers:

  1. Accountability must be unambiguous so that someone accepts the risk, approves changes and makes decisions during an incident. A team or committee can be consulted, but it cannot be held to account in the same way, and a business owner understands the outcome that matters.
  2. A provider can change model behaviour without any change in your code or prompt, which can break quality or safety. Pinning versions, tracking notices and re-running evaluation before moving keeps the approval valid.
  3. A decision was affected, but nothing was distributed outside the organisation and no personal data was exposed. If it had been published externally or had driven a material decision, it would meet SEV1 criteria under the proposed table.
  4. Disable the feature through the kill switch. It stops further harm and the spread of affected outputs, and investigation can proceed safely while traces and versions are preserved.
  5. It focuses on how the system and process allowed the failure rather than on individuals, and it ends in specific corrective actions with owners and due dates, which feed regression cases and governance changes.

Quiz alignment

The quiz (QUIZ_LLMOPS11) covers accountable ownership, inventory, approved and prohibited uses, risk class, documentation, change approval, evidence, monitoring cadence, audit, vendor dependency, severity, containment, communication, rollback, PIR, benefits and retirement, using the finance commentary assistant and related cases.

Related resource

Organisation-wide AI usage policy templates and audit/incident checklists that complement this platform operating model: Enterprise AI Usage Policy Framework · AI Incident Response Playbook.

Lesson summary

Governance makes LLM operations accountable: one named owner, an inventory, approved and prohibited uses, a risk class that sets rigour, documentation and dated eval evidence, and change approval that covers vendor model updates. Monitor on a cadence, audit independently, manage vendor dependencies with a plan B, and keep a severity table, containment steps beginning with the kill switch, a communication route and a blameless PIR. Measure benefits and retire use cases that no longer justify their risk.

Bridge to the next lesson

The final lesson, Capstone: Enterprise LLM Platform, assembles everything in this course into one 22-part design pack for Northline: from enterprise sources through RAG, routing, agents, evaluation, observability, security, deployment and operations to executive value reporting.

Sources

Northline Consumer Goods, use cases, roles, dates, severity criteria and cadences are illustrative. Risk classes, severity definitions, review frequencies and notification duties must be set by the organisation's accountable owners with legal, privacy and risk functions.