Mentor pane contract render (HTML mock in the two-color world) #154

Closed
opened 2026-11-03 17:08:51 +01:00 by AlexKucera · 1 comment
Owner

Part of #153

Question

What are the locked visual values — colors, type sizes, spacing, card-hierarchy fills — for the restyled mentor pane in the two-color world? Render the full pane as an HTML mock in ref/prototypes/ (wf104 precedent) using only DesignTokens values plus the semantic green dot: header (serif title, ready dot, session chip), pass bar (Pass 1 / Pass 2 selector, PASS · STATE status line, Run / Blind read buttons), transcript (user capsule, serif agent prose, thinking card, inset status box), composer (input, Send / Stop, trailing debug toggle), and streaming liveness. The owner reacts; the adjusted file becomes the contract both build slices implement. Link the mock as the asset.

[Generated by AI]

Part of #153 ## Question What are the locked visual values — colors, type sizes, spacing, card-hierarchy fills — for the restyled mentor pane in the two-color world? Render the full pane as an HTML mock in `ref/prototypes/` (wf104 precedent) using only DesignTokens values plus the semantic green dot: header (serif title, ready dot, session chip), pass bar (Pass 1 / Pass 2 selector, `PASS · STATE` status line, Run / Blind read buttons), transcript (user capsule, serif agent prose, thinking card, inset status box), composer (input, Send / Stop, trailing debug toggle), and streaming liveness. The owner reacts; the adjusted file becomes the contract both build slices implement. Link the mock as the asset. [Generated by AI]
AlexKucera added the wayfinder:prototypewayfinder:prototype labels 2026-11-03 17:09:17 +01:00
AlexKucera added a new dependency 2026-11-03 17:09:19 +01:00
AlexKucera removed the wayfinder:prototype label 2026-11-03 17:09:32 +01:00
AlexKucera self-assigned this 2026-11-03 17:13:11 +01:00
Author
Owner

Resolution — the contract is ruled and landed.

Asset: ref/prototypes/wf154-mentor-pane-prototype.html @ 9b1fa75 on main (428 lines, self-contained; open in a browser — dark panel documents the ruling space, tabs cycle ready/streaming/crashed/no-engine).

Rulings (owner, 2026-11-03)

  • Pane ground = background #FAF9F3 — pane reads chrome like the rail; editor keeps the page color.
  • Card fill = fg-wash 6% (rgba(26,25,22,.06), borderless, radius 10) — owner pick over the recommended page-fill+border: visible recess wins on near-twin whites. Applies to thinking card, inset status box, inset fix row, and (derivation) research-note cards.
  • User capsule = terracotta wash 14% (rgba(201,100,66,.14), fg ink, sans 13/1.5, pads 16/12) @ 85% cap, radius 12/12/2/12 transposed as-is (2pt tail bottom-trailing).
  • Liveness = floating chip above the composer, visible only while streaming (composer row stays flat; Send flips to a terracotta-outlined Stop).
  • Fix-cards row = plain mono row — it opens the palette window; a link, not content.

Locked (map settle + transpose, unchanged by rulings)

Serif 15/1.6 agent prose · thinking = mono-11 toggle + serif-13 muted on the card · chrome labels mono 10 / .08em / uppercase · header 52px serif-15/600 + green dot #36664F + lowercase mono ready + session chip mono 10 · pass bar = text selector (active = 2px accent underline) + PASS N · STATE status line + Run (accent solid) / Blind read (surface+border), mono 11, h 28 · danger = terracotta (no second hue) · turn rhythm 18px, transcript pads 16/18.

Deviations from sources

  • Vivarium treatment: 810pt column → 356pt (85% cap ≈ 275pt); thinking serif 15 → 13 in the narrow column; approval-card and restart-and-resend machinery not carried (out of scope per map); thinMaterial chip approximated in HTML as translucent surface + blur — SwiftUI keeps .thinMaterial.
  • OpenDesign chrome voice: greens rejected → two-color remap; speaker labels rejected (settled at charting); its serif-22 header → the repo's 52px pane-head law.

Folded derivations (veto window closed with the round)

Research-note cards inherit the wash card family · ready engine label stays during streaming (engine state ≠ turn state) · input fill = surface (flips to background only under the un-ruled surface ground).

Bug fixed mid-review: card-fill selectors were descendant chains over same-element state classes — cards never painted; verified fixed via computed styles across all four ground×fill combos, both fix-row voices, and the streaming thinking card.

Build slices: #155 (shared surface) and #156 (pane chrome) implement this file.

[Generated by AI]

**Resolution — the contract is ruled and landed.** Asset: `ref/prototypes/wf154-mentor-pane-prototype.html` @ `9b1fa75` on main (428 lines, self-contained; open in a browser — dark panel documents the ruling space, tabs cycle ready/streaming/crashed/no-engine). ## Rulings (owner, 2026-11-03) - **Pane ground = background `#FAF9F3`** — pane reads chrome like the rail; editor keeps the page color. - **Card fill = fg-wash 6%** (`rgba(26,25,22,.06)`, borderless, radius 10) — owner pick over the recommended page-fill+border: visible recess wins on near-twin whites. Applies to thinking card, inset status box, inset fix row, and (derivation) research-note cards. - **User capsule = terracotta wash 14%** (`rgba(201,100,66,.14)`, fg ink, sans 13/1.5, pads 16/12) **@ 85% cap**, radius 12/12/2/12 transposed as-is (2pt tail bottom-trailing). - **Liveness = floating chip** above the composer, visible only while streaming (composer row stays flat; Send flips to a terracotta-outlined Stop). - **Fix-cards row = plain mono row** — it opens the palette window; a link, not content. ## Locked (map settle + transpose, unchanged by rulings) Serif 15/1.6 agent prose · thinking = mono-11 toggle + serif-13 muted on the card · chrome labels mono 10 / .08em / uppercase · header 52px serif-15/600 + green dot `#36664F` + lowercase mono `ready` + session chip mono 10 · pass bar = text selector (active = 2px accent underline) + `PASS N · STATE` status line + Run (accent solid) / Blind read (surface+border), mono 11, h 28 · danger = terracotta (no second hue) · turn rhythm 18px, transcript pads 16/18. ## Deviations from sources - **Vivarium treatment**: 810pt column → 356pt (85% cap ≈ 275pt); thinking serif 15 → 13 in the narrow column; approval-card and restart-and-resend machinery not carried (out of scope per map); thinMaterial chip approximated in HTML as translucent surface + blur — SwiftUI keeps `.thinMaterial`. - **OpenDesign chrome voice**: greens rejected → two-color remap; speaker labels rejected (settled at charting); its serif-22 header → the repo's 52px pane-head law. ## Folded derivations (veto window closed with the round) Research-note cards inherit the wash card family · `ready` engine label stays during streaming (engine state ≠ turn state) · input fill = surface (flips to background only under the un-ruled surface ground). Bug fixed mid-review: card-fill selectors were descendant chains over same-element state classes — cards never painted; verified fixed via computed styles across all four ground×fill combos, both fix-row voices, and the streaming thinking card. Build slices: #155 (shared surface) and #156 (pane chrome) implement this file. [Generated by AI]
Sign in to join this conversation.