Restyle the mentor pane chrome (MentorPaneView) #156

Closed
opened 2026-11-03 17:09:11 +01:00 by AlexKucera · 2 comments
Owner

Part of #153
Blocked by: #154

Question

Build slice 2 — MentorPaneView per the locked contract: header (serif title, green ready dot, session chip), kill the segmented mode picker (the pass bar gains the Pass 1 / Pass 2 selector + status line), pass bar + fix-cards row in the mono voice, and the crash card / missing-engine card / starting state in the editorial voice. Close with xcodebuild build + test green, swiftformat + swiftlint clean, and a devlog.

[Generated by AI]

Part of #153 Blocked by: #154 ## Question Build slice 2 — `MentorPaneView` per the locked contract: header (serif title, green ready dot, session chip), kill the segmented mode picker (the pass bar gains the Pass 1 / Pass 2 selector + status line), pass bar + fix-cards row in the mono voice, and the crash card / missing-engine card / starting state in the editorial voice. Close with xcodebuild build + test green, swiftformat + swiftlint clean, and a devlog. [Generated by AI]
AlexKucera added the wayfinder:task label 2026-11-03 17:09:18 +01:00
Author
Owner

Contract landed (#154, resolution: #154 (comment)): ref/prototypes/wf154-mentor-pane-prototype.html @ 9b1fa75. This slice owns: pane ground = background #FAF9F3; header 52px serif-15/600 "Mentor" + green dot #36664F + lowercase mono ready + session chip mono 10; pass bar = text selector (mono 10 uppercase, active = 2px accent underline) + PASS N · STATE status line + Run (accent solid) / Blind read (surface+border) mono-11 h-28; fix-cards row = plain mono row; crash + missing-engine cards = accent triangle, serif-14/600 title, muted-12 body, mono buttons; danger = terracotta everywhere.

[Generated by AI]

Contract landed (#154, resolution: https://git.babylondreams.de/AlexKucera/museion/issues/154#issuecomment-26435): `ref/prototypes/wf154-mentor-pane-prototype.html` @ `9b1fa75`. This slice owns: pane ground = background #FAF9F3; header 52px serif-15/600 "Mentor" + green dot #36664F + lowercase mono `ready` + session chip mono 10; pass bar = text selector (mono 10 uppercase, active = 2px accent underline) + `PASS N · STATE` status line + Run (accent solid) / Blind read (surface+border) mono-11 h-28; fix-cards row = plain mono row; crash + missing-engine cards = accent triangle, serif-14/600 title, muted-12 body, mono buttons; danger = terracotta everywhere. [Generated by AI]
AlexKucera self-assigned this 2026-11-04 09:52:08 +01:00
Author
Owner

Resolution — build slice 2 landed.

The Mentor pane's chrome wears the editorial voice per the locked contract (ref/prototypes/wf154-mentor-pane-prototype.html); with slice 1 (#155, merged) the whole pane treatment is now built.

What shipped

  • Header per .pane-head: serif-15/600 "Mentor" (icon + "Session" died), engine status, session chip mono-10 @ 0.75. Ready = the semantic green dot (DesignTokens.readyGreen #36664F — the map's sole palette exception) + lowercase mono ready. Checking / engine missing / setup failed branches unchanged (already the mono-10 chrome voice).
  • The segmented Pass 1 | Pass 2 | Chat picker is dead (settled #4). PassBarView always carries in .ready and owns the selection: compact selector (text tabs, mono-10 uppercase tracked, active = fg ink + 2pt accent underline) → PASS N · STATE status line → sans-11 muted cost line → actions. Transcript + composer always present — chat is not a mode.
  • MonoButton (private): the contract's .btn — mono-11 / 28pt / radius-6 in three looks: accent solid (Run, Restart), surface + border (Blind Read), accent outline (Cancel — the danger voice). #155 sendButton precedent (hand-drawn fills; borderedProminent carries the system tint).
  • Fix-cards row = the ruled plain mono row — no card, no hairline of its own; a link, not content.
  • Crash card / missing-engine card / starting interim in the .state-card voice: terracotta tri (danger = terracotta, no second hue — was orange), serif-14/600 head, sans-12 muted body, Restart solid-accent; starting = mini spinner + mono-11 muted line.

Deviations

  • "Blind Read" casing kept over the mock's "Blind read" — the GLOSSARY term is binding vocabulary; the mock's casing is not a ruled value.
  • The base engine version demoted to the ready-indicator's tooltip (the contract header carries no version; state.json + rail card keep it); the orange drift note intentionally stays visible — a rare advisory shouldn't vanish for chrome purity.

Verification

  • xcodebuild … build → BUILD SUCCEEDED
  • full test suite → xcresult: 592/592 passed, 0 failed, 0 skipped (582 at #155 + 10 from the #157 library-search coverage merge)
  • swiftformat (changed files only) clean; swiftlint: no errors — one tolerated file-length warning (MentorPaneView 475/1000-error, #155's 573-line precedent)
  • Devlog: docs/devlog/20261104-issue156-mentor-pane-chrome-editorial-voice_log.md
  • Code is uncommitted on main (working tree) — commit awaits explicit authorization (#155 precedent).

Frontier is now empty: the map's destination (merged, lint-clean, shared surface restyled) completes when this working tree lands.

[Generated by AI]

**Resolution — build slice 2 landed.** The Mentor pane's chrome wears the editorial voice per the locked contract (`ref/prototypes/wf154-mentor-pane-prototype.html`); with slice 1 (#155, merged) the whole pane treatment is now built. ## What shipped - **Header** per `.pane-head`: serif-15/600 "Mentor" (icon + "Session" died), engine status, session chip mono-10 @ 0.75. Ready = the semantic green dot (`DesignTokens.readyGreen` #36664F — the map's sole palette exception) + lowercase mono `ready`. Checking / engine missing / setup failed branches unchanged (already the mono-10 chrome voice). - **The segmented Pass 1 | Pass 2 | Chat picker is dead** (settled #4). `PassBarView` always carries in `.ready` and owns the selection: compact selector (text tabs, mono-10 uppercase tracked, active = fg ink + 2pt accent underline) → `PASS N · STATE` status line → sans-11 muted cost line → actions. Transcript + composer always present — chat is not a mode. - **`MonoButton`** (private): the contract's `.btn` — mono-11 / 28pt / radius-6 in three looks: accent solid (Run, Restart), surface + border (Blind Read), accent outline (Cancel — the danger voice). #155 sendButton precedent (hand-drawn fills; borderedProminent carries the system tint). - **Fix-cards row** = the ruled plain mono row — no card, no hairline of its own; a link, not content. - **Crash card / missing-engine card / starting interim** in the `.state-card` voice: terracotta tri (danger = terracotta, no second hue — was orange), serif-14/600 head, sans-12 muted body, Restart solid-accent; starting = mini spinner + mono-11 muted line. ## Deviations - "Blind Read" casing kept over the mock's "Blind read" — the GLOSSARY term is binding vocabulary; the mock's casing is not a ruled value. - The base engine version demoted to the ready-indicator's tooltip (the contract header carries no version; state.json + rail card keep it); the orange drift note intentionally stays visible — a rare advisory shouldn't vanish for chrome purity. ## Verification - `xcodebuild … build` → **BUILD SUCCEEDED** - full test suite → xcresult: **592/592 passed, 0 failed, 0 skipped** (582 at #155 + 10 from the #157 library-search coverage merge) - swiftformat (changed files only) clean; swiftlint: no errors — one tolerated file-length warning (MentorPaneView 475/1000-error, #155's 573-line precedent) - Devlog: `docs/devlog/20261104-issue156-mentor-pane-chrome-editorial-voice_log.md` - **Code is uncommitted on `main` (working tree)** — commit awaits explicit authorization (#155 precedent). Frontier is now empty: the map's destination (merged, lint-clean, shared surface restyled) completes when this working tree lands. [Generated by AI]
Sign in to join this conversation.