One line, measured
Round 3’s model stays: every setting is one component with a stable id that draws the same in chat and in Settings. Round 4 rebuilds that line from two tables, spacing and type, and repaints every component, frame and state through it.
1 · Rhythm and type
Written before anything was drawn. Every gap in a component is one row of the first table; every text is one row of the second. The values come from ds/tokens.json; the bar shows the size.
Rhythm: token → use
| Token | px | Use in the line | |
|---|---|---|---|
--space-hint | 4 | Name → second line. Line → line (air between two line boxes). Group heading → first line box. | |
--space-inner | 6 | Between the pieces of the control column: verb, value, control. Icon → text inside a control. | |
--space-label | 8 | The line’s vertical inset. Dot → name (the rail: dot 6 + label 8 = 14). Text column → control column. Chat frame’s vertical inset. | |
--m-row-bleed | 10 | The line’s state box runs this far past the text rail on each side; the text never touches the box. | |
--space-field | 12 | Turn → turn in chat. Catalog card top inset. Heading text → first name (hint 4 + label 8). | |
--space-block | 16 | Chat frame and catalog card side inset, window feed inset. Text sits 16 from every frame edge. | |
--space-group | 20 | Page section rows; the anatomy card’s inset. | |
--space-section | 24 | Settings group → group. Catalog kind → kind. | |
--m-row | 44 | The line’s minimum height (one name, small control). Two text lines make it 54.8 (17.4 + 4 + 17.4 + 2 × 8); a 32 px field never makes it taller. | |
--m-rail | 14 | Part lines inside an opened integration indent by this, so their dot sits under the owner’s name. | |
--line-md | 17.4 | The mark box: one first line of the name role. The dot centres in it, beside the name, in one grid row. | |
--m-dot | 6 | The one status dot. | |
--m-btn-sm | 26 | Verbs (Try again, Remove, Sure?), the value button, segmented pills. | |
--m-field | 32 | An open key or address field. | |
--m-credential | 200 | An open field’s width (its flex basis). Every open field ends on the switch’s edge; it shrinks to 120 px before the name or second line wraps, and moves under the text below 360 px. |
Type roles
| Role on this page | Token role | Size / weight / leading · colour | Sample | Use |
|---|---|---|---|---|
| Name | label | 12 / 500 / 1.45 · secondary | OpenAI · API key | The setting’s or integration’s name. “OpenAI · API key” is one name in one role: the owner prefix has no weight or colour of its own. |
| Second line | description | 12 / 400 / 1.45 · secondary | Chat · Images | Description, capabilities, an MCP server’s own description, the consequence while armed, Removed, Changed in chat. Plain text: no code chips. |
| Problem | description | 12 / 400 / 1.45 · secondary | Isn’t answering right now. | The problem sentence. It takes the second-line slot in the same role and colour; the dot carries the tone. |
| Value | meta | 11 / 400 / 1.45 · tertiary | The one quiet fact on an owner line: a masked key, an account, a tool count. Tabular; a masked run adds tracking-masked. | |
| Action and control text | label (size and weight) | 12 / 500 / 1.45 · secondary | Try again | Verbs, segmented pills and picks print 12/500, the product Button and Segmented recipes. |
| Field text | base 13/400 | — | sk-proj-4f8a… | Typed text in an open field (the Input recipe). An address is the code role. |
| Code | code | 12 / 400 / 1.45 · primary | integration:openai.key | Ids and calls on this page only. A tool’s wire name on its line is a name like any other (label role): a second font on a line moved its first-line centre by 0.69 px and added a face Adam called inconsistent. |
| Group heading | heading | 13 / 600 / 1.2 · primary | Integrations | A Settings group (§10: heading in Settings). |
| Keycap and state name | micro | 10 / 500 / 1.45 · secondary | Problem | Keycaps; the catalog’s state names (with caps). |
| Chat prose | body | 13 / 400 / 1.6 · primary | Here is its control. | The person’s and the agent’s messages around a frame. |
No new role. The ten uses map onto six of the eight token roles; field text is the Input recipe. Page chrome on this page (headings, captions, tables) is a document scale and not part of the product. One change from round 3: names move from 13/500 primary to the label role, 12/500 secondary, the role Settings’ Field prints today, so a name, its second line, its verbs and its pills share one 12 px size and differ by weight.
2 · The line
Two columns. Lead: a mark box, then the name and one second line. Control column: verbs, one value, the control, inner apart, right edge fixed. The lead and the control column centre on each other; inside the lead the mark box and the name share one grid row, so the dot moves with the text and never with the control.
The mark box is one name line tall (--line-md, 17.4 px) and the 6 px dot centres in it. The dot column is reserved on every line, so names start at one x in chat and in Settings. The second line holds exactly one thing: the description, a problem, the consequence while armed, Removed, or a changed-elsewhere note.
Mark none at rest · accent pulse while changing · success for a moment after a save · danger for a problem · hollow accent while it waits on you · tertiary once removed. Verb slot a problem’s one fix, and Remove reserved on owners that can be removed. Value one quiet fact; an open field takes its place. A narrow line (under 380 px with a field open, under 300 px always) moves the control column under the text, on the text rail.
3 · One calm problem system
Tone: the danger dot, and nothing else red; a field that holds the wrong value keeps its neutral edge and takes the danger-softer tint. Placement: the second-line slot, in every component. Size: one sentence in the description role, two lines at most; the description returns when the problem clears. Fix: one short ghost verb in the line’s verb slot, or the open field itself when the value is what is wrong.
| Problem | Sentence (second line) | Fix | Copy source |
|---|---|---|---|
| Invalid key | OpenAI didn’t accept the key. | The key field, open, “Paste a new key” | copy.ts provider refusal |
| Not answering | Isn’t answering right now. | Try again | copy.ts “… isn’t answering right now.” |
| Unreadable file | Its file can’t be read. | Ask Alice | integrationUnreadable |
| Needs sign-in | Needs you to sign in again. | Reconnect | integrationSignInNeeded |
4 · Muted delete
Ladder. Remove rests as a neutral ghost and hovers to danger text on the danger-softer tint. The first press arms in place: the label becomes Sure? in the same box (the other label is reserved, so nothing moves), the switch hides in place, and the consequence takes the second line in grey. The second press removes; the box goes neutral with a grey spinner. Pointer leave, Esc, blur or 4 s disarm. No undo: removal deletes the stored key or sign-in.
5 · Component catalog
Every kind with its id and its states. The tag says who may write it: agent writes, agent asks (a Grant in the permission panel), person only (a host ceremony; the agent can only bring the line).
Switch
appearance.quiet_toolsagent writesA Value from values/registry.json. Reset is a ghost before the control; its slot stays reserved so the switch never moves.Choice (segmented)
appearance.themeagent writesTwo to four options are a Segmented (§7). Five or more become a Select.Hue
appearance.accentagent writesThe swatch ring is the selection (§6 hue focus idiom).Shortcut
shortcuts.system.toggle_windowagent writesClick the keycaps to record. A chord macOS refuses stays stored and is reported on its own line.Model pick
agent:alice.modelagent asksA field of the agent file. The pick opens the model Choice in place, never a sheet.Permission (Grant)
agent:alice.folder:documentsagent asksRead or Write for one agent on one linked folder. An agent never widens its own access without asking.Integration (provider)
integration:openai.enabledagent asksOne owner line: name, what it reaches, the stored key as a masked run, the switch. The key field opens in the value slot only when the key is empty, being replaced, or refused.Secret key (brought alone)
integration:openai.keyperson onlyCredential entry is a host ceremony. An agent can bring this line; only the person types the key. The value never reaches the window or the agent.Integration (MCP server)
integration:local-mcp.enabledagent asksThe same owner line. The second line is the server’s own description. The value is its tools; it opens the address and the tool switches in place.Integration (account)
integration:notion.enabledagent asksThe same owner line. The value is the signed-in account. Remove waits in the reserved verb slot.MCP description source
integration:<id>.enabledagent asksThe second line takes serverInfo.description first, then the first paragraph of instructions, else nothing. Plain text, two lines at most.Address
integration:local-mcp.addressagent asksA part of the MCP line, shown when it is opened. Edit in place; Enter saves, Escape cancels.Tool switch (MCP)
integration:local-mcp.tool:write_noteagent asksA wire name stands alone in the code role. integration.update already takes one exact MCP wire name as toolKey.Remove
integration:notion.removeagent asksOne control: Remove → Sure? → gone, on its owner’s line. In Settings it waits in the reserved slot and shows on the cursor line; brought into chat it shows at once. Built-in providers and Included AI have no remove component.Cloud switch
account:cloudperson onlyAgents read the Cloud switch and never flip it. An agent can bring it so the person flips it.Device
account:device:iphone.removeagent asksSame ladder as Remove.Update
app.updateagent asksThe installed app’s one fact. Restart is the one verb, shown only while it applies.6 · Integrations list
Settings keeps the panel skeleton: Back to chat, one scrolling feed capped at 720 px, search in the dock. Each integration is one line with one quiet value: providers and web APIs show the masked key, accounts the signed-in address, MCP servers their tools. The tools value opens the address and the tool switches in place, indented by the rail.
Integrations
Integrations
Integrations
Account
Integrations
Account
Integrations
Alice
Appearance
Integrations
Shortcuts
This app
7 · The same components in chat
The host draws presented lines in a frame on the agent’s rail: surface-1, lg corners, text 16 px from every edge, no title. The lines are live and identical to Settings; the Remove verb shows at once in chat.
Turn on Notion
Notion is connected but off. I’ll turn it on.
Turn on Notion
Notion is connected but off. I’ll turn it on.
Done. Notion’s 14 tools are available in this conversation.
Why can’t you read my notes?
Local MCP isn’t answering. Here are its controls. Start the server, then press Try again.
Add my OpenAI key
Paste it in the field. It goes straight to your Mac’s keychain; I never see it.
Add my OpenAI key
Paste it in the field. It goes straight to your Mac’s keychain; I never see it.
OpenAI accepted the key. GPT-5.5 is in the model picker.
Add my OpenAI key
OpenAI didn’t accept that key. Check that you copied all of it, then paste it again.
Switch to dark
Theme is Dark. Pick System to follow your Mac again.
Why can’t you read my notes?
Start the server, then press Try again.
8 · Dot alignment proof
This page measures itself when it loads: for every visible status dot, the dot’s vertical centre minus the centre of its name’s first line (a text range over the first character). Specimens below are drawn at three times size; the accent hairline is the measured centre of the name’s first line.
90 dots · max |delta| 0.45 px · catalog 0.45 · chat 0.45 · settings 0.45 (this browser, this width)
9 · Before and after
Left: Adam’s round 3 screenshots. Right: the same component and state, drawn live by this page in dark.
Add my OpenAI key
Paste it in the field. It goes straight to your Mac’s keychain; I never see it.
OpenAI accepted the key. GPT-5.5 is in the model picker.
Integrations
10 · What changed from round 3
| Adam, 2026-10-09 | Round 4 |
|---|---|
| “manage the errors” | One problem anatomy for every component: the danger dot in the mark box, one sentence in the second-line slot (description role, no red text), one short ghost verb in the verb slot, or the field itself when the value is wrong (neutral edge, danger-softer tint, no halo). The line does not grow. |
| “proper paddings and spacings as some elements feels very tight” | A rhythm table from the space steps. Line minimum 44, inset 8, name → second line 4, line → line 4, frames and cards 16 on every side, Settings groups 24 apart. Chat frames went from 4/12 to 8/16. |
| “fonts are also quite inconsistent” | Ten uses, mapped onto six token roles. Names 12/500 in the label role (was 13/500 primary, with a 400 tertiary owner prefix), second lines 12/400 in the description role as plain text (was 12 with mono chips), verbs and pills 12/500 (was 13), keycaps micro, no mono on any line. No size outside the table. |
| “delete also looks weird such bright” | Remove rests as a neutral ghost. Sure? is danger text on the danger-softer tint. Changing is a neutral box with a grey spinner. The consequence is a short grey line. |
| “these green dots are misaligned” | The dot sits in a box one name line tall (--line-md) in the same grid row as the name; the text block, not the dot, follows the control. Measured in this page below. |
| “integrations also looks quite weird, messy” | One owner line per integration: name, second line, one value (masked key, account, or tools), the switch. No sub-rows at rest. A key field opens in the value slot only when empty, being replaced, or refused; address and tool switches open from the tools value. |
Model and grammar changes this needs
| Model or grammar change | What and why |
|---|---|
| Problem placement | Round 3: a note slot under the text, with its verb inline. Round 4: the problem takes the second-line slot and its verb takes the line’s verb slot (grammar §8: a row’s one verb). Grammar §6 change: the error sentence loses its tone colour; the dot is the tone. |
| Integration parts in Settings | Round 3: key, account, address and tools were always-shown part lines. Round 4: in Settings the owner line shows one part as its value; the others open in place from it. Every part keeps its own id and still renders alone in chat. |
| Destructive ladder | Grammar §7 change: armed is danger text on danger-softer, never danger-fill; Remove at rest is neutral, not danger text. |
| Field error | Grammar §7 change: a field in error keeps its neutral edge and takes the danger-softer tint; no danger edge, no halo. |
11 · Decisions for Adam
- Problem sentence colour.(a) Grey description text; the danger dot is the only red. (b) The sentence in danger text, as round 3 and today’s Field.(a): one red mark per problem reads calm in a list of twelve, and the words already say what is wrong. Team B kept (b): one 12 px danger sentence, no red panel.(a) Dot carries the toneLocal MCPIsn’t answering right now.(b) Tone on the sentenceLocal MCPIsn’t answering right now.
- Name role.(a) The label role, 12/500 secondary, as Settings prints today. (b) Primary text at 13/400, the List row title (§18 holds the Settings row-title role open).(a): it matches the product and keeps names, verbs and pills on one size.(a) label 12/500OpenAIChat · Images(b) primary 13/400OpenAIChat · Images
- Integration parts in Settings.(a) One owner line with one value; the other parts open in place from it. (b) Round 3’s part lines, always shown under each integration.(a): six integrations are six lines, and every part keeps its id for chat.
- Remove at rest.(a) Neutral ghost that hovers to danger. (b) Danger text at rest, as grammar §7 says today.(a): nothing red sits in a healthy list.
Design only; nothing here is built. Merged from two independent drafts that each critiqued the other once: team A (Opus) gave the system tables, the line, the problem system, the muted delete, the list and the before/after; team B (Sol) gave the 12 px description role for second lines and problems, the neutral edge on a refused field and the web API line, and it argued for option (b) in decision 1.
12 · Kept from round 3
The agent path, the approval rule and sync are unchanged. An agent finds components with find and a settings domain, brings them with settings.present { ids }, and writes at one of three levels: agent writes, agent asks (the permission panel), person only. A person’s own click on a host-drawn line is the approval. Both hosts render one record from authority; a write carries the revision it read.
find { "query": "mcp", "domains": ["settings"] }
→ one result per component id, from the resolver Settings draws from
settings.present { "ids": [
"integration:local-mcp.enabled",
"integration:local-mcp.address" ] }
→ the host draws each id with the line Settings uses, from live authority| id | label | control | value | who writes | revision | state |
|---|---|---|---|---|---|---|
appearance.theme | Theme | segmented · system, dark, light | "dark" | agent writes | v:7f3a | ok |
appearance.quiet_tools | Quiet tools | switch | false (default) | agent writes | — | ok |
shortcuts.system.toggle_window | Show or hide Alice | shortcut · system | "mod+shift+space" | agent writes | v:9b42 | problem: os_refused |
agent:alice.model | Model | choice | "anthropic/claude-sonnet-5.5" | agent asks | h:e1d0 | ok |
agent:alice.folder:documents | Documents | segmented · read, write | "read" | agent asks | h:e1d0 | ok |
integration:openai.enabled | OpenAI | switch | true | agent asks | h:51aa | ok |
integration:openai.key | OpenAI · API key | secret | stored: true (never the value) | person only | h:51aa | ok |
integration:notion.enabled | Notion | switch | true | agent asks | h:0c7e | problem: sign_in_needed |
integration:notion.connect | Notion · Account | connect · oauth | connected: true | person only | h:0c7e | ok |
integration:notion.remove | Notion | remove | — | agent asks | h:0c7e | ok |
integration:local-mcp.enabled | Local MCP | switch | true | agent asks | h:93f2 | problem: not_answering |
integration:local-mcp.address | Local MCP · Address | text · url | "http://127.0.0.1:3000/mcp" | agent asks | h:93f2 | ok |
integration:local-mcp.tool:write_note | write_note | switch | true | agent asks | h:93f2 | ok |
account:cloud | Alice Cloud | switch | true | person only | a:4410 | ok |
account:device:iphone.remove | iPhone | remove | — | agent asks | r:7 | ok |
Save the summary into my Documents folder
I can read Documents but not write to it. I’m asking for Write.
Remove Local MCP, I don’t use it
Switch to dark
Appearance
Live sync: pick a theme in either window. The other line moves and says where the change came from in its second line for 4 s.
Design only; nothing here is built.