Chapter 22 · Course 2 c22-m02
Can someone else follow the guide?
Your goal Write a runbook Noor can use to diagnose, preserve, pause, and verify a suspicious replay.
The lesson, the vocabulary, the worked example and the mission are separate blocks. You can follow them in order or return to the one you need.
Video explanation
This English explanation has English subtitles. Its examples may use a separate practice dataset; use the data stated in the written mission for your answers.
Story · optional context
The story so far
You are Aster Motors' data recruit. Luca was hurt when a shell resembling Noctis 01 crashed; a changed register falsely accused you. The real prototype has been found, and payment and insurance clues suggest fraud still under investigation. Noor takes over the dossier used by Luca and Imani. A false line in your name reappears after Voss's personal access was revoked. The inventory reveals a scheduled_replay task without a confirmed owner. Noor must be able to act without relying on your memory.
This lesson stands alone. A runbook is a procedure another person can follow during a problem. It states prerequisites, diagnostic checks, permitted actions, recovery, and how to verify the result. You will write and try a guide on a copy for the reappearing line. It must preserve logs and stream positions before pausing the task so the clue is not lost.
Before the lesson
Purpose of this course
Write a runbook Noor can use to diagnose, preserve, pause, and verify a suspicious replay.
Topics covered
State prerequisites and approvals before intervention.; Order diagnosis and evidence preservation ahead of stopping a task.; Describe restoration of a known view without altering raw evidence.; Have Noor follow the guide in an exercise and fix unclear steps.
What you will learn
- State prerequisites and approvals before intervention.
- Order diagnosis and evidence preservation ahead of stopping a task.
- Describe restoration of a known view without altering raw evidence.
- Have Noor follow the guide in an exercise and fix unclear steps.
PART 1 · THE LESSON
Understand step by step
Lesson · explanation
An incident guide must work without its author
You are Aster Motors' new data engineer. Luca was injured in a shell resembling Noctis 01. A false authorization in your name appeared in the register and returned after Voss's personal access was removed. The real prototype has been found, while Imani continues checking payments and insurance. Noor is taking over the timeline service. A task called scheduled_replay exists, but no human requester has been confirmed. This lesson stands alone: you will write the guide Noor needs if the row appears again.
A runbook is a procedure for someone responding to a problem. Picture a card beside a fire alarm: it should explain how to recognize the alarm, whom to call, which doors to check, and where people should be safe. 'Fix it quickly' is not an instruction. A data runbook must name the environment, required rights, evidence to save, order of actions, and checks that show the service has returned to a healthy state.
The mission is not to write impressive prose. Noor must be able to follow the guide without hearing your spoken explanation. She needs to know where to look, when to stop, who may approve a pause, and what to give Imani. If a log name or decision is missing, the guide is incomplete. Let Noor try it on a fictional copy, observe where she hesitates, then revise those lines.
A new execution feels close in the story, but the exercise has no timer and changes no live service. timeline_v2.1, scheduled_replay, and P0/42 are landmarks in this simulation. Protect original sources and Luca's private information. Repairing the current view must never erase evidence that the false line existed.
Pause and think
Why should Noor test the runbook without your oral explanations?
See the explanation
It must be sufficient for someone working alone; her questions reveal missing or ambiguous steps.
Lesson · explanation
Define the starting signal and prerequisites
The first runbook block answers 'when should I open this?' In the exercise, an unknown authorization line reappears in timeline_v2.1 or a later version. Noor confirms the line is visible and records its time, identifier, and view version. A vague call saying 'there is an error' is not enough. She must locate the fact in the correct environment. If she cannot confirm the line, the guide sends her to general diagnosis instead of automatically pausing a task.
A prerequisite is something that must be true before an action. Noor checks that she is using the authorized copy, has her own rights to read logs, knows the on-call owner, has a healthy reference view, and knows who may approve suspension. Original investigation sources remain protected. If a condition is missing, the instruction is 'stop and escalate', not 'borrow a password' or 'try production and see'.
Think of a recipe that says 'put it in the oven' but omits the temperature. Another cook may get a different result. 'Copy the logs' is just as incomplete when the runbook omits the log identifier, service version, and approved destination. The exercise can use fictional landmarks; a real team would need to fill in actual paths in its authorized environment.
Name the people to notify: Mara supervises the transfer and Imani handles the investigation. That does not grant Noor access to all of Luca's information. The issue concerns authorization and the timeline, while his health record has separate protection. A security prerequisite also means the SUPPLIER-SVC secret value never appears in the document. Check rights through roles, not shared passwords.
Pause and think
What should Noor do if nobody has approved her pausing the task?
See the explanation
Stop before pausing, preserve what she may lawfully preserve, contact the authorized person, and record the blocker.
Lesson · explanation
Diagnose and preserve traces before a pause
Once the line is confirmed, Noor first records its identifiers, appearance time, and timeline_v2.1 version. She finds the scheduled_replay log, copies the relevant part to the approved location, and records stream positions such as P0/42. A position is like a page number: it helps find which message was read. The guide should say how to name the saved copy and how another authorized person can open it later.
Order matters. Pausing before capturing logs and positions changes subsequent behavior and may make a clue harder to recover. Restoring an earlier view at once could erase the faulty version that shows the problem. Preserve the candidate view and task traces, then consider a service action. As at an accident scene, making the area safe must not destroy what investigators need to understand the event.
The log may show scheduled_replay, SUPPLIER-SVC, and P0/42 around 03:10. Those are a task, a technical identity, and a source position. They do not prove which human requested the replay. Send the lead to Imani without writing 'Voss did it' as a log conclusion. A service account may keep running a scheduled task after someone's personal rights are revoked. The program and its authorization have to be examined separately.
Record missing evidence too. An absent log, unreadable position, or saved copy that cannot be opened is a diagnostic result, not a box to skip. The runbook should then stop and escalate. Useful guides branch according to what is observed; they do not assume every incident follows the happy path. In this fictional copy, the expected items can be preserved before continuing.
Pause and think
Why preserve the faulty view before restoring a healthy one?
See the explanation
It shows the returned row and may help explain its cause; restoration must not erase that clue.
Lesson · explanation
Pause with approval and restore a healthy view
After inventorying the traces, Noor asks the runbook's authorized person for approval. She pauses scheduled_replay on the approved copy and records the time. Pausing prevents future runs while the suspension lasts; it does not automatically remove a row already displayed. The guide therefore describes restoring the last known healthy view as a separate action. One action limits a possible cause; the other repairs the result that readers see.
Imagine a printer producing the same page twice. Pressing pause prevents the next duplicate; removing the extra page from the displayed folder corrects the current presentation. Keep a copy of the duplicate and the printer log to investigate why it was printed. The view follows the same logic. Restore from a protected, identified source version rather than improvising deletion in the raw evidence.
State the expected result: the false authorization is absent from the current view, legitimate events remain present, and their source links still work. Compare the restored view with saved dossier versions. If the row remains or important facts disappear, Noor must not publish merely because the task is paused. She records the failure, returns to the defined safe state, and seeks further help under the procedure.
This lesson gives no destructive live command. Its small program checks only that preservation appears before suspension in a fictional action list. That ordering check cannot tell whether the logs are complete, the approval is valid, or the restored view is healthy. Noor must verify those matters in an approved environment. The mission runbook is a model that a real team would adapt and approve before operational use.
Pause and think
Does pausing scheduled_replay remove a row that is already displayed?
See the explanation
No. Restore or rebuild the current view from a healthy source and verify the result separately.
Lesson · explanation
Define what 'repaired' means
The procedure does not end at 'restore'. It ends with successful checks. Noor compares expected row counts, the absence of a new unknown authorization, identifiers of legitimate events, and their source links. She checks that the paused task no longer writes to the copy and that exported logs can still be read. Every check needs an expected and observed result. Without measurements, 'the page looks clean' could conceal lost data.
The current view and historical record have different jobs. One shows a trustworthy result now; the other explains what happened. In the exercise, the suspicious row may be absent from the repaired view while its trace and P0/42 remain in Imani's archive. That is not a contradiction. It is like repairing a shop window while retaining a photograph of its damage for insurance. Destroying the photograph would be a poor repair.
Plan observation after intervention. A row that stays away for one second is not necessarily controlled. Check for new publication during an authorized restart test or a defined observation period. Another job might reread P0/42. Health checks and source positions help distinguish successful recovery from silence caused by a new outage.
The final state should name the repaired view version, whether the task remains paused or has resumed under approval, preserved positions and logs, checks that passed or failed, and the owner of follow-up. A receiving team must know whether it may use the view when talking to Luca and Imani, and which questions remain open. A runbook keeps the service reliable during an investigation; it does not issue the investigation's verdict.
Pause and think
Which two kinds of material must remain verifiable after restoration?
See the explanation
The current view with legitimate links and no false row, and the preserved historical logs for the investigation.
Lesson · explanation
Let Noor read the guide and correct her questions
In the mission fiction, you cannot answer the phone. Noor receives the alert and has only the runbook. Mara observes rather than explaining for you. If Noor asks 'which log?', supply its identifier and approved path. If she asks who authorizes the pause, name the responsible role. If she cannot identify the view to restore, specify the reference version. Each question reveals something you knew but failed to put on the page.
A useful rehearsal records the exact point where Noor stops. Do not blame her for asking. Improve the guide and try again until she can explain the order and results in her own words. Replace 'check that everything is fine' with concrete checks: row count, absence of AUTH-9, presence of other events, access to logs, and task state. The next responder should also be able to use it.
Write the final guide in four clear blocks: starting condition and prerequisites; diagnosis and preservation; approved action and restoration; verification and report. For each, name inputs, responsible person, expected outcome, and stop rule. The example of the row returning around 03:10 shows how each block helps Noor. The order is diagnosis, logs and positions, approval, pause on a copy, healthy view, then checks.
When Noor succeeds on the copy, the handover advances, but her access and intervention ability still require their own test. The next lesson lets her perform a supervised response with her account. Imani retains the traces and investigates the human origin of the replay. Your guide provides readable logs and a healthy view without turning SUPPLIER-SVC into a culprit's name.
Pause and think
What should you change if Noor asks 'which log?' during the rehearsal?
See the explanation
Add its identifier and approved path to the runbook, then rehearse again.
Visual guide
Runbook sequence
- 1Confirm alert and prerequisites
- 2Preserve logs, offsets, and IDs
- 3Pause task after approval
- 4Restore known view, check sources, document
Try the guide on a copy before real intervention and preserve the clue before fixing the display.
Code · read each line
Check procedure order
steps=["confirm_alert","preserve_log_copy","record_offsets",
"pause_scheduled_replay","restore_known_view","verify_sources"]
print("first_three",steps[:3])
print("preserve_before_pause",steps.index("preserve_log_copy")<
steps.index("pause_scheduled_replay"))
print("offset_before_pause",steps.index("record_offsets")<
steps.index("pause_scheduled_replay"))
print("last_step",steps[-1])
print("exercise_complete",all(item in steps for item in
("preserve_log_copy","restore_known_view","verify_sources")))The simulation confirms that logs and offsets come before pause and the last step verifies sources. It pauses no real process.
PART 2 · WATCH IT WORK
A complete worked example
Follow each step, then the result
Worked example: reappearing line
At 03:10 a new line in your name appears although Voss's personal access is revoked.
- Confirm time, version, and message without changing the source.
- Copy scheduled_replay's log and record offsets under proper authorization.
- Have the designated owner pause the task and restore the last healthy view.
- Check links, no further write, and delivery of traces to Imani.
A useful guide says what to check, in what order, under whose approval, and how to confirm recovery.
How this helps with your missionThe guided example starts with the line returning around 03:10 despite the removal of Voss's personal rights. Confirm its view version, save the scheduled_replay log and P0/42, request approval, pause on the copy, restore a healthy view, and check legitimate links. Write that same path as a runbook Noor can use without you. Include prerequisites, responsible roles, preservation before suspension, expected restoration results, stop conditions for missing items, and revisions when Noor hesitates. The guide supports the investigation without attributing a task run as SUPPLIER-SVC to a particular human.
PART 3 · YOUR TURN
Use the lesson to solve the mission
Story scene · practical task
Mission: Noor follows the guide without you
In the fictional scene, you are unreachable. Noor receives an alert: the false line has returned. The runbook is her only support; Imani needs traces, and Luca must not see a misleading summary. Mara watches whether the guide truly works. The incident is urgent in the story; the exercise has no timer.
Your task
- Write start condition, prerequisites, and whom to notify.
- Put log copying and offsets before any pause.
- Describe restoration and final checks.
- Name an ambiguity Noor's drill might reveal.
How to know you have succeeded
- Alert, rights, copy, and owner explicit.
- Logs and offsets preserved before pause.
- View restored, links tested, task watched, state recorded.
- Guide corrected if a name, path, or decision is missing.
Try code or SQL and keep a local draft. The mission questions are checked separately below.
See the worked answer
- Start: unknown authorization. Check environment, approved access, view copy, and on-call owner; notify Imani and Mara.
- Confirm alert, archive log, record IDs and positions, then seek approval to pause scheduled_replay.
- Return to a known healthy view, test its sources and rights, verify no new write, and record result and traces.
- Noor may ask which log to copy or who approves a pause. Add exact approved references and owners before adoption.
Noor can follow the procedure on a copy. The next lesson has her carry out a supervised intervention to confirm access and responsibility truly moved.
Before you leave
Remember this
- A runbook says when to begin, which rights and sources are needed, what actions are allowed, and how to verify them.
- Noor must be able to use it without its author's spoken explanation.
- Confirm the alert and preserve the faulty view, logs, and P0/42 before pausing.
- Pause prevents future runs; restoration separately repairs the current view.
- Check the healthy view, legitimate links, and access to historical evidence afterward.
- Every question Noor asks exposes an ambiguity to fix and retest on a copy.
Part of the lesson · keep nearby
New words, explained
These are the names of ideas used in the lesson above. Return here whenever a word feels unfamiliar.
- Runbook
- A step-by-step response guide for an expected situation.
- Prerequisite
- A condition to check first, such as approved access and a saved copy.
- Diagnosis
- Structured search for a problem's cause.
- Offset
- A message-reading position in a stream.
- Evidence preservation
- Controlled copy of useful logs and states before changing the system.
- Pause
- Temporarily stopping a task while retaining a route to resume after a decision.
- Restoration
- Returning a view to a known, checked state.
- Recovery drill
- A trial on a copy showing someone else can follow the procedure.