Skip to the levels
ROOTSPIRE
DiscsFor teachers
▶ Play freeLibrary 16 discsDiscsFor teachersLog in

Every level, in the open

The Guildhall: First Week

7 worlds · 33 levels · 4 bosses

SOLUTION HIDDENTeachers see answer keys in the classroom.

▶ Play this discAll discs
All discsLinux: Zero to RootBash ScriptingGitDatabasesPython for OpsLinux Sysadmin ProNetworkingObservabilityCloud & IaCDocker & ContainersCTF ArenaSOC FieldWindows for Linux peopleKubernetesAnsibleThe Guildhall: First Week

The job after the skills: a troubleshooting method you can show, tickets a team can act on, runbooks others can follow, change requests, and a first week on the job per role (Sysadmin, DevOps, SRE, SOC). Graded on fields, facts and the commands you really ran.

Guided levels show the command first. Alone levels give the goal only. Bosses and exams are timed.

Jump to a world

World 1 The MethodWorld 2 The Ticket DeskWorld 3 The Runbook ShelfWorld 4 First Week: SysadminWorld 5 First Week: DevOpsWorld 6 First Week: SREWorld 7 First Shift: SOC

World 1The Method

9 levels

Guessing is not troubleshooting: learn the six steps seniors follow without thinking, and leave a case log that proves every one.

  1. 1

    Level 1: Six words

    GuidedEasy

    Objective: Read ~/guild/method/case-0417.log with cat and tell Kern which of the six steps is missing (kern verify, for example).

    Seniors fix things in six steps: Observe the symptom, Hypothesise a cause, Test it, Fix one thing, Verify with the original symptom, Document. A case log keeps one 'Step: what you did' line per step.

    Commands taughtjr-methodjr-case-log

    ▶ Play: Six wordsSOLUTION HIDDEN20 XP
  2. 2

    Level 2: Observe first

    GuidedEasy

    Objective: Run ./report.sh, write its error as an Observe: line in case.log, then add a When: line with the date of the last good run.

    Observe means the exact words of the error, not 'it's broken'. Copy the message, and find when it last worked: the last good line in a log.

    ▶ Play: Observe firstSOLUTION HIDDEN25 XP
  3. 3

    Level 3: A guess you can test

    GuidedEasy

    Objective: Add Hypothesis: and Test: lines to case.log, run the test (ls -l data/sales.csv) and write its owner and mode as a Result: line.

    A hypothesis is a cause that one command can prove wrong. Write the guess, then the command that tests it, run it, and write what it showed as the Result.

    ▶ Play: A guess you can testSOLUTION HIDDEN30 XP
  4. 4

    Level 4: Fix one, verify

    GuidedEasy

    Objective: Make sales.csv readable with sudo chmod 644, prove it with ./report.sh, then add Fix: and Verify: lines with those two commands to case.log.

    Change ONE thing, then verify with the original symptom: the command that failed must now work. Write both commands into the case log.

    ▶ Play: Fix one, verifySOLUTION HIDDEN30 XP
  5. 5

    Level 5: What changed?

    GuidedEasy

    Objective: Diff app.conf.bak (yesterday) with app.conf, write the changed setting as a Hypothesis: line, put back its old value only, and run ./shop.sh.

    It worked yesterday: compare today's config with yesterday's copy. diff OLD NEW prints the lines that differ: < is the old file, > the new one.

    Commands taughtdiffjr-change-what-changed

    ▶ Play: What changed?SOLUTION HIDDEN35 XP
  6. 6

    Level 6: Cut it in half

    GuidedEasy

    Objective: Find the stage that breaks the data with at most 3 probes (start with pipeprobe 4, then halve), and tell Kern its number.

    When data passes through many stages, test the middle first: OK means the fault is after it, BAD means at or before it. Halving 8 stages finds the bad one in 3 probes.

    Commands taughtpipeprobejr-half-split

    ▶ Play: Cut it in halfSOLUTION HIDDEN35 XP
  7. 7

    Level 7: Use, saturation, errors

    GuidedEasy

    Objective: Measure the spool disk with df -h and grep -c, then write Resource, Utilization, Saturation and Errors lines into use.log.

    USE method: for each resource (CPU, memory, disk, network) check Utilization (how full), Saturation (work waiting) and Errors. Three numbers, no guessing.

    Commands taughtjr-use-method

    ▶ Play: Use, saturation, errorsSOLUTION HIDDEN35 XP
  8. 8

    Level 8: A whole case

    AloneMedium

    Objective: backup.sh fails: find out why, fix it, and leave a case.log with Observe, Hypothesis, Test, Result, Fix and Verify lines.

    Now all six steps alone. The case log needs Observe, Hypothesis, Test, Result, Fix and Verify, and Test and Fix must be commands you really ran.

    ▶ Play: A whole caseSOLUTION HIDDEN45 XP
  9. 9

    Level 9: The 2 a.m. case

    Alone⏱ TimedHard

    Objective: Paged at 2 a.m.: backup.sh fails again; fix it within the time and leave a full case.log, including Document: T-0502.

    Pressure is when the method matters most. Same six steps, same case log, plus a Document: line naming the ticket you update.

    ▶ Play: The 2 a.m. caseSOLUTION HIDDEN60 XP

