All courses / AI Operations / Module 2 / Chapter 10
Learning objectives
After the lesson the participant can:
- Write a runbook manifest with action class, level, preconditions, independent probe, rollback or hold, stop and owner
- Classify remediation actions by tier and assign a defensible ceiling to each
- Explain why a durable workflow engine does not guarantee that an effect happens once
- Argue both the case for concern and the case for calm on autonomous remediation, and state the chapter's verdict
Key concepts
- Runbook manifest
- The runbook written so that a policy engine, a person and an agent read the same thing: an RBK record with a trigger, an action class, a level, explicit preconditions, an independent probe, a rollback or hold, a stop and an owner with a review date.
- Four remediation tiers
- Distinguished by who acts and who approves: the system notifies (Level 0 Advisory), proposes while a person executes (Level 1 Assisted), executes each action with a named person's approval (Level 2 Supervised), or executes a catalogued runbook within a mandate (Level 3 Bounded).
- Self-verification
- The common failure in which an agent restarts a process and checks the process's own health endpoint: it has verified that the process answers, not that the service is better. Verification must be independent in identity, data path and failure domain, with a soak period.
- Retry storms and duplicate effects
- Retries make engines resilient and are also the mechanism of failure. Engines guarantee that a procedure progresses, not that its effect happens once, so idempotency keys, retry limits with back-off and a counter held outside the engine are conditions of delegation.
- The last line
- Backup and restore when remediation and rollback fail: offline or immutable copies, a segregated restore target, a restore path that does not depend on the failed system, and rehearsed restores. The cut-over of a restore over existing data is a named person's decision.
Interactive exercises
Do them here and get feedback at once. Choose a card and then where it belongs, or drag it.
Interactive exercise 1 · Put in order
Four tiers of remediation
Order the tiers of remediation from the lowest degree of delegation to the highest that the chapter uses for O4 Restore.
Interactive exercise 2 · Sort
The first catalogue at Hansa Mutual
Sort each of the chapter's first actions by the ceiling that the Hansa Mutual column of the table gives an agent.
Teaching plan
| 20 min | The teacher presents the five ways of restoring ordered by consequence, the runbook manifest RBK-HM-0007 and why its preconditions protect capacity as well as correctness. |
| 20 min | Participants sort the first ten actions by class and compare the Hansa Mutual and Nordvik Region ceilings, explaining why scale in is not the mirror of scale out. |
| 15 min | Input on safe execution, on what the engine enforces against what the policy decision point enforces, and on the GitLab.com case of January 2017 as a last line that failed. |
| 25 min | Structured debate in four steps: one group states the case for concern, one the case for calm, then both find where the positions meet and what can be done. |
| 30 min | Exercise: participants write a runbook manifest a machine may run. |
| 10 min | Debrief with the verdict per action class and its labels observable, expected and speculation. |
Discussion
- A restart that clears a condition also clears the evidence. What must a runbook preserve before it acts, and who needs that evidence afterwards?
- The case for calm argues that a bounded agent is more accountable than the alternative. What does an action under a manifest leave behind that a person at a console at night does not?
- Why does the chapter treat restore over existing data as a named person's decision even when the agent can prepare the target and run the integrity checks?
Written exercise
Exercise · 30 minutes
A runbook a machine may run
Choose one known condition on one service, for example an unhealthy stateless instance or a certificate within its renewal window. Write the manifest: the alert or objective burn that triggers it, the action class and level, explicit preconditions including a capacity precondition, the evidence to preserve before acting, a dry-run step, limits on targets per run and runs per target, the independent probe with a soak period and passing rule, the rollback or hold, the stop and who holds it outside the agent's platform, and the owner with a review date. State how the manifest will be tested against a seeded fault in an authorised, scoped run.
Deliverable: A runbook manifest with trigger, class, level, preconditions, limits, independent probe, rollback or hold, stop holders, owner and a planned seeded-fault test.
Self-test
Choose an answer to see whether it is right, or open the answer below each question.
How does the chapter treat a request that an agent silence, mute, re-threshold or disable an alert, a probe or a check as part of remediation?
Show the answer
D. Not delegated at any level
Such an action removes the means by which the other safeguards are checked. It heads the list of actions an agent may not take and is not delegated at any level.What is the chapter's verdict on unattended recovery of whole estates, in which agents diagnose, choose, execute and verify across services?
Show the answer
C. Speculation, on the evidence examined
Bounded remediation of narrow reversible classes is observable, widening to reconfigure, roll back and perhaps failover is expected where evidence is recorded, and unattended recovery of whole estates is speculation.In the split between engine and policy decision point, where must the stop for a runbook run ultimately be enforced?
Show the answer
B. By revocation of the credential and a deny entry, outside the platform
The engine has a cancel signal, but the rule is that an engine may enforce only a control that its operators alone can edit. The stop is backed outside the platform by revoking the credential and a deny entry.