Skip to content

Module 02 · Lesson 2.1

Architecture Drivers and Constraints

35 minUpdated 19 Nov 2026Part of Architecture Decisions · New Project Creation
On this page
  1. What you will learn
  2. What software architecture is, and why drivers matter
  3. Drivers, constraints and non-drivers explained
  4. Worked scenario: Tidewell's architecture drivers
  5. Step-by-step workflow: find your architecture drivers
  6. Using an AI assistant to find and challenge drivers
  7. Conclusion and your next step
  8. Reusable prompt
  9. Expected output
  10. Common errors and fixes
  11. Validation checklist
  12. Hands-on exercise
  13. Knowledge check
  14. Frequently asked questions
  15. References

Before an architect draws a house, they ask a few questions. How many people live there? Is the ground soft? What is the budget? The answers shape every later choice. Software design works the same way.

In this lesson you learn to find the few requirements and limits that really shape a design. These are called architecture drivers. You will turn Tidewell Physiotherapy's confirmed requirements into a traced list of drivers, set aside the wishes that do not drive anything, and use an assistant to challenge your list.

What you will learn

  • Explain the difference between an architecture driver, a constraint and a non-driver.
  • Describe common quality needs, such as correctness, privacy and maintainability, in plain words.
  • Build a trace table that links each driver to a requirement and to the design direction it points to.
  • Use an AI assistant to challenge your drivers while keeping the decisions with the people who own them.

Before you start

  • Completed Acceptance Criteria, or have a numbered requirements list of your own.
  • Access to any capable AI assistant.

What software architecture is, and why drivers matter

Software architecture is the set of big choices about how a system is built. Examples are how many programs it has, where the data lives and how the parts talk to each other. It is like the plan of a building: the walls and pipes, not the paint colour.

Big choices are costly to change later. Moving a wall is easy on paper and hard once the roof is on. So you decide these choices early, and you decide them for reasons you can write down.

An assistant can propose a design in seconds. It will propose one even if you give it nothing to go on, and it will pick a popular design. Your job is to give it the reasons first. Those reasons are the drivers.

Drivers, constraints and non-drivers explained

Architecture driver
A requirement or limit that would change the design if it were different. If you could ignore it and still pick the same design, it is not a driver.
Constraint
A fixed limit from outside the design: the law, the budget, the team, a promise already made. It is like a building plot with a fixed size.
Quality attribute
A quality the system must have, such as being correct, private or easy to change. It describes how well the system works, not what it does.
Non-driver
A wish that sounds important but does not change the design for this project, because nobody needs it now.

Most requirements are not drivers. A rule such as 'show the clinician's name on a booking' is easy to build in any design. A driver is a need that is hard, so it forces a choice. Two people booking the same slot at once is hard. A button label is not.

Quality needs in plain words

Quality needPlain meaningTidewell example
Correctness under shared useResults stay right when several people act at once.Two people cannot both book the same slot (NFR-01).
Reach and usabilityPeople can use it on the devices they have.A patient books from a phone (NFR-02).
Privacy and legal dutyPersonal data is held and used as the law and the owner require.The owner decides where patient data is held (CON-01).
Traceability of changesYou can tell who changed what, and when.Every booking change is recorded (FR-05).
Ease of changeA person who did not build it can fix and extend it later.A local contractor will maintain it.
Cost and effortIt can be built and run within the money and time available.One developer, a small budget.

Worked scenario: Tidewell's architecture drivers

Tidewell Physiotherapy is a fictional clinic with four physiotherapists, two front-desk staff, a practice manager and an owner. Today the diary is a shared spreadsheet, and booking is by phone only. Module 1 produced requirements FR-01 to FR-05, NFR-01, NFR-02 and CON-01.

Read each requirement and ask one question: would a different answer here change the design? Where the answer is yes, you have a driver. Write it down with its source and the direction it points. That is a trace table.

