M7-S3 — Prove the no-code guarantee
Section titled “M7-S3 — Prove the no-code guarantee”| Module | M7 — Extend through documented extension points (extension strand) |
| After this session you can | Hand the capability to a builder who extends it on the web and on the phone without code, and record the proof against the checklist. |
| Time | 58 min with a facilitator · about 58 min on your own |
| Before you start | M7-S1 and M7-S2: the capability runs end to end on Larkspur Dev. A private window signed in as Omar Haddad; the platform’s mobile app signed in as Omar on a phone or emulator; your terminal for the feed. The no-code guarantee checklist printed or open. M3-S5 for what the phone draws differently. |
| Go deeper | Reactions and automation · Mobile and web parity |
◆ Orientation (1 min) — The test that matters
Section titled “◆ Orientation (1 min) — The test that matters”A capability passes the guarantee on paper when its author says it does. It is proved when someone else, who writes no code, changes it and it works. Larkspur’s builder persona is Omar Haddad, the maintenance planner: Developer on Asset Maintenance and Condition Monitoring, a member of Maintenance Planners, at ease in the designer and on his phone. Today Larkspur buys a new kind of compressor. Omar must add its class and thresholds, and a new behaviour, a warning to the planners, on the web and on the phone, with no help from you. Your job is to watch, record and only then, if the proof fails somewhere, find out why. M7-S4 packages what Omar proved.
▶ Guided demo (10 min) — What the builder sees
Section titled “▶ Guided demo (10 min) — What the builder sees”Starting state. Larkspur Dev with the capability from M7-S1 and M7-S2. Signed in as Omar Haddad.
- As Omar, open Data Entities › Meter Readings › Reactions. He sees Evaluate reading, Store level, Flag evaluation problem and Raise alarm work order, with their run counts.
- Open Evaluate reading. Execute Function names reading-evaluator, and its parameters are mapped to fields and one fixed value. Omar can change any mapping; he cannot see or change the code.
- Open the function’s description from the action: the contract you wrote in M7-S1, in words a planner reads.
- Select a run count on Evaluate reading. For Omar the counters are plain numbers; the run details are for system administrators. Note it: observability for the builder is the count and the record itself.
- Open Threshold Rules through the planners’ view. Omar can add and edit rules.
- On the phone, open Condition Monitoring and the readings list. The levels are shown; open one reading and compare its fields with the web form.
Screenshot pending Omar Haddad's view of the Evaluate reading reaction: the Execute Function action with its parameters mapped to fields and a fixed dead band What to notice: everything a builder may change is a mapping or a value in the designer; the code is a name with a contract.
⛏ Lab (38 min) — Omar’s change, on two screens
Section titled “⛏ Lab (38 min) — Omar’s change, on two screens”Goal. Omar adds a new asset class with its thresholds and a new warning reaction, on the web and on the phone, unaided; you record the evidence against each of the ten tests.
Before you start. Decide now, and write down, what counts as “help”: anything you say or type is help. If you are working alone, play Omar strictly: use only the designer and the apps, never the terminal, the API or this course’s earlier labs. Prepare an evidence table: test, what Omar did, where, time, screenshot.
Omar’s change on the web
- As Omar, in Asset Maintenance › Asset Classes, add Screw compressors.
- In Condition Monitoring › Threshold Rules, add three rules for Screw compressors: Pressure,
bar, warn 8, alarm 10; Vibration,mm/s, warn 3.5, alarm 6; Temperature,°C, warn 85, alarm 100; all active. - In Assets, register C-305 (Screw compressor, line 3) of class Screw compressors.
- You (as the plant, not as Omar) run the feed with one pressure reading of 8.5
barfor C-305. The adapter finds the new rule by itself. - As Omar, open the reading: Level is Warn, Warn above shows 8.
- As Omar, add a reaction on Meter Readings, Warn the planners: On Entry Updated, watching Level, criteria Level is Warn; Send Notification to the group Maintenance Planners with the text “Warning on {Asset}: {Evaluation note}”. Save.
- Run the feed again with a new 8.6
barreading for C-305. - As Omar on the web, the notification arrives.
Omar’s change on the phone
- On the phone, as Omar, the same notification is there; open it and reach the reading.
- On the phone, open the vibration rule for Screw compressors and change Warn above to 3.8. Save.
- Run the feed with a vibration reading of 3.7
mm/sfor C-305. On the phone, the reading shows Normal. - On the phone, open the readings list filtered on C-305. All three readings and their levels are there.
Screenshot pending The mobile app signed in as Omar Haddad, showing the warning notification for C-305 and the vibration rule edited on the phone What to notice: the builder’s change and its effect are both visible on the phone, which is what test 5 asks for.
Governance and removal
- As Omar, disable Warn the planners. Run the feed with an 8.7
barreading: no notification. Enable it again. - As Rami Aziz, open Access Management › User Permissions for Omar: nothing was granted for this proof beyond what he already held.
- As Rami, open Reaction Logs for the last readings: every run is there, with Omar’s reaction among them.
The record
- Fill the evidence table for all ten tests. Mark each Proved, Not applicable with a reason, or Failed with what you saw.
- Write down every moment Omar needed help, or every step you could not do as Omar.
- If any test failed, resolve it without code (see the worked scenario) and repeat the step that proved it.
- Restore C-305’s vibration rule to warn 3.5.
Check.
- Omar added the class, three rules and an asset in the designer only.
- The adapter needed no change to evaluate C-305.
- Omar’s reaction sent the warning, seen on the web and on the phone.
- A threshold changed on the phone changed the next reading’s level.
- Disabling Omar’s reaction stopped the warning, and enabling it restored it.
- Omar received no new grant for the proof.
- All ten tests have a verdict with evidence.
- Every moment of help is recorded, or “none”.
Pass condition. The evidence table proves tests 1, 2, 4, 5, 7, 8 and 10 by Omar’s own actions on the two apps, and gives a reason for every other verdict.
If something goes wrong
| What you see | What to do |
|---|---|
| Omar cannot add a rule | The planners’ view on Threshold Rules must allow creating and editing for Maintenance Planners. That is a configuration gap: record it, fix the view’s access as Rami, and repeat. |
| Omar cannot save the reaction | Authoring a reaction needs Developer on its entity; check his grant on Condition Monitoring. |
| The reading for C-305 has no rule | The rule is inactive, or its Measure differs from the reading’s; the adapter finds active rules by class and measure. |
| No notification on the phone | Check the app’s notification permission and that Omar is signed in to the right space; the web notification proves the reaction. |
| The phone does not show Warn above | That is a parity gap: see the worked scenario. |
Model answer
A complete record looks like this. 1 Variation is data: proved, a new class and its thresholds were records Omar added, on the web and on the phone. 2 Offered by name: proved, reading-evaluator is a named function with mapped parameters; Omar read and could change its mappings. 3 Parameters, not forks: not applicable to Omar’s change; the same function served both classes unchanged. 4 The engine runs it: proved, every step ran in reactions visible on the Reactions tab. 5 Web and phone: proved, the rule edited on the phone and the warning received there. 6 Record model: proved, readings, rules and work orders are entries; no side store. 7 Governed: proved, no new grant, the telemetry token unchanged. 8 Observable: proved, Omar saw run counts and the levels on records; run details stayed with administrators, which is accepted. 9 Shippable: proved in M7-S4. 10 Removable: proved, Omar’s reaction disabled and enabled in the designer. Help: none, or the one access gap on the planners’ view, fixed by configuration.
◇ Worked scenario (2 min) — The threshold the phone did not show
Section titled “◇ Worked scenario (2 min) — The threshold the phone did not show”In a cohort’s proof, Omar opens a reading on the phone to check why it was Warn, and the form shows Value and Level but not Warn above or Alarm above. On the web they are there. Is the guarantee broken? Decide at each step before you read on.
Step 1. Code or configuration? Nothing in the capability’s code draws a screen; the phone draws the reading from its view’s configuration, as you saw in M3-S5. So either the phone’s rendering does not support something in that configuration, or the configuration differs between the two apps.
Step 2. Which one? The parity notes list no gap for these fields: mapped fields and blocks are drawn on the phone. So you compare the configuration: the phone opens the readings through another view, built before the thresholds were mapped, and its form does not include them. The mapped fields themselves are supported.
Step 3. The no-code fix. Omar, not you, adds a phone-friendly view of Meter Readings that lists the mapped thresholds as plain fields, and sets it as the view the phone uses. He repeats step 9 of the lab: the thresholds now show. Test 5 is proved by configuration, and the gap goes into the program’s parity register with its fix.
Step 4. What if it needed code? If the phone could not draw a field type at all, the honest outcome would be a declared fallback recorded against test 5, not a quiet “web only”. On this strand you do not change the apps; on the source strand, that is exactly the work of M8-S4.
The lesson: a proof is useful precisely when it fails somewhere; the gap it finds is either fixed by the builder, in the designer, or declared.
✓ Practice (6 min) — Check your understanding
Section titled “✓ Practice (6 min) — Check your understanding”During the proof, Omar cannot find where to change the dead band, so you set it for him “to save time”. What do you record?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
Omar can see that Evaluate reading ran 120 times but cannot open the run details. Does test 8 pass?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
Why does the feed adapter need no change when Omar adds Screw compressors?
Check your answer
The correct answer is A. Open the explanation under each option to see why.
The phone does not draw one grouping of fields, and the builder cannot change that by configuration. What does test 5 require?
Check your answer
The correct answer is C. Open the explanation under each option to see why.
You are working alone and play Omar yourself. Which practice keeps the proof honest?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
↺ Recap (1 min) — Proved, not asserted
Section titled “↺ Recap (1 min) — Proved, not asserted”A builder extended the capability on two screens without code, and you hold the evidence for every test. Where the proof found a gap, it was fixed by configuration or declared. Next, M7-S4: ship what Omar proved as a versioned package, list what a package cannot carry, and judge the design against the map one last time.