UI polish overhaul #176

Merged
AlexKucera merged 2 commits from agent/ui-polish-overhaul into main 2026-11-07 21:14:06 +01:00
Owner

UI polish overhaul

Multi-round design-council polish loop over the whole workspace surface.

Method: a three-seat model council (openai/gpt-6.1-sol, google/gemini-4-argon, inception/mercury-3 — single-image transport via the nous portal, --reasoning low) scored a fixed 7-state screenshot set (posts-editor, posts-outline, sessions, learnings, trends, archive, settings; 1440×900 @1x; seeded demo corpus) against a fixed 0–10 calibration ladder. Every round: capture fresh → judge on all three seats → merge findings → arbitrate against the frozen design contracts (ref/Web-Prototype/museion-workspace.html + per-feature prototypes + owner-calibrated #89 palette) → implement via subagents → rebuild → re-capture. Scores and per-round findings trail in the scoreboard artifact.

Baseline: sol 6 · argon 6 · mercury 7. Final full-triangle verdict: sol 8 · argon 8 · mercury 7 (the loop ended at 8 of 10 rounds when the portal's daily quota was exhausted; the >=9 gate was not met).

Conversation surfaces (Mentor / Sessions / transcript)

  • Engine operational notices and pass kick-offs render in the mono system voice — kick-offs first-line-only; the full dispatch prompt never reaches the UI. Warnings carry a warning glyph + terracotta headline always, full treatment (tint + border) only while they are the transcript's last meaningful row (staleness rule).
  • Feature (owner ruling mid-loop): the Mentor pane is scoped to the open piece — hosts the roster session matching the open piece (exact pieceTitle, newest-first; SessionRoster.hostedSessionId, pinned by SessionScopeTests), shows an honest empty presentation (with a wired "New session for this piece" action) when none matches; never interrupts an in-flight pass or streaming turn.
  • Sessions pane: default selection (newest session auto-resumes on entry), full-height 52pt headers (the #90 contract extended), 26-28pt toolbar pills, roster 2-line titles with a glyph-measured word-boundary truncation seam (WordBoundaryTruncation, head-biased 60/40 middle-elision — pinned by tests incl. the two live Handoff titles), engine-version badge beside the action group.
  • Composer: Send matches the input height; debug toggle hover-revealed (invisible at rest); disabled states legible (muted ink ≥50% + border, tooltip naming the gating reason); composer capped to the same 720pt reading measure as the transcript; warning-copy split headline/detail.
  • Pass bar: one 16pt left axis (root cause of the stubborn 56px inset was a center-aligned VStack, not padding); PASS tab underline flush with its divider; Blind Read disabled-state self-explanatory.

Pane chrome (rail / library / learnings / archive / trends / settings)

  • Rail: selection bar REMOVED (the export's own render clips its ::before invisible — contract-faithful = tile + hairline + fg-ink icon); icon weights normalized + tooltips.
  • Library: two-axis indent ladder (primary inset + one indent — the 4-axis ladder and the r1 inverted nesting both died); pass-state group labels "PASS 1 DONE" space-form at full muted ink; rows origin-only meta; row titles serif-13 per contract (a .callout sans bug, pixel-verified by two council seats); selected rows = surface fill + inset rounded accent capsule (no outline, no full-height strip); search field at the primary inset with terracotta caret, quiet focus ring, magnifier glyph, and launch auto-focus killed at the root (AppKit's window-initial-responder assignment, not FocusState — LaunchFocusReset).
  • Learnings/Archive: bounded left-anchored 720pt reading columns with the pane-header hairline bounded to the same column (one framed block); category heads as tracked uppercase mono micro-labels with hairline breaks; Archive pill relabeled "Unarchive Group" at the column's trailing edge; item hairlines + two left axes.
  • Trends: symmetric 2×2 grid that fills the height without a scrollbar; value labels in a fixed trailing gutter centered on gridlines; zero tick on 0…1 charts; period-decimal everywhere (locale commas killed); capture-aligned "Oct 5" date labels; ↑/↓ verdict glyphs in the header badge with neutral-ink summaries; mono-12 axis text.
  • Settings: sidebar-confined header (divider to the titlebar); MUSEION HOME as one bounded field-group row with glyph-measured slash-boundary elision that fills the form width; detail pages top-aligned under the intro with no ScrollView (owner-reported fix of the r6 vertical-centering regression); SESSIONS badge; symmetric card padding; selected-row contrast.

Editor & typography

  • Document title in the SERIF face at the pinned 22pt rung with reading.css first-child spacing (was body-size sans); top inset 46pt.
  • The r1 stray-caret artifact root-caused (insertion caret parked in an invisible leading-blank line) — programmatic landings hop past leading blanks (caretPastLeadingBlanks).
  • Hanging indents measured to 0.00pt flush in the exact rendering attributes; list-marker run muted-small (literal markdown preserved — ADR-0010; three council dismissal rounds recorded).
  • Outline: title as a serif heading above the tree; one marker glyph per depth; nested indent 30px/level with rails drawn at the parent-bullet column (full-row canvas); uniform branch-transition rhythm (OutlinePresenter.spacingBefore, pure + checked).
  • Toolbar: 10pt rhythm, Read/Publish in the shared bordered-pill family (28pt).

Tests & verification

  • New pinned seams: SessionScopeTests (piece-scoping), WordBoundaryTruncationTests (incl. the two live roster titles), warningParts/calmDetail pins in ACPClientTests; children's runnable checks (byte-identity, flush, rail arithmetic, branch spacing) all green.
  • Full suite: TEST SUCCEEDED after the loop's final build; swiftformat clean; swiftlint zero new findings (pre-existing file-length warnings only).
  • 30 findings dismissed with recorded evidence (ADR-0010 source rendering, fixed trends domains per cross-metric comparability, capsule tail, PaneHeader contract, oscillation rulings for archive/empty-state anchoring); every dismissal is in findings/*-rulings.md with its reason.

Known state at wrap

  • Rounds 9-10 unused (portal quota). The council's last full-triangle verdict: 8 / 8 / 7 — the gate (all ≥9) not met. mercury's residual complaints are composition-taste against the sparse demo corpus (documented in the rulings).
  • The owner-reported Settings Pass/Chat page fix landed in r8 and is code-verified + build-verified; the council never judged those pages directly (only the Content page is in the canonical shot set).

[Generated by AI]

# UI polish overhaul Multi-round design-council polish loop over the whole workspace surface. **Method**: a three-seat model council (openai/gpt-6.1-sol, google/gemini-4-argon, inception/mercury-3 — single-image transport via the nous portal, `--reasoning low`) scored a fixed 7-state screenshot set (posts-editor, posts-outline, sessions, learnings, trends, archive, settings; 1440×900 @1x; seeded demo corpus) against a fixed 0–10 calibration ladder. Every round: capture fresh → judge on all three seats → merge findings → arbitrate against the frozen design contracts (`ref/Web-Prototype/museion-workspace.html` + per-feature prototypes + owner-calibrated #89 palette) → implement via subagents → rebuild → re-capture. Scores and per-round findings trail in the scoreboard artifact. **Baseline**: sol 6 · argon 6 · mercury 7. **Final full-triangle verdict**: sol 8 · argon 8 · mercury 7 (the loop ended at 8 of 10 rounds when the portal's daily quota was exhausted; the >=9 gate was not met). ## Conversation surfaces (Mentor / Sessions / transcript) - Engine operational notices and pass kick-offs render in the mono system voice — kick-offs first-line-only; the full dispatch prompt never reaches the UI. Warnings carry a warning glyph + terracotta headline always, full treatment (tint + border) only while they are the transcript's last meaningful row (staleness rule). - **Feature (owner ruling mid-loop): the Mentor pane is scoped to the open piece** — hosts the roster session matching the open piece (exact pieceTitle, newest-first; `SessionRoster.hostedSessionId`, pinned by `SessionScopeTests`), shows an honest empty presentation (with a wired "New session for this piece" action) when none matches; never interrupts an in-flight pass or streaming turn. - Sessions pane: default selection (newest session auto-resumes on entry), full-height 52pt headers (the #90 contract extended), 26-28pt toolbar pills, roster 2-line titles with a **glyph-measured word-boundary truncation seam** (`WordBoundaryTruncation`, head-biased 60/40 middle-elision — pinned by tests incl. the two live Handoff titles), engine-version badge beside the action group. - Composer: Send matches the input height; debug toggle hover-revealed (invisible at rest); disabled states legible (muted ink ≥50% + border, tooltip naming the gating reason); composer capped to the same 720pt reading measure as the transcript; warning-copy split headline/detail. - Pass bar: one 16pt left axis (root cause of the stubborn 56px inset was a center-aligned VStack, not padding); PASS tab underline flush with its divider; Blind Read disabled-state self-explanatory. ## Pane chrome (rail / library / learnings / archive / trends / settings) - Rail: selection bar REMOVED (the export's own render clips its `::before` invisible — contract-faithful = tile + hairline + fg-ink icon); icon weights normalized + tooltips. - Library: two-axis indent ladder (primary inset + one indent — the 4-axis ladder and the r1 inverted nesting both died); pass-state group labels "PASS 1 DONE" space-form at full muted ink; rows origin-only meta; row titles **serif-13 per contract** (a `.callout` sans bug, pixel-verified by two council seats); selected rows = surface fill + inset rounded accent capsule (no outline, no full-height strip); search field at the primary inset with terracotta caret, quiet focus ring, magnifier glyph, and **launch auto-focus killed at the root** (AppKit's window-initial-responder assignment, not FocusState — `LaunchFocusReset`). - Learnings/Archive: bounded left-anchored 720pt reading columns with the pane-header hairline bounded to the same column (one framed block); category heads as tracked uppercase mono micro-labels with hairline breaks; Archive pill relabeled "Unarchive Group" at the column's trailing edge; item hairlines + two left axes. - Trends: symmetric 2×2 grid that fills the height without a scrollbar; value labels in a fixed trailing gutter centered on gridlines; zero tick on 0…1 charts; period-decimal everywhere (locale commas killed); capture-aligned "Oct 5" date labels; ↑/↓ verdict glyphs in the header badge with neutral-ink summaries; mono-12 axis text. - Settings: sidebar-confined header (divider to the titlebar); MUSEION HOME as one bounded field-group row with glyph-measured slash-boundary elision that fills the form width; detail pages **top-aligned under the intro with no ScrollView** (owner-reported fix of the r6 vertical-centering regression); SESSIONS badge; symmetric card padding; selected-row contrast. ## Editor & typography - Document title in the SERIF face at the pinned 22pt rung with reading.css first-child spacing (was body-size sans); top inset 46pt. - The r1 stray-caret artifact root-caused (insertion caret parked in an invisible leading-blank line) — programmatic landings hop past leading blanks (`caretPastLeadingBlanks`). - Hanging indents measured to 0.00pt flush in the exact rendering attributes; list-marker run muted-small (literal markdown preserved — ADR-0010; three council dismissal rounds recorded). - Outline: title as a serif heading above the tree; one marker glyph per depth; nested indent 30px/level with rails drawn at the parent-bullet column (full-row canvas); uniform branch-transition rhythm (`OutlinePresenter.spacingBefore`, pure + checked). - Toolbar: 10pt rhythm, Read/Publish in the shared bordered-pill family (28pt). ## Tests & verification - New pinned seams: `SessionScopeTests` (piece-scoping), `WordBoundaryTruncationTests` (incl. the two live roster titles), `warningParts`/`calmDetail` pins in ACPClientTests; children's runnable checks (byte-identity, flush, rail arithmetic, branch spacing) all green. - Full suite: **TEST SUCCEEDED** after the loop's final build; swiftformat clean; swiftlint zero new findings (pre-existing file-length warnings only). - 30 findings dismissed with recorded evidence (ADR-0010 source rendering, fixed trends domains per cross-metric comparability, capsule tail, PaneHeader contract, oscillation rulings for archive/empty-state anchoring); every dismissal is in `findings/*-rulings.md` with its reason. ## Known state at wrap - Rounds 9-10 unused (portal quota). The council's last full-triangle verdict: 8 / 8 / 7 — the gate (all ≥9) not met. mercury's residual complaints are composition-taste against the sparse demo corpus (documented in the rulings). - The owner-reported Settings Pass/Chat page fix landed in r8 and is code-verified + build-verified; the council never judged those pages directly (only the Content page is in the canonical shot set). [Generated by AI]
AlexKucera added 1 commit 2026-11-07 20:41:47 +01:00
feat(ui): design-council polish overhaul
CI / ci (push) Canceled after 0s
CI / ci (pull_request) Canceled after 0s
3a7d495b4b
Eight arbitrated rounds over the workspace surface: piece-scoped Mentor
hosting, conversation-voice system messages, glyph-measured roster
truncation, bounded learnings/archive columns, symmetric trends grid,
top-aligned settings forms, serif editor titles, outline rail rhythm,
launch auto-focus root fix. New seams pinned by SessionScopeTests +
WordBoundaryTruncationTests; full suite green.
AlexKucera added 1 commit 2026-11-07 21:13:34 +01:00
fix(ui): finish-audit fixes — blank search glyph, quadratic truncation, scope-rail refusal leak
CI / ci (push) Canceled after 0s
CI / ci (pull_request) Canceled after 0s
efad422e03
Three-reviewer audit of the polish overhaul:
- magnifyinglass -> magnifyingglass (blank SF Symbol, all 3 seats)
- WordBoundaryTruncation.fit measures each word once (O(n^2) -> O(n)
  on pathological imported titles; live-title pins unchanged)
- scopeHostedSession defers behind an in-flight replay instead of
  refusing (automatic actions never leak a 'Resume refused' row);
  replay completion re-fires the pending scope — pinned over the real
  client path with loadReplayHold, flip-verified
- transcript ForEach on stable row ids, not indices
- delete dead softBorder param; fold caretPastLeadingBlanks onto
  firstContentLocation; native TextField prompt for the search field
- ElidedPathText.candidates/elide nonisolated (off-actor first(where:)
  trapped the host); new pins: degenerate truncation shapes,
  firstContentLocation, elide ladder
AlexKucera merged commit efbde25cdd into main 2026-11-07 21:14:06 +01:00
Sign in to join this conversation.