Skip to content
ModuleM11 — Master capstone
After this session you canPromote the module and capability to your lab release, threat-model them, and write their operations plan and runbook.
Time147 min with a facilitator · about 147 min on your own, in two parts of about 70 minutes
Before you startM11-S2 and your strand’s M11-S3 or M11-S4 done: the packages and, on the source strand, the build. Larkspur Lab running with the workbench windows; the release credential Larkspur Release; the threat-model card; your predictions from M11-S2; the operations plan template from M9-S2.
Go deeperImport API · Maintenance operations · Runbooks · Observability

◆ Orientation (1 min) — From working to operable

Section titled “◆ Orientation (1 min) — From working to operable”

A module that works in Larkspur Dev is not yet a module Larkspur can run. In this session you prove it travels (it installs in another environment from its packages and a short list of manual steps), that it is defended (its threat model is complete and its top controls are verified, not assumed), that you can see inside it (one dispatch traced through the engines), and that someone can operate it on a bad day (an operations plan, a runbook that was rehearsed, and a performance check with a number).

★ Capstone (140 min) — Promote, defend, trace and operate

Section titled “★ Capstone (140 min) — Promote, defend, trace and operate”
  1. Follow the program’s promotion path (row 7): the one you set for Larkspur in M1-S2, from Larkspur Dev to your lab release. Record each step as you take it: this record is evidence.
  2. Source strand only: the build first. Build the platform images from your feature branches, load them into your lab cluster, and upgrade the release lk to them with the chart, as ACDE taught. Confirm the engine part is present (the designer offers your control, or the validator refuses a test sign-off) before any package is installed, as your runbook step from M11-S4 requires.
  3. Import the packages by script (row 7), with the Larkspur Release credential, through the import session you drove in M6-S3: upload, open the session, read its plan, resolve each mapping, execute, and read the outcome. Keep the script and its output.
  4. Do the manual steps your packages’ READMEs list, and nothing else: credentials in configuration, the stub’s address for the lab, group memberships. If you find a step that is not on the list, add it to the README first, then do it: the list must be complete for the next environment.
  5. Smoke-test in the lab as the module’s people: Huda dispatches a visit, Maya works it on the phone, the work order closes, and your capability does its job once.
  6. Record the promotion: versions installed, steps taken, anything that differed from Dev and why. Note where the release credential’s system-level grant was used, and what limits that exposure (row 6).

Resume point: the module and the capability run in the lab release, installed from their packages and a complete list of manual steps.

Part 2 — Defend, trace and operate it (about 70 minutes)

Section titled “Part 2 — Defend, trace and operate it (about 70 minutes)”
  1. Complete the threat model (row 6): the diagram of the capability and its module with every trust boundary, STRIDE per element on every element across a boundary, each threat on the priority ladder, and a control for each above the line (threat-model card).
  2. Verify the top three controls on the lab release, each with the check that would fail without it: for example a write with the integration’s credential that must be refused, a post without the agreed header that must be rejected, a log search by correlation id that must not show personal data. Record result and date.
  3. Complete the engine trace (row 4): dispatch visit SV-0101 with your own correlation id, then use the workbench to follow it: the request in the logs, the messages on the bus tap, the stored visit and work order in the record store, the reaction and workflow records. Mark each of your M11-S2 predictions confirmed or wrong, and explain every surprise from what the engines do.
  4. Write the operations plan for the capability with the template from M9-S2: what to watch, what normal looks like, what to do on upgrade, who is on call, and the dependencies on the outside service.
  5. Write one runbook for the failure most likely to wake someone: the outside service down, a feed flooding, or a stuck dispatch. Each step says what to look at, what you expect to see, and what to do.
  6. Rehearse the runbook (row 7): stop the stub, or replay a flood, or stall a dispatch on the lab release, and follow your runbook as written. Change every step that did not work as written.
  7. Run a performance check (row 7): name one measure that matters for your capability (for example the time from dispatch to a stored estimate for fifty dispatches, the nightly feed’s duration for five hundred suppliers, or the time to open the dispatcher’s board with two thousand visits, created with the Larkspur pack’s load script). Measure it, and say whether the result is acceptable and why.

