A spec is per behaviour, not per screen. Six frames describing one thing a person does produce six documents that each describe a picture, and none of them says what the thing does.
Nino is specifying one behaviour for a taxi dispatch product in Tbilisi: a driver receives an offer and accepts it. Four frames, one document, and about forty lines.
Four columns per state
Four columns per state: the copy, the behaviour, the timing, the recovery. Write the states down the side and those four across the top, and the document fills itself.
One behaviour, four states
Four states by four columns, and where a document runs out
The cell counts are lines of specification. The pattern is the finding: the further right, the emptier, and the right hand column is where the product decisions live.
lines written per cell, in the specification for accepting a ride offer
Two zeros sit in the recovery column on the failure states nobody demonstrates, leaving queue return and driver impact to whoever writes the code.
Modular Type Scale & CSS Flex/Grid Motion Lab
Test harmonic typography ratios and live Flexbox/Grid layouts with 1-click CSS export.
The copy is the exact words, not a description of them. The behaviour is what the system does and what the person may do. The timing is every number: a spinner after 200 ms, a timeout at 8 seconds, then an automatic decline.
The recovery column is the one that is always empty. What happens after the failure: whether the offer returns to the queue, whether the driver is told, whether it counts against them. Those are product decisions, they get made by somebody eventually, and if the column is blank they get made by whoever is writing the code at the time.
The two things a frame cannot hold
The data contract says the type, the length, whether it can be empty and the longest real value. Not a plausible length: the longest one in the database today. The pickup address is up to 180 characters and the longest real one is 147, which is what the layout has to survive and what the design was never tested with.
Invisible in frames
The two specifications a screen frame cannot hold
Real database limits and role-based visibility prevent layouts and permissions from breaking in production.
- Data contracttype, nullability, real maxima
- Schema cap of 180 characters for pickup address
- Longest real address in production at 147 characters
- Layout must survive true data, not neat placeholders
- Role permissionswho sees which field
- Dispatcher sees driver full name and phone number
- Driver sees pickup point and passenger first name only
- Four lines stop builds from leaking wrong fields
what static mockups omit
Mockups show one happy role with short text; the spec must state real lengths and role boundaries.
Then name which role sees each field. A dispatcher sees the driver's name and phone number; a driver sees the pickup point and the passenger's first name only. Permissions are invisible in a design file, they are the commonest source of a build that is correct for one role and wrong for three, and they take four lines to write down.
Where it lives
The spec lives beside the code and is versioned with it. In the repository, in the same pull request as the change it describes, so that the document and the behaviour move together and a reviewer sees both.
Where it lives
Spec versioned beside code vs stored in a separate drive
One behaviour document in the same pull request stays accurate; a detached drive file drifts silently.
Keep one spec per behaviour in the repo rather than one document per frame in a drive.
A specification in a separate drive is correct on the day it is written and then diverges silently. Nobody notices, because nothing links the two, and six months later there are two descriptions of the timeout and no way to tell which one the software does.
One behaviour, one document, however many frames it takes. The frames are attachments to it rather than the other way round.
What to open
The database schema is the first place to look and the one designers do not open, free, and it is where the 180 comes from. It replaces asking how long a field can be and being told probably fine, which is an answer that produces a layout that breaks on about one record in two hundred.
What to open
Pull real limits from the schema and expose blanks in a table
Opening the database schema and laying states into rows replaces guesswork and prose blind spots.
- 01Open the database schemaread actual limits such as 180 characters instead of accepting probably fine
- 02Reject prose paragraphsnarrative specs hide missing fourth states and omit recovery rules altogether
- 03Build one row per stateempty recovery cells stay visible so the team resolves them before coding
An empty table cell is an obvious question; a missing sentence in prose is invisible.
A table with one row per state is the artefact itself, free, in whatever the team writes documents in. It replaces prose describing four states, in which the fourth is a sentence at the end and the recovery column does not exist at all. A table has visible empty cells, and an empty cell is a question somebody can see.
Where it stalls: written after the build
Specifications get written when somebody notices that there is no specification, which is usually during a handover to a second team or an audit, and by then the software exists.
Where it stalls
Writing the spec after the build only formalizes rushed guesses
Skipping an afternoon of upfront writing trades forty clear lines for multi-day interruptions mid-build.
- Spec skipped upfrontwriting forty lines first feels slower than starting code
- Developer decides under deadlineunreviewed product choices get coded into live behaviour
- Handover or audit triggers docssomeone realizes no specification exists once software is built
- Post-build doc freezes guessesaccurate to the code, useless as an intentional product decision
A retrospective spec records what happened under pressure rather than deciding what should happen.
A document written after the code is a description of what happened, and it will be accurate and useless. Every decision in it was made by a developer under time pressure, none of them was reviewed as a decision, and writing them down does not make them right, it makes them official.
What makes this hard to change is that writing the document first feels slower and is not: the forty lines take an afternoon, and the four questions they prevent take three days each once the build is under way.
What it looks like when it goes wrong
The offer timeout was not in any document. The developer chose thirty seconds, which is a reasonable number in the absence of one, and drivers held offers open while they decided whether the fare was worth it. Passengers waited an average of nearly a minute for an acceptance. The operations team's answer was a rule that drivers must accept within ten seconds, communicated by text message and enforced by a supervisor watching a screen, which ran for eight months before anybody connected it to a value nobody had specified.
Failure sequence
How an empty timeout cell created eight months of manual policing
Without a documented timeout, a developer's guess forced operations staff to police drivers by text message.
- 01Timeout omitted from specdeveloper picked thirty seconds in the absence of a documented rule
- 02Drivers held offers openpassengers waited nearly a minute while drivers weighed each fare
- 03Operations wrote a text ruleinstructed drivers to accept within ten seconds, watched live by a supervisor
- 04Eight months of manual checksran before anyone traced the wait time back to an unspecified value
Unspecified numbers never stay blank in software; someone picks one silently and operations pays for it later.
The states this document has rows for have to be found before they can be specified, which is the states nobody designs and everybody hits. The frames attached to it come with files that need naming and exporting, which is exports, formats and naming. And the reason the timeout was missing at all is a question about what gets agreed before a build starts, which is what to agree before the build starts. What else a handover owes is one level up, in everything a developer needs and usually is not given.