M11-S3 — Capstone III: the new capability through documented extension points
Section titled “M11-S3 — Capstone III: the new capability through documented extension points”| Module | M11 — Master capstone |
| After this session you can | Build your chosen capability through documented extension points and prove the no-code guarantee. |
| Time | 214 min with a facilitator · about 214 min on your own, in three parts of about 70 minutes |
| Before you start | M11-S2 done: the Field Service module accepted. Your capability’s specification from M11-S1. Module 7’s work as your pattern (M7-S1 to M7-S4). Larkspur Dev with its function builder; the stub for your capability running, from the Larkspur pack; Omar Haddad’s sign-in; the no-code checklist. |
| Go deeper | Functions · Writing data · Errors and retries · Choosing a credential |
◆ Orientation (1 min) — The capability, through the platform’s own doors
Section titled “◆ Orientation (1 min) — The capability, through the platform’s own doors”You build your chosen capability with the documented extension points you used in Module 7: a Function with parameters a builder sets, the HTTP API with a least-privilege credential, events and webhooks, and a versioned package. Nothing in the platform changes. The test you are held to is the one Module 7 ended with: a builder who did not build it configures and extends it on the web and the phone, without code, and every item of the checklist has evidence.
★ Capstone (207 min) — Build, prove and package the capability
Section titled “★ Capstone (207 min) — Build, prove and package the capability”Your capability, mapped to the extension points
Section titled “Your capability, mapped to the extension points”Your M11-S1 specification already names the extension point the need deserves. Use this table to check it against the patterns Module 7 taught, and choose the variant your specification needs:
| Capability | The outside service (a stub) | The documented points you will use | What a builder must configure afterwards |
|---|---|---|---|
| Travel-time dispatch | The routing stub: answers an estimated travel time for two places | A Function with builder-facing parameters, called by a reaction when a visit is dispatched; the result stored on the visit | Which visit types get an estimate; the travel time above which the board highlights a visit |
| Supplier risk scores | The rating-feed stub: posts each supplier’s score every night | An inbound feed through the API with its own least-privilege application user and idempotent writes; a reaction that opens a review | The score below which a review opens; who reviews which supplier category |
| Photo evidence check | The image-check stub: answers a verdict for an image | A Function called when a photo is attached, storing the verdict; a workflow condition on sign-off | Which visit types need a checked photo; who may override a failed check, with a reason |
If you proposed your own capability, write your own row in the same columns before you start.
Part 1 — The outside service, safely (about 70 minutes)
Section titled “Part 1 — The outside service, safely (about 70 minutes)”- Build the integration your row names: the Function (with parameters a builder sets in the designer, as in M7-S1) or the inbound feed (as in M7-S2). Keep each value a builder may change out of the code.
- Credentials (row 6): one credential per integration in this environment, with the narrowest grant; any key the stub needs is held in configuration and sent in a header, never in an address, never in code.
- Writes that can be repeated (row 3): a retried call or post must not create a second record or a second review. Decide how, and write it in a decision record.
- The failure path (rows 3 and 6): when the stub is slow, down or answers nonsense, what does the record show, who is told, and what can people still do? Build it.
- Test against the stub: a normal answer, a slow answer, a failed call, and a malformed answer. Record what the platform did for each.
- Add the new doors to your threat model: the rows for this capability’s flows and credential, with STRIDE and a planned control each. You complete and verify them in M11-S5.
Resume point: the capability reaches its outside service, safely and repeatably, and fails visibly.
Part 2 — Into the module (about 70 minutes)
Section titled “Part 2 — Into the module (about 70 minutes)”- The configuration as records (row 5): build the entity or settings that hold what the builder will configure (visit types needing an estimate or a photo; the score threshold; the reviewers), and make the integration read them. A new visit type, threshold or reviewer must be a new record, not a deployment.
- The automation: wire the capability into Field Service or Supplier Management as your row describes, once per event, with its failures reported (as your standard requires).
- Fields and screens: show the result where its users work: the estimate on Huda’s board, the score and the open review on the supplier, the verdict on the visit and in Maya’s sign-off form.
- On the phone: check every screen the capability adds or changes on the phone; declare any gap.
- Acceptance: run your capability’s acceptance criteria from M11-S1 as their owners.
Resume point: the capability works in the module, configured by records, on both surfaces.
Part 3 — The no-code proof, and the package (about 70 minutes)
Section titled “Part 3 — The no-code proof, and the package (about 70 minutes)”- Brief the builder (row 5): write Omar Haddad a half-page brief of what he can configure, without telling him how. Give him Developer on the module that holds the configuration, and nothing more.
- The builder’s walkthrough: as Omar, on the web, he extends the capability to something it did not do before: a new visit type that needs an estimate or a photo, a new supplier category with its reviewer, a changed threshold. Then he, or Maya as the user, sees the result on the phone.
- Evidence: for every item of the no-code checklist, write what Omar or Maya did and what you saw. Note every question Omar asked, and whether it reveals a gap in the capability or only in his brief.
- Package (row 7): a versioned package of the module or modules the capability lives in, with its Function; release notes; and the manual steps a package cannot carry (the credential, the stub’s address in each environment), listed in its README. You promote it in M11-S5.
Resume point: a builder has proved the capability no-code, and it is packaged for promotion.
Check yourself against the rubric
Section titled “Check yourself against the rubric”- The capability meets every acceptance criterion in its specification (row 5).
- It uses the extension point your specification justified, and no deeper one (row 5).
- Every value a builder may change lives in records or parameters, not in code (row 5).
- One credential per integration, narrowest grant, held in configuration, sent in a header (row 6).
- A repeated call or post creates nothing twice (row 3).
- The failure path shows on the record, tells a named person, and leaves people able to work (rows 3 and 6).
- The four stub tests are recorded with their results.
- The threat model has rows for the new flows and credential (row 6).
- The capability shows where its users work, on the web and the phone, or declares its phone gap.
- Omar extended the capability to something new without code, on the web, with the result seen on the phone (row 5).
- Every checklist item has evidence (row 5).
- The package has a version, release notes and its manual steps (row 7).
- No credential is in any package, Function code or address (rows 6 and 7).
If something goes wrong
| What you see | What to do |
|---|---|
| The stub cannot be reached from the Function | Use the stub address the Larkspur pack prints for Larkspur Dev; a laptop-local address is not reachable from your practice space. |
| Omar cannot find where to configure the capability | That is a finding about your capability, not about Omar: the configuration is not where a builder looks. Move it or describe it in his brief, and record which. |
| A retried feed post creates a duplicate | Your writes are not idempotent: match on the outside system’s own reference, and update instead of create. |
| You run out of time in Part 2 | Keep the configuration-as-records step whatever else you cut: without it, row 5 cannot meet. |
| Your Function hits a usage limit during tests | See Plan limits in the docs. |
✓ Practice (5 min) — Extension decisions
Section titled “✓ Practice (5 min) — Extension decisions”Your travel-time Function has a parameter “minutes above which the board highlights a visit”, set when the Function is deployed. Dispatchers will want to change it each season. Does the design meet row 5?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
The rating-feed stub posts the same supplier’s score twice after a timeout. What design makes the second post harmless?
Check your answer
The correct answer is C. Open the explanation under each option to see why.
During the proof, Omar asks how to make the image check apply to a new visit type. You show him the record to add, and he does it. How do you record this?
Check your answer
The correct answer is A. Open the explanation under each option to see why.
Which of these belongs in the capability package’s README as a manual step?
Check your answer
The correct answer is B. 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”You have your capability, built through documented extension points: its outside service reached with a narrow credential, repeatable writes and a visible failure path; its behaviour configured as records a builder edits; its result where people work, on both surfaces; a builder’s proof with evidence for every checklist item; and a versioned package with its manual steps.
Next. In M11-S5 you promote the module and the capability to your lab release, finish and verify the capability’s threat model, write its operations plan and runbook, and check its performance.