IDDriverSourceWhere it points
D1Bookings stay correct when two people act at once.NFR-01A database with transactions and uniqueness rules.
D2Patients use phones.NFR-02Mobile-friendly web pages, no app store.
D3Staff and patients share one diary.FR-01, FR-02, FR-04One system of record.
D4Every change is recorded.FR-05A change history stored with each booking.
D5Personal data is held under the clinic's duties.CON-01The owner chooses the hosting region; keep data minimal.
D6A team of one developer with an assistant, a small budget, and later maintenance by a local contractor.Project context from the ownerWell-known, boring technology with few moving parts.
Tidewell's drivers. Later lessons and modules use these exact IDs.

Notice that D6 has no requirement number. It comes from the situation: who builds this, with how much money, and who looks after it afterwards. Constraints like these shape a design as much as any feature does.

What Tidewell sets aside

Three ideas came up in conversation and were set aside as non-drivers. Each is recorded, so nobody reopens it by accident.

  • Scale like the big chains. Four physiotherapists do not need a design for millions of users. No requirement asks for it.
  • Payments. The clinic put payments out of scope in Module 1.
  • Offline use. Nobody asked for it. Patients book from places with a phone signal.

Setting something aside is not forever. It is a decision with a date. If the clinic opens ten more sites, the scale question comes back, and you revisit it then.

Step-by-step workflow: find your architecture drivers

  1. Step 1: List the hard requirements

    Go through your numbered requirements. Mark every Must, and every quality or constraint, even if it is not a Must.

    What you should see: A short list of candidates, not the whole requirements document.

  2. Step 2: Ask the driver question

    For each candidate, ask: if this changed, would the design change? A shared diary that two people edit at once does. The colour of a button does not.

    What you should see: Each candidate marked driver, ordinary requirement or unsure.

  3. Step 3: Add the situation constraints

    Write down the team size, the budget, who will maintain the system and any legal duties. Ask the owner if you do not know.

    What you should see: At least one constraint about people and money, and one about data.

  4. Step 4: Trace each driver

    Give each driver an ID, its source and the direction it points. If you cannot name a source, it is an opinion. Ask the client before it counts.

    What you should see: A trace table like the Tidewell one.

  5. Step 5: Record the non-drivers

    List what you are setting aside, with one line of reason for each. This is where a wish like 'like the big chains' goes.

    What you should see: A short set-aside list with reasons.

  6. Step 6: Save and confirm

    Put the table in docs/architecture.md with a date. Show it to the practice manager and the owner, because they know the real limits.

    What you should see: Drivers confirmed by the people who own them.

From requirements to drivers
  1. Requirements

    FR, NFR, CON

  2. Driver question

    Would the design change?

  3. Situation limits

    Team, budget, law

  4. Trace table

    ID, source, direction

  5. Set-aside list

    Non-drivers with reasons

  6. Confirmation

    Owner and practice manager

Each step narrows the list. The result is small, traced and confirmed.

Using an AI assistant to find and challenge drivers

An assistant is a good second pair of eyes here. It knows many projects and will point out a hidden driver you missed, such as an audit need or a data-protection duty. It will also tell you when a driver looks weak.

TaskAssistant's partYour part
Find driversReads your requirements and proposes candidates with the source for each.Confirms each source is real and marks the rest as questions.
Spot gapsLists qualities you did not mention, such as privacy or maintainability.Decides which matter for this client, and asks the client.
Challenge weak driversArgues why a driver may not change the design.Judges the argument and keeps or removes the driver.
Name non-driversPoints to requirements that any design satisfies.Records the reasons, and the date to revisit.

Conclusion and your next step

Architecture drivers are the few needs that really shape a design. You find them by asking whether a change would alter the design, you add the limits of the situation, and you trace each one to its source. What you set aside is recorded too, so the design stays small.

Your next step: write the drivers for your own capstone project in a trace table, then continue to Choosing a System Shape. There you compare designs against these drivers.

