Skip to content

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”
ModuleM1 — From requirements to architecture
After this session you canLead the requirements of a suite with several owners and outside systems, and decide for each line how it will be built.
TimeFacilitated: 51 min · On your own: 50 min
Before you startM0-S1. The requirements register and the acceptance criteria you learned to write in ACA (M1 and M5, or the analysis bridge).
Go deeperSystem 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”

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.

Every requirement is met on one of three rungs. Choose the lowest rung that meets the need completely and that your team can maintain.

RungWhat it isSignals that it is enoughWhat it costs
No-codeDesigner configuration: entities, views, workflows, reactions, virtual entitiesThe designer has an option that says exactly thisAlmost nothing; anyone with builder training can maintain it
Low-codeA formula inside the designer: a calculated value, a condition, an owner or a target worked out from the recordThe rule uses only this record’s values, a little arithmetic or a comparisonReadability: only builders who read formulas can change it, and a wrong formula fails quietly
Deep-codeA Function you write, or a program that uses the HTTP APIIt needs another system, a library, heavy computation, a rule table too large for a formula, or a client outside the portalA 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.

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?

For each exchange with another system, write a card both sides can build from:

ItemExample: the payroll notice
Direction and triggerWe tell payroll, when a candidate’s contract is signed
DataFull name, email, job title, start date; never the passport number
TimingWithin the same working day
FailureHR is told when the call fails; payroll tolerates a repeated notice
CredentialsPayroll gives us a secret to send in a header; we never receive theirs
OwnersBuilder: 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.

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.”

  1. Read the case file once without writing. Mark every sentence that asks for something.
  2. Write one register line per need. Split sentences that contain two needs (the HR director’s first paragraph holds at least four).
  3. Give each line its Type: F (what the system does), NFR (how well, how safely, how much), INT (an exchange with another system).
  4. Name the Owner: the person whose need it is, not who will build it.
  5. Set a Priority, and keep Must for what the system cannot go live without.
  6. Decide the Tier for each line with the build ladder, and write the reason in one sentence that names the signal you used.
  7. For the agency’s careers site, write an integration card.
  8. 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 seeWhat to do
You have fewer than twelve linesReread 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-codeLook for rules that compute something (the score, the package) and for systems that start an exchange.
You cannot decide between low- and deep-codeAsk who will change the rule and how often. A yearly table changed by finance is not a formula.
Model answer
IDRequirementTypeOwnerPriorityTierWhy this tier
R-01Onboarding starts automatically when a candidate signsFHR directorMustNo-codeReactions can create a record in another module when an event is announced (M3).
R-02Onboarding is owned by IT, separate from recruitmentFHR director, IT managerMustNo-codeA second module (M1-S2, M2).
R-03IT records the company email; HR sees it on the employeeFHR directorMustNo-codeA proxy entity that lets IT edit one field of Employees (M2).
R-04One list of everything waiting for HR: jobs and applicationsFHR directorShouldNo-codeAn aggregate entity over both sources (M2).
R-05A panel of three interviews; two approvals are enoughFHR directorMustNo-codeA group step with Some Users and a threshold of 2 (M3).
R-06A first-interview score of 8 or more skips the second interviewFHR directorShouldLow-codeOne comparison on the record’s own score: an expression-based target (M3).
R-07Jobs close on their registration deadlineFIT managerMustNo-codeA daily timer reaction (M3).
R-08Unanswered offers: reminder after 3 days, daily, at most 3 timesFIT managerShouldNo-codeA time limit with a repeated escalation (M3).
R-09Offer package from the grade policy, updated every JanuaryFFinanceMustDeep-codeA rule table changed yearly by finance, with caps and rounding, is too big and too volatile for a formula: a Function (M4).
R-10The agency’s careers site lists open jobs and submits applicationsINTWeb agencyMustDeep-code (theirs)They start the exchange: a client on the HTTP API, with a credential we issue (M5).
R-11Payroll is told of each hire the day they sign, never the passportINTPayroll leadMustNo-code (ours)We start it: a reaction calling payroll’s address (M6).
R-12HR’s wall screen updates live when an application movesINTWeb agencyCouldDeep-code (theirs)A live client subscribed to changes (M6).
R-13Expected salary visible to HR onlyNFRHR directorMustNo-codeA sensitive field granted to HR (M7).
R-14Passport numbers stored encryptedNFRHR directorMustNo-codeAn encrypted field (M7).
R-15The public form keeps bots outNFRQuality teamMustNo-codeHuman verification on the public form (M7).
R-16Up to 400 applications per vacancy at peak; lists must pageNFRWeb agencyMust(constraint)A constraint on every client and view, checked in M5.
R-17Test to production without rebuildingNFRQuality teamMustNo-codeA package with versions (M8).
R-18No hand-built copies of employee data in IT’s moduleNFRIT managerMustNo-codeA 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”
PracticeChoose one answer.

A hospital wants each appointment’s end time set to its start time plus the duration chosen on the form. Which rung fits?

  1. Explanation for A

    ✗ Incorrect

    Not this one: a fixed default cannot add two of the record’s own values together. See the build ladder.

  2. Explanation for B

    ✓ Correct

    Correct: the rule uses only this record’s values and simple arithmetic, the signal for a formula. See the build ladder.

  3. Explanation for C

    ✗ Incorrect

    Not this one: a deployment and a programmer for one addition costs far more than it gives. See the build ladder.

Check your answer

The correct answer is B. Open the explanation under each option to see why.

PracticeChoose one answer.

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?

  1. Explanation for A

    ✗ Incorrect

    Not this one: calling an address with the record’s values is a designer option, so code adds cost without adding anything. See the worked scenario.

  2. Explanation for B

    ✓ Correct

    Correct: we start the exchange, so on our side it is a reaction; the warehouse’s developers own the receiving code. See the worked scenario.

  3. Explanation for C

    ✗ Incorrect

    Not this one: that would make the warehouse start the exchange and poll, which the requirement does not ask for. See the build ladder.

Check your answer

The correct answer is B. Open the explanation under each option to see why.

PracticeChoose every answer that applies.

Which of these are non-functional requirements? Choose all that apply.

  1. Explanation for A

    ✓ Correct

    Correct: it states volume, how much the system must handle, not what it does. See non-functional requirements.

  2. Explanation for B

    ✗ Incorrect

    Not this one: returning is something the system does, a functional requirement. See what changes at expert level.

  3. Explanation for C

    ✓ Correct

    Correct: it is about how safely the data is kept, a protection requirement. See non-functional requirements.

  4. Explanation for D

    ✓ Correct

    Correct: it constrains how the system is delivered, an environment requirement. See non-functional requirements.

Check your answer

The correct answers are A, C and D. Open the explanation under each option to see why.

PracticeChoose one answer.

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?

  1. Explanation for A

    ✗ Incorrect

    Not this one: a two-page rule edited quarterly by people who do not read formulas becomes unreadable and untestable. See the build ladder.

  2. Explanation for B

    ✗ Incorrect

    Not this one: dozens of reactions scatter one calculation across many places, which makes a quarterly change risky. See the build ladder.

  3. Explanation for C

    ✓ Correct

    Correct: a large, volatile rule table belongs in versioned, tested code with one owner. See the worked scenario, decision 2.

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.