M11-S5 — Capstone IV: ship and operate
Section titled “M11-S5 — Capstone IV: ship and operate”| Module | M11 — Master capstone |
| After this session you can | Promote the module and capability to your lab release, threat-model them, and write their operations plan and runbook. |
| Time | 147 min with a facilitator · about 147 min on your own, in two parts of about 70 minutes |
| Before you start | M11-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 deeper | Import 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”Part 1 — Promote it (about 70 minutes)
Section titled “Part 1 — Promote it (about 70 minutes)”- 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.
- Source strand only: the build first. Build the platform images from your feature branches, load
them into your lab cluster, and upgrade the release
lkto 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. - 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.
- 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.
- 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.
- 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)”- 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).
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Check yourself against the rubric
Section titled “Check yourself against the rubric”- 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 see | What to do |
|---|---|
The import answers 400 when the session is opened | The script is not sending the space header; every import route needs it. |
The import answers 403 | The 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 resource | Read 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 list | Add it to the README before you do it: the list must be complete. |
| The bus tap shows nothing for your dispatch | The 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 have | Use 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”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?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
A control in your threat model says: “The integration’s application user can only create readings.” How do you verify it in the lab?
Check your answer
The correct answer is C. Open the explanation under each option to see why.
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?
Check your answer
The correct answer is A. Open the explanation under each option to see why.
Which is a performance check that meets row 7?
Check your answer
The correct answer is C. Open the explanation under each option to see why.
↺ Recap (1 min) — What you have now
Section titled “↺ Recap (1 min) — What you have now”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.