For more practice, try the Appointment Booking Portal project, which has a similar clinic scenario. The Architecture Decision Record Draft prompt will help you later in this module, and the Glossary of AI Engineering and Agent Terms explains unfamiliar words.

Reusable prompt

Architecture driver finder

Proposes architecture drivers, gaps and non-drivers from your requirements, with sources, and leaves business choices as questions.

You are helping me find architecture drivers. Do not choose technology or draw a design.

Fictional clinic: Tidewell Physiotherapy. Four physiotherapists, two front-desk staff, one practice manager, one owner. Out of scope: payments, insurer billing, clinical notes.

Requirements:
FR-01 A patient can see the free slots for a chosen clinician and date. (Must)
FR-02 A patient can move or cancel their own booking without calling the clinic. (Must)
FR-03 When a booking is cancelled, the slot is offered to the waiting list. (Should)
FR-04 Front-desk staff can create, move and cancel bookings on a patient's behalf. (Must)
FR-05 Every change to a booking records who made it and when. (Must)
NFR-01 Two people changing the same slot cannot produce two bookings for it. (Must)
NFR-02 A patient can use the booking page on a phone screen. (Should)
CON-01 Patient data is stored and processed under the clinic's data-protection duties; the owner decides where it is held. (Must)

Situation: one developer working with an assistant, a small budget, later maintenance by a local contractor.

Tasks:
1. List the architecture drivers. For each give an ID, the requirement or situation it comes from, and the kind of design direction it points to, in one sentence. Do not name products.
2. List qualities I may have missed. Mark each "Question for the client".
3. List ideas I should set aside as non-drivers, with one reason each.
4. Point out any driver that has no source in my text.
Show the reusable template

Replace each {{placeholder}} with your own details.

You are helping me find architecture drivers. Do not choose technology or draw a design.

Context: {{organisation_and_scope}}

Requirements:
{{numbered_requirements}}

Situation: {{team_budget_and_maintenance}}

Tasks:
1. List the architecture drivers. For each give an ID, the requirement or situation it comes from, and the kind of design direction it points to, in one sentence. Do not name products.
2. List qualities I may have missed. Mark each "Question for the client".
3. List ideas I should set aside as non-drivers, with one reason each.
4. Point out any driver that has no source in my text.

Expected output and limitations

A numbered list of drivers, each with a source and a design direction in general terms. A second list of possible gaps marked as questions, a list of non-drivers with reasons, and a note about any driver that has no source.

Sample responseIllustrative — your output will differ
D1 Correct bookings when two people act at once. Source: NFR-01. Points to: a data store that can enforce one booking per slot.
D2 Patients use phones. Source: NFR-02. Points to: pages that work on small screens without installing anything.
D3 Staff and patients share one diary. Source: FR-01, FR-02, FR-04. Points to: one place that holds the truth.

Gaps (questions for the client):
- How long must change history be kept? Who may read it?
- Who can see patient details? (Not stated in the requirements.)

Non-drivers:
- Very high traffic: four physiotherapists, no growth requirement.

No source found: "fast response under heavy load" appears in the situation notes but not in a requirement.

Limitations to keep in mind

  • The assistant draws on typical projects. It may add drivers such as heavy traffic that your client never needs.
  • It cannot see your client's real limits. Any constraint about money, people or law is a question until the owner confirms it.
  • A longer list is not a better one. A good list is short, and every item has a real source.

Common errors and how to fix them

Every requirement is listed as a driver.

Why it happens: The driver question, 'would the design change?', was not asked.

Fix: Keep only the needs that force a choice. Move the rest back to the ordinary requirements list.

The team, budget and maintainer are never written down.

Why it happens: They feel like background, not design input.

Fix: Add them as constraints. They often decide between two designs that are otherwise equal.

A driver has no source, because the assistant suggested it.

Why it happens: A confident suggestion was accepted without a check.

