B.O.S.S.The demo. Kettlewick is fictional — every page here is generated by boss from the records in demo/kettlewick/, the same way an install renders yours.
18 of 18 slots have something in them · 8 contrast pairs computed · 0 findings · 1 open · next: /design-reviewEverything on this page is read from the files under docs/design/ and docs/BRAND.md. Where a decision has been made it names the record; where none has, the slot says what fills it. Nothing here is written by BOSS.
Current shape
Who it's for: owner-operators who do the Monday schedule by hand and would keep the spreadsheet forever.
What it promises: cover found before the kettle boils.
What it refuses: it will not rank carers, track carers, or text anyone after 8pm. — DEC-003
How it sounds: plain, not clever (costs us delight); calm, not urgent (costs us the "act now" conversion); the owner's words, not ours.
What it is NOT: agency software. A marketplace. A scheduling tool.
The name, and why: the kettle is the owner's Monday morning; the wick is the bit that catches. It means nothing to a stranger and everything to an owner.
nascentdocs/BRAND.md · rev. 2026-09-02
The anchor — the choices that get expensive to reverse
The brand anchor: kettle copper, brown-black, two radii, one shadow
1 openboss design --questions lists these in the terminal
What checks the work — at the write, before it ships
Each guard reads the files on this page and speaks at the moment a write breaks one. A message from one of these is this page talking.
Guard
What it holds
State
contrast-guard
contrast, per declared pair, at every tokens change
on
design-tokens-guard
a raw colour caught at the write; a deprecated name gets its successor; a changed token names what else reads it
on
component-reuse-guard
a second Button asked about before it exists
on
content-terminology-guard
a refused word caught in a string
on
design-decisions-guard
the product's own decision handed over at the write that touches it
on
ui-boundary-guard
a system component reaching into a feature, caught at the import
on
6 of 6 on, 6 can see now.claude/settings.json
2 · People
Marta, and 1 more.
The full persona lives here, in the design space, because this is where it gets used; Pitch carries a snippet and a link. Each card says how much of it came from a real person — a card that is 100% synthetic is a guess with a name.
Marta — primary · docs/personas/marta.md
52, owns a nine-carer agency in a market town; runs it from the kitchen table before the school run, and from the school gate after it.
The day (context)
Sunday 8:40pm or Monday 7:40am: a text says "can't do tomorrow" and the phone tree starts — eight calls, an hour, a spreadsheet open on the laptop and a biro on the back of an envelope.
Jobs
keep every visit covered — a missed visit is a person without care, and a call from their daughter
keep the carers she has; she can't hire her way out of a bad Monday
keep the inspector happy without a second job of paperwork
know, by the time the kettle boils, that Monday is sorted
Pains
the cover call takes an hour and eight calls, and the eighth is the one who says yes
she's the only one who knows who can take what; if she's ill, nobody is covered
every scheduling tool she's tried wanted her to move the schedule into it — she won't
asking at night feels like begging, and she does it anyway
Values
trusts a tool that does one thing and stays out of the way
abandons anything that tracks her carers, ranks them, or pings them at night
the carer's word over the system's guess
the spreadsheet stays — it's hers, and it works
What we don't know yet: whether she'd pay before the first missed visit, or only after · whether her carers keep the texts, or delete them · what she does when nobody says yes — does she go herself? · whether "the right three" is a rule she'd let the app apply, or one she'd override every time
synthetic 40% · real 60%docs/personas/marta.md · 2026-05-20
Priya — secondary · docs/personas/priya.md
34, a carer with two agencies, a car, and a school run of her own; eleven years in care, four with Marta.
The day (context)
7:41am, between dropping her son and her first visit, a text asks if she can take Mrs H at 9; she's already dressed, and she answers with one thumb at a red light.
Jobs
earn a full week without a full week of phone calls
say yes to the visits she can do and no to the ones she can't, without a conversation about either
know by 8pm what tomorrow looks like, so she can plan the school run
keep the clients who know her — continuity is the part of the job she likes
Pains
being asked by three owners at once for the same hour, then blamed by two
being asked at 10pm, and lying awake deciding
a yes that turns out not to be needed — nobody told her someone else had it
a schedule that changes on paper she never sees
Values
a yes should be a yes and a no should be nothing — no reason owed, no guilt trip
her phone is hers: no tracking, no app that knows where she is
being asked by name, by a person, not pinged by a system
the client's routine over the agency's convenience
What we don't know yet: whether she'd install anything at all, or only answer a text · whether "the first yes fills it" feels fair or feels like a race · whether she'd want to see the other two names on the ask · everything above is Marta's picture of her carers; nobody has interviewed a carer yet
synthetic 100% · real 0%docs/personas/priya.md · 2026-05-22
3 · The journey
From hearing about it to relying on it — and the gaps between.
The tier above the flows: the stages a person travels, what they meet at each, and where they leave. Every row says where it came from — observed, said, or assumed — because a journey invented at a desk looks like research and isn't.
The stages — the gaps between flows are the point
#
Stage
Trying to do
Meets
Serving flow
Where they leave
Source
1
Hear about it
stop dreading Monday
another owner's mention at a training day; the landing page
—
the page reads like software, not like Monday
said
2
Try it
see if it reads their sheet
paste the week; the check screen
Import the week
the parse gets a row wrong and they don't trust the rest
observed
3
First value
cover one visit without ringing round
tap Ask; the first yes
Find cover for a visit
nobody says yes in time and it feels like the phone tree with extra steps
observed
4
Come back
next Monday, without thinking
the day view, empty or not
Find cover for a visit
they covered it by phone on Sunday night and forgot the app
assumed
5
Rely on it
never ring round again; tell another owner
the empty day; the pre-pay
—
a carer who won't use the app, so one visit is always by phone
The gaps — stages with no flow and no FEAT that owns them
Come back has no flow and no FEAT — nothing brings an owner back on Monday except the dread; a Sunday-evening line ("3 visits uncovered tomorrow") is queued by the 8pm rule and needs PAT-4's say when
the carer who won't install anything — one owner in nine; no flow serves the phone-only carer
docs/product/JOURNEY.md · The gaps
4 · Principles
3, each a direction that contains a tradeoff.
A principle is grounded when something outside the room names it — an EVID, a persona, a stage of the journey. One that only asserts is still a principle; the chip says which is which so it can be tested instead of reaffirmed.
1 · Calm over urgent
Your Monday morning gets shorter, not louder.
Grounded in: EVID-001 and EVID-002 (three owners described the Monday cover call unprompted; one said the hour is the job she hates most); DEC-003 (nothing after 8pm); docs/personas/marta.md
Why
an owner opens Kettlewick when a visit is already uncovered. Urgency is the default state of the job; the app must not add to it. Giving up: the "act now" conversion that badges and red dots buy.
Guideline
one accent, on the one thing you can act on. Everything else is quiet.
Rules
no unread counts; no badges on navigation; no red except the confirm on a destructive dialog; amber for uncovered, a settled green for covered, the copper only on the act; nothing sent after 8pm, and the screen says when it will go.
Wrong if
an owner misses an uncovered visit that a badge would have caught. Then calm cost a visit, and the rule narrows.
Everything you need about a visit is on its row; you never open anything to know its state.
Grounded in: EVID-003 (an owner covered a Monday visit from the school gate — one thumb, one row); docs/personas/marta.md; journey stage 3
Why
owners scan; they do not browse. A visit's state, who has the ask, and the one act belong on one line. Giving up: detail views, and the room they would give a designer.
Guideline
design the row first; the page is rows.
Rules
a visit's state is a chip on its row; the act is a ghost button on its row; a row never links to a detail page.
Wrong if
owners keep asking "where do I see the note?" — the row is too thin, and a second line earns its place.
Kettlewick never puts a carer on a visit; it helps you ask the right three, and the first yes fills it.
Grounded in: EVID-002 (the owner's own words for what she does now: "I ring round"); DEC-003 (no league table — the three are not ranked, they are the three who could); docs/personas/priya.md; journey stage 4
Why
the relationship between owner and carer is the product's whole moat; automation that bypasses it wins the Monday and loses the carer. Giving up: the "smart fill" every rival ships.
Guideline
every act is an ask with a name on it, and a person answers it.
Rules
no auto-assign; the primary button on an uncovered visit is Ask, and it names who; a carer's yes is one tap, never a form; the owner confirms, always.
Wrong if
owners widen the ask to everyone every time — then asking is broadcasting, and the three needs a reason on the screen.
Every swatch is its semantic name — what it is for, never its hue. Click a swatch, a name or a value to copy it in the form you want. A swatch with a reason under it is an argument someone has to answer; a swatch alone is a value someone will quietly change.
Semantic tokens · click any value to copy it
color.surface.ground#F3ECE1chosen · DEC-004
color.surface.paper#FFFBF4a bounded thing on the ground: a card, a row, a dialog
color.surface.raised#FFFFFFpaper with shadow.raised — used only by things that float
color.text.body#2A1E17chosen · DEC-004
color.text.muted#665247secondary text; still AA on ground and paper
color.text.on-primary#FFF7F0text on color.action.primary
color.text.on-danger#FFFFFFderived · no reason recorded
color.text.placeholder#9AA5A1retired 2026-08-30: failed AA on paper; use muted · deprecated → color.text.muted
color.action.primary#B84E12chosen · DEC-004
color.action.primary-hover#A74813primary mixed 12% with text.body
color.action.danger#A33A2Ethe confirm on a destructive dialog, nowhere else
color.signal.uncovered#955A12a visit nobody has — amber, never red (principle 1)
color.signal.asked#665247three carers have the ask; waiting is quiet
color.signal.covered#2E6B4Fdone — a settled green, not the accent: covered is finished, and the accent is for the act still to take
color.border.default#D9CCBBderived · no reason recorded
color.border.subtle#E8DFD2derived · no reason recorded
4 primitives underneath (color.<hue>.<step>) — referenced by these names, never by a screen.
3 chosen13 deriveddocs/design/tokens.json
Contrast — WCAG 2.x, computed for every declared pair: a text on a surface, an on-x text on its fill
Text
On
Ratio
Reads
color.text.body
color.surface.ground
13.80
AA
color.text.body
color.surface.paper
15.70
AA
color.text.body
color.surface.raised
16.20
AA
color.text.muted
color.surface.ground
6.25
AA
color.text.muted
color.surface.paper
7.11
AA
color.text.muted
color.surface.raised
7.34
AA
color.text.on-primary
color.action.primary
4.79
AA
color.text.on-danger
color.action.danger
6.56
AA
Checks the pairs the tokens declare, not what the page renders, but for the ink the pages fall back to where the tokens name none — text over an image, a gradient or a translucent overlay composites at runtime and stays not checked. A pair that fails is a token-system finding: fix it in docs/design/tokens.json and every screen moves.
Roles, not sizes. A screen that needs a seventh role is asking a question the style guide should answer first.
Roles · click a role to copy its token or value
font.displayNewsreader, Georgia, serifthe promise — headings and the wordmark
The quick brown fox covers the Sunday shift.
font.bodyPublic Sans, Helvetica Neue, Arial, sans-serifthe work
The quick brown fox covers the Sunday shift.
font.monoJetBrains Mono, Menlo, monospacetimes and counts
The quick brown fox covers the Sunday shift.
type.size.display28px
type.size.heading20px
type.size.body15px
type.size.small13px
type.size.label11px
docs/design/tokens.json · font family
7 · Space & shape
6 spacing steps · 2 radii · 1 elevation.
Spacing
space.1 · 4px
space.2 · 8px
space.3 · 12px
space.4 · 16px
space.6 · 24px
space.8 · 32px
docs/design/tokens.json · space
Radius
6px · control
8px · surface
docs/design/tokens.json · radius
Elevation
raised
docs/design/tokens.json · elevation
Motion
No durations, no easings named. prefers-reduced-motion is honoured by default.wakes when a transition is designed twice · seed-that-scales: cheap to add when earned
deferred by ruleno motion tokens
8 · Icons & logo
6 icons from files · the mark from its file.
An icon set is a dependency and a logo is the one drawing everything else defers to. Both render from files or not at all: the page copies what exists as SVG and says what is missing, and never draws a stand-in that would quietly become the real thing.
The set · 6 icons · drawn from the files · click one to copy its SVG · SVG on this block copies the set as one sprite
ask24px · 234 B
asked24px · 278 B
clock24px · 239 B
covered24px · 276 B
kettle24px · 265 B
uncovered24px · 216 B
The sprite is one <svg> of <symbol id="icon-<name>"> — the honest download: paste it once into a design tool or a page and reference each icon by id.
6 filesdocs/design/icons/*.svg
The decision — the set is a dependency; decide it before the second icon
The set: our own, drawn to match the mark — 1.5px stroke, 24px grid, round caps; six today (docs/design/icons/)
Sizes that exist: 16 (inline with text), 20 (in a button), 24 (alone)
Icon-only is allowed when: it sits in a row beside its label, or on the phone toolbar with an accessible name
What an icon never does: carry a visit's state — that is the chip's job, and colour-plus-shape is the floor
4 of 4 decideddocs/design/STYLE_GUIDE.md · Icons
The logo · docs/brand/mark.svg · SVG copies the mark
Kettlewick
mark + wordmark · on paper
Kettlewick
on the accent
the mark alone
Kettlewick
the wordmark alone · the name in the display face
Clear space: the height of the mark on every side
Minimum size: 16px on screen, 6mm in print; below that the mark alone, never the lockup
Colour: kettle copper on paper · white on the accent · one colour (text.body) for print; never on a photograph
With the tagline:Cover found before the kettle boils sits with the wordmark on the landing page only; nowhere inside the app
Misuse: stretched · a gradient · recoloured to a signal colour · below minimum
5 of 5 rules writtendocs/BRAND.md · logo: · docs/design/STYLE_GUIDE.md · Logo
9 · Layout
A layout section exists.
The six sub-slots · 6 of 6 decided
Base unit: 4
The ramp: inside a control space.2 · between controls space.3 · between sections space.6
Grid anatomy: the laptop is one column of rows at 720px max with a 240px rail on the left; the phone is one column edge to edge with space.4 margins; the day view is one column of visits in time order
Breakpoints:breakpoint.phone 480 · breakpoint.laptop 960 — two, because there are two surfaces that change shape
Responsive techniques: reflow (the visit row stacks its who under its when on the phone) · resize (the button fills the width on the phone) · keep (the chip never changes) · re-architect (the rail becomes the phone's bottom bar); hide is not allowed — nothing an owner needs is hidden on the phone
Density: one
surface
must
may
never
Laptop (the owner, Monday morning)
the day in one view; the rail
a second column for the note
a modal that hides the day
Phone (the carer, between visits; the owner at the school gate)
one act per screen; 44px targets (target.min); yes / no fill the width
the day as a list
a hover-only affordance
Paper (one owner in eight prints the Monday)
the three chip shapes in one colour; the day in time order
13 exist, 2 retired · 13 with a usage page · 1 asked for.
The index is the agent's reuse list — does something like this already exist? — and the founder's inventory. Reuse first, extend second, create last. Build the button, then use it on the page; don't build the page and leave the button inside it.
Asked for · 1 — a usage page written before the code is a request
QuietNotice — new — a line on the owner's day view after 8pm saying when the queued asks will go out ("3 asks go out at 6:30"). No existing component says when something will happen; the disabled AskCard says it to the carer, and the owner has nothing. docs/design/components/QuietNotice.md
The next /design-review answers each: reuse, adjust, or new. A request that names a behaviour no existing part has is the only kind that becomes a file.
the one destructive question — cancel a visit, remove a carer
—
1·
stable
—
Toast
the result of an act
success · error
2·
stable
—
Rail
the three places: Today · Carers · Settings — the laptop's rail, the phone's bottom bar
—
4·
stable
—
TextField
one thing typed: a carer's name, a phone number, the pasted sheet
single · multiline
4·
stable
—
CarerRow
one carer: name, phone, the days they usually can
—
1·
stable
missing state · disabled
ImportRow
one parsed line of the pasted sheet, on the check screen
read · couldn't-read
1·
stable
—
RowSkeleton
the shape of a row while the day loads
—
1·
stable
—
PrintSheet
the printed Monday — one colour, the three shapes, time order
—
0·
draft
—
CoverButton
was Button variant="primary" with the label "Ask" all along — merged · 2026-09-01
0
retired
—
Card
every use was a VisitRow; the surface tokens do the rest · 2026-09-03
0
retired
—
One word per concept, in props too: the visual variation → variant(never type, kind, style) · the primary action handler → onAsk(never onClick, onPress) · the off state → disabled(never isDisabled, inactive) · the loading state → loading(never isLoading, pending)
Definition of done
earned per component, never asserted — mechanical where something on disk can answer, not checked where it can't
Not checked, for every component: reads to 320px · a screen reader announces it · every string is in the copy layer · a person has used it. Nothing on disk answers those; a rendered page and a person do. /design-review after says the same not checked rather than pass.
Component
on tokens
states
source fresh
Button
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
VisitRow
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
StatusChip
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
AskCard
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
EmptyState
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
ConfirmDialog
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
Toast
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
Rail
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
TextField
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
CarerRow
not checked — the guard checks the write, the /design-library manifest checks the tree
missing disabled
authored — no hash
ImportRow
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
RowSkeleton
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
PrintSheet
not checked — the guard checks the write, the /design-library manifest checks the tree
✓
authored — no hash
1 findingdocs/design/COMPONENTS.md · the manifest /design-library makes adds a source hash and a usage count
Button · src/components/Button.tsx
the one act on a screen
Live sheet: shows default, disabled, loading, danger · Open live · /__components
Why it exists: new — the one act a screen exists for; nothing else commits the owner or the carer to anything.
When it applies
the one act a screen exists for — Ask, Confirm Priya, Keep it
the yes / no pair on the carer's ask card (two secondarys that fill the width, primary below)
When it doesn't
navigation — that is a link, and it is never in the accent
a state change that isn't an act — the chip is not a button
anything that appears on every row — that is ghost, and only one primary per view
Variant
Use it for
Never for
primary
the act
a second act on the same view
secondary
the way out — Not now, Keep it
a decoy that looks like a second primary
ghost
an act on a row — Ask
the only control on a screen
danger
the confirm on a destructive dialog
anywhere else; the label repeats the consequence
States
empty / loading: loading — the label becomes the participle ("Asking…")
Content
verb first, two or three words, sentence case; no ellipsis unless a dialog follows
loading: the label becomes the participle and the button stays put — "Asking…"
Layout
last on the right in a dialog; first on a row; never two primaries in one line
on the phone the yes / no pair fills the width, primary below; 44px minimum (target.min)
Accessibility
the label is the accessible name — never an icon alone
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
Live sheet: shows default, loading, disabled · Open live · /__components
Why it exists: new — the unit of the product: one visit, its state as a shape, who has the ask, and the one act, on one line. No other component holds a visit.
When it applies
every visit in the day view, on the laptop and the phone
the printed Monday (one colour, the same three shapes)
When it doesn't
the carer's side — a carer sees an AskCard, never a row of someone else's day
a summary count — that is text, not a row
Variant
Use it for
Never for
(none)
one shape, three states via the chip
a "compact" row — density is one
States
empty / loading: the empty day says "Nothing uncovered today."
Content
time first, in mono; then the client's first name only; then the chip; then who has the ask; then the act
the note, if there is one, is a second line and never a link
Layout
laptop: one line; phone: the who stacks under the when (reflow), the act keeps its 44px
space.2 between rows; border.subtle under each; no card
Accessibility
the row is a list item; the chip's shape has a name; the act is the only control
not checked: reading order on the phone after reflow
Research
EVID-003 — watched an owner read the day row by row with a thumb; she never opened anything
8 of 8 writtendocs/design/components/VisitRow.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/VisitRow.tsx
Status: stable · used in 1 · composes Button · StatusChip
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
Live sheet: shows uncovered, asked, covered · Open live · /__components
Why it exists: new — the signature: a visit's state as a shape before a colour, so it reads on paper, in one colour, and to anyone who cannot see amber.
When it applies
on every VisitRow; on the carer's AskCard once answered
When it doesn't
navigation — never as a badge, never a count
anything that is not a visit's state
Variant
Use it for
Never for
uncovered
a hollow ring, signal.uncovered
red
asked
a half-filled ring, signal.asked
a spinner
covered
a filled disc, signal.covered — the settled green, never the copper
a tick — the disc is the tick
Content
the word beside the shape on the laptop; the shape alone on the phone row, with its accessible name
Layout
16px on a row, 20px on the ask card; never scaled
Accessibility
shape carries meaning; colour is the second channel; the name is the third
not checked: the half-filled ring at 16px for low vision — a review with a person
Research
EVID-001 — owners described "ringing round" as a state they hold in their head; the chip is that state, outside the head
8 of 8 writtendocs/design/components/StatusChip.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/StatusChip.tsx
Prop
Type
Default
Required
variant
VisitState
—
required
size
'row' | 'card'
'row'
optional
showLabel
boolean
false
optional
ink
boolean
false
optional
Called heresrc/components/AskCard.tsx:37
<StatusChip variant="covered" size="card" />
import { StatusChip } from '@/components/StatusChip'
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
Status: stable · used in 1 · composes Button · StatusChip
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
Live sheet: shows default · Open live · /__components
Why it exists: new — what a day shows when nothing is uncovered: the product's best case, which is also the one owners see least and trust least.
When it applies
the day view when no visit is uncovered
the carer's inbox when there is no ask
When it doesn't
loading — that is the skeleton of a row, not this
an error — that is copy on the row that failed
Variant
Use it for
Never for
(none)
one message, one action at most
an illustration with no action
Content
"Nothing uncovered today." — and no action, because there is nothing to do; the carer's reads "No asks. Enjoy the gap."
Layout
centred in the list's space; the same margins as a row
Accessibility
plain text; nothing to operate
Research
EVID-004 — the owner who pre-paid said the empty day was "the first time it felt finished"; draft until a second owner says so
8 of 8 writtendocs/design/components/EmptyState.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/EmptyState.tsx
Prop
Type
Default
Required
children slot
ReactNode
—
required
Called heresrc/components/AskPage.tsx:18
<EmptyState>No asks. Enjoy the gap.</EmptyState>
import { EmptyState } from '@/components/EmptyState'
Status: draft · used in 3
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
draftresearch · EVID-004docs/design/COMPONENTS.md
ConfirmDialog · src/components/ConfirmDialog.tsx
the one destructive question — cancel a visit, remove a carer
Live sheet: shows default, loading · Open live · /__components
Why it exists: new — the one place a destructive act is confirmed; no other component asks a question and closes.
When it applies
cancelling a visit; removing a carer — the two acts that tell someone something they can't un-hear
leaving Kettlewick (Settings → "Delete your agency…", FEAT-006) — "Keep it" is the way out, and it's the default
When it doesn't
anything reversible — an ask can be withdrawn from the row, no dialog
anything the owner works in — that is a page, never a modal
Variant
Use it for
Never for
(none)
one question
a dialog with tabs, a form, or a second dialog
States
disabled: while the cancel is sending
Content
the title is the consequence: "Cancel the 9 o'clock. Priya will be told."; the danger button repeats it; the way out is Keep it
Layout
surface.raised with shadow.raised — the only thing that floats (PAT-5); centred, 360px, the two buttons in a row with the danger last
Accessibility
focus moves in and returns to the row's control on close (overlays prompt); Esc keeps it
not checked: the screen reader's announcement of the title
Research
EVID-002 — the owner's fear of "telling the wrong person the wrong thing" is why the consequence is the title
8 of 8 writtendocs/design/components/ConfirmDialog.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/ConfirmDialog.tsx
Prop
Type
Default
Required
title
string
—
required
confirmLabel
string
—
required
loading
boolean
—
optional
onAsk
() => void
—
required
onKeep
() => void
—
required
Called heresrc/components/SettingsPage.tsx:32
<ConfirmDialog title="Delete your agency. Every visit, carer and text goes within a day." confirmLabel="Delete the agency" onAsk={() => { localStorage.clear(); setLeaving(false); setLeft(true); }} onKeep={() => setLeaving(false)} />
import { ConfirmDialog } from '@/components/ConfirmDialog'
Status: stable · used in 1 · composes Button
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
stabledocs/design/COMPONENTS.md
Toast · src/components/Toast.tsx
the result of an act
Live sheet:no section yet, so counted as missing · src/__components/ComponentSheet.tsx
Why it exists: new — the result of an act said once and gone; the only component that speaks without being on a row.
When it applies
after a confirm — "Covered. Priya's on the 9 o'clock."
after an ask fails to send — "Couldn't reach anyone — try again, or ask three more."
When it doesn't
a standing fact ("3 asks go out at 6:30") — that is the proposed QuietNotice, not a toast
anything with a question in it — a toast never asks
Variant
Use it for
Never for
success
the act worked
a count or a celebration
error
the act didn't, and what to do next
a stack trace
States
hover: pauses the dismiss
Content
one sentence from the tone table; no exclamation marks; an Undo only when the act is reversible
Layout
bottom of the phone, above the bar; bottom-left on the laptop; 4s, paused on hover; z-index.toast
Accessibility
role="status" — announced without stealing focus; the error variant stays until dismissed
not checked: the timing for a slow reader
Research
EVID-003 — the owner covered a visit from the school gate and "didn't wait to see"; the toast is what she'd have seen
8 of 8 writtendocs/design/components/Toast.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/Toast.tsx
Variants: success · error · Status: stable · used in 2 · composes Button
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
the three places: Today · Carers · Settings — the laptop's rail, the phone's bottom bar
Live sheet:no section yet, so counted as missing · src/__components/ComponentSheet.tsx
Why it exists: new — the three places, in one component that is a rail on the laptop and a bottom bar on the phone; nothing else navigates.
When it applies
every owner screen: Today · Carers · Settings
When it doesn't
the carer's side — the ask card is the carer's whole product; no rail
the printed Monday
Variant
Use it for
Never for
(none)
one component, two surfaces by re-architecting
a hamburger; a fourth place
States
active: the current place
Content
the three words, never icons alone; the current place is marked by weight, not the accent
Layout
laptop: 240px left rail; phone: a bottom bar with three 44px targets (target.min); the re-architect technique from the Layout slot
Accessibility
nav with an accessible name; the current place has aria-current
not checked: the bottom bar under a phone's home indicator
Research
EVID-001 — owners named three things they do: today's cover, "who I've got", and "the settings I never touch"; the rail is those three
8 of 8 writtendocs/design/components/Rail.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/Rail.tsx
Prop
Type
Default
Required
current
Place
—
required
Called heresrc/components/CarersPage.tsx:31
<Rail current="carers" />
import { Rail } from '@/components/Rail'
Status: stable · used in 4
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
import { TextField } from '@/components/TextField'
Variants: single · multiline · Status: stable · used in 4
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
stabledocs/design/COMPONENTS.md
CarerRow · src/components/CarerRow.tsx
one carer: name, phone, the days they usually can
Live sheet:no section yet, so counted as missing · src/__components/ComponentSheet.tsx
Why it exists: adjust — widened from VisitRow's shape for a different job: one carer, not one visit. Same rhythm, no chip, no act on the row.
When it applies
the Carers list; the three names on an asked visit
When it doesn't
ranking — there is no order but the alphabet (DEC-003)
a profile page — there is none; the row is all there is
Variant
Use it for
Never for
(none)
one shape
a "compact" list
States
empty / loading: "No carers yet — add the first"
Content
name, phone, the days they usually can — in the owner's words ("most mornings"), never a percentage
Layout
the same rhythm as VisitRow: space.2 between rows, border.subtle under each
Accessibility
a list item; the phone number is a link on the phone
not checked: the reading order of "the days they usually can"
Research
EVID-002 — the owner keeps carers "in her head, not in a system"; the row is deliberately as thin as her head's version
8 of 8 writtendocs/design/components/CarerRow.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/CarerRow.tsx
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
one parsed line of the pasted sheet, on the check screen
Live sheet:no section yet, so counted as missing · src/__components/ComponentSheet.tsx
Why it exists: adjust — a VisitRow before it is a visit: the parsed line, as read, so the owner checks it before it becomes the day.
When it applies
the check screen after a paste — every line of the sheet, read or not
When it doesn't
the day view — once confirmed, it is a VisitRow
Variant
Use it for
Never for
read
the parse is confident: time · client · carer
hiding what it guessed
couldn't-read
the line as typed, marked
dropping the line
States
empty / loading: couldn't-read keeps the line as typed
Content
read: the three parts in the row's order; couldn't-read: the raw text and "couldn't read this one — the rest will import"
Layout
the same rhythm as VisitRow; couldn't-read rows carry an amber left rule, never red
Accessibility
the state is in the text, not only the rule colour
not checked: forty rows on the phone
Research
EVID-003 — the parse got a row wrong in front of the owner; the check screen exists because she didn't trust the rest until she saw it
8 of 8 writtendocs/design/components/ImportRow.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/ImportRow.tsx
Prop
Type
Default
Required
line
ParsedLine
—
required
Called heresrc/components/ImportPage.tsx:65
<ImportRow key={i} line={l} />
import { ImportRow } from '@/components/ImportRow'
Variants: read · couldn't-read · Status: stable · used in 1 · composes StatusChip
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
Live sheet: shows loading · Open live · /__components
Why it exists: new — the shape of a row while the day loads; the product has no spinner anywhere.
When it applies
the day view and the carers list, for the first second
When it doesn't
anything past a few seconds — that is a sentence ("Still loading the day…"), not a shape
Variant
Use it for
Never for
(none)
the row's exact shape
a generic grey block
States
empty / loading: n/a — it IS the loading state
Content
none; three rows of the row's shape
Layout
identical box to VisitRow so nothing jumps when rows arrive (PAT-9)
Accessibility
aria-busy on the list; the skeleton is hidden from the reader; prefers-reduced-motion stops the shimmer
not checked: nothing
Research
(none — a craft floor, not a finding; retire the row if a person ever mentions it)
8 of 8 writtendocs/design/components/RowSkeleton.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/RowSkeleton.tsx
Prop
Type
Default
Required
rows
number
3
optional
Called heresrc/components/DayViewPage.tsx:102
<RowSkeleton />
import { RowSkeleton } from '@/components/RowSkeleton'
Status: stable · used in 1
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
stabledocs/design/COMPONENTS.md
PrintSheet · src/components/PrintSheet.tsx
the printed Monday — one colour, the three shapes, time order
Live sheet:no section yet, so counted as missing · src/__components/ComponentSheet.tsx
Why it exists: new — the printed Monday for the one owner in eight who works from paper; the only surface with no interaction.
When it applies
print, from the day view; one page, time order, one colour
When it doesn't
the screen — it is never rendered on screen except as the print preview
Variant
Use it for
Never for
(none)
one sheet
a colour version
States
empty / loading: "Nothing uncovered on Monday" in one colour
Content
the day's visits with the three chip shapes; the two acts (ring and cover by) at equal weight — the exception of 2026-08-28, kept
Layout
A4 and Letter; 6mm margins; the mark at 6mm minimum; a raw hex for the rule colour — the exception of 2026-09-08, until the print family has tokens
Accessibility
one colour, shape carries state; 11pt minimum
not checked: a monochrome laser at draft quality
Research
EVID-001 — one of the three owners prints; draft until a second does
8 of 8 writtendocs/design/components/PrintSheet.md
The accessibility floor · 4 rules
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
How it's called · read from src/components/PrintSheet.tsx
import { PrintSheet } from '@/components/PrintSheet'
Status: draft · used in 0 · composes StatusChip
SVG copies the frame above — the name, the variants, the states — in your tokens, as editable layers. It is a spec frame, not a render; nothing here runs the code. Code copies the import line or the source file.
9 decisions of the product's own · 7 families in use · 3 refused.
A pattern is a recurring decision with a rule attached — one level above a component, one below a flow. Only the product's own decisions are decisions here; what BOSS seeded is a prompt, shown only under a family the product actually uses. The rule and the anti-pattern sit side by side because a rule you can see is one you stop arguing about.
Ours — the decisions this product made · 9
ID
Pattern
Do
Don't
First seen
PAT-1
Shape before colour
a visit's state anywhere — row, card, paper
descends from · 1 · Calm over urgent
a hollow ring, a half-filled ring, a filled disc; colour is the second channel
a coloured dot; a tick icon
2026-08-26
PAT-2
The act on the row
a visit needs cover; the owner is scanning
descends from · 2 · The row is the unit
the ghost Ask sits on the row; it names who will be asked; the row never opens a page
a detail page with the act at the bottom
2026-09-02
PAT-3
Ask three, first yes fills
an uncovered visit; the owner taps Ask
descends from · 3 · Ask, don't assignresearch · EVID-002
the three who could — no ranking, no league table (DEC-003); the first yes fills; the owner confirms
broadcast to everyone; auto-assign; a "best match" score
2026-09-02
PAT-4
Say when, after 8pm
anything queued by the 8pm rule (DEC-003)
descends from · 1 · Calm over urgent
the screen says the time it will go — "goes out at 6:30" — on the carer's card and the owner's day
a silent queue; a disabled control with no reason
2026-09-08
PAT-6
One question, then it closes
any destructive act — cancel a visit, remove a carer
descends from · 1 · Calm over urgent
the ConfirmDialog asks one question with the consequence in its title, the danger button repeats the consequence, and it closes; the day is never hidden behind two dialogs
"Are you sure?"; a dialog with a form in it
2026-09-03
PAT-7
Three places, one rail
any screen — the owner is always in Today, Carers or Settings
descends from · 2 · The row is the unit
the Rail is the laptop's left rail and the phone's bottom bar, the same three places in the same order; the current one is marked; nothing else navigates
a hamburger menu; a back button that goes somewhere else
2026-08-30
PAT-8
Paste, don't map
the owner brings the week from her spreadsheet
descends from · 3 · Ask, don't assign
one multiline TextField, paste as-is; the parse guesses the columns and the check screen catches it — never a column-mapping form
a wizard that asks which column is the time
2026-09-06
PAT-9
The shape while it loads
the day or the carers list is loading
descends from · 1 · Calm over urgent
RowSkeleton in the row's exact shape; never a spinner; the page does not jump when rows arrive
a centred spinner
2026-09-04
PAT-5
Rows sit, the card floats
any surface that holds a visit
descends from · 2 · The row is the unit
a row is paper on ground with a bottom rule; only the confirm dialog and the carer's card take shadow.raised — border for things that sit, shadow for things that float
a card inside a card; a shadow on every row
2026-09-05
A review finding can say violates PAT-n instead of re-arguing the rule. These are the ones worth showing a designer — and the ones the agent is handed at the write.
9 decideddocs/design/PATTERNS.md · Ours
Do / Don't — the rule rung, from the style guide · 5
Do
Don't
Because
one primary action per view
two buttons competing for the same weight
a second primary means the view has two jobs
amber for an uncovered visit
red for anything but the destructive confirm
red is a siren, and Monday is loud enough (principle 1)
the act on the row — Ask
a detail page with the act at the bottom
the row is the unit (principle 2)
disabled controls say why — "goes out at 6:30"
a greyed-out button with no explanation
the owner can't act on a dead end she can't diagnose
a time as the carer says it — "tomorrow at 9", written by phraseWhen in src/ask/facts.js
"09:00", or a date, in an ask
the carer reads it on a phone between visits; a clock time is the rota's word, not theirs
The only rung an agent can act on. A principle above that never produced a row here isn't steering anything yet.
5 pairsdocs/design/STYLE_GUIDE.md · Do / Don't
Inputs · in use: TextField · 1 decided
ID
Pattern
Do
Don't
First seen
PAT-8
Paste, don't map
the owner brings the week from her spreadsheet
descends from · 3 · Ask, don't assign
one multiline TextField, paste as-is; the parse guesses the columns and the check screen catches it — never a column-mapping form
a wizard that asks which column is the time
2026-09-06
2 prompts BOSS seeded for this family — questions, not decisions
Prompt
Do
Don't
Label, not placeholder
any field
a visible label that stays visible
placeholder-as-label — it vanishes on focus
Never lose what they typed
a submit that fails
the values survive the round trip
a cleared form after a server error
A prompt becomes the product's rule only when it is adopted into Ours with a PAT-n.
1 decideddocs/design/PATTERNS.md · 2 seeded
Data display · in use: VisitRow · CarerRow · ImportRow · RowSkeleton · 1 decided
ID
Pattern
Do
Don't
First seen
PAT-2
The act on the row
a visit needs cover; the owner is scanning
descends from · 2 · The row is the unit
the ghost Ask sits on the row; it names who will be asked; the row never opens a page
a detail page with the act at the bottom
2026-09-02
2 prompts BOSS seeded for this family — questions, not decisions
Prompt
Do
Don't
Zero / one / many / far too many
any list of visits
all four are designed, not just "many"
a day view that's beautiful at 6 visits and unusable at 40
One sort by default, and say which
the day view
time order, stated
an order the owner has to reverse-engineer
A prompt becomes the product's rule only when it is adopted into Ours with a PAT-n.
1 decideddocs/design/PATTERNS.md · 2 seeded
Waiting · in use: RowSkeleton · 1 decided
ID
Pattern
Do
Don't
First seen
PAT-9
The shape while it loads
the day or the carers list is loading
descends from · 1 · Calm over urgent
RowSkeleton in the row's exact shape; never a spinner; the page does not jump when rows arrive
a centred spinner
2026-09-04
2 prompts BOSS seeded for this family — questions, not decisions
Prompt
Do
Don't
Skeleton over spinner
you know the shape of what's coming
show the shape; the page stops jumping when it arrives
a centred spinner that reflows everything on resolve
Name the wait past ~10s
anything genuinely slow
say what is happening and roughly how long
an indeterminate bar with no end
A prompt becomes the product's rule only when it is adopted into Ours with a PAT-n.
1 decideddocs/design/PATTERNS.md · 2 seeded
Navigation · decided; nothing named in the tree · 1 decided
ID
Pattern
Do
Don't
First seen
PAT-7
Three places, one rail
any screen — the owner is always in Today, Carers or Settings
descends from · 2 · The row is the unit
the Rail is the laptop's left rail and the phone's bottom bar, the same three places in the same order; the current one is marked; nothing else navigates
a hamburger menu; a back button that goes somewhere else
2026-08-30
2 prompts BOSS seeded for this family — questions, not decisions
Prompt
Do
Don't
One way to get anywhere
the product has more than three places
one primary navigation, the same on every screen
a sidebar on one screen, tabs on the next
Where am I
any screen in a hierarchy
the current place is marked, and the way back is one step
a breadcrumb that is decoration
A prompt becomes the product's rule only when it is adopted into Ours with a PAT-n.
any destructive act — cancel a visit, remove a carer
descends from · 1 · Calm over urgent
the ConfirmDialog asks one question with the consequence in its title, the danger button repeats the consequence, and it closes; the day is never hidden behind two dialogs
"Are you sure?"; a dialog with a form in it
2026-09-03
3 prompts BOSS seeded for this family — questions, not decisions
Prompt
Do
Don't
A dialog is a question, not a place
you are about to open a modal
one decision, then it closes; anything the owner works in is a page
a modal with tabs; a modal that opens a modal
A toast confirms; it never asks
a result to report
short, auto-dismissing, with one undo if the act was reversible
a toast with two buttons
Focus goes in and comes back
any overlay opens
focus moves into it and returns to what opened it on close
focus left on the page behind
A prompt becomes the product's rule only when it is adopted into Ours with a PAT-n.
1 decideddocs/design/PATTERNS.md · 3 seeded
Feedback · in use: StatusChip · 3 decided
ID
Pattern
Do
Don't
First seen
PAT-1
Shape before colour
a visit's state anywhere — row, card, paper
descends from · 1 · Calm over urgent
a hollow ring, a half-filled ring, a filled disc; colour is the second channel
a coloured dot; a tick icon
2026-08-26
PAT-3
Ask three, first yes fills
an uncovered visit; the owner taps Ask
descends from · 3 · Ask, don't assignresearch · EVID-002
the three who could — no ranking, no league table (DEC-003); the first yes fills; the owner confirms
broadcast to everyone; auto-assign; a "best match" score
2026-09-02
PAT-4
Say when, after 8pm
anything queued by the 8pm rule (DEC-003)
descends from · 1 · Calm over urgent
the screen says the time it will go — "goes out at 6:30" — on the carer's card and the owner's day
a silent queue; a disabled control with no reason
2026-09-08
2 prompts BOSS seeded for this family — questions, not decisions
Prompt
Do
Don't
Severity has four levels and one is enough
any message to the owner
amber for uncovered, a settled green for covered, the copper only on the act, danger only on the confirm; colour and a shape
five shades of alert; red for everything
A badge is a number someone will act on
a count on navigation
never — principle 1; the day view is the count
an unread count that never clears
A prompt becomes the product's rule only when it is adopted into Ours with a PAT-n.
3 decideddocs/design/PATTERNS.md · 2 seeded
Layout primitives · in use: AskCard · 1 decided
ID
Pattern
Do
Don't
First seen
PAT-5
Rows sit, the card floats
any surface that holds a visit
descends from · 2 · The row is the unit
a row is paper on ground with a bottom rule; only the confirm dialog and the carer's card take shadow.raised — border for things that sit, shadow for things that float
a card inside a card; a shadow on every row
2026-09-05
1 decideddocs/design/PATTERNS.md
Refused — considered, rejected, kept so nobody proposes it again
Pattern
Why refused
On
streak counter for carers
engagement-shaped, not value-shaped; a league table by another name (DEC-003)
2026-08-20
"smart fill" — auto-assign the likeliest carer
the relationship is the product; principle 3
2026-08-26
a red badge on the day tab
principle 1; the day view is the count
2026-09-02
3 refuseddocs/design/PATTERNS.md · Refused
7 prompts BOSS seeded (Always · If the product is AI-mediated — seeded 2026-09-14 by the FEAT-007 review) — questions the product has not answered as its own
Prompt
Do
Don't
Five states
any interactive element
default / hover / active / disabled / empty+loading are named before code, not discovered after
shipping the happy path and meeting the rest in a bug report
Empty state
any list before there is data
say what to do next, and make the action reachable from here
"Nothing here yet." · an illustration with no action
Error copy
any failure a user can see
say what to do next, not what failed
"Oops! Something went wrong."
Destructive confirm
delete, revoke, cancel
name the consequence and whether it can be undone
"Are you sure?"
Terminology
every user-facing string
one word per concept, from the table in STYLE_GUIDE.md
visit here, shift there, slot in the text message
Risk-tiered gate
the model has written something that will go out in the owner's name
the owner reads it and taps Ask; edit is always there; nothing sends around the tap
a draft that sends itself after a countdown
Degraded-state honesty
the model is slow, refused, or returned something unusable
say which in one line ("The usual wording this time.") and show what still works: the template, in the same field
a spinner that never resolves; an empty field
3 more families exist as options — icons · selection controls · forms as a whole — and appear only when the product uses one. /design-review seeds a family the first time a screen has it.
12 · Flows
4 flows, each with three paths or a hole where one is missing.
The one layer no checker can give you: the sequence is a judgment a person made and wrote down. A flow is entry → steps → exit, plus the first-run path (the one that ships broken) and the failure path (where they land, what they keep). Each step says why it is needed now — the step that can't is the step to cut.
Find cover for a visit · the uncovered row → the visit is covered and the owner has confirmed · FEAT-001
#
Step
Asks the user for
Why it's needed now
1
tap Ask on the row
nothing — the three are chosen
the visit is uncovered and the owner is looking at it
2
wait for the first yes
nothing
the carers answer; the row's chip says asked
3
confirm the yes
one tap
the owner stays the one who decides (principle 3)
Cut, and kept: a note to the carers — asked for in the first version; nobody wrote one — the visit's time and client are the note · pick which three — the owner ranked carers in her head, which is the league table DEC-003 refuses; the three are the ones who could
The screens the prototype registry declares, never guessed from a router: each one's prototype of record, the FEAT that built it, the components named in either, and its last review. A screen whose components changed after that review is marked: the review no longer describes it.
The draft sheet · /
Prototype of record
prototype/draft-sheet.html
Design doc
docs/ideas/FEAT-007-draft-the-ask.md
Components
Button · TextField
Last review
docs/design/reviews/FEAT-007.md · 2026-09-14 · 10 days ago
Since then
git can't say — no history to date the components by
docs/design/PROTOTYPES.md · Live
The Monday · /
Prototype of record
deleted — DayViewPage replaced it (the notes on its adopted row in docs/design/PROTOTYPES.md; was prototype/day-view.html)
none found — no prototype or design doc to read them from
Last review
not found — looked for a review in docs/design/ux-check-*.md or docs/design/reviews/ whose name carries the FEAT or whose screen: names The invoice export
Since then
no review to compare against
docs/design/PROTOTYPES.md · Live
The ask · /#/ask
Prototype of record
deleted — AskCard replaced it (the notes on its adopted row in docs/design/PROTOTYPES.md; was prototype/ask-card.html)
Design doc
docs/ideas/FEAT-001-the-cover-flow.md
Components
AskCard · EmptyState
Last review
not found — looked for a review in docs/design/ux-check-*.md or docs/design/reviews/ whose name carries FEAT-001 or whose screen: names The ask
Since then
no review to compare against
docs/design/PROTOTYPES.md · Live
14 · Content
5 terms · 6 real strings.
The words are half the interface. Voice is constant; tone shifts by context; both get down to real strings, because an agent can act on “Delete 14 records. This can't be undone.” and cannot act on “confident”. The brand's how it sounds line is the source; this is where it becomes rules.
Terminology — one word per concept · 5
Use
Never
Because
visit
shift, slot, booking, appointment
the owner's word; a shift is the carer's whole day
carer
caregiver, worker, staff, the help
what they call themselves (EVID-002)
cover
fill, assign, book
the product's whole job, in the owner's mouth: find cover
ask
request, send, notify, ping
the product's stance (principle 3)
covered
filled, booked, done, sorted
the word on the chip and in the owner's mouth
The one content rule that is mechanically checkable. content-terminology-guard is on — a refused word in a string is caught at the write.
5 termsdocs/design/STYLE_GUIDE.md · Terminology
Voice, and how it shifts — the real strings
plain over clever — giving up: personality in the microcopy
brief over complete — giving up: the reassurance a longer message would give
the owner's words over ours — giving up: consistency with what the industry calls things
Context
How the voice shifts
Real string
Success
brief, no confetti
“"Covered. Priya's on the 9 o'clock."”
Error
what to do next, not what failed
“"Couldn't reach anyone — try again, or ask three more."”
Warning
name the thing, no exclamation mark
“"The 9 o'clock is still uncovered."”
Destructive confirm
name the consequence, not "are you sure"
“"Cancel the 9 o'clock. Priya will be told."”
Empty state
what to do next, not "nothing here"
“"Nothing uncovered today."”
Loading
the participle of the act
“"Asking Priya, Sam and Jo…"”
Buttons: verb first, two or three words, sentence case — Ask, Confirm Priya, Keep it · Errors: what the owner should do, not what the system failed at · Empty states: what to do next, not "nothing here"
6 of 6 contexts have a real stringdocs/design/STYLE_GUIDE.md · Voice in the interface
15 · Accessibility
8 pairs computed, 0 findings; everything else needs a person.
One check here is arithmetic — contrast over two declared numbers — and it is computed. Every other check is a judgment or needs a rendered page, and the honest word for those is not checked, said once, never mistaken for a pass.
The floor — not negotiable, not a phase
Contrast: body text ≥ 4.5:1, large text ≥ 3:1 — check the token pairs, not screenshots
Every interactive element has a visible focus state (2px color.action.primary outline, 2px offset)
prefers-reduced-motion honored by every animation
Nothing communicated by color alone — the chip is a shape first
docs/design/STYLE_GUIDE.md · Accessibility floor
Computed — contrast, once, where the tokens are
8 declared contrast pairs, 0 under AA — the table is in Colour → Contrast, once. A pair that fails is a token finding: fix it in docs/design/tokens.json and every screen moves.
0 findings · token-levelguards: 6 of 6 on, 6 can see now.claude/settings.json · docs/design/tokens.json
Not checked — said once, for everything below
Focus — every interactive element has a visible focus state
Keyboard — every flow completes without a pointer
Screen reader — names, roles, the order things are announced
Colour alone — nothing is communicated only by hue
Motion — prefers-reduced-motion honoured by every animation
Text over an image, a gradient, a translucent overlay — composites at runtime; the token pairs cannot see it
320px — reads and works at the narrowest width
Each needs a rendered page or a person. /design-review after walks them against shipped UI and writes not checked where it cannot see — the same word as here, never a pass by omission.
7 · not checkedneeds a render or a person · /design-review after
16 · Resources
Take it with you — the one file, and what derives from it.
Everything here is a file on disk or derived from one at render. The tokens file is the seam between code and a design tool: on any plan a tokens plugin reads it; an enterprise API can read and write it; native import without a plugin is unverified. The page says which, and never promises a round trip.
The tokens file · W3C DTCG · the source of every value on this page
43 tokens · 6415 bytes. Code copies the file, or the :root { --… } block derived from it. Download tokens.json
Your design tool: a tokens plugin on any plan reads this file; the enterprise API reads and writes it; native import is unverified — check before planning around it. The return trip is the same file, exported back and diffed.
DTCG 2025.10docs/design/tokens.json
The import lines · 13 · the reuse list, as one paste
import { Button } from '@/components/Button'
import { VisitRow } from '@/components/VisitRow'
import { StatusChip } from '@/components/StatusChip'
import { AskCard } from '@/components/AskCard'
import { EmptyState } from '@/components/EmptyState'
import { ConfirmDialog } from '@/components/ConfirmDialog'
import { Toast } from '@/components/Toast'
import { Rail } from '@/components/Rail'
import { TextField } from '@/components/TextField'
import { CarerRow } from '@/components/CarerRow'
import { ImportRow } from '@/components/ImportRow'
import { RowSkeleton } from '@/components/RowSkeleton'
import { PrintSheet } from '@/components/PrintSheet'
docs/design/COMPONENTS.md
The icon sprite · 6 symbols · SVG copies it
One <svg> of <symbol>s. In a page: <svg><use href="#icon-ask"/></svg>. In a design tool: paste, and each symbol is a layer.
docs/design/icons/*.svg
How to ask — for a part, a token, a retirement; a person or an agent, the same three doors
A new part: write its usage page — docs/design/components/<Name>.md, status: proposed, with why it exists (the behaviour no existing part has) and when it applies. It shows under Asked for; the next /design-review answers reuse, adjust, or new.
A token's value: a decision — /decide writes the DEC that names the token; the swatch shows it. Never edit the hex in a component.
Retiring a part: mark the row deprecated → Successor; the guard turns the next import toward the successor; the row moves to Retired when the last import is gone.
The check that keeps the library a library: nothing new lands unless it names a behaviour nothing else has. Same look, different need — widen the existing one. Same job, different look — a variant, not a file.
component-reuse-guard · /design-review · /decide
Kit coverage — which components have a counterpart in your design tool
0 of 13 components carry a design: link.
Button — no link
VisitRow — no link
StatusChip — no link
AskCard — no link
EmptyState — no link
ConfirmDialog — no link
Toast — no link
Rail — no link
TextField — no link
CarerRow — no link
ImportRow — no link
RowSkeleton — no link
PrintSheet — no link
A link is a URL into your own file and node: a design field on the component in the manifest, or a Design column in COMPONENTS.md. Coverage is a fact about links, never about whether the two match — a component is stable when the code, the docs and the kit agree, and this page can only show which of the three exist.
Two ways a system drifts, both counted here. A deliberate departure, dated, is a decision; an unrecorded one is drift that reads as precedent — grouped by the rule each departs from, because three against one rule is a rule being worked around. And the trace: how often the build was handed one of its own decisions at the write, and whether every new-component question got an answer.
Divergence — the last 30 days, from the trace · did the build follow its own decisions?
Decisions handed at the write
5 times across 4 files — PAT-2 ×1 · dodont-3 ×1 · PAT-3 ×1 · PAT-1 ×1 · dodont-1 ×1.
New component asked about
4 questions: 2 became a row · 2 reused (the name is gone) · 0 unanswered (in the tree, no row).
Counts, not verdicts: a decision handed is a screen that stayed on-system without anyone opening this page; an unanswered question is a fork nobody justified. What this cannot see is a write that diverged in a situation nothing ever decided — that is a hole above, not a number here.
two primary-weight actions on one sheet · 1 · an exception
Date
Where
What
Why
2026-08-28
the printed Monday
two primary-weight actions on one sheet
paper has no hover; both acts must read at a glance — reviewed, kept
1 · an exceptiondocs/design/STYLE_GUIDE.md · Exceptions
two primary-weight actions · 1 · an exception
Date
Where
What
Why
2026-09-04
the day view on the phone
two primary-weight actions
Ask and Confirm both needed on an answered visit — second of its kind, worth noticing
1 · an exceptiondocs/design/STYLE_GUIDE.md · Exceptions
a raw hex for the print rule · 1 · an exception
Date
Where
What
Why
2026-09-08
PrintSheet
a raw hex for the print rule
the print stylesheet has no tokens yet — the next token family
1 · an exceptiondocs/design/STYLE_GUIDE.md · Exceptions
18 · Research
3 observed · 2 stated · the personas are 70% inferred.
Research is everything that tells you whether the design is right — what people did, what they said, what the field does, what a reviewer can see. The same records Pitch keeps by date, cut here by the rung they reach and by the method that produced them. Grades, dates and methods only; never a quote. Coverage is a fact; readiness is a verdict.
By rung — observed beats stated beats inferred
Rung
n
Records
Observed — someone was watched, or paid, or showed up