Skip to the lesson
CivOps AI Academy · F21Go Live: the Go-Live Review, Handover to the Floor and the Certification Practical
0%

Chapter 1 · Session 23

Proven ready: the gate, the drill, incidents and the monitor

Going live is a decision, made on evidence. Claude Code runs Session 19's testing protocol on main and writes docs/go-live.md with a link for every item. Then the three things launches fail on: a restore nobody has done, an incident nobody can investigate, and a monitor that only ever says "fine".

45 min4 stepsOwner two runs the drill

By the end of this chapter you can

  • Have Claude Code draft docs/go-live.md from docs/testing-protocol.md, with evidence linked or marked missing.
  • Run a restore drill on a copy, run by one owner and witnessed by the other, timed and logged.
  • Write the incident plan into the runbook and know how long your request logs are kept.
  • Make the production monitor sign in, check an address that must not exist, and prove its alarm reaches a person.

Why a written gate

Google's site reliability engineers run every launch against a checklist, because launches fail on the items nobody thought to check, not on the clever parts [1]. A plant does the same for a new machine: it is commissioned against a list before production runs on it. Your list already exists: Session 19's testing protocol names every gate, how to run it and who signs. Go-live adds the floor's items and the three checks below, each one there because it failed on a real platform.

The go/no-go gateTwelve boxes, eight about the platform (the certification practical's points) and four about the floor, all feeding one go or no-go decision by the plant manager. Platform (the practical's eight points)The floorDeploys from the repo, by someoneelseRow-level security on every tableNew routes refused until openedThree surfaces pass the phonecheckA record travels operator →review → managerClamps, security and protocolpassRestore drilled and witnessedIT package matches what runsPilot crew trainedPaper fallback printed at thelineSupport rota for two weeksGo-live date told to the floorGo / no-goevery box green, decided by the plantmanager, written down
The go/no-go gate. The cyan boxes are the platform, the amber boxes the floor. One amber box red is as much a no-go as a cyan one.
Step 1

Run the testing protocol on main and draft docs/go-live.md

15 minutes

Why

A go-live list written from memory misses what memory misses. Drafting it from docs/testing-protocol.md, and running every automated gate on main first, means each item carries a link to a result from today, not from the week it was built. Items that need a person's signature or the floor stay open for the review: Claude Code may link evidence, but it never marks anything ready.

Do this

Terminal or PowerShell
cd ~/code/acme-platform && git switch main && git pull && claude
Paste into Claude Code
Read docs/testing-protocol.md, docs/conformance.md, docs/runbook.md and docs/INTENT.md.

1. Run every automated gate in docs/testing-protocol.md against main, the way the protocol says (for workflows, use gh workflow run on main and wait for each to finish). Do not run anything against the live database.
2. On a new branch go-live/review, write docs/go-live.md for the plant manager, in plain English:
   - "Platform": one row per gate in the protocol: the gate, what it proves, the result with a link to today's run, and who signs (from the protocol). Add rows for: restore drill witnessed (docs/runbook.md drill log), incident plan in the runbook, production monitor and its alarm tested, IT package tag matches main (Session 21's drift check), docs/costs.md merged.
   - "The floor": pilot crew trained, paper fallback printed at the pilot stations, support rota for two weeks, the floor told (date, line, shift, why, who to ask).
   - "Decision": who decides (the plant manager), the date, and Go or Not yet.
