Files
museion/docs/devlog/20261009-issue88-calibration-gate_log.md

3.8 KiB

Session Log — #88 Calibration gate (map #21 close-out)

Date: 2026-10-09 Branch: wayfinder/87-focus-mode @ c126122 (local, unpushed — push awaits authorization) Ticket: #88 — calibration gate of map #21 (closed CALM)

What happened

Gate session on map #21. Setup verified per the pinned protocol: checkout wayfinder/87-focus-mode clean, fresh rebuild + launch, corpus present (the-expected-value-of-showing-up in ~/Documents/Museion/posts/).

Ruling: CALM — Alexander confirmed recession, hover reveal, paneless measure, and (after a fix) centering. Map #21 closed with zero open children (verified by query). Two defects/tickets he filed mid-gate (#89, #90) were fixed in the same sitting.

The typewriter defect (found by the ruling itself)

Alexander reported "typewriter not implemented" while typing at the lower window edge — in plain editing, not focus. Two findings:

  1. The mechanism was focus-gated — working as charted, but he expected it editor-wide. His ruling after feeling it in focus: typewriter goes editor-wide (centering + breathing room in plain editing; revert = restore the focused guard at the two call sites).
  2. It was also genuinely broken in the main writing case: the clamp parks the scroll at documentHeight - visibleHeight, and once parked, targetOffset no-ops every keystroke — typing at the document end (where writing happens) glued the caret to the lower edge forever. The unit tests pinned the math as-intended, which is why it passed. Fix: syncTypewriterInset — half-viewport text-container padding (typewriter breathing room) so the clamp can center the last lines. 34aa88b.

#90 hairlines (9ad71eb)

Exact measures supplied by Alexander: Posts header 52, editor toolbar 40, mentor header 33 → all three at the export's 52px; hairlines read as one line. (My vision pass on his screenshot claimed they aligned — the human's measures were ground truth.)

#89 colors (c2be84e) — the deeper discussion

Ruled architecture, calibrated live in three rounds:

  • Two-color world: chrome #FAF9F3 (sidebars + focus ground, the old family + more cream saturation), ONE page color #FFFEFB shared by edit AND read. The writing pane's three-way jump (white / sidebar-gray in focus / blueish in reading) is dead. Reading's #fbfbfd and the hardcoded NSColor.white sites are gone.
  • Rust caret #C96442 (insertionPointColor) — "fabulous."
  • Reading highlights: cream washes #C4AF8A (not system blue, not rust) at whisper strength — .075 hover / .19 selection, landed after a 3-step live calibration (100% → 50% → 75%).
  • Deliberate departure from the export contract, recorded in DesignTokens and Museion/AGENTS.md.

Close-out

  • #88, #89, #90 resolution comments posted + closed (state verified via GET); map #21 body updated (decision entries, fog cleared, strict-typewriter pinned out of scope) + closed; 0 open children verified by query.
  • DOX pass: Museion/AGENTS.md (focus-mode entry now records the CALM ruling, editor-wide typewriter, #89 color world, #90 hairlines; DesignTokens entry updated).
  • Tests green, lint clean (pre-existing warnings only). One trap dodged: blanket swiftformat . reformatted 13 unrelated files — reverted before staging, ticket paths only.

Lessons

  • A pinned unit suite can pin the wrong intent: the clamp-no-op was the spec'd behavior, and it read as "not implemented" to the only judge who matters. Live calibration on the real corpus is the test that counted.
  • The human's pixel measures beat an AI vision pass on their own screenshot.
  • Mid-gate defect reports are calibration signal, not noise to defer: both #89/#90 were charted, fixed, and calibrated inside the gate session.

[Generated by AI]