Sub topic 3
Naming the constraints and goals
This chapter assumes you have taken part in technical or project decisions and have written for a team in pull requests, design documents, or meeting notes. It builds on the previous chapter, which covered setting out the context and the problem. Here you take that context and split it into two lists: what you wanted (goals) and what limited you (constraints).
Why this step matters
Readers judge a decision against the situation they imagine. If your imagined situation differs from theirs, they will disagree with a decision that was sound. A reviewer who assumes you had six months will call an eight-week choice shortsighted. A reviewer who assumes you wanted the cheapest option will call your choice wasteful.
Stating goals and constraints gives readers the same yardstick you used. It also does two practical things:
- It shows which parts of the decision were forced and which were chosen. Readers can then aim their questions at the choices.
- It lets a later reader tell whether the decision still holds. If a constraint disappears, the decision may need another look. You can only check this if the constraint was written down.
Goals: what you were trying to achieve
A goal is an outcome you want. Goals describe the result, not the method.
A useful goal has three properties:
- It names an outcome. "Customers can pay without leaving the checkout page" is a goal. "Use a payment widget" is a solution disguised as a goal.
- It can be checked. "Fast" is vague. "Pages respond in under 300 ms for 95% of requests" can be tested. When you cannot attach a number, name the observable behavior instead.
- It is ranked or at least separated. Goals compete. If you list five goals as equally important, a reader cannot tell what you gave up when two of them conflicted.
Separate must-have goals from nice-to-have ones. A must-have goal is one where missing it makes the decision a failure. A nice-to-have goal breaks ties between options that both meet the must-haves.
Goals that are really solutions
The most common slip is writing the chosen option into the goal. "We need a message queue" assumes the answer. Ask what the queue is for. The real goal might be "a slow email provider must not block checkout." That goal admits other options, such as a background thread or a scheduled job. This matters because readers cannot compare alternatives fairly when the goal already points to one of them.
Constraints: what you could not change
A constraint is a fact about your situation that limits which options are available. You did not choose it, or you could not change it within this decision. Constraints include deadlines, budgets, existing systems, team skills, rules, and agreements.
| Kind | Example | What it rules out |
|---|---|---|
| Time | Launch in eight weeks | Options that need long migrations |
| Budget | No new paid services this quarter | Managed products with licence fees |
| People and skills | Two engineers know PostgreSQL, none know other databases | Options the team cannot operate |
| Technical | Must integrate with a legacy billing API | Options that cannot call that API |
| Legal or policy | Customer data must stay in the EU | Hosting in other regions |
| Organizational | Security team must approve new vendors | Options needing a new vendor review |
Write constraints as plain statements of fact, and add the source when it is not obvious. "Data must stay in the EU (contract with the largest customer)" tells a reader who to ask if they want to challenge it.
Hard and soft constraints
Not every constraint is equally fixed. A hard constraint cannot be negotiated within the scope of the decision, such as a legal requirement or a fixed launch event. A soft constraint is a limit that could move if someone paid a price, such as "we would rather not add new infrastructure."
Mark which is which. If you present a soft constraint as hard, readers may later find you could have relaxed it and conclude you hid an option. If you present a hard one as soft, they may propose options you could never take.
Telling goals, constraints, and preferences apart
These three are often mixed. A quick test helps:
- If you could choose it and it describes what success looks like, it is a goal.
- If it limits your options and you did not pick it, it is a constraint.
- If it is something you like but would give up for a better result, it is a preference. State it as a preference or leave it out. Preferences presented as constraints are a quiet form of bias.
The same sentence can change category depending on context. "Use Python" is a constraint if the whole team only writes Python and there is no time to learn another language. It is a preference if the team is experienced in several languages and simply likes Python. The wording you choose should reflect which case applies.
A worked example
Suppose a team must choose how to store orders. A first draft of the context might read:
We need a reliable database that scales and is easy to use. We should
use something modern.This draft has no usable goals or constraints. "Reliable," "scales," "easy," and "modern" are unmeasured. A reader cannot tell which matter most or which are forced.
A revised draft separates the pieces:
## Context
Goals (must-have):
- Order and payment updates succeed or fail together.
- Launch to the first 500 customers in eight weeks.
Goals (nice-to-have):
- Room to grow write volume beyond the current estimate of 50 orders per second.
Constraints:
- Hard: eight-week deadline, set by the contract with the first customer.
- Hard: two engineers know PostgreSQL, none know other databases, and there is no training budget.
- Soft: we prefer not to add new infrastructure to run, since the team also supports the accounts service.Now the decision is almost framed for the reader. The transaction goal rules out options that cannot update two records atomically. The skills and deadline constraints rule out unfamiliar databases. The growth goal is nice-to-have, so a reader sees it was traded away knowingly if the final choice scales writes less well. This is also where the trade-offs section of the next chapters gets its material.
How to find the constraints and goals
You often hold the list in your head and forget to write it. Some prompts that surface what you left out:
- What would make this decision a failure if it went wrong? (This reveals must-have goals.)
- What did we rule out in the first five minutes, and why? (This reveals hidden constraints. Quick dismissals usually rest on an unstated constraint.)
- Who has to approve or operate the result, and what do they require?
- What date or event is fixed?
- What does the team already run, know, or pay for?
- Which of these limits could someone change if we asked?
The last question is the one people skip. Asking it can turn an apparent hard constraint into a soft one, which widens the options before you commit.
Common errors
- Hidden constraints. You rejected an option because of a limit you never wrote down. Readers see an unexplained rejection and assume you did not consider the option. Fix: if an option was dismissed quickly, find the limit behind it and list it.
- Stale constraints. A limit was true when you wrote it and has since changed, for example "no budget for managed services" after the budget was approved. Fix: date the constraints or note their source, so a later reader can check whether they still hold.
- Invented constraints. Constraints added after the fact to make the chosen option look forced. Readers who know the situation will notice, and trust in the whole record drops. List constraints as you understood them at the time.
- Too many equal goals. A list of eight "must" items leaves no basis for choosing. Keep must-haves to the few that would really sink the project.
- Unmeasurable goals. "Good performance" cannot be checked later. Give a number or a behavior, even if it is an estimate. Mark estimates as estimates; the chapter on evidence and assumptions covers this.
- Goals as solutions. Described above. Test each goal by asking whether two quite different options could both satisfy it.
Keeping it short
A reader needs the goals and constraints that shaped this decision, not every fact about the project. A good rule is to include an item only if removing it could change which option wins. Three to six goals and constraints combined is typical for a team-level decision. Larger decisions may need more, but if the list runs past a screen, check whether you are describing the whole project instead of this choice.
Put the list near the top of the document or record, directly after the problem statement, and before you show the options. Readers then meet the yardstick before they see what is measured against it.
Exercise
A teammate's design note says: "Goal: adopt Kubernetes so we can deploy reliably." Rewrite this as a goal that does not name the solution, and name one constraint you would need to ask about before accepting Kubernetes as an option.
Show answer
A goal without the solution: "Deployments succeed without manual steps, and a failed deployment can be rolled back within five minutes." The reliability need is now stated as a checkable outcome, and other options (managed platforms, scripted deploys) can be compared against it. Constraints to ask about include: how many engineers can operate a Kubernetes cluster (team skills), whether there is budget for the cluster and its tooling (budget), and whether a deadline leaves time for the migration (time). Any one of these is an acceptable answer, as long as it limits the options and has a source.
Exercise
A decision record lists these items under "Constraints": (1) launch in eight weeks, set by contract; (2) must use a relational database; (3) the team would rather avoid new infrastructure. Classify each as hard, soft, or a preference, and say what you would ask about item 2.
Show answer
Item 1 is a hard constraint, because a contract fixes it. Item 3 is a soft constraint or preference, since it describes what the team would like to avoid and could be traded for a better result. Item 2 has no source and may be a solution disguised as a constraint. Ask why a relational database is required. If the answer is "the orders and payments updates must succeed or fail together," the real item is a goal about atomic updates, and other options may also meet it. If the answer is "the team only knows relational databases," it is a skills constraint and should say so.