M1-S1 — Lead the requirements: no, low or deep code for each need
Section titled “M1-S1 — Lead the requirements: no, low or deep code for each need”| Module | M1 — From requirements to architecture |
| After this session you can | Lead the requirements of a suite with several owners and outside systems, and decide for each line how it will be built. |
| Time | Facilitated: 51 min · On your own: 50 min |
| Before you start | M0-S1. The requirements register and the acceptance criteria you learned to write in ACA (M1 and M5, or the analysis bridge). |
| Go deeper | System explanation · Concepts and building blocks · Functions: when to use one |
◆ Orientation (1 min) — Before anything is built
Section titled “◆ Orientation (1 min) — Before anything is built”The starter already does what the tutorial asked for. Meridian now wants more: onboarding that starts by itself, a careers website built by an outside agency, the payroll system told of every hire, interview panels, protected candidate data, and a clean move from test to production. Four people asked, in four different ways, and two of the systems involved are not yours.
In ACA you learned to turn interviews into a numbered register; in ACD you learned to build what a register says. This session adds the expert’s part: a register that also covers what the system must be (fast, safe, auditable) and what it must connect to, and, for every line, a decision about the kind of build. That decision drives the architecture in M1-S2 and every module after it.
▤ Concept (6 min) — Three kinds of requirement, three kinds of build
Section titled “▤ Concept (6 min) — Three kinds of requirement, three kinds of build”What changes at expert level
Section titled “What changes at expert level”A Level 2 register usually has one owner and one system. A suite has several of each. Three things follow:
- Requirements cross boundaries. “When a candidate signs, IT prepares a laptop” starts in HR’s module and ends in IT’s. Write down who owns each side.
- Non-functional requirements carry real risk. How many applications arrive at peak, who may see a salary, how the system moves from test to production: get these wrong and a correct screen still fails.
- Integration requirements need their own shape. Another system calls you, or you call it. A sentence in a register is not enough for two developers in two companies.
The build ladder
Section titled “The build ladder”Every requirement is met on one of three rungs. Choose the lowest rung that meets the need completely and that your team can maintain.
| Rung | What it is | Signals that it is enough | What it costs |
|---|---|---|---|
| No-code | Designer configuration: entities, views, workflows, reactions, virtual entities | The designer has an option that says exactly this | Almost nothing; anyone with builder training can maintain it |
| Low-code | A formula inside the designer: a calculated value, a condition, an owner or a target worked out from the record | The rule uses only this record’s values, a little arithmetic or a comparison | Readability: only builders who read formulas can change it, and a wrong formula fails quietly |
| Deep-code | A Function you write, or a program that uses the HTTP API | It needs another system, a library, heavy computation, a rule table too large for a formula, or a client outside the portal | A programmer to maintain it, a deployment, versioned source, secrets, tests |
A common mistake is to reach for code because it feels more powerful. Code that duplicates a designer option is worse than the option: it hides the rule from builders, and the next person cannot change it without a developer. The opposite mistake is a formula that grows until nobody can read it; when it needs comments to be understood, it belongs in a Function.
flowchart TB
Q1{"Does a designer option<br/>say exactly this?"} -->|yes| NC["No-code"]
Q1 -->|no| Q2{"Only this record's values,<br/>simple arithmetic or a test?"}
Q2 -->|yes| LC["Low-code: an expression"]
Q2 -->|no| Q3{"Does another system<br/>start the exchange?"}
Q3 -->|"yes, it calls us"| API["Deep-code: their client<br/>on the HTTP API"]
Q3 -->|"no, we tell it"| WH["No-code: a reaction that<br/>calls their address"]
Q3 -->|"neither: complex logic"| FN["Deep-code: a Function"]
What to notice: telling another system that something happened is still no-code on your side (a reaction that calls an address); the code is on theirs. Deep-code on your side starts when the logic itself outgrows the designer.
Non-functional requirements for a suite
Section titled “Non-functional requirements for a suite”Ask about each of these, and write a measurable line where the answer matters:
- Volume. How many records per day, per year, per list? A careers site that lists 400 applications must page them.
- Timeliness. Must a change appear at once? Virtual entities and reactions follow their source after a short delay; a requirement that says “instantly” needs checking.
- Protection. Which values may only some people see? Which forms are public?
- Environments. Is there a test environment, and how does the system move to production?
- Traceability. Who must be able to prove what happened, and from which record?
The integration card
Section titled “The integration card”For each exchange with another system, write a card both sides can build from:
| Item | Example: the payroll notice |
|---|---|
| Direction and trigger | We tell payroll, when a candidate’s contract is signed |
| Data | Full name, email, job title, start date; never the passport number |
| Timing | Within the same working day |
| Failure | HR is told when the call fails; payroll tolerates a repeated notice |
| Credentials | Payroll gives us a secret to send in a header; we never receive theirs |
| Owners | Builder: our team. Receiving endpoint: payroll’s developers |
The card is a requirement, not a design; M6 turns it into a reaction.
◇ Worked scenario (2 min) — Four lines, four decisions
Section titled “◇ Worked scenario (2 min) — Four lines, four decisions”Meridian’s HR director asked for four things. Pause at each one, decide its rung, then read on.
1. “Strong candidates should skip the second interview.” The rule: an overall interview score of 8 or more. Decide. The score is on the record; the comparison is one line. Low-code: an expression-based target on the action (M3). Code would hide a business rule HR wants to tune.
2. “Work out the offer package from our grade policy.” The policy has seven grades, each with housing and transport allowances, a cap, and rounding rules that change yearly. Decide. A formula could do it, but it would be long, untestable and edited every year by someone who does not read formulas. Deep-code: a Function with the grade table in one place and tests beside it (M4).
3. “Payroll must know about each hire.” Decide. Payroll does not call us; we tell it. On our side that is a reaction that calls payroll’s address: no-code, with an integration card. Payroll writes the receiving code.
4. “The agency’s careers site lists our open jobs.” Decide. Another system starts the exchange, so it is deep-code on their side: a client on the HTTP API. Your part is the credential, what it may read, and the contract (M5).
The pattern: the rung follows who starts the exchange and where the logic lives, not how important the requirement feels.
⛏ Lab (28 min) — Meridian’s extended register
Section titled “⛏ Lab (28 min) — Meridian’s extended register”Goal. Turn Meridian’s notes into register lines with a type, an owner, a priority and a build tier with its reason, plus one integration card.
Before you start. A document or spreadsheet with the columns ID · Requirement · Type (F / NFR / INT) · Owner · Priority (Must / Should / Could) · Tier · Why this tier.
The case file
Section titled “The case file”From the HR director, Rania Aziz: “When someone signs, onboarding must start without anyone remembering to start it. IT owns onboarding, not us. IT types the new company email and we need to see it on the employee record. I want one list of everything waiting for HR, jobs and applications together. Interviews are by a panel of three; two yes votes are enough. If the panel scores someone 8 or more in the first interview, skip the second. Expected salaries are for HR’s eyes only, and passport numbers must be stored safely.”
From the IT manager, Yusuf Nader: “Jobs should close on their deadline; people forget. If a candidate has not answered an offer in three days, remind the contact person, every day, three times at most. And please, no hand-built copies of employee data in my module.”
From the payroll lead, by email: “Send us each new hire the day they sign: name, email, job, start date. Never the passport. We will give you a key to put in a header.”
From the web agency, by email: “Our careers site will list your open jobs and submit applications. We expect up to 400 applications per vacancy at peak. We’d also like our HR wall screen to update live when an application moves.”
From finance, in a meeting: “Offer packages follow the grade policy: base plus a housing allowance and a transport allowance that depend on the grade, capped, rounded to the nearest 50. The table changes every January.”
From the quality team: “We must move from the test environment to production without rebuilding anything, and the public application form must keep bots out.”
- Read the case file once without writing. Mark every sentence that asks for something.
- Write one register line per need. Split sentences that contain two needs (the HR director’s first paragraph holds at least four).
- Give each line its Type: F (what the system does), NFR (how well, how safely, how much), INT (an exchange with another system).
- Name the Owner: the person whose need it is, not who will build it.
- Set a Priority, and keep Must for what the system cannot go live without.
- Decide the Tier for each line with the build ladder, and write the reason in one sentence that names the signal you used.
- For the agency’s careers site, write an integration card.
- Compare with the worked solution, line by line. Where your tier differs, decide whether your reason or the model’s is stronger, and write one sentence about it.
Check.
- At least twelve lines, each with one need only.
- Every line has a type, an owner, a priority, a tier and a reason.
- The volume, protection, environment and bot needs are written as NFR lines.
- The payroll and careers-site needs are INT lines, and the careers site has a full card.
- No line is deep-code without naming why the designer or a formula is not enough.
Pass condition. Every need in the case file appears as a line with a tier, and your tiers match the worked solution on at least ten lines, or differ with a reason you can defend.
If something goes wrong
| What you see | What to do |
|---|---|
| You have fewer than twelve lines | Reread the HR director’s note: onboarding, company email, the worklist, the panel, the score and protection are separate needs. |
| Every line came out as no-code | Look for rules that compute something (the score, the package) and for systems that start an exchange. |
| You cannot decide between low- and deep-code | Ask who will change the rule and how often. A yearly table changed by finance is not a formula. |
Model answer
| ID | Requirement | Type | Owner | Priority | Tier | Why this tier |
|---|---|---|---|---|---|---|
| R-01 | Onboarding starts automatically when a candidate signs | F | HR director | Must | No-code | Reactions can create a record in another module when an event is announced (M3). |
| R-02 | Onboarding is owned by IT, separate from recruitment | F | HR director, IT manager | Must | No-code | A second module (M1-S2, M2). |
| R-03 | IT records the company email; HR sees it on the employee | F | HR director | Must | No-code | A proxy entity that lets IT edit one field of Employees (M2). |
| R-04 | One list of everything waiting for HR: jobs and applications | F | HR director | Should | No-code | An aggregate entity over both sources (M2). |
| R-05 | A panel of three interviews; two approvals are enough | F | HR director | Must | No-code | A group step with Some Users and a threshold of 2 (M3). |
| R-06 | A first-interview score of 8 or more skips the second interview | F | HR director | Should | Low-code | One comparison on the record’s own score: an expression-based target (M3). |
| R-07 | Jobs close on their registration deadline | F | IT manager | Must | No-code | A daily timer reaction (M3). |
| R-08 | Unanswered offers: reminder after 3 days, daily, at most 3 times | F | IT manager | Should | No-code | A time limit with a repeated escalation (M3). |
| R-09 | Offer package from the grade policy, updated every January | F | Finance | Must | Deep-code | A rule table changed yearly by finance, with caps and rounding, is too big and too volatile for a formula: a Function (M4). |
| R-10 | The agency’s careers site lists open jobs and submits applications | INT | Web agency | Must | Deep-code (theirs) | They start the exchange: a client on the HTTP API, with a credential we issue (M5). |
| R-11 | Payroll is told of each hire the day they sign, never the passport | INT | Payroll lead | Must | No-code (ours) | We start it: a reaction calling payroll’s address (M6). |
| R-12 | HR’s wall screen updates live when an application moves | INT | Web agency | Could | Deep-code (theirs) | A live client subscribed to changes (M6). |
| R-13 | Expected salary visible to HR only | NFR | HR director | Must | No-code | A sensitive field granted to HR (M7). |
| R-14 | Passport numbers stored encrypted | NFR | HR director | Must | No-code | An encrypted field (M7). |
| R-15 | The public form keeps bots out | NFR | Quality team | Must | No-code | Human verification on the public form (M7). |
| R-16 | Up to 400 applications per vacancy at peak; lists must page | NFR | Web agency | Must | (constraint) | A constraint on every client and view, checked in M5. |
| R-17 | Test to production without rebuilding | NFR | Quality team | Must | No-code | A package with versions (M8). |
| R-18 | No hand-built copies of employee data in IT’s module | NFR | IT manager | Must | No-code | A constraint satisfied by the proxy in R-03. |
Integration card, R-10. Direction: the careers site calls us. Data: open jobs (title, department, location, deadline) read; new applications (candidate block only) created. Timing: on each visitor request; lists paged, at most 50 rows a page. Failure: the site shows a friendly message and retries later; it never retries a refused application unchanged. Credentials: we issue one credential for the site, per environment, that can read only the open-jobs view and create applications. Owners: the agency builds the client; we own the credential and the view.
✳ Discussion (8 min) — When is code the wrong answer?
Section titled “✳ Discussion (8 min) — When is code the wrong answer?”A developer on Meridian’s team offers to write one Function that does R-05, R-06 and R-07 together “so all the logic is in one place”.
With a facilitator: pairs take three minutes to list what Meridian gains and loses; each pair then shares one gain and one loss, and the group agrees the rule.
On your own: write two or three sentences: what does Meridian lose if it accepts, and when would one place for the logic genuinely be better?
Model answer
Meridian loses visibility and ownership: the panel threshold, the score rule and the deadline would no longer appear in the workflow and reaction designers, so HR and the builders could not see or change them without a developer, and the platform’s own run history, time monitoring and step owners would no longer describe what happens. It would also need a deployment for a change the designer makes in a minute. One place for logic is better only when the rules are genuinely one calculation that changes together and that builders should not edit, like the grade table in R-09.
✓ Practice (5 min) — Check your decisions
Section titled “✓ Practice (5 min) — Check your decisions”A hospital wants each appointment’s end time set to its start time plus the duration chosen on the form. Which rung fits?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
A logistics company must tell its warehouse system each time an order is approved. The warehouse system offers an address that accepts the order as JSON. What is built on the Osos side?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
Which of these are non-functional requirements? Choose all that apply.
Check your answer
The correct answers are A, C and D. Open the explanation under each option to see why.
A team’s discount rules fill two pages, depend on the customer’s contract tier and the season, and are revised each quarter by the sales office. What do you recommend?
Check your answer
The correct answer is C. Open the explanation under each option to see why.
↺ Recap (1 min) — From needs to decisions
Section titled “↺ Recap (1 min) — From needs to decisions”You can now turn several stakeholders’ notes into one register with functional, non-functional and integration lines, and decide for each line which rung of the build ladder meets it, with a reason that names the signal.
Next. A register says what; it does not say where. In M1-S2 you decide the modules, the seams between them, the names that must never change and where records are kept.