M10-S3 — Review the Tamarind dossier
Section titled “M10-S3 — Review the Tamarind dossier”| Module | M10 — Standards and review |
| After this session you can | Deliver a full, verified design review of another team’s extension, in the five-part format the capstone uses. |
| Time | 71 min with a facilitator · about 68 min on your own |
| Before you start | M10-S2: the method and the deliverable. Your standard 1.0 and the templates. Larkspur Dev open as rami.aziz, and a terminal from the workbench, for one check on the platform. |
| Go deeper | Webhooks and integrations · Package format |
◆ Orientation (1 min) — The whole dossier
Section titled “◆ Orientation (1 min) — The whole dossier”Calder & Finch Consulting want Larkspur to adopt their cold-chain monitoring extension, first built for Tamarind Foods. You reviewed one slice in M10-S2 and saw two findings about its integrations in the worked scenario there. Now you review the whole dossier, verify what needs verifying (one claim on the platform), and deliver the review in five parts. Larkspur’s Operations Director will decide on the purchase from your verdict, so it must be right, ranked and actionable.
⛏ Lab (53 min) — Review the dossier and deliver
Section titled “⛏ Lab (53 min) — Review the dossier and deliver”Goal. A complete review of the Tamarind dossier: scope, verdict, ranked findings with evidence and verification, recommendations tied to findings, and what to keep.
Before you start. Read the dossier once, straight through, before you take any notes.
The Tamarind dossier
Section titled “The Tamarind dossier”Calder & Finch Consulting · Cold-chain monitoring for Tamarind Foods · Design dossier, version 1.1.0. Fictional; for this course only.
1. Purpose. Tamarind Foods stores and moves chilled and frozen food: three warehouses and forty refrigerated trucks. Food-safety rules require every temperature excursion to be detected, acknowledged and closed with a record. This extension monitors temperatures and manages excursions.
2. Overview. Sensor gateways in each warehouse and truck post temperature readings to the platform. A Function checks each reading against its product category’s limits and records an excursion when a reading is out of range. The duty manager is notified until the excursion is acknowledged, and the haulage partner, Polar Haulage, is told so that it can reroute a truck.
3. Data model. Module Cold Chain. Storage Units: name (in English and Arabic), type (warehouse or truck), product category (a category field: frozen, chilled, ambient), sensor id. Temperature Readings: storage unit, degrees Celsius, taken at. Excursions: storage unit, reading, severity, status (Open, Acknowledged, Closed), last notified at.
4. Automation. R1. On a new Temperature Reading, call the Function
excursion-check. R2. On an Excursion being updated, if its status is Open: notify the duty manager, then set last notified at to now. The platform’s loop guard stops the chain after a few runs, which gives the duty manager a few natural reminders. R3. On a new Excursion: call Polar Haulage’s receiving address with the unit, the product category, the temperature and the time.5. The excursion check. For every new reading, the Function finds the storage unit and compares the reading with its category’s limits:
const LIMITS = { frozen: [-25, -18], chilled: [0, 5], ambient: [10, 25] };The unit is found with a structured filter on the sensor id. The Function runs as the application user Tamarind Cold Chain, which may read Storage Units and create Excursions. It also asks Polar Haulage’s tracking service which truck carries a unit, with Polar Haulage’s API key.6. Integrations. Inbound: every sensor gateway posts with the token of the application user Tamarind Sensors; all gateways share the token, which keeps the set-up simple. Outbound: R3 posts to Polar Haulage’s receiving address. The address is not published anywhere, so no authentication is needed. If the call fails, the excursion is still recorded. Published message: for Tamarind’s ERP, the extension publishes the event
coldchain/excursion-raised, version 1, with the unit, the temperature and the severity: 1 minor, 2 major, 3 critical.7. What changed in 1.1.0. Tamarind asked for a moderate level. Severity is now 1 minor, 2 moderate, 3 major, 4 critical. The event stays at version 1, because its fields did not change.
8. Packaging and installation. Package
tamarind-cold-chain1.1.0 contains the Cold Chain module and the Function. The Polar Haulage API key is stored in the Function’s configuration and travels with the package, so installation is a single import with no manual steps.9. Testing. Two weeks in Tamarind’s tenant: about twelve hundred readings, fourteen excursions, no errors.
-
Write the scope: the document and version, the standard, and what you cannot check (you have no access to Tamarind’s tenant or to the Function’s full code).
-
Make the five passes, one per dimension, using the dimension table. Write every candidate with the section it comes from and the rule it would break.
-
Verify each candidate by re-reading the exact sections and tracing what follows. Pay particular attention to what sections 4, 6 and 7 imply together.
-
Verify one claim on the platform: section 8 says the API key is stored in the Function’s configuration and travels with the package. In Larkspur Dev, open Administration › Packages › Build, open the package Larkspur Tools and download its version 1.0.0, which contains the Function
sample-notifier. Unzip it and read what the package records for that Function:Terminal window unzip -q larkspur-tools-1.0.0.zip -d ltls lt/resources/Function/jq 'paths | map(tostring) | join(".")' lt/resources/Function/*.json | grep -i -c "secret\|apikey\|identity"Record the count and the fields you see, and what they tell you about sections 5 and 8. Recall from M6-S1 what a Function on the 1.10 line holds.
Screenshot pending The Larkspur Tools package page with version 1.0.0 listed and its Download action What to notice: the version you download is the file another environment would install; what is not in it does not travel.
-
Rank the findings that remain on the severity scale.
-
Write each finding in the finding format.
-
Write the recommendations, ranked, each tied to the findings it resolves.
-
Write what to keep: at least three decisions that are right.
-
Write the verdict last, from the findings and the fixes they need, in two or three sentences for the Operations Director.
-
Put the five parts in the deliverable’s order and read the verdict once more as if you were the sponsor.
Check.
- The scope names the standard and what you could not check.
- You made five passes and found at least one finding from sections 4, 6, 7 and 8 each.
- Every finding has a rule, evidence, verification and failure.
- Section 8’s claim was checked on the platform and the result recorded.
- At least one candidate was dropped after verification, with the reason.
- The findings are ranked and the highest severity is justified by its consequence.
- Every recommendation names the findings it resolves.
- The verdict follows from the findings by the rule in M10-S2.
Pass condition. The review contains, verified and ranked, the contract break in section 7, the self-triggering reaction in section 4, the limits fixed in code in section 5, and the packaging claim in section 8; and its verdict is consistent with its highest finding.
If something goes wrong
| What you see | What to do |
|---|---|
| Larkspur Tools is not in Packages › Build | Reset the suite’s data with the seed’s --reset. If it is still missing, verify section 8 from what M6-S1 and M7-S4 taught about a Function and a package, and say so in your scope. |
unzip reports that the file is not a zip | Use the file exactly as downloaded; if your platform delivers another archive format, open it with the matching tool and search its text. |
| You found twelve findings | Merge those whose fix is the same; a review is ranked findings, not a list of everything noticed. |
| Your verdict is “approve with conditions” | Check your highest finding: if a Critical finding stands, the rule says “do not approve yet”. |
Model answer
The worked review of the Tamarind dossier. (Rule ids follow the model standard of M10-S1 and the rules named in M10-S2; yours may be numbered differently.)
1. Scope. Calder & Finch, Cold-chain monitoring for Tamarind Foods, dossier 1.1.0, reviewed against the Larkspur Engineering and No-Code Standard 1.0. Checked on the platform: what a package records for a Function. Not checked: the Function’s full code, Tamarind’s tenant, Polar Haulage’s receiver.
2. Verdict. Do not approve yet. Version 1.1.0 silently changes the meaning of the severity that Tamarind’s ERP reads, and its reminders rely on a runaway reaction. Both are fixable, as are four High findings below; with the first two recommendations done and the rest agreed as conditions, the extension would be worth adopting.
3. Findings, ranked.
| Id | Severity | Rule | Evidence | Verified by | Failure |
|---|---|---|---|---|---|
| T-01 | Critical | Contract: a published message keeps its name, version and meaning | §6: severity 1/2/3 = minor/major/critical; §7: now 1/2/3/4 with 2 = moderate, version still 1 | Read §6 and §7 together | The ERP reads a moderate excursion as major and a major as critical; no error is raised anywhere |
| T-02 | High | Automation must end by design, not by the loop guard | §4 R2: on update, update the same excursion | Traced: R2’s own update is an update, so R2 matches again | Runaway notifications until the guard stops them, then none; reminders depend on a safety net’s setting |
| T-03 | High | N-1: no-code guarantee | §5: const LIMITS = … | Re-read §3 and §5: no entity holds limits | No new product category or limit without a developer and a deployment |
| T-04 | High | Outbound calls carry a credential the receiver checks | §6: “not published, so no authentication” | Re-read §6: R3 sends no credential | Anyone who learns the address can post false excursions and reroute trucks |
| T-05 | High | X-4: every outbound call has a failure path that tells a person | §6: “if the call fails, the excursion is still recorded” | Re-read §4 R3 and §6: no retry, no notification | A truck with spoiled food is not rerouted and nobody knows |
| T-06 | High | X-2: a package never carries a credential | §5: the Function “runs as the application user Tamarind Cold Chain”; §8: “the key is stored in the Function’s configuration and travels with the package” | Platform: the packaged Function resource has no secrets or identity field (count 0); on the 1.10 line a Function has no credential and no secret store | As designed, the Function can neither act as Tamarind Cold Chain nor hold the key, so excursions are never created and tracking calls fail; the only way to make the key “travel” is to write it into the code, which breaks X-2 |
| T-07 | Medium | X-1: one credential per integration source | §6: all gateways share one token | Re-read §6 | A leaked token cannot be revoked for one site; every gateway must be re-keyed |
Dropped after verification: “R3 sends personal data to Polar Haulage” (§4 lists unit, category, temperature and time only); “the Function holds too much access” (§5: read Storage Units, create Excursions, which is right).
4. Recommendations, ranked.
- Restore the meaning of severity in version 1 (append moderate as 4 instead of shifting values), or publish the new scale as version 2 alongside version 1 until the ERP moves. Resolves T-01.
- Replace R2’s self-update with a scheduled reminder that runs while an excursion is Open, and record the reminder count. Resolves T-02.
- Move the limits into a Product Categories entity that planners maintain, and have the Function read them. Resolves T-03.
- Agree a credential with Polar Haulage, sent in a header from configuration, and add a failure branch that notifies the duty manager when the call fails. Resolves T-04 and T-05.
- Correct §5 and §8 for the 1.10 line: the Function returns its verdict and a chained reaction creates the excursion; the tracking call moves to a reaction’s Call API with the key in a header marked Redact in history, set per environment by an override at installation and listed in the installation notes. Resolves T-06.
- Give each warehouse and truck gateway its own credential. Resolves T-07.
5. What to keep. The narrow grant the design intends (read Storage Units, create Excursions), for whatever does the writing; the structured lookup of the unit by sensor id; excursions as records with a status history (the food-safety evidence); bilingual names in the data model; a versioned package with a changes section.
✳ Discussion (10 min) — Delivering a Critical finding
Section titled “✳ Discussion (10 min) — Delivering a Critical finding”The prompt. (1) Calder & Finch’s lead engineer will read your review tomorrow, and T-01 says their last release broke Tamarind’s ERP without anyone noticing. How do you deliver it so that it gets fixed rather than defended? (2) Should you tell Tamarind Foods, who are not your client?
With a facilitator: groups of three prepare the first two minutes of the conversation with the partner (4 minutes), one group plays it to the others (3 minutes), and the facilitator draws out what helped (3 minutes).
On your own: write the first four sentences you would say to the partner, and a short answer to prompt 2, then compare with the model answer.
Model answer
(1) Lead with the evidence and the consequence, not with blame, and offer the smallest fix: “Before the details, one finding needs action this week. In 1.1.0 the severity values shifted while the event kept version 1, so Tamarind’s ERP now reads a moderate excursion as major and a major one as critical. Sections 6 and 7 of your dossier show it. Appending moderate as 4, or publishing version 2 beside 1, fixes it; everything else in the review can follow your normal plan.” Then go through the rest in order, ending with what to keep.
(2) The finding concerns Tamarind’s data today, so it should not wait for Larkspur’s purchase decision. The right channel is the partner: ask Calder & Finch to inform Tamarind, agree a date, and record in your review that you did. If the partner refuses, raise it with your sponsor; a master does not sit on a known, live data problem in someone else’s system.
✓ Practice (6 min) — Reviewing well
Section titled “✓ Practice (6 min) — Reviewing well”A partner’s dossier states that “the package carries everything; installation needs no manual steps”. What is the strongest evidence you can cite for or against that claim?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
A design adds a new value to the middle of a numbered scale that another system reads, and keeps the message’s version. Which recommendation resolves it without breaking that system?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
A reaction updates the record that triggered it, and the design says “the loop guard will stop it after a few runs”. Why is that a High finding rather than a design choice?
Check your answer
The correct answer is A. Open the explanation under each option to see why.
Your review has one Critical finding with an easy fix the partner has already agreed to make before go-live, and four High findings with agreed fixes. Which verdict follows the method’s rule?
Check your answer
The correct answer is C. Open the explanation under each option to see why.
A colleague’s review of the dossier lists eleven findings, all marked High, in the order the sections appear. What is the main weakness?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
↺ Recap (1 min) — What you can now do
Section titled “↺ Recap (1 min) — What you can now do”You can deliver a complete design review of another team’s extension: scoped honestly, read one dimension at a time, every finding verified (one of them on the running platform), ranked by consequence, with recommendations tied to findings, what to keep, and a verdict that follows from them. After Module 10 you can write an engineering and no-code standard, and deliver a verified design review of another team’s work.
Next. The capstone begins in M11-S1. Your standard governs what you build in it, and in M11-S6 you deliver this same kind of review of another master’s capstone.