Sub topic 9
Designing Your Own Constraints
This chapter assumes you already know the four constraint types (resource, form, rule, time) and have chosen a constraint for a problem. It covers what to do when no ready-made constraint fits. You will build one yourself, test it, and write it down so someone else can use it.
Why design your own
Ready-made constraints such as "use only five words" or "finish in ten minutes" work as starting points. They are generic, so they often miss the specific thing that blocks you on a particular problem.
A designed constraint targets that blocker. If every idea your team produces assumes a new app, a constraint like "the solution cannot involve any new software" attacks that habit directly. A generic time limit would not.
Designing also gives you a tool you can adjust. When you know why a constraint exists, you know what to change when it does not work.
The anatomy of a constraint
A usable constraint has three parts.
- Target: the habit, assumption, or default you want to break. Example: "we always start with a screen."
- Limit: the specific restriction you impose. Example: "no screens in the solution."
- Check: how you will know, after the fact, that the limit was obeyed. Example: "the final idea can be described without the words app, page, or screen."
Most failed constraints lack either a target or a check. Without a target, the limit is arbitrary and may only make the work harder. Without a check, people drift back to the default and nobody notices.
A five-step design process
The process below goes from a problem to a constraint you are ready to run. It loops back when a test fails.
Step 1: Name the blocker
Describe what is stopping fresh ideas, in one sentence. Good blockers are observable: "every proposal is a variation on last year's event," or "our functions all take eight parameters." Poor blockers are vague: "we are not creative enough."
If you cannot name the blocker, look at the last five ideas you or your team produced. What do they have in common? The shared feature is usually the assumption to target.
Step 2: Pick a constraint type
Match the type to the blocker.
| Blocker | Likely type | Example limit |
|---|---|---|
| Solutions always need money or tools | Resource | Use only what is on the desk |
| Output always looks the same | Form | Exactly six lines, or one page |
| An unquestioned default shapes everything | Rule | The solution may not use the word "meeting" |
| Perfectionism, long delays, endless polishing | Time | Ten minutes, then stop |
Several types can fit one blocker. Pick the one that attacks the habit most directly, and keep the others for later rounds.
Step 3: Write the limit and the check
Write the limit as a sentence that a stranger could judge as obeyed or broken. Compare these two:
- Weak: "Keep it simple."
- Strong: "The solution must fit on one index card."
The first needs interpretation. The second can be checked by looking at the card. Then write the check as its own line, even when it feels obvious. Writing it forces you to find out whether the limit is really testable.
Step 4: Test on a small sample
Run the constraint for a short round, five minutes is enough, on the real problem or a similar one. Then look at three things:
- Did the ideas differ from your usual ones?
- Did you break the limit without noticing?
- Did the limit make every idea impossible, or only unfamiliar?
If ideas look the same as before, the limit is too weak or aimed at the wrong target. If you produced nothing, it is too tight, or it is obstructive rather than productive (see the earlier chapter on telling the two apart).
Step 5: Record it
Write the constraint, its target, and its check in a place you will find again. A constraint that worked once is worth reusing, and one that failed is worth remembering along with why.
A worked example
Suppose a team wants new ways to onboard a teammate. Every past idea was a long document or a slideshow.
- Blocker: every onboarding idea is a document the newcomer must read.
- Type: rule, because the habit is an unspoken default format.
- Limit: the newcomer may not be given anything to read in the first week. Check: the plan lists no document, link, or slide.
- Test: five minutes of brainstorming produced ideas such as pairing on a real task on day one, a walking tour of the codebase with a senior colleague, and a "ask me anything" lunch.
- Record: the card reads, "Onboarding: nothing to read in week one. Check: plan contains no documents."
The test also showed a problem. One idea was "record a video," which obeys the letter of the rule (nothing to read) but keeps the same passive-reading habit. The team tightened the limit to "nothing the newcomer consumes alone," and the check to "every activity involves at least one other person." This kind of repair is the normal result of step 4.
Generating candidate constraints with code
Sometimes the hard part is simply producing candidates to test. This script, reused from the tutorial's code examples, pairs a problem with randomly chosen constraints.
import random
def constrained_ideas(problem, constraints, count=3):
"""Pair a problem with randomly chosen constraints to prompt new ideas."""
picks = random.sample(constraints, k=min(count, len(constraints)))
return [f"{problem} -- but {c}" for c in picks]
constraints = [
"it must cost nothing",
"it must fit on one page",
"it must be finished in ten minutes",
"it can use only what is already on your desk",
]
for prompt in constrained_ideas("Design a way to onboard a new teammate", constraints):
print(prompt)Random pairing is useful for choosing which candidate to test first, but it does not design anything. The target and check still come from you. The next script encodes the anatomy above as a simple review step that flags weak drafts.
import re
from dataclasses import dataclass
VALID_KINDS = {"resource", "form", "rule", "time"}
VAGUE_WORDS = {"good", "better", "creative", "interesting", "simple", "nice"}
@dataclass
class Constraint:
kind: str # resource, form, rule, or time
target: str # the habit or assumption being broken
limit: str # the restriction, as a checkable sentence
check: str # how to tell whether the limit was obeyed
def review(c):
"""Return a list of problems with a draft constraint."""
problems = []
if c.kind not in VALID_KINDS:
problems.append(f"kind must be one of {sorted(VALID_KINDS)}")
if not c.target.strip():
problems.append("no target: say which habit this breaks")
if not c.check.strip():
problems.append("no check: say how you will know it was obeyed")
words = set(re.findall(r"[a-z]+", c.limit.lower()))
vague = words & VAGUE_WORDS
if vague:
problems.append(f"limit uses vague words: {sorted(vague)}")
return problems
draft = Constraint(
kind="rule",
target="onboarding is always a document to read",
limit="keep it simple",
check="",
)
for problem in review(draft):
print("-", problem)Running it prints two problems: the empty check and the vague word "simple". The script cannot judge whether a limit is a good idea. It only catches the two most common drafting mistakes before you spend a brainstorming round on them.
Common errors
| Error | Symptom | Fix |
|---|---|---|
| Limit has no target | Ideas change, but not in a useful direction | Name the habit first, then choose the limit |
| Limit cannot be judged | Arguments about whether an idea qualifies | Rewrite so a stranger could verify it |
| Limit is a loophole | Ideas obey the wording but keep the old habit | Tighten the limit to describe the behavior, not a surface feature |
| Limit is too tight | No ideas, or only silly ones | Relax one dimension, such as allowing two items instead of one |
| Several limits at once on the first try | You cannot tell which one helped | Test one, then combine in a later round |
| Never recorded | The same design work is repeated | Keep a short constraint card |
Practice: a constraint card
A constraint card holds everything from this chapter in four lines: the target, the limit, the check, and the result of the test run. Fill one in for each constraint you design. After a few rounds, your cards show which targets respond to which types, and that record is what lets you design faster next time.
Exercise
A team's bug reports are always long, rambling messages that nobody finishes reading. You decide the blocker is "reports have no required shape." Write a constraint with a type, a limit, and a check. Then explain how you would test it.
Show answer
One good answer: Type: form. Limit: every bug report must fit in exactly three sentences, covering what happened, what was expected, and how to reproduce it. Check: count the sentences and confirm each of the three topics appears. Test: have two or three people rewrite an existing long report under the limit for five minutes, then compare the results with the originals. If important detail was lost, loosen the limit (for example, allow five sentences). If reports are still rambling, tighten it or add a rule that each sentence stays under twenty words.
Exercise
Below is a draft constraint for a poetry exercise: "Write something more original." Identify what is missing from it and rewrite it as a usable constraint.
Show answer
It has no target, no checkable limit, and no check. "More original" cannot be judged. A rewrite: Target: the habit of ending every poem with a hopeful turn. Type: rule. Limit: the poem may not end on a positive or hopeful image. Check: a reader who has not seen the poem can read the last line and confirm it contains no hopeful image, such as sunrise, new beginnings, or hope. Other correct answers are fine if they name a target and a check a stranger could apply.