HydraIssues

hydraheadipad: the fourteen restyled screens do not agree on headers or spacing
open improvement Project: hydraheadipad Parent: #1144 Reporter: 8 Nov 2026 01:44

Description

The visual pass in #1144 was written by eight agents in parallel, each holding a
different set of view files. They could not see each other. The palette and the
gate held, but the fourteen screens do not agree on layout, because
InterfaceGeometry names two radii and four stroke weights and no spacing
scale
, and check-interface-palette.sh reports a cornerRadius but says
nothing about a bare number in a padding or a spacing.

Measured across the seven operator screens after the pass:

  • Two title sizes. displayTitle 34 bold in DiagnosticsView and
    ControllerSetupView. sectionTitle 28 bold in LogsView, MicRelayStatusView,
    MicrophoneSetupView, StreamLatencyView and WireGuardSetupView.
  • Three header rule treatments. InterfaceRule() at indent 20 in three
    files, InterfaceRule(indent: 0) in two, and absent in two.
  • Four header paddings, and three different in-card heading styles:
    sectionTitle 28 bold brandPurpleDeep, labelText 17 semibold
    brandPurpleDeep, and labelText 17 bold uppercased brandPurple.
  • Thirteen distinct literal spacing values: 2, 4, 5, 6, 8, 10, 12, 14, 16,
    20, 24, 36 and 48.
  • .buttonStyle(.plain) appears on 3 screens of 9.

None of this is wrong on its own screen. Together it is what stops the
interface from looking deliberate on a wall of three iPads side by side, which
is the standard the design was judged against.

What to do

  1. Add a spacing scale to InterfaceGeometry: a tight, a group and a section
    value. Name them, do not derive them from contentInset and ruleIndent,
    which name a screen inset and a rule indent and were borrowed for spacing
    because nothing else fitted.
  2. Add InterfaceScreenHeader and InterfaceCardHeading to
    InterfaceTheme.swift, each carrying its title role, its rule and its
    padding. Move all seven screens onto them.
  3. Extend scripts/check-interface-palette.sh to report a bare numeric literal
    in padding( and spacing:, the way it already reports cornerRadius(.
    Without the gate this drifts back within a quarter.

Why it was not done in #1144

It needs a change to seven view files plus the two contract files, there is no
Swift compiler on the development host, and CI on a macOS runner is the only
compile gate. Doing it in the same change as the restyle would have put a
large untested refactor inside a release critical diff.

Session Context

Venue
cloud-seven