Open lesson

Mission: Noor follows the guide without you

Command palette

This mission workspace keeps code and notes in this browser tab. Export them before closing it. Running code is practice, not an automatic grade for the mission.

Brief

Write a runbook Noor can use to diagnose, preserve, pause, and verify a suspicious replay.

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 mission

  1. Write start condition, prerequisites, and whom to notify.
  2. Put log copying and offsets before any pause.
  3. Describe restoration and final checks.
  4. Name an ambiguity Noor's drill might reveal.

How to check your work

  • 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.

Course example

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")))

Code

Use Tab to leave the editor. Ctrl+Enter runs the source. The lines beginning with # are task reminders. Python ignores them. Write your code beneath them.

Python console

Loading laboratory…

Explore Python or SQL here; this is not an operating-system shell.

This is a disposable browser experiment. The code run here is not recorded as a completed mission.

Each command starts a fresh disposable worker: it runs a captured copy of your current source, then your command with the lesson fixtures. Changes are discarded afterward. Commands never save source or award XP. Ctrl+Enter executes the command.

Virtual workspace files

Source and declarative assets are readable here without JavaScript. Python input files are created at runtime; SQL setup initializes the disposable database.

source.py

Current editor source. Inspection shows your current edits.

# 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.

exemple.py

Declarative lesson asset; this is not a file created in the Python filesystem.

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")))