diff --git a/.impeccable/critique/2026-10-07T10-36-09Z__museion-readingpresenter-swift.md b/.impeccable/critique/2026-10-07T10-36-09Z__museion-readingpresenter-swift.md new file mode 100644 index 0000000..db4fbe5 --- /dev/null +++ b/.impeccable/critique/2026-10-07T10-36-09Z__museion-readingpresenter-swift.md @@ -0,0 +1,17 @@ +--- +target_identity: "file:/Users/alex/Projects/macOS/Museion/Museion/ReadingPresenter.swift" +target_fingerprint: "sha256:069b29ece5302317088ed61e11f7287fc4186844c66d0282a519cd37c346455a" +target_path: /Users/alex/Projects/macOS/Museion/Museion/ReadingPresenter.swift +timestamp: 2026-10-07T10-36-09Z +slug: museion-readingpresenter-swift +closed: true +--- +Calibration ruling (Alexander, live in-app over the landed #76 build, display free): **pipeline calm, surface not-calm.** + +- The Apex/HTML+CSS workflow "works very well" — the pivot chain (#73 → #74 → #75 → #76) is judged settled. No renderer gaps named. +- What breaks the calm: **typography values, spacing, and how constructs like tables and quotes are styled.** +- Directed path: since the reading surface is an HTML page, run the impeccable skill on it — critique first, then the polish pass with the same skill. +- Graduating from fog: polish iteration ticket(s), spec'd from the critique findings (created next). +- Map stays open; the next calibration round re-rules after the polish lands. + +[Generated by AI] diff --git a/.impeccable/critique/2026-10-07T15-20-25Z__museion-readingpresenter-swift.md b/.impeccable/critique/2026-10-07T15-20-25Z__museion-readingpresenter-swift.md new file mode 100644 index 0000000..0cbc5d0 --- /dev/null +++ b/.impeccable/critique/2026-10-07T15-20-25Z__museion-readingpresenter-swift.md @@ -0,0 +1,53 @@ +--- +target: the polished reading surface, re-run +total_score: 16 +max_score: 32 +na_heuristics: 7,10 +p0_count: 1 +p1_count: 3 +target_identity: "file:/Users/alex/Projects/macOS/Museion/Museion/ReadingPresenter.swift" +target_fingerprint: "sha256:84b15df221daec8053edb7f9328d46f34165de334e7e843778372641d5b76c26" +target_path: /Users/alex/Projects/macOS/Museion/Museion/ReadingPresenter.swift +timestamp: 2026-10-07T15-20-25Z +slug: museion-readingpresenter-swift +--- +### Critique #2 — Museion reading surface (post-polish, user-dialed spacing) + +Method: dual-agent (A: design review sa-0-444abc9b · B: detector+CSS audit sa-0-61d0567a) + +| # | Heuristic | Score | Key Issue | +|---|-----------|-------|-----------| +| 1 | Visibility of System Status | 2 | No reading-position signal; hover block-highlight is the only "you are here" | +| 2 | Match System / Real World | 3 | Machine front-matter (pass_state:) leaks into reading as an H2 before the H1 | +| 3 | User Control and Freedom | 2 | Hover image expansion can't be pinned, focused, or dismissed on intent | +| 4 | Consistency and Standards | 2 | Inline ~15px vs block 14px code; h4-h6 identical; table alignment silently discarded | +| 5 | Error Prevention | 1 | Plain click on a link drops into edit mode - reversed convention, no cue | +| 6 | Recognition Rather Than Recall | 2 | Image affordance is a 1.6em sliver, no frame/cursor/hint | +| 7 | Flexibility and Efficiency | n/a | Reading surface; app-level shortcuts exist | +| 8 | Aesthetic and Minimalist Design | 3 | Genuinely calm; docked for stretched gaps and near-invisible rules (user-ruled values) | +| 9 | Error Recovery | 1 | No failure state designed - renderer failure is a blank page | +| 10 | Help and Documentation | n/a | Static prose surface | +| **Total** | | **16/32** | **Acceptable** | + +#### Design Specificity Verdict +LLM: "A literate category-default, not yet an authored surface." Restraint and taste are real (Butterick faces, two-weight rule system, smart typography verified in render) but nothing on the page is Museion-specific; the scholar-critical constructs are exactly the unstyled/unverified ones (no title block, front-matter leaks, footnote styling untested - corpus contains zero footnote constructs). +Detector: clean. 1 advisory (em-dash overuse) firing on authored prose content - false positive for a reading renderer. CSS audit: 17/17 vars defined and used, braces balanced, no dead tokens. ReadingPresenter.swift clean. + +#### Priority Issues +- **[P0] Hover-expand image is a defect**: renders as invisible 1.6em sliver, hover-only (no keyboard path), expands in-flow reflowing the paragraph, figcaption display:none discards alt text. Fix: resting thumbnail with hairline frame + cursor:zoom-in, click/Enter to open pinned overlay, show caption. ($impeccable polish) +- **[P1] Measure runs wide**: 66ch of a narrow-zero serif lands ~75-85 avg chars. Fix: ~58-60ch or 36-38em, verify against real Valkyrie metrics in-app. ($impeccable typeset) +- **[P1] Table alignment silently discarded**: CSS text-align:left overrides apex's align="center" presentation attributes (4 in kitchen-sink). Fix: drop the declaration or add th[align]/td[align] handling. ($impeccable polish) +- **[P1] Link/edit inversion has no visual contract**: ink-colored links, faint underline, plain click = edit mode. Fix: flip default (click opens, intent edits) or distinct resting treatment + first-use hover cue. (product decision, then $impeccable polish) +- **[P2] No title block; front matter leaks**: byline renders as bare paragraph; handoff doc opens hr + pass_state: as H2 before H1; h1:h2 ratio 1.35 under-dominates. Fix: designed deck (muted metadata line, stronger h1), suppress body>hr:first-child, decide where front-matter fields render. ($impeccable polish) + +#### Persona Red Flags +Alex (power user): plain-click-into-edit betrays muscle memory on every link; hover-reflow interrupts reading mid-line; no keyboard path to zoom images. +Sam (a11y): figcaption display:none removes the accessible name path for figures; hover-only image affordance unreachable by keyboard; contrast fine; :focus-visible present. + +#### Minor Observations +No prefers-color-scheme (dark variant ~10 lines, all tokens exist). Code undersized (14px block / 0.88em inline vs 17px body). hr asymmetric (67.5px above / 17px below). Default browser list markers. No text-wrap:pretty / hanging-punctuation. Footnote selectors unverified against apex output. + +#### Questions to Consider +1. If the page is interchangeable with a good web theme, is the reading surface a product or just a viewport? +2. Is the reading temple one you keep leaving by accident - should edit-entry require visible intent? +3. Which single element (footnote craft, small-caps running heads, drop caps) would make this unmistakably Alexander's? diff --git a/Museion/AGENTS.md b/Museion/AGENTS.md index c75ca1a..77b0d15 100644 --- a/Museion/AGENTS.md +++ b/Museion/AGENTS.md @@ -16,6 +16,7 @@ Owned by the root AGENTS.md contract. The `.xcodeproj` uses **filesystem-synchro - App Sandbox is OFF (ADR-0009) — the engine gate spawns the user-installed `hermes` binary and provisioning writes outside any container; hardened runtime stays ON for Developer ID notarization. No `.entitlements` file. - No persistence layer yet — the SwiftData template was stripped; vault-vs-database gets an ADR when the need is real. Exception: the engine gate's `state.json` (see below). - Tabs for indentation; SwiftFormat + SwiftLint must both stay clean. +- App icon: `Assets.xcassets/AppIcon.appiconset` — single-size 1024×1024 PNG (`Museion-Logo_1024.png`); Xcode derives all sizes. The built icns tops out at 256 px entries — that matches Apple's own apps on this macOS; larger sizes come from the catalog. ## Workspace shell (M1, #17 + #18 / S1.1) diff --git a/Museion/Resources/reading.css b/Museion/Resources/reading.css index 4d1dfbe..cad4049 100644 --- a/Museion/Resources/reading.css +++ b/Museion/Resources/reading.css @@ -58,19 +58,21 @@ blockquote { blockquote p { margin: 0; } blockquote blockquote { border-left-width: 1.5px; border-left-color: var(--hairline); padding-left: 16px; } hr { border: none; border-top: 1px solid var(--hairline); margin: calc(var(--head-space-before) * 0.75) 0 0; } -a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; } +a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 3px; } a:hover { text-decoration-color: var(--ink); } +a:hover::after { content: " ✎ " attr(href); font-family: var(--code-face); font-size: 0.72em; color: var(--muted); text-decoration: none; } table { border-collapse: collapse; margin: calc(var(--para-space) * 1.25) 0 0; width: 100%; border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); } th, td { border: none; border-bottom: 1px solid var(--hairline); padding: 7px 12px; text-align: left; } th { font-weight: 600; border-bottom: 1.5px solid var(--rule); } +th[align="center"], td[align="center"] { text-align: center; } +th[align="right"], td[align="right"] { text-align: right; } tr:last-child td { border-bottom: none; } -figure { margin: var(--para-space) 0 0; } -figure img { max-height: 1.6em; transition: max-height .25s ease; vertical-align: middle; } -figure:hover img { max-height: 420px; } -figcaption { display: none; } +figure { margin: calc(var(--para-space) * 1.5) 0 0; } +figure img { display: block; margin: 0 auto; max-height: 340px; max-width: 100%; border: 1px solid var(--hairline); border-radius: 8px; } +figcaption { color: var(--muted); font-size: 0.85em; text-align: center; margin-top: 8px; } section.footnotes { color: var(--muted); } section.footnotes li p { margin: 0; } [data-source-line]:hover { background: rgba(0,122,255,.05); }