Audit
The checks that keep every screen consistent with the design system and the writing guide. Each one has a number, so a finding can name the rule it breaks, and a way to check it that another agent can repeat.
An agent runs a full audit from AgentPrompts/ui-audit.md and posts the result to
#219. A person can run any single check from the table.
Four ways to check
Lint Fails the build
A SwiftLint custom rule in
.swiftlint.yml, run by mise run lint and CI. Each rule's message starts with its check number.
A deliberate exception is an inline swiftlint:disable:next with its reason. A suppression that says
"until #N" is a known conflict with an issue.
Inventory Flags for review
The
inventory: every string and symbol in the views, checked against the glossary, the
words to avoid and the symbol table. Written by mise run design-build. A flag is a question; a proper
noun can trip it.
Look Screenshots and the simulator
The
Screens from mise run design-shoot, or the latest full test run in
TestRuns/. Look at every one. Some checks need a setting changed on the simulator first, such as the
largest text size or Reduce Motion.
Read The code
A search and a read, for what a regex can't judge: whether a color is used for its role, whether a row is the shared component. Each check names what to search for.
Reporting a finding
One line per finding: the check, where, what's wrong, and what was done about it.
W2 · Tides/Views/StationPagerView.swift:99 · "Station list" is a toolbar label in sentence case · fixed
C2 · Tides/Views/FavoritesListView.swift:281 · Rename swipe is blue, not the accent · fixed
P3 · SettingsView · closes with a checkmark; the design says close · filed #215
Every finding ends in one of three verdicts. Fixed: the fix is mechanical and the design already says what to build, so it goes in a PR. Filed: it needs a design call, so it gets an issue and a line in the Design page's conflicts. Accepted: it's deliberate, so it gets an inline suppression with the reason, or a line on the page that explains it. A finding with no verdict isn't done.
Checks
Words
| Check | Rule | How | What to look at |
|---|---|---|---|
| W1 | One word for one thing, from the glossary | Inventory | Flagged strings marked W1. Also read each file's strings together under "Every string". |
| W2 | Title Case for buttons, titles, toolbar items, toggles and pickers; sentence case for the rest | Lint Inventory | ui_text_title_case. The inventory adds Labels in toolbars and Title Case row labels. |
| W3 | No words to avoid, no exclamation marks | Lint Inventory | ui_text_words_to_avoid; the inventory checks the whole table. |
| W4 | US spelling, except proper nouns | Lint | ui_text_spelling |
| W5 | Facts separated by " · " | Lint | ui_text_separator |
| W6 | Typeset: … ’ “ ” | Lint | ui_text_ellipsis, ui_text_straight_apostrophe. Straight double quotes are a read: search the views for \". |
| W7 | Every value from Format | Read | In Tides/Views and TidesWidget, search for String(format:, "\( next to a unit, and formatted(. Each should be a Format call. |
| W8 | Lead with what the reader came for; short sentences | Look Inventory | The hero, the list card and each panel's first line. The inventory flags sentences over 25 words. |
| W9 | Every reading names its source in the source's own words | Look | Each card's footer, and that verdicts and bands are quoted, not reworded. |
| W10 | VoiceOver labels use the screen's words | Read | Each accessibilityLabel string in the inventory, against the visible text beside it. |
| W11 | Empty, failed and offline states say what happened and what to do | Look | The empty list, a failed station, offline, location off, no tide near a long-press. |
Type
| Check | Rule | How | What to look at |
|---|---|---|---|
| T1 | Text styles, so text follows Dynamic Type; a fixed size is a named MagicValue | Lint | design_font_size |
| T2 | Numbers that change use mono digits | Read | Every Text showing a height, time, countdown or distance has .monospacedDigit(). |
| T3 | Uppercase only for panel headings | Read | Search for textCase(.uppercase) and .uppercased(); only SectionPanel should have one. |
| T4 | One line, then shrink; nothing clipped at the largest text size | Look | The list and a station at Settings › Accessibility › Larger Text, largest size. |
| T5 | .secondary is the only gray; white 70% only on a sky card | Read | Search for .gray, .tertiary, and .opacity( on text. |
Color
| Check | Rule | How | What to look at |
|---|---|---|---|
| C1 | Custom colors are named in Color+App.swift (WidgetPalette.swift in the widget) | Lint | design_raw_color |
| C2 | Color by role: the accent for the one thing that opens, .orange for app status, level colors only inside a scale, solarDay for the sun | Read | Search for .tint(, .blue, .yellow, .red, .green, .orange and check each against Color. |
| C3 | Color is never alone, and a swatch needs two reasons | Look | Every colored dot or bar has its band's name beside it. |
Surfaces and space
| Check | Rule | How | What to look at |
|---|---|---|---|
| S1 | One corner: MagicValue.panelCornerRadius | Lint | design_corner_radius |
| S2 | No materials; sky, ground and glass only | Lint | design_material |
| S3 | Spacing is plain .padding() or a MagicValue pad amount | Lint | design_literal_spacing |
| S4 | Regular glass for panels; interactive glass only for the one thing that opens; clear glass for what floats | Read | Search for glassEffect and check each against Surfaces. |
| S5 | Footers sit outside the glass | Look | Every card with a footer. |
Symbols
| Check | Rule | How | What to look at |
|---|---|---|---|
| Y1 | Every symbol is in the symbol table, one idea each | Inventory | Symbols marked New. Each one gets added to the table with its idea, or is swapped for the symbol the table already has. |
| Y2 | A link out of the app uses MagicValue.externalLinkSymbol | Read | Search for Link( and openURL; each one's symbol. |
Components and placement
| Check | Rule | How | What to look at |
|---|---|---|---|
| P1 | Screens are built from the listed components | Read | A new view that draws a card, a row or a footer by hand instead of using SectionPanel, PanelValueRow or PanelFooter. |
| P2 | The station screen's order: hero, curve, the day, now, where, trust | Look | A station's full scroll against Placement. |
| P3 | A sheet that only shows things closes with .close; .cancel only beside a save | Read | Search for role: .confirm, .close and .cancel. |
| P4 | Nothing tappable is smaller than 44 pt | Look Read | Bare symbols used as buttons; each needs a 44 pt frame or contentShape. |
Never invent a tide
| Check | Rule | How | What to look at |
|---|---|---|---|
| H1 | No number yet: redacted, never 0.0 or a dash at hero size | Look | A station opened with the network off and nothing saved. |
| H2 | Old number: says so, with wifi.slash | Look | A favorite with saved tides after a failed refresh. |
| H3 | No number at all: the hero and curve come off | Look | "Tides Unavailable" with Try Again. |
| H4 | Empty panel: no panel | Read | Each panel is wrapped in a check that it has a row to show. |
| H5 | A borrowed tide names its lender, at any distance | Look | A place favorite's card, hero and search row. |
Motion
| Check | Rule | How | What to look at |
|---|---|---|---|
| M1 | What the finger moves settles with .snappy(duration: 0.28); what changes because of it fades over the same time | Read | Search for withAnimation and .animation(. |
| M2 | Reduce Motion is respected everywhere something moves on its own | Look | With Reduce Motion on: open a station, page a day, dismiss. Open conflict: #214. |
Accessibility
| Check | Rule | How | What to look at |
|---|---|---|---|
| A1 | Panel headings are headers; each row is one element, read label then value | Read | .isHeader on SectionPanel's heading; accessibilityElement(children: .combine) on rows. |
| A2 | Every drawing has one label, and its parts are hidden | Read | Curves, arcs, the moon, the ruler, maps. |
| A3 | Type reads on the sky at noon and at midnight | Look | The same screen with the sky pinned to noon and to midnight (sky in Design/screens.yml). |
Tideturn • Send Feedback • © 2026 Gerry Shaw