World 2The Ticket Desk

9 levels

Dave files tickets like 'site broken pls fix', so you write the ticket a team can act on, the update a manager trusts, the escalation nobody bounces back.

  1. 10

    Level 10: A good ticket

    GuidedEasy

    Objective: Compare good.txt with Dave's dave.txt (cat both) and tell Kern which field Dave forgot, e.g. kern steps.

    A useful ticket answers: what is broken (Summary), where (Host), who is hurt (Impact), how to see it (Steps), what should happen (Expected) and what happens (Actual). Plus Evidence and a Priority.

    Commands taughtjr-ticket

    ▶ Play: A good ticketSOLUTION HIDDEN20 XP
  2. 11

    Level 11: Write the ticket

    GuidedEasy

    Objective: Count the 502s in logs/web2.log with grep -c, then write Summary, Host, Actual and Impact lines into T-2042.txt.

    Summary = what + where in one line, Host = the machine. Actual = what happens with numbers, Impact = who is hurt in human words.

    ▶ Play: Write the ticketSOLUTION HIDDEN30 XP
  3. 12

    Level 12: P1 or P4?

    GuidedEasy

    Objective: Read the four tickets in queue/ and write one line per ticket into triage.txt: the ticket ID and its priority (like T-3001 P1).

    Priority = impact x urgency: how many are hurt, and is there a workaround? P1 everyone (or money) blocked with no workaround, P2 many hurt or degraded, P3 one person or a workaround, P4 a wish.

    Commands taughtjr-priority

    ▶ Play: P1 or P4?SOLUTION HIDDEN30 XP
  4. 13

    Level 13: Evidence that holds

    GuidedEasy

    Objective: Add two Evidence: lines to T-2050.txt: one grep that shows the errors in db1/app.log, one command that prints only the last error.

    Evidence is a command plus what it showed, so anyone can re-run it and see the same thing. Only commands that READ go there: grep, tail, ls, df.

    Commands taughtjr-evidence

    ▶ Play: Evidence that holdsSOLUTION HIDDEN35 XP
  5. 14

    Level 14: The update

    GuidedEasy

    Objective: Run ./export.sh, fix it with chmod +x, then write Symptom, Cause, Fix and Prevention lines into T-2060.txt.

    After a fix, the ticket update has four fields: Symptom (what users saw), Cause (why), Fix (what you did), Prevention (why it won't happen again).

    Commands taughtjr-ticket-update

    ▶ Play: The updateSOLUTION HIDDEN35 XP
  6. 15

    Level 15: The update, alone

    AloneMedium

    Objective: Fix job.sh, then write Symptom, Cause, Fix, Prevention and Evidence lines into T-2061.txt.

    Same four fields, plus Evidence: a read-only command you ran that shows the error. Fix first, then write.

    ▶ Play: The update, aloneSOLUTION HIDDEN45 XP
  7. 16

    Level 16: Escalate, don't guess

    GuidedEasy

    Objective: Read routing.txt and app.log, then write ESC-1.txt with To:, two Checked: lines (commands you ran), State: and Ask: lines.

    Some faults belong to another team (database, network, payments). Escalate to the right queue with what you checked and a clear ask, so they don't bounce it back.

    Commands taughtjr-escalation

    ▶ Play: Escalate, don't guessSOLUTION HIDDEN40 XP
  8. 17

    Level 17: Status for humans

    AloneMedium

    Objective: Read notes.txt and write status.txt with Impact:, Status: and Next: lines for the managers (no tool names, no error codes).

    A status update is for people who don't read logs: Impact in human words with numbers, Status (investigating, identified, monitoring, resolved) and the time of the Next update. No error codes.

    Commands taughtjr-status-update

    ▶ Play: Status for humansSOLUTION HIDDEN40 XP
  9. 18

    Level 18: Monday queue

    Alone⏱ TimedHard

    Objective: Triage the three tickets in queue/ into triage.txt, fix the P1 (invoices.sh), and write its update with evidence.

    A real Monday: rank the queue, fix the P1 first, and leave the P1 update with evidence. Lower priorities wait.

    ▶ Play: Monday queueSOLUTION HIDDEN70 XP

World 3The Runbook Shelf

7 levels

A runbook is a fix written down so the next person at 3 a.m. doesn't need you: follow them, repair them, write your own, file the change.

  1. 19

    Level 19: Follow the steps

    GuidedEasy

    Objective: Read requeue.md, then type its steps 1, 2, 3 and the Verify command in order, checking each output against its expect: line.

    A runbook is numbered steps: each '$ command' with an 'expect:' line saying what its output should contain, then a Verify step that proves it worked. You type each step in order and compare.

    Commands taughtjr-runbook

    ▶ Play: Follow the stepsSOLUTION HIDDEN25 XP
  2. 20

    Level 20: Rehearse it

    GuidedEasy

    Objective: Lint requeue.md, rehearse it with runbook follow, and tell Kern the number of the step that fails.

    runbook lint FILE checks a runbook's shape; runbook follow FILE rehearses it in a scratch copy of the folder and stops at the first step whose output misses its expect. Runbooks rot: paths and options change.

    Commands taughtrunbook

    ▶ Play: Rehearse itSOLUTION HIDDEN30 XP
  3. 21

    Level 21: Fix the stale step

    GuidedEasy

    Objective: Replace queue/stuck with queue/held in requeue.md using sed, then rehearse it with runbook follow until it passes.

    The upgrade renamed queue/stuck to queue/held, but step 2 still says stuck. Fix the line, then rehearse again until follow says verify OK.

    ▶ Play: Fix the stale stepSOLUTION HIDDEN30 XP
  4. 22

    Level 22: Expect lines

    GuidedEasy

    Objective: Lint clean.md, add the missing expect: lines under steps 2 and 3, and make runbook follow pass.

    Every step needs an expect: line: text its real output contains, so a follower knows it worked. sed '/^2\./a TEXT' adds a line after the line starting with '2.'.

    ▶ Play: Expect linesSOLUTION HIDDEN35 XP
  5. 23

    Level 23: The way back

    GuidedEasy

    Objective: Add a Rollback line that copies app.conf.bak back, plus a second Rollback that greps max_conn with expect: max_conn=100, and rehearse with --rollback.

    A change runbook needs a Rollback: '$ command' lines that undo it, ideally followed by a check. runbook follow FILE --rollback runs the steps, Verify, then the Rollback lines.

    ▶ Play: The way backSOLUTION HIDDEN35 XP
  6. 24

    Level 24: Write one

    AloneMedium

    Objective: Write logs-full.md, a runbook that gets ./check.sh from 'logs FULL' to 'logs OK' without touching the live app.log.

    Now write a runbook from scratch: title, When:, at least 3 numbered '$' steps each with expect:, and Verify: $ ./check.sh. Kern follows it in a fresh copy of the lab, so it must work there.

    ▶ Play: Write oneSOLUTION HIDDEN50 XP
  7. 25

    Level 25: The change request

    GuidedEasy

    Objective: Read policy.txt and write CR-77.txt for raising max_connections on db1 from 100 to 200: Change, Reason, Risk, Window, Approver, Test and Rollback.

    Production changes need a change request: Change, Reason, Risk, Window, Approver (from the policy), Test (how you'll prove it) and Rollback (a command that undoes it).

    Commands taughtjr-change-request

    ▶ Play: The change requestSOLUTION HIDDEN45 XP

World 4First Week: Sysadmin

2 levels

Your first week as the Guildhall's sysadmin: a new hire on Monday, then backups, a restore drill, monitoring and a Friday disk alert.

  1. 26

    Level 26: Monday: the new hire

    AloneMedium

    Objective: Do T-4001: account nadia, in the ops group, home folder mode 700, then add Fix: and Verify: lines to T-4001.txt.

    Onboarding is a ticket like any other: do exactly what the request says (account, group, home permissions), then prove it with a Verify command.

    Commands taughtjr-first-week

    ▶ Play: Monday: the new hireSOLUTION HIDDEN50 XP
  2. 27

    Level 27: BOSS: The Sysadmin week

    Boss⏱ TimedHard

    Objective: Work the week: backup + checksum, restore drill, a cron job for diskcheck.sh, fix the disk alert at its cause, then the T-4005 update.

    Tuesday to Friday in one go: back up and checksum, prove the restore, schedule the monitor, handle the alert at its cause, and write it up.

    ▶ Play: BOSS: The Sysadmin weekSOLUTION HIDDEN200 XP

World 5First Week: DevOps

2 levels

Your first week on the platform team: a red pipeline on Monday, then a release that goes out, goes wrong, and comes back.

  1. 28

    Level 28: Monday: a red pipeline

    GuidedEasy

    Objective: Clone origin.git into app, run ./ci.sh inside it, and tell Kern which stage failed (lint, test or build).

    Day one on a platform team: clone the repo, run the same pipeline CI runs (./ci.sh: lint, test, build), and read which stage went red before touching any code.

    Commands taughtjr-ci-pipeline

    ▶ Play: Monday: a red pipelineSOLUTION HIDDEN40 XP
  2. 29

    Level 29: BOSS: The DevOps week

    Boss⏱ TimedHard

    Objective: Ship v1.4.0: fix CI and commit, tag and build, deploy it behind current, roll back when health fails, then write CHG-500.txt.

    A release end to end: fix and commit, tag and build the artifact, deploy it into its own release folder behind a 'current' link, check health, roll back when it fails, and record the change.

    ▶ Play: BOSS: The DevOps weekSOLUTION HIDDEN200 XP

World 6First Week: SRE

2 levels

Your first week in reliability: measure the SLO, spend the error budget wisely, tune an alert that cries wolf, and write a blameless postmortem.

  1. 30

    Level 30: Monday: the SLO

    GuidedEasy

    Objective: Count all requests (wc -l) and the 5xx ones (awk) in access.log, then tell Kern the availability in percent with two decimals.

    An SLO is a promise in numbers: here 99.5% of requests succeed. Availability = 100 x (total - errors) / total, where errors are status 500 and up.

    Commands taughtjr-slo

    ▶ Play: Monday: the SLOSOLUTION HIDDEN40 XP
  2. 31

    Level 31: BOSS: The SRE week

    Boss⏱ TimedHard

    Objective: Work the week: error budget in slo.txt, tune alert.conf until alert-test.sh passes, find the trigger, roll back release.conf, write pm.md.

    Error budget = what the SLO lets you fail; alerts fire on real incidents only. Find what changed, roll it back, and write a blameless postmortem with an owner on every action.

    Commands taughtjr-alertingjr-postmortem

    ▶ Play: BOSS: The SRE weekSOLUTION HIDDEN200 XP

World 7First Shift: SOC

2 levels

Your first night in the Bastion's watch room: a queue of alerts, one real intruder hiding among the noise, and a handover at dawn.

  1. 32

    Level 32: Shift start

    GuidedEasy

    Objective: Read alerts.txt and known.txt, count the root failures in auth.log, then write one verdict line per alert into verdicts.txt.

    Every alert gets a verdict: TP (true positive, real) or FP (false positive, explained), with the evidence that decided it: a count from the log, or the change that explains it.

    Commands taughtjr-triage

    ▶ Play: Shift startSOLUTION HIDDEN40 XP
  2. 33

    Level 33: BOSS: The night shift

    Boss⏱ TimedHard

    Objective: Triage the four alerts, scope the brute force in incident.txt, contain both true positives, then write handover.txt.

    A shift is triage (verdicts with evidence), scoping (which account, from where, since when), containment (lock what the attacker holds) and a handover the morning shift can act on.

    Commands taughtjr-handover

    ▶ Play: BOSS: The night shiftSOLUTION HIDDEN200 XP

For teachers

Use these levels with a class

SOLUTION HIDDEN Teachers see answer keys in the classroom.

For teachers
ROOTSPIRE
DiscsFor teachers
▶ Play freeLibrary 16 discsDiscsFor teachersLog in