Resume point: the capability is defended, traced, documented for operations, and measured.

  • The promotion followed the program’s path, and each step is recorded (rows 2 and 7).
  • Source strand: the build was installed and checked before any package (row 7).
  • The import ran by script through its session, and the output is kept (row 7).
  • The packages plus the listed manual steps were enough; any missing step was added to the list (row 7).
  • The smoke test passed as Huda, Maya and the capability’s users (row 3).
  • Every element across a trust boundary was examined with STRIDE (row 6).
  • The three top controls were verified on the lab release, with results and dates (row 6).
  • Credentials are least-privilege and none is in a package (row 6).
  • The engine trace names each engine on the path and what it recorded, and every surprise is explained (row 4).
  • The operations plan covers watching, upgrading, on-call and the outside dependency (row 7).
  • The runbook was rehearsed and corrected where it failed (row 7).
  • The performance check names its measure, its result and the judgement (row 7).

If something goes wrong

What you seeWhat to do
The import answers 400 when the session is openedThe script is not sending the space header; every import route needs it.
The import answers 403The release credential lacks the grant the import routes need; check it as M6-S3 showed, and record the exposure in your threat model.
The import plan shows an unmatched resourceRead the plan’s mapping for it and decide match, create or stop; never execute blind.
A manual step is needed that the README does not listAdd it to the README before you do it: the list must be complete.
The bus tap shows nothing for your dispatchThe tracer is off, or the tap was emptied after the dispatch; switch it on, empty it, and dispatch again with a new correlation id.
Your performance check needs data you do not haveUse the Larkspur pack’s load script for the volume, in the lab only. If the outside service has a usage limit, see Plan limits in the docs.

✓ Practice (5 min) — Shipping and operating

Section titled “✓ Practice (5 min) — Shipping and operating”
PracticeChoose one answer.

During the import into the lab, you discover that the stub’s address must also be set in a second place that your README does not mention. What do you do first?

  1. Explanation for A

    ✗ Incorrect

    Not this one: row 7 asks that the package plus the listed steps are enough; an unlisted step will be missed in the next environment. See Part 1.

  2. Explanation for B

    ✓ Correct

    Correct: the README is the procedure for every future environment; fixing it first keeps it true. See Part 1.

  3. Explanation for C

    ✗ Incorrect

    Not this one: environment-specific values belong to each environment’s configuration, not to the package. See Part 1.

Check your answer

The correct answer is B. Open the explanation under each option to see why.

PracticeChoose one answer.

A control in your threat model says: “The integration’s application user can only create readings.” How do you verify it in the lab?

  1. Explanation for A

    ✗ Incorrect

    Not this one: reading the configuration shows what was intended, not what the platform enforces; the check must try what should fail. See Part 2.

  2. Explanation for B

    ✗ Incorrect

    Not this one: an author’s statement is not evidence; the control is verified by a test. See M5-S4: verify each control.

  3. Explanation for C

    ✓ Correct

    Correct: a verification is the check that would fail without the control, run as the identity it constrains. See Part 2.

Check your answer

The correct answer is C. Open the explanation under each option to see why.

PracticeChoose one answer.

You rehearse your runbook “the routing service is down”. Step 3 says “check the Function’s logs”, but in the lab the Function’s log lines carry no correlation id, and you cannot find the right ones. What should change?

  1. Explanation for A

    ✓ Correct

    Correct: a rehearsal exists to find steps that do not work as written; fix the step and record the gap it revealed. See Part 2.

  2. Explanation for B

    ✗ Incorrect

    Not this one: the lab runs the same release; a step that fails there will fail in production too. See Part 2.

  3. Explanation for C

    ✗ Incorrect

    Not this one: the step was there for a reason; make it work rather than drop the evidence it was meant to give. See Part 2.

Check your answer

The correct answer is A. Open the explanation under each option to see why.

PracticeChoose one answer.

Which is a performance check that meets row 7?

  1. Explanation for A

    ✗ Incorrect

    Not this one: an impression has no measure and no number, so nobody else can repeat it. See Part 2.

  2. Explanation for B

    ✗ Incorrect

    Not this one: a cluster-wide figure does not say how the capability performs for its users. See Part 2.

  3. Explanation for C

    ✓ Correct

    Correct: it names a measure tied to the capability, its result, and why the result is acceptable. See Part 2.

Check your answer

The correct answer is C. Open the explanation under each option to see why.

The module and the capability run in your lab release, installed from their packages and a complete list of manual steps (and, on the source strand, from your build first). Their threat model is complete, with its top controls verified on the running platform. One dispatch is traced through the engines, with your predictions checked. And Larkspur has an operations plan, a rehearsed runbook and a measured performance figure for the capability.

Next. In M11-S6 you write the architecture documentation that lets another master run, change and recover what you built, and you review another master’s capstone.