Fix: Mark it as a question for the client. It counts only after a named person confirms it.

Validation checklist

Tick each item once you have confirmed it.

Hands-on exercise

Drivers for Ferngate Cycle Repairs

Ferngate Cycle Repairs is a bicycle workshop. Mechanics take parts from a store room, and today it is recorded on a whiteboard. Write a trace table of architecture drivers for a parts and stock tool, and a list of non-drivers with reasons.

You will need

  • Your Ferngate requirements from Module 1: record parts taken for a job, and flag low stock.
  • Note: mechanics share one tablet, and their hands are often greasy.
  • Note: the internet connection in the workshop is unreliable.
  • Note: the owner reorders every Friday by counting shelves, and the low-stock threshold is 'to be agreed'.

Acceptance criteria

Your work is done when every one of these is true.

Hints (2)
  • Ask what a mechanic needs when the connection drops in the middle of a job.
  • Ask whether supplier ordering was ever asked for. If not, it is a non-driver.
Show a model answer

A strong answer has drivers such as: parts taken must not be lost when the connection drops, one shared tablet means entries must be quick and large to tap, and two mechanics may take the same part at once. It adds a situation driver, such as a very small budget or no technical staff in the workshop. It sets aside supplier ordering and a customer-facing app, with reasons. The low-stock threshold is a decision for the owner, so the table says 'to be agreed' and names the owner. The answer points in general directions, such as 'something that works with a weak connection', and does not pick a product.

Knowledge check

Choose an answer, then check it. Nothing is recorded — this is for you.

  1. 1.Which of these is most likely to be an architecture driver for Tidewell?
    Show the answer and explanation

    Answer: B. A shared slot that two people can change at once forces a choice about how data is stored and checked. The clinician's name is tempting because it is a real requirement, but it is easy to show in any design, so it does not shape the architecture.

  2. 2.A friend says the clinic should be designed 'like the big chains' so it can grow. What is the best response?
    Show the answer and explanation

    Answer: B. No requirement asks for that scale, so it should not shape a small design, and writing it down stops it coming back by accident. Designing for millions feels safe, but it adds cost and moving parts that one developer must then maintain. Saying nothing leaves the idea open for the next person to raise again.

  3. 3.An assistant adds a driver, 'must support 50,000 patients', which is not in your notes. What should you do?
    Show the answer and explanation

    Answer: B. A driver needs a real source, and the owner is the source for how big the clinic is. Adding it because the assistant sounds sure skips that check. Deleting it silently is wrong too, since the question may reveal a real plan, and it costs one question to find out.

Frequently asked questions

What is the difference between a requirement and an architecture driver?

A requirement is anything the system must do or be. An architecture driver is one of the few requirements or limits that would change the shape of the design if it were different. Most requirements are not drivers.

What are quality attributes in software architecture?

They are qualities the system must have, such as being correct, private, easy to change or cheap to run. They describe how well the system works, not what it does. You usually pick a few that matter most and accept that the others will be just good enough.

How many architecture drivers should a small project have?

Usually between three and eight. If you list twenty, most are probably ordinary requirements. If you list one, you may have missed a constraint such as the team, the budget or a legal duty.

Can I ask an AI assistant to pick the architecture for me?

You can ask it for options and for challenges to your thinking. You should not let it decide, because it does not know your team, budget or the owner's rules. Give it your drivers first, and compare its proposals against them.

Written by
PromptFable Editorial
Last updated 19 Nov 2026
Review
Reviewed by Waseem Nadir, Technical Reviewer
Last reviewed 27 Nov 2026

References

Primary sources for the technical details in this lesson. Vendor platforms change — check the official page if anything here looks different from what you see.

PromptFable is independent and is not affiliated with, endorsed by or sponsored by Anthropic, Google, OpenAI or any other vendor. Claude, Gemini, Google AI Studio and other product names are trademarks of their respective owners.