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

CheckRuleHowWhat to look at
W1One word for one thing, from the glossaryInventoryFlagged strings marked W1. Also read each file's strings together under "Every string".
W2Title Case for buttons, titles, toolbar items, toggles and pickers; sentence case for the restLint Inventoryui_text_title_case. The inventory adds Labels in toolbars and Title Case row labels.
W3No words to avoid, no exclamation marksLint Inventoryui_text_words_to_avoid; the inventory checks the whole table.
W4US spelling, except proper nounsLintui_text_spelling
W5Facts separated by " · "Lintui_text_separator
W6Typeset: … ’ “ ”Lintui_text_ellipsis, ui_text_straight_apostrophe. Straight double quotes are a read: search the views for \".
W7Every value from FormatReadIn Tides/Views and TidesWidget, search for String(format:, "\( next to a unit, and formatted(. Each should be a Format call.
W8Lead with what the reader came for; short sentencesLook InventoryThe hero, the list card and each panel's first line. The inventory flags sentences over 25 words.
W9Every reading names its source in the source's own wordsLookEach card's footer, and that verdicts and bands are quoted, not reworded.
W10VoiceOver labels use the screen's wordsReadEach accessibilityLabel string in the inventory, against the visible text beside it.
W11Empty, failed and offline states say what happened and what to doLookThe empty list, a failed station, offline, location off, no tide near a long-press.

Type

CheckRuleHowWhat to look at
T1Text styles, so text follows Dynamic Type; a fixed size is a named MagicValueLintdesign_font_size
T2Numbers that change use mono digitsReadEvery Text showing a height, time, countdown or distance has .monospacedDigit().
T3Uppercase only for panel headingsReadSearch for textCase(.uppercase) and .uppercased(); only SectionPanel should have one.
T4One line, then shrink; nothing clipped at the largest text sizeLookThe list and a station at Settings › Accessibility › Larger Text, largest size.
T5.secondary is the only gray; white 70% only on a sky cardReadSearch for .gray, .tertiary, and .opacity( on text.

Color

CheckRuleHowWhat to look at
C1Custom colors are named in Color+App.swift (WidgetPalette.swift in the widget)Lintdesign_raw_color
C2Color by role: the accent for the one thing that opens, .orange for app status, level colors only inside a scale, solarDay for the sunReadSearch for .tint(, .blue, .yellow, .red, .green, .orange and check each against Color.
C3Color is never alone, and a swatch needs two reasonsLookEvery colored dot or bar has its band's name beside it.

Surfaces and space

CheckRuleHowWhat to look at
S1One corner: MagicValue.panelCornerRadiusLintdesign_corner_radius
S2No materials; sky, ground and glass onlyLintdesign_material
S3Spacing is plain .padding() or a MagicValue pad amountLintdesign_literal_spacing
S4Regular glass for panels; interactive glass only for the one thing that opens; clear glass for what floatsReadSearch for glassEffect and check each against Surfaces.
S5Footers sit outside the glassLookEvery card with a footer.

Symbols

CheckRuleHowWhat to look at
Y1Every symbol is in the symbol table, one idea eachInventorySymbols marked New. Each one gets added to the table with its idea, or is swapped for the symbol the table already has.
Y2A link out of the app uses MagicValue.externalLinkSymbolReadSearch for Link( and openURL; each one's symbol.

Components and placement

CheckRuleHowWhat to look at
P1Screens are built from the listed componentsReadA new view that draws a card, a row or a footer by hand instead of using SectionPanel, PanelValueRow or PanelFooter.
P2The station screen's order: hero, curve, the day, now, where, trustLookA station's full scroll against Placement.
P3A sheet that only shows things closes with .close; .cancel only beside a saveReadSearch for role: .confirm, .close and .cancel.
P4Nothing tappable is smaller than 44 ptLook ReadBare symbols used as buttons; each needs a 44 pt frame or contentShape.

Never invent a tide

CheckRuleHowWhat to look at
H1No number yet: redacted, never 0.0 or a dash at hero sizeLookA station opened with the network off and nothing saved.
H2Old number: says so, with wifi.slashLookA favorite with saved tides after a failed refresh.
H3No number at all: the hero and curve come offLook"Tides Unavailable" with Try Again.
H4Empty panel: no panelReadEach panel is wrapped in a check that it has a row to show.
H5A borrowed tide names its lender, at any distanceLookA place favorite's card, hero and search row.

Motion

CheckRuleHowWhat to look at
M1What the finger moves settles with .snappy(duration: 0.28); what changes because of it fades over the same timeReadSearch for withAnimation and .animation(.
M2Reduce Motion is respected everywhere something moves on its ownLookWith Reduce Motion on: open a station, page a day, dismiss. Open conflict: #214.

Accessibility

CheckRuleHowWhat to look at
A1Panel headings are headers; each row is one element, read label then valueRead.isHeader on SectionPanel's heading; accessibilityElement(children: .combine) on rows.
A2Every drawing has one label, and its parts are hiddenReadCurves, arcs, the moon, the ruler, maps.
A3Type reads on the sky at noon and at midnightLookThe same screen with the sky pinned to noon and to midnight (sky in Design/screens.yml).

Tideturn • Send Feedback • © 2026 Gerry Shaw