Module 02 · Lesson 2.1
Architecture Drivers and Constraints
On this page
- What you will learn
- What software architecture is, and why drivers matter
- Drivers, constraints and non-drivers explained
- Worked scenario: Tidewell's architecture drivers
- Step-by-step workflow: find your architecture drivers
- Using an AI assistant to find and challenge drivers
- Conclusion and your next step
- Reusable prompt
- Expected output
- Common errors and fixes
- Validation checklist
- Hands-on exercise
- Knowledge check
- Frequently asked questions
- 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 need | Plain meaning | Tidewell example |
|---|---|---|
| Correctness under shared use | Results stay right when several people act at once. | Two people cannot both book the same slot (NFR-01). |
| Reach and usability | People can use it on the devices they have. | A patient books from a phone (NFR-02). |
| Privacy and legal duty | Personal data is held and used as the law and the owner require. | The owner decides where patient data is held (CON-01). |
| Traceability of changes | You can tell who changed what, and when. | Every booking change is recorded (FR-05). |
| Ease of change | A person who did not build it can fix and extend it later. | A local contractor will maintain it. |
| Cost and effort | It 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.
| ID | Driver | Source | Where it points |
|---|---|---|---|
| D1 | Bookings stay correct when two people act at once. | NFR-01 | A database with transactions and uniqueness rules. |
| D2 | Patients use phones. | NFR-02 | Mobile-friendly web pages, no app store. |
| D3 | Staff and patients share one diary. | FR-01, FR-02, FR-04 | One system of record. |
| D4 | Every change is recorded. | FR-05 | A change history stored with each booking. |
| D5 | Personal data is held under the clinic's duties. | CON-01 | The owner chooses the hosting region; keep data minimal. |
| D6 | A team of one developer with an assistant, a small budget, and later maintenance by a local contractor. | Project context from the owner | Well-known, boring technology with few moving parts. |
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
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.
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.
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.
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.
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.
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.
- Requirements
FR, NFR, CON
- Driver question
Would the design change?
- Situation limits
Team, budget, law
- Trace table
ID, source, direction
- Set-aside list
Non-drivers with reasons
- 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.
| Task | Assistant's part | Your part |
|---|---|---|
| Find drivers | Reads your requirements and proposes candidates with the source for each. | Confirms each source is real and marks the rest as questions. |
| Spot gaps | Lists qualities you did not mention, such as privacy or maintainability. | Decides which matter for this client, and asks the client. |
| Challenge weak drivers | Argues why a driver may not change the design. | Judges the argument and keeps or removes the driver. |
| Name non-drivers | Points 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.
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.
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.
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.
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.
- Architectural Decision Records (ADRs)(opens in a new tab)
adr.github.io · Home of the decision record idea you meet in lesson 2.4. Many templates include a section for decision drivers.
- How the discovery phase works(opens in a new tab)
GOV.UK Service Manual · Official documentation · Explains how teams learn the real constraints before they choose a solution.
- PostgreSQL Documentation: Constraints(opens in a new tab)
PostgreSQL Global Development Group · Official documentation · Shows how a database can enforce rules itself, which is the direction driver D1 points to.
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.