3. Mark each item EVIDENCE (with the link), MISSING (say what is needed), or FOR THE REVIEW (a person's signature or a floor item). Never mark an item ready yourself.

Push, open a pull request titled "Go-live review", wait for the checks and tell me, in plain words, every item that is MISSING.

You will see recreated screen

claude — acme-platform
⏺ Read(docs/testing-protocol.md)
⎿ Read 88 lines: 11 gates
⏺ Bash(gh workflow run security.yml --ref main && gh run watch)
⎿ security pass 3m02s
⏺ Bash(gh workflow run journeys.yml --ref main && gh run watch)
⎿ journeys pass 6m40s
1
⏺ Write(docs/go-live.md)
+| Every role against every route (Session 18) | EVIDENCE | run 9821, today, 25 of 25 |
+| Restore drill, witnessed | MISSING | last entry in the drill log is 2026-08-30, by the same person who signed it |
+| Production monitor and its alarm | MISSING | nightly check never signs in; its alarm has never been fired |
+| Pilot crew trained | FOR THE REVIEW | |
2
⏺ Pull request #74 is green. 11 of 11 automated gates pass on main today. Missing: a witnessed restore drill, the incident plan in the runbook, and a production monitor that signs in with a tested alarm. Four floor items and the decision are for the review.
Claude Code runs every gate on main, then writes the list with a link per result. It marks nothing ready.
  1. Every gate is run again on main today. A result from the week it was built proves less: things drift.
  2. MISSING items are this chapter's next three steps. They are on most first go-live lists.

Check it worked

Pull request Go-live review is green; docs/go-live.md has a row for every gate in docs/testing-protocol.md with today's link, and every other item is MISSING or FOR THE REVIEW.

Fastest path

"Wait for each to finish" in the prompt means you read one summary with every result in it, instead of checking eleven runs yourself.

If it goes wrong

Claude Code marks items "ready" or "done"

Say: Change every item you marked ready to EVIDENCE with its link. Only the review marks items green. A summary is a claim; the link is the evidence.

A gate is green, but its run is from an older commit than main

A red or green check can belong to an old version. Say: Re-run that gate on the latest commit of main and link that run.

A gate in the protocol has no way to run it

The protocol has a gap. Say: Gate <name> has no command or workflow. Propose one, add it to docs/testing-protocol.md in this pull request, run it and link the result.

The restore drill, witnessed

Session 11 set up a nightly, encrypted backup. A backup nobody has restored is only a hope: restoring is a different skill with its own failures (migrations that drifted, a restore slower than the floor can wait). The drill restores into a copy, a temporary Supabase project made for the drill and deleted after it, never into production and never into the development project, which only ever holds made-up data. One owner runs it from the runbook; the other watches, times it and signs. That proves the company can recover without you.

Step 2

Restore last night's backup into a copy: owner two runs it, you witness

45 minutes

Why

The day you need a backup is the worst day to learn it does not restore. A script that refuses to touch production, restores into a throwaway copy, checks that access rules survived and that nothing is missing, and prints the time, makes the drill the same every quarter. Owner two running it while you only watch is the real test: the platform must not depend on you.

Do this

Paste into Claude Code
On a new branch go-live/restore-drill, write scripts/restore-drill.mjs, to be run by a person, never by you:
1. It asks, with hidden input (nothing echoed), for the backup passphrase and the drill project's database address. It never takes them as arguments or from a file, and never prints them.
2. It refuses to continue if the address contains our production reference abcdefghijklmnopqrst or our development reference tsrqponmlkjihgfedcba, saying why.
3. It downloads the latest successful nightly backup artifact with gh, decrypts it in memory or a temporary folder that it deletes at the end, and restores it into the drill database, the same way docs/runbook.md's restore section says.
4. Checks, each printed PASS, FAIL or COULD NOT MEASURE: every migration in supabase/migrations is present; for every table, the row count equals the count in the backup file; as the anon role, every table returns 0 rows (row-level security survived the restore).
5. Prints the time from start to all checks passing, and a drill-log line to paste into docs/runbook.md: date, who ran it, who witnessed, minutes, result. No address and no key in it.

Add tests that it refuses the production and development references and an empty answer. Update docs/runbook.md's restore section to use the script. Do not run the script. Push, open a pull request titled "Restore drill script", wait for the checks and tell me the result.

After it merges: owner two creates a temporary project in the company's Supabase organisation, named acme-platform-drill, with a generated password saved in the password manager. Supabase may charge for it by the hour on a paid plan; it is deleted the same day.

Open

https://supabase.com/dashboard/new

Owner two: new project acme-platform-drill in the company organisation, region us-east-2. Copy its database connection string (Connect, at the top of the project) into the password manager entry for the drill.

Then owner two, on their own computer, with you watching and timing:

Terminal or PowerShell (owner two)
cd ~/code/acme-platform && git switch main && git pull && node scripts/restore-drill.mjs

When it passes, compare its row counts for two tables with the live project's (Table Editor shows a count): they should be close, less today's new rows. Owner two pastes the drill-log line into docs/runbook.md through a pull request; you approve it as the witness. Then owner two deletes the drill project: its Project Settings, General, Delete project.

You will see recreated screen

claude — acme-platform
⏺ Write(scripts/restore-drill.mjs)
+const address = await askHidden("Drill database address (input hidden): ");
+if (address.includes(PROD_REF) || address.includes(DEV_REF)) refuse("This is production or the development project. The drill restores only into a copy.");
1
⏺ Bash(npm test -- restore-drill)
⎿ ✓ refuses the production reference ✓ refuses the development reference ✓ refuses an empty answer
⏺ Pull request #75 is green. I did not run the script: it needs the passphrase and the drill database, which only a person types. docs/runbook.md's restore section now uses it.
The script, with its refusals tested. Claude Code writes it and does not run it.
  1. The production and development references are refused by the script itself, not by a promise.

You will see recreated screen

Terminal
$ node scripts/restore-drill.mjs
Backup passphrase (input hidden):
Drill database address (input hidden):
Latest nightly backup: run 9790, 2026-10-21 02:14 UTC
PASS migrations: 23 of 23 present
PASS row counts: 9 of 9 tables equal to the backup (inspections 48,211; holds 1,906)
PASS anon role reads 0 rows from 9 of 9 tables1
Drill passed in 18 min 40 s
Drill log: 2026-10-21 | ran: owner two | witness: owner one | 19 min | PASS (backup run 9790)2
Owner two runs the drill. Nothing shows while the passphrase and address are pasted.
  1. If the access rules had not survived, a stranger could read the restored data. This line is the security check of the drill.
  2. The line for the drill log. It names roles, the time and the backup: no address, no key.

Check it worked

docs/runbook.md's drill log has today's line, run by owner two, approved by you as witness, with the minutes; the drill project is deleted. The time is within the recovery time the supervisors agreed in Session 11.

Fastest path

Put the drill on the calendar for both owners before writing the script. The script takes ten minutes to merge; finding an hour when both owners are free takes days.

If it goes wrong

The script refuses: the address is production or development

Good: that is what it is for. Check owner two copied the drill project's connection string, not the live one.

Restore fails part-way with "relation does not exist" or "role does not exist"

The backup and the migrations have drifted. Do not edit the backup. In Claude Code: The drill failed with <error>. Without touching production, explain which object is missing, whether the backup workflow exports it, and propose a fix to the backup workflow with a test. Then drill again. Finding this now is the drill working.

Row counts do not match the backup

Something was not restored. Do not sign the drill. Ask Claude Code to compare table by table and report which table and why, then fix and drill again.

The anon check fails: rows readable

Stop and delete the drill project now: it holds real data readable without sign-in. Then: After restore, anon could read <table>. Explain why the row-level security did not come back, and make the restore apply the policies, with a test.

The drill takes longer than the floor can run on paper

Write the real time in the drill log anyway. Then decide with the plant manager: a faster restore (Supabase's paid backup options) or a longer paper fallback. Both are business decisions, recorded in the runbook.

Incidents: be able to answer "was it seen?"

When something goes wrong after go-live, the first question from the plant manager or a customer is often "was our data accessed?". On a platform we built, an address answered without sign-in for weeks, and the honest answer was "we cannot tell": there was no record of requests. The same incident showed a second trap: the quick fix, deleting the exposed file, would also have destroyed the evidence of what was exposed and for how long. NIST's incident-response guidance puts preparation first, before detection, for this reason [3].

Step 3

Write the incident plan into the runbook, and find out how long your logs last

25 minutes

Why

An incident plan written during an incident is written badly. Writing it now, with a severity table, a first-update template, the rule to preserve evidence before fixing anything, and the honest fact of how long each service keeps its logs, turns a bad morning into a procedure. A 20-minute rehearsal with owner two shows whether the plan works before it is needed.

Do this

First, find out yourself how long request logs are kept. Each page shows the logs and, in its settings or plan, how far back they go:

Open

https://vercel.com/acme-ops/acme-platform/logs

Vercel: your project's runtime logs. Note how far back you can search.

Open

https://supabase.com/dashboard/project/abcdefghijklmnopqrst/logs/explorer

Supabase: the logs explorer for the API, database and sign-in. Note how far back it goes.

Then paste, with what you found:

Paste into Claude Code, after replacing the <...> parts
On a new branch go-live/incidents, add a section "Incidents" to docs/runbook.md:
1. A severity table for this platform: what counts as Severity 1 (records exposed, or the floor cannot record), 2 (a screen broken, workaround exists) and 3 (cosmetic), with who is told and how fast for each.
2. The first steps, in order: start a timeline (time, what was seen, by whom); preserve evidence BEFORE fixing (copy the logs, note the commit that is live, never delete an exposed file or record until it is copied); contain (roll back, or turn the route off); then fix through a pull request as usual.
3. How to work out an exposure window from git history: when the problem first went live (the commit and its deploy), when it was closed, and whether request logs cover that whole period.
4. Where the logs are and how long they are kept: Vercel runtime logs <what I found>; Supabase logs <what I found>. If either is shorter than we would need to answer "was it seen?", write that plainly and list the options (a log drain to a log store IT runs, a longer plan) as a decision for the plant manager, with no prices.
5. A first-update template for the plant manager: what happened, what is affected, what we have done, what we do not know yet, next update at <time>.

Push, open a pull request titled "Incident plan", wait for the checks and tell me the result.

Then rehearse it with owner two for 20 minutes. Pretend: the lots page answered signed-out requests for three days. Owner two follows the plan; you play the plant manager asking "was it seen?".

You will see recreated screen

claude — acme-platform
⏺ Write(docs/runbook.md)
+## Incidents
+Severity 1: records reachable without sign-in, or the floor cannot record. Tell the plant manager within 1 hour.
+Before fixing: copy the logs and note the live commit. Never delete an exposed file or record until it is copied.
+Logs: Vercel runtime logs reach back about 1 day; Supabase logs about 7 days (read 2026-10-21).
+We could NOT answer "was it seen?" for anything older. Decision for the plant manager: a log drain, or accept it.
1
⏺ Pull request #76 is green. The plan says plainly that our logs cover days, not weeks, and puts the choice to the plant manager without prices.
The plan says plainly what the logs can and cannot answer.
  1. Written as you found it. If you cannot answer "was it seen?" for last month, the plan says so, and the decision goes to the person who owns the risk.

You will see recreated screen

supabase.com/dashboard/project/abcdefghijklmnopqrst/logs/explorer
Table EditorSQL EditorAuthenticationLogsAdvisors
APIPostgresAuth
Time rangeLast 7 days ▾1
timestampmethodpathstatus
2026-10-21 06:12GET/rest/v1/lots200
2026-10-21 06:12GET/rest/v1/holds200
The Supabase logs explorer. How far back it reaches is what the incident plan records.
  1. The longest range the plan allows. Write what you see, with the date you looked.

Check it worked

docs/runbook.md has an Incidents section with the severity table, evidence-first steps, the exposure-window method, the log retention you found and the first-update template; owner two has rehearsed it with you once.

Fastest path

Read the two log pages before pasting the prompt, so the plan holds the real retention from the start instead of a placeholder someone forgets.

If it goes wrong

In the rehearsal, owner two's first move is to delete or fix the exposed thing

That destroys the evidence. Stop the rehearsal and read step 2 together. Then ask Claude Code, as practice: We have found data reachable without sign-in. Do not delete or move anything yet. Write down the addresses involved, what each returned, when each first became reachable (from git history), whether our request logs cover that period, and what evidence we must copy before we change anything. Then propose the smallest fix.

Claude Code writes log retention it did not see ("logs are kept 30 days")

Say: Use only what I found on the two pages, with the date. Anything else is unknown.

The plant manager asks what a log drain costs

Get it from the provider's pricing page on the day, as a decision paper with options. Do not put a price in the runbook: it changes.

A monitor that can say more than "fine"

On a platform we built, a nightly check against the live site was green every night while pages were broken: the site answered every address, real or not, and sent signed-out visitors to the login page, which also answers. The check could only ever say "present". Separately, another nightly check caught a real fault ten nights running, but the step that should have opened an issue failed, and nobody heard. Good monitoring has three answers, not two: working, broken, and could not measure [4].

Step 4

Make the production check sign in, know what must not exist, and reach a person

30 minutes

Why

A monitor that cannot fail is worse than none: it says "fine" while the floor is stuck. A check that signs in like a user, asks for one address that must never exist, and treats landing on the login page as "could not measure" can tell you something is wrong. Firing its alarm on purpose is the only way to know the message reaches a person.

Do this

Paste into Claude Code
Read docs/runbook.md, docs/matrix.json, docs/access-review.md and every scheduled workflow in .github/workflows.

On a new branch go-live/monitor:
1. Review every scheduled check against production and tell me, for each: does it sign in when the page needs it, does it include an address that must not exist, and does it report "could not measure" when it lands on the login page or gets a 5xx?
2. Make .github/workflows/production-check.yml run every hour while the plant works and nightly: /api/health answers and reports the commit that is live (it must equal main's latest deployed commit); a must-not-exist address such as /this-page-must-not-exist returns 404; signed out, a protected page sends to sign-in and a protected API refuses; signed in as a "monitor" machine account, the manager view loads and shows its real content. Landing on the login page when signed in, or any 5xx, is COULD NOT MEASURE, which also alarms.
3. Add the monitor account to docs/matrix.json as a machine account that can read the manager view only (no writes, nothing else), regenerate the policies and route rules the way Sessions 8 and 9 do, and add its allowed and refused tests.
4. The alarm: on any failure, check out the repository, open (or update) one GitHub issue titled "Production check failing", assigned to both owners, with the failed step and the time. Add a workflow_dispatch input fire_alarm that makes the check fail on purpose.
5. Tell me the exact secret names to add for the monitor account's sign-in. Do not create the account or any secret yourself.

Push, open a pull request titled "Production check that can fail", wait for the checks and tell me the result.

Invite the monitor account the way Session 9 invites people (its email at acme.com), save its sign-in in the password manager, and type the secrets yourself here, with the names Claude Code gave you:

Open

https://github.com/acme-ops/acme-platform/settings/secrets/actions

New repository secret: paste the value only, with no NAME= in front.

After merge, fire the alarm on purpose and check both owners got it:

Open

https://github.com/acme-ops/acme-platform/actions/workflows/production-check.yml

Run workflow, branch main, tick fire_alarm, run. Then run it again without the tick: the issue should close or say it recovered.

You will see recreated screen

github.com/acme-ops/acme-platform/issues/77
Production check failing
Assignees: owner one, owner two1
The alarm, fired on purpose: one issue, assigned to both owners, saying which step failed.
  1. Both owners are told. Check both actually received the email; that is the part that failed for us.
  2. The control: if this ever says present, the check itself is broken.

Check it worked

production-check runs on schedule and is green; the matrix has the monitor account with its tests; firing the alarm opened an issue that both owners received, and the next run reported recovery. Add a monthly "fire the alarm" line to the runbook.

Fastest path

Asking for the review of existing checks and the new check in one prompt finds the old "always green" checks while it builds the new one, instead of after the first silent failure.

If it goes wrong

The check is green, but the manager view is broken

It is reading the login page as a success. Say: Signed in, landing on the login page is COULD NOT MEASURE, not a pass. Add a test that plants that case and show it fail.

The must-not-exist address returns 200

The site answers every address. The check would call any broken page present. Say: /this-page-must-not-exist returns 200. Make unknown pages return 404, and keep the control in the check.

The check fails but no issue appears

The alarm step is broken, which is exactly what happened to us for ten nights. Say: The check failed and no issue was opened. Read the alarm step's log, fix it, and fire the alarm again to prove it. Any check red for two runs with no open issue is itself a fault.

The monitor account cannot sign in in CI

A secret that exists but is empty or wrong looks like a sign-in failure. Retype it on the secrets page, value only, with no spaces or NAME= prefix, then re-run.

Knowledge check

Last month's restore drill was run and signed by the same person. Is that enough for go-live?

Knowledge check

A nightly check has been green for a month. Which test shows it can actually fail?

References

  1. Google SRE book: Reliable product launches at scale. https://sre.google/sre-book/reliable-product-launches/
  2. Supabase Docs: Database backups. https://supabase.com/docs/guides/platform/backups
  3. NIST SP 800-61 Rev. 3: Incident Response Recommendations and Considerations for Cybersecurity Risk Management. https://csrc.nist.gov/pubs/sp/800/61/r3/final
  4. Google SRE book: Monitoring distributed systems. https://sre.google/sre-book/monitoring-distributed-systems/
  5. PostgreSQL Documentation: psql. https://www.postgresql.org/docs/current/app-psql.html
  6. Supabase Docs: Logging. https://supabase.com/docs/guides/telemetry/logs

Chapter 2 · Session 23

Hand it to the floor

A platform the floor does not use is a cost with no return. Operators and supervisors are trained at the line from cards made from the real screens; owner two proves once more that the platform does not depend on you; and the plant manager decides go or not yet, on the list, with a pilot and paper at hand.

30 min3 stepsPilot, with paper for a week

By the end of this chapter you can

  • Have Claude Code make one station card per screen from the real screens, and train with TWI Job Instruction.
  • Prove the two-person rule from Session 1 again: owner two changes and rolls back production alone.
  • Hold the go/no-go review and start a pilot on one line and one shift, with paper kept for a week.

Training at the line

Training Within Industry (TWI) was developed in the United States during the Second World War to train new workers quickly, and its Job Instruction method is still used in plants: short, at the workstation, on shift [1]. People adopt a new way of working when they know why it is changing, can do it with confidence, and see that what they report gets fixed [2]. The screens already help with confidence (big targets, few fields, works offline); the cards and the training do the rest.

TWI Job InstructionFour steps in a loop: prepare the worker, present the operation, let them try it out, and follow up. 1 · Prepare the workerput them at ease; say what the job is and why it matters2 · Present the operationshow it one step at a time, stressing the key points3 · Try outthey do it and explain each step back; correct at once4 · Follow upcheck often at first, then taper off; say who to askAbout five minutes a person, on shift, at the tablet, for each screen they use
TWI Job Instruction. Four steps, about five minutes a person for each screen they use.
Step 5

Make a station card for every screen, then train the pilot crew

20 minutes, plus a shift

Why

A card written from memory describes the screen you meant to build. A card made from the real screens, photographed at phone size from the same code the floor will use, shows exactly what the operator will tap. Training each person in five minutes at the station, champion first, means nobody meets the screen for the first time on the morning it matters.

Do this

Paste into Claude Code
Read the operator and supervisor screens and their screen tests (Sessions 12 and 13), and docs/workflow-1-fields.md.

On a new branch go-live/station-cards, write docs/handover/station-cards.md: one card per screen the pilot line uses, for someone who has never seen it, in short sentences. Each card has:
- a picture of the screen at 390 px wide, taken with the same tool the screen tests use, on the development project's made-up data;
- the important steps, in order (no more than six), each with its key point ("tap the lot, then the reason; the time fills itself");
- what to do if the screen will not save (it works offline and syncs; if the screen says it cannot, use the paper form and tell the supervisor);
- the support path with blanks for names and phone numbers per shift: line champion, shift supervisor, platform owner.

Also add docs/handover/training-record.md: a table of screen, role, date trained, trained by (role) and count of people. No names of the people trained: the plant's own training record holds those.

Push, open a pull request titled "Station cards", wait for the checks and tell me the result.

Print the cards, fill in the names and numbers, and put one at each pilot station. Then train: the line champion first and a little deeper, then every operator and the supervisor on the pilot shift. For each person and screen: prepare (say what changes and why), present (do it once, slowly), try out (they do it and tell you each step back), follow up (come back later in the shift). Record the counts in the training record, and the names where your plant keeps training records.

You will see recreated screen

claude — acme-platform
⏺ Bash(npx playwright test screens --project=phone --update-snapshots)
⎿ 6 screens captured at 390 px (development project, made-up data)
1
⏺ Write(docs/handover/station-cards.md)
+## Record a first-piece result
+1. Tap your press. Key point: the press number is on the tag above the die.
+2. Tap the lot. Key point: the newest lot is at the top.
+3. Type the gauge reading. Key point: millimetres, three decimals.
+If it will not save: the screen keeps it and sends it later. If it says it cannot, use the paper form.
2
⏺ Pull request #78 is green: 6 station cards with pictures, and an empty training record. Fill in the names and numbers on the printed cards, not in the repository.
The cards come from the real screens, photographed at phone size.
  1. Pictures from the made-up data, never from the live project: no real records on paper by a press.
  2. Steps and key points, the TWI way: what to do, and the one thing that makes it right.

Check it worked

Each pilot station has its printed card with names and numbers; the training record shows every operator and the supervisor on the pilot shift trained on every screen they use.

Fastest path

Train the champion during a quiet hour the day before; they then help you train the rest of the shift in half the time.

If it goes wrong

The pictures show real lots or names

They were taken against the live project. Delete them from the branch and say: Take every picture on the development project's made-up data only. Real records printed by a press are records out of your control.

An operator cannot do a step even after the try-out

The screen is the problem, not the operator. Write the step down in their words, and fix the screen through a pull request before go-live. Fixes that come quickly are what make the floor keep reporting.

The supervisor wants to train everyone in one meeting room session

A room teaches the idea; the station teaches the job. Do the room for the why (five minutes at the start-up meeting) and the TWI steps at the station.

Two people, again

Session 1 ended with the two-person test: owner two changed the live site without your help. At go-live the same rule matters more, because the floor now depends on the platform. Owner two must be able to take a change from brief to production and undo a bad deploy, on their own, while you watch and do not touch.

Step 6

Prove the two-person rule: owner two changes and rolls back production alone

30 minutes

Why

If only you can deploy or roll back, the platform stops the day you are ill, on holiday or promoted. Watching owner two do a small real change and an instant rollback, without help, is the cheapest proof there is, and it often finds the one missing invitation or permission that would otherwise surface during an incident. The ownership chart and the support path then say, on paper, who does what once the project is over.

Do this

Owner two, on their own computer, with you watching and not touching: write a one-line brief (for example, add the support phone number to the operator screen's help), give it to Claude Code, review the pull request, approve it with you as second reviewer, and merge. Then, in Vercel, roll back to the previous production deployment and promote the new one again:

Open

https://vercel.com/acme-ops/acme-platform/deployments

Owner two: on the previous production deployment, the menu, Instant Rollback. Time it. Then promote the latest deployment again.

Then have Claude Code write the ownership chart and support path into docs/go-live.md:

Paste into Claude Code
On the branch go-live/review, add to docs/go-live.md:
1. "After go-live: who does what": a RACI chart for normal running with exactly one Accountable per row, for: decide what changes next; build and review changes; run the floor on it; drills, backups and keys; incidents; re-review of the IT package; monthly bill review. Roles: plant manager, owner one, owner two, supervisors, IT.
2. "Support path": operator, line champion, shift supervisor, platform owner on call, IT or the provider, with how fast each answers, matching the station cards.
3. "Two-person rule": today's date; the pull request owner two merged; the rollback and how long it took, from Vercel.

Push to the same pull request, wait for the checks and tell me the result.

You will see recreated screen

vercel.com/acme-ops/acme-platform/deployments
ProjectDeploymentsLogsSettings
1
DeploymentSourceByStatus
Production (current)main · Merge #79 add support numberowner twoReady
Production (rolled back, then promoted again)main · Merge #78owner twoReady
Vercel's deployments, after owner two's rollback. Every production deployment came from git.
  1. Owner two's name on the merge and on the rollback. Every production deployment comes from main on GitHub, never from a laptop.
  2. Write this time into docs/go-live.md.

Check it worked

Owner two merged a change and rolled production back and forward with no help; docs/go-live.md has the RACI chart (one Accountable per row), the support path and the two-person record.

Fastest path

Use a change the floor actually wants (the support number on the help screen), so the rehearsal ships something useful.

If it goes wrong

Owner two's change does not deploy: not a member of the Vercel team

Exactly what this step is for. Invite them to the team, then redeploy, as in Session 1.

Owner two cannot find Instant Rollback, or does not have permission

Make sure they have the Owner role on the Vercel team, then try again. Add the click path to docs/runbook.md in words owner two chose.

A production deployment shows it came from the command line

Someone deployed from a laptop, which sends local settings to production. Find who, roll back to the last deployment from git, and remind everyone of the standing rule: production comes only from main.

RACI after handoverA grid of six activities against four roles, showing who is responsible, accountable, consulted and informed once the platform is in normal running. Plant managerPlatform ownerSupervisorsITDecide what changes nextARCIBuild and review changesIACIRun the floor on itACRIDrills, backups, keysIAICRe-review IT packageIRIAMonthly bill reviewARIIR does the work · A answers for it (one per row) · C is consulted · I is informed
Who does what after handover. One A per row: the platform owner answers for the platform, the plant manager for what it is used for.

The decision, and a careful start

Go-live is a managed change. ISO 9001 asks for changes to be planned and controlled, with their results recorded [3]; plants under OSHA's process safety management standard must run a formal management of change before altering a covered process [4]. If your platform records anything such a process relies on, take it through your plant's procedure as well as this review. Then start small: one line, one shift, with paper kept for the first week and compared every day.

Cutover strategiesThree ways to go live drawn as timelines: big bang switches everyone at once; a pilot starts with one line and shift; pilot plus parallel also keeps paper for the first week and compares results. weeks after go-live012345678Big bang: highest riskeveryone switches on one day; paper stopsPilot: lower riskone line, one shift first; then the restPilot + parallel: lowest riskthe pilot also keeps paper for a week, and results arecomparedpaper and platform side by sidepilot line onlywhole planteveryone at once
Three ways to go live. A pilot limits who is affected; a parallel week proves the platform against paper before paper stops.
Step 7

Hold the go/no-go review, and start the pilot with paper at hand

30 minutes, plus the pilot

Why

A decision that is not written down is remade every time something goes wrong. Thirty minutes on the list, item by item, with the person who owns the plant's risk deciding, and the decision saved in the repository, settles it. Starting on one line with paper for a week means the first problem costs a shift's re-keying, not the plant's records.

Do this

Send the plant manager, the pilot supervisor, quality and, if any item touches the network or accounts, IT the link to the pull request Go-live review the day before. In the meeting, read each item, open its evidence, and mark it green or red. "Nearly" is red. Any red is "not yet", with an owner and a date.

Then give Claude Code the outcome:

Paste into Claude Code, after replacing the <...> parts
Update docs/go-live.md on the branch go-live/review with the review held on <date> with <roles present>:
- Mark each item green or red as decided: <list the items and their colour>. For each red: the owner (by role) and the new date.
- Decision: <Go / Not yet>, by the plant manager, on <date>.
- If Go: the pilot plan: line <line>, shift <shift>, start <date>. Week 1: platform and paper side by side, compared daily (entries per shift, holds, first-piece results), agreed tolerance <tolerance>. Week 2: paper stops on that line only if week 1 matched. Then the other shifts and lines, one step a week.
- The way back to paper: <conditions, for example the platform unavailable for more than 30 minutes or an entry lost>, and who decides (the shift supervisor).
- Management of change: <reference of the plant's procedure, or "not applicable" and why>.

Push, wait for the checks and tell me the result.

Owner two approves and the pull request merges: the decision is now on main, next to the runbook. Put the go-live date, the line, the shift, why it is changing and who to ask on the shift notice board, and say it at the start-up meeting.

You will see recreated screen

github.com/acme-ops/acme-platform/blob/main/docs/go-live.md
docs/go-live.md
Decision: Go, by the plant manager, 2026-10-23Pilot: press line 2, day shift, from 2026-10-27; paper kept for week 11
ItemResult
11 protocol gatesgreen, runs of 2026-10-21
Restore drill, witnessedgreen, 19 min, 2026-10-21
Pilot crew trainedgreen, 14 of 14
Paper fallback printedgreen
Way back to paperPlatform unavailable for more than 30 minutes, or an entry lost. The shift supervisor decides.2
The decision on main, as anyone can read it later.
  1. Who decided, when, and the pilot's scope: the record the next person will look for.
  2. Written in advance, so going back is following the plan, not a defeat.

Check it worked

docs/go-live.md on main records the decision, who made it and the date, every item's colour, and (if Go) the pilot plan, the daily comparison and its tolerance, and the way back to paper.

Fastest path

Send the link the day before. A review where everyone has already opened the evidence takes 30 minutes; one where they see it for the first time takes two meetings.

If it goes wrong

Someone says an item is "nearly" done, so it can be green

Red. Nearly is not done. Give it an owner and a date and book the next review; a week's delay costs less than a pilot that stops on day two.

The plant manager cannot attend

Do not hold it without them: the decision is theirs. Move the date. A review with nobody accountable is a meeting, not a decision.

The pilot supervisor wants to start on all shifts at once

Show them the cutover figure. One shift means the champion and the floor walker can be there for every hour of it, and the comparison with paper is one sheet, not three.

Knowledge check

Every platform item is green, but the paper fallback is not printed. What does the review decide?

Knowledge check

Why does owner two, not you, do the change and the rollback before go-live?

References

  1. TWI Institute: Training Within Industry. https://www.twi-institute.com/
  2. Prosci: The ADKAR model. https://www.prosci.com/methodology/adkar
  3. ISO 9001:2015 Quality management systems: Requirements. https://www.iso.org/standard/62085.html
  4. OSHA 29 CFR 1910.119: Process safety management of highly hazardous chemicals. https://www.osha.gov/laws-regs/regulations/standardnumber/1910/1910.119
  5. Vercel Docs: Instant Rollback. https://vercel.com/docs/instant-rollback

Chapter 3 · Session 23

The certification practical, and the first week

The practical is a live review: you show a CivOps reviewer your deployed platform meeting eight points, each with evidence you built during the course. Meanwhile the pilot runs its first week, compared with paper every day, and the day-30 review puts today's number into the cost case.

30 min2 stepsEnds with a gate

By the end of this chapter you can

  • Write docs/practical.md with evidence for each of the eight points, and give the reviewer read access only.
  • Run the pilot's first week: a daily comparison with paper, a ten-minute review, quick visible fixes.
  • Plan the day-30 review that replaces "Not measured yet" in docs/costs.md with the floor's numbers.
The practical's evidenceEight practical points, each with the evidence shown at the live review and the sessions where it was built. Practical pointEvidence you showSessionsDeployed by someone elsea merged pull request by a second person1, 11, 23Row-level security on every tablegenerated policies and a test per role7, 8New route refusedthe default-deny test9Phone check on three surfaces390 px screen tests12, 13Record end to endthe journey test and one record live14, 15Checks, security, protocoltoday's runs on main10, 18, 19Restore drilled, witnessedthe drill log11, 23IT package matchesthe tag and a green drift check21
The practical's evidence. Every point was built in an earlier session; the practical shows it still holds on the live platform.
Step 8

Gather the practical's evidence, and give the reviewer read access

20 minutes, plus the review

Why

The reviewer checks that the platform works and that your company can run it without you. Evidence gathered from main on the day, each point with a link, makes the review a walk through links rather than a demonstration from memory. Read access through GitHub is all the reviewer needs: no password, key or login of yours ever leaves the company.

Do this

Paste into Claude Code
On a new branch go-live/practical, write docs/practical.md for the CivOps reviewer. For each of the eight points, give the evidence as links to today's results on main, and the session that built it:
1. Deployed from the repository by someone other than me: owner two's merged pull request and the Vercel deployment it produced (docs/go-live.md, two-person rule).
2. Row-level security on every table, generated from docs/matrix.json: the generated migration and today's access test run.
3. A new route is refused until the matrix opens it: the default-deny test.
4. Operator, supervisor and manager screens pass the phone check: today's screen test run at 390 px.
5. A record travels from the operator screen through review to the manager view: the end-to-end journey test run.
6. The quality checks, the security suite and the testing protocol pass: today's runs from docs/go-live.md.
7. The restore drill, witnessed and timed: the drill-log line in docs/runbook.md.
8. The IT approval package matches what runs: the tag from Session 21 and today's drift check.
Run anything without a result from today on main and wait for it. If a point fails, say so; do not write around it.

Push, open a pull request titled "Practical evidence", wait for the checks and tell me any point that is not green.

Give the reviewer read access to the repository, with the GitHub username shown on the practical page of the course site:

Open

https://github.com/acme-ops/acme-platform/settings/access

Add people, the reviewer's GitHub username, role Read. Remove it after the review.

Then hand in the practical on the course site: the live address https://acme-platform.vercel.app, the repository link, the link to docs/practical.md, and two or three times for the live review. In the review you share your screen and drive; the reviewer never signs in to your platform.

You will see recreated screen

github.com/acme-ops/acme-platform/settings/access
GeneralCollaborators and teamsRulesActionsSecrets and variables
Manage access
1
WhoRole
owners (team)Admin
civops-reviewerRead
Add people
The reviewer's access: read only, on one repository, removed after the review.
  1. Read is enough to open every link in docs/practical.md. Never write, never admin, and never a login to the platform itself.

Check it worked

docs/practical.md is on main with a link for every point, all green; the reviewer has Read access; the practical is handed in with times for the review.

Fastest path

Run the practical's evidence the same day as the go-live review: most links are already in docs/go-live.md, so this prompt mostly copies and re-runs.

If it goes wrong

A point fails today that passed when it was built

Good that you found it before the reviewer. Fix it through a pull request with a test, then rerun the evidence. Things drift; that is why the evidence is from today.

The reviewer asks for a login to try the screens

Offer the screen share instead: you drive, on the live platform, as each role you have. The rule from Session 1 holds: no login, key or password leaves the company.

Owner two's merge is missing because you merged everything yourself

Point 1 needs someone other than you. Do step 6 of chapter 2 now, then link it.

The first week on the floor

In the pilot week, the supervisor compares the platform with paper every day: entries per shift, holds, first-piece results. A difference is not a failure; an unexplained difference is. Find out why before the next step. Close support in these days (a floor walker on every pilot shift for the first hour, a channel the floor can reach in seconds, a ten-minute daily review) is what makes the floor keep using it: questions are many at first and fall quickly when they are answered quickly.

The pilot planFive weeks: a dress rehearsal, then Line 2 day shift with paper in parallel, Line 2 all shifts, all lines, and paper retired. Week 0Dress rehearsala full shift on made-updata with the pilotcrewWeek 1Line 2, day shiftplatform and paper sideby side; compare dailyWeek 2Line 2, all shiftspaper stops on Line 2if week 1 matchedWeek 3All lineschampions on everyshiftWeek 4Paper retiredreview, then hand overto normal runningEach step needs the previous week's numbers to match; if they do not, stay a week longer
The pilot plan. Each step needs the previous week's comparison to match.
Step 9

Run the first week: compare with paper daily, fix fast, and set the day-30 reading

10 minutes a day for a week

Why

The parallel week is the last place a problem is cheap: paper still holds the truth. A comparison query you run each morning, a ten-minute review with the supervisor and fixes that ship the same day turn the floor's questions into improvements they can see. Booking the day-30 review now means today's number in docs/costs.md gets measured, instead of staying "Not measured yet" for ever.

Do this

Paste into Claude Code
On a new branch go-live/first-week:
1. Write supabase/queries/pilot-daily.sql: one read-only select that, for a given date, line and shift, counts first-piece results, results outside limits, holds and releases, and lists any result outside its limits with no hold within 30 minutes. Add a pgTAP test with made-up rows and a hand-worked answer, shown failing first.
2. Add to docs/go-live.md a "First week" table: date, platform counts, paper counts, difference, explained by, fixed by (pull request). Leave it empty for us to fill.
3. Add to docs/runbook.md: a ten-minute daily review in week 1 and 2 (yesterday's comparison, questions raised, what was fixed), and a day-30 review: rerun supabase/queries/intent-measure.sql on the live project, take the after-timings for the tasks in docs/timings/, put both into docs/costs.csv with their sources, and run npm run cost-case.

Push, open a pull request titled "First week", wait for the checks and tell me the result.

Each morning of the pilot week, run the comparison yourself on the live project and fill in the row with the supervisor:

Open

https://supabase.com/dashboard/project/abcdefghijklmnopqrst/sql/new

Paste supabase/queries/pilot-daily.sql with yesterday's date, line and shift, and press Run. It only reads.

Small fixes from the floor go through the usual path (brief, pull request, checks, owner two approves) the same day, and are announced at the next start-up meeting. At the end of week 1, decide with the supervisor whether paper stops on the pilot line, and write the decision in docs/go-live.md.

You will see recreated screen

supabase.com/dashboard/project/abcdefghijklmnopqrst/sql/new
Table EditorSQL EditorDatabaseAuthenticationLogs
1
first_pieceoutside_limitsholdsreleasesoutside_no_hold_30min
182210
The comparison for one shift. The difference is explained, so it is not a failure.
  1. Zero results outside limits without a hold: the decision the intent was about is working on this shift.
  2. Explained: the offline queue did not exist on that tablet's old browser. The fix is a pull request today, and a line in the First week table.

Check it worked

Each day of week 1 has a row in the First week table with any difference explained; the decision on paper for week 2 is written in docs/go-live.md; the day-30 review is in docs/runbook.md and in the plant calendar.

Fastest path

Run the comparison before the start-up meeting, so the supervisor can raise any difference with the shift that made it, while they still remember.

If it goes wrong

The platform shows fewer entries than paper and nobody can say why

Do not move to week 2. Ask Claude Code: Yesterday the platform has <n> first-piece results for line <line>, shift <shift>, and paper has <m>. Without changing any data, list what could make them differ (offline queue, a failed save, a screen error) and how to check each in the logs. Then ask the floor.

The production check alarms during the pilot

Follow the runbook: can the floor carry on, on the platform or on paper? Then the incident plan. Note the time in the First week table; the comparison will show whether any entry was lost.

Questions from the floor stop coming in week 1

Silence in week 1 usually means people stopped reporting, not that nothing is wrong. Ask the champion; walk the line at the start of the shift.

HypercareBars for ten working days, falling from about fourteen questions a day to one. The first week has a floor walker on every shift; the second relies on line champions with the owner on call. Questions and problems raised a working day, pilot weeks (illustrative)051015day 1day 2day 3day 4day 5day 6day 7day 8day 9day 10floor walker on every shiftchampions answer; owner on call
The first two weeks. Illustrative: questions fall quickly when they are answered quickly.
Before you go on · Session 23 is done whenTick each one

Knowledge check

How does the reviewer see your code for the practical?

Knowledge check

On Tuesday the platform shows one fewer first-piece result than paper. What next?

References

  1. OWASP Top 10. https://owasp.org/Top10/2025/
  2. GitHub Docs: Adding outside collaborators to repositories in your organization. https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-outside-collaborators/adding-outside-collaborators-to-repositories-in-your-organization
  3. Google SRE book: Reliable product launches at scale. https://sre.google/sre-book/reliable-product-launches/

Chapter 4 · 12 questions · 80% passes

Final assessment

Twelve questions across the element. Score 80% (10 of 12) to pass. Your LMS records your score and each answer; you can review the chapters and try again.

15 min12 questions≈ 15 minutesRetake allowed

Choose one answer for each question, then submit. You will see the right answer and why for every question.

1. What is docs/go-live.md drafted from?
2. Who may mark a go-live item green?
3. Where does the restore drill restore last night's backup?
4. Who runs the drill and who signs it?
5. In the drill, the anon role can read rows from a restored table. What do you do first?
6. Data was reachable without sign-in. What is the first step after starting a timeline?
7. A production check signed in but landed on the login page. What should it report?
8. Why does the production check request an address that must not exist?
9. Station card pictures are taken from:
10. What are the four steps of TWI Job Instruction?
11. Which cutover does the course recommend?
12. How does the reviewer see your work for the practical?