Verdict: substrate decision + ADR-0010 #55

Closed
opened 2026-09-26 11:38:57 +02:00 by AlexKucera · 1 comment
Owner

Part of #16
Blocked by: 52, 53, 54

Question

Verdict and ADR-0010. Side-by-side comparison of the three spikes on the same prose, then the decisions, grilled with Alexander live:

  • Substrate + mode — winner by the agreed tie-breaker: calm > effort > everything else; performance on PERF-3k.md is pass/fail, not a ranking; "already proven in Classis" weighs heavy.
  • Typography stance — variable heading sizes if the winner allows, uniform accepted and recorded if not.
  • Fork-sharing arrangement — default: pin the same fork 0.15.8-helm; revisit only if the spike showed prose styling needs that would destabilize Classis.
  • Reading-toggle renderer — record the stance if mode B won.
  • Anchor story — the proof lives in the winning substrate; if the verdict flips away from the CodeEdit fork, re-prove quote-anchor highlight + stale-anchor alert in the winner before closing.
  • v2 upgrade path — Paper-grade polish stays deferred unless the spike proved mode B cannot reach calm.

Resolution: ADR-0010 drafted per docs/AGENTS.md format (linked as asset), decision gist in the resolution comment. Committing it to main stays outside the map.

[Generated by AI]

Part of #16 Blocked by: 52, 53, 54 ## Question Verdict and ADR-0010. Side-by-side comparison of the three spikes on the same prose, then the decisions, grilled with Alexander live: - **Substrate + mode** — winner by the agreed tie-breaker: calm > effort > everything else; performance on `PERF-3k.md` is pass/fail, not a ranking; "already proven in Classis" weighs heavy. - **Typography stance** — variable heading sizes if the winner allows, uniform accepted and recorded if not. - **Fork-sharing arrangement** — default: pin the same fork `0.15.8-helm`; revisit only if the spike showed prose styling needs that would destabilize Classis. - **Reading-toggle renderer** — record the stance if mode B won. - **Anchor story** — the proof lives in the winning substrate; if the verdict flips away from the CodeEdit fork, re-prove quote-anchor highlight + stale-anchor alert in the winner before closing. - **v2 upgrade path** — Paper-grade polish stays deferred unless the spike proved mode B cannot reach calm. Resolution: ADR-0010 drafted per `docs/AGENTS.md` format (linked as asset), decision gist in the resolution comment. Committing it to main stays outside the map. [Generated by AI]
AlexKucera added the wayfinder:grilling label 2026-09-26 11:39:01 +02:00
AlexKucera added a new dependency 2026-09-26 11:39:03 +02:00
AlexKucera added a new dependency 2026-09-26 11:39:04 +02:00
AlexKucera self-assigned this 2026-10-01 11:23:28 +02:00
Author
Owner

Resolution — verdict session with Alexander (live side-by-side)

Substrate + mode: native NSTextView/TextKit2, mode B — styled source, dimmed syntax, reading toggle; zero third-party editor dependency. Alexander ran all three spikes side by side: "all three work for basic writing. C feels nice, but is limited to blocks. I was not able to create a bullet list, because each bullet becomes its own block." C's interaction ceiling confirmed hands-on (fresh evidence beyond the spike's documented limits); A loses on the top criterion — the substrate cannot reach typographic calm — plus its integration tax (@preconcurrency, sRGB crashes, ghost-doubling). Tie-breaker calm > effort > everything else decides it for B.

Typography stance: variable heading sizes + real paragraph spacing — required, and natively expressible. "That's a must for a proper writing tool." Spike flaws (left-anchored measure, tight first line) are production styling work for #20/#21, not substrate limits.

Fork-sharing: dissolved by the substrate decision. Museion takes no CodeEdit dependency at all; Classis keeps its 0.15.8-helm pin, untouched.

Reading-toggle renderer: block-aware. Blank-line split, per-paragraph inline parse, headings fonted by level; the monolithic single-Text .full dump is the recorded anti-pattern. Both modes share the same line-kind model — one parser, two presentations.

Anchor story: re-proof condition satisfied live in the winner. Spike B proves the exact-range quote highlight (backgroundColor attribute + scrollRangeToVisible, EditorPane.applyAnchor), whitespace-tolerant quote matching, and the stale-anchor alert with the exact web-proto wording — screenshots in spike/textkit2/assets/spikeB-*. PERF-3k: 2.4 ms anchor search, ≤1.1 ms full-doc attribute load.

v2 upgrade path: Paper-grade polish is iterative practice, applied step by step whenever the surface feels short of calm — not a deferred phase, so nothing to un-defer.

ADR-0010 drafted: docs/adr/0010-native-textkit2-prose-editor.md (working tree on spike/editor-presentation, uncommitted — committing to main is Alexander's call, outside the map).

[Generated by AI]

## Resolution — verdict session with Alexander (live side-by-side) **Substrate + mode: native NSTextView/TextKit2, mode B** — styled source, dimmed syntax, reading toggle; zero third-party editor dependency. Alexander ran all three spikes side by side: "all three work for basic writing. C feels nice, but is limited to blocks. I was not able to create a bullet list, because each bullet becomes its own block." C's interaction ceiling confirmed hands-on (fresh evidence beyond the spike's documented limits); A loses on the top criterion — the substrate cannot reach typographic calm — plus its integration tax (@preconcurrency, sRGB crashes, ghost-doubling). Tie-breaker `calm > effort > everything else` decides it for B. **Typography stance: variable heading sizes + real paragraph spacing — required, and natively expressible.** "That's a must for a proper writing tool." Spike flaws (left-anchored measure, tight first line) are production styling work for #20/#21, not substrate limits. **Fork-sharing: dissolved by the substrate decision.** Museion takes no CodeEdit dependency at all; Classis keeps its `0.15.8-helm` pin, untouched. **Reading-toggle renderer: block-aware.** Blank-line split, per-paragraph inline parse, headings fonted by level; the monolithic single-`Text` `.full` dump is the recorded anti-pattern. Both modes share the same line-kind model — one parser, two presentations. **Anchor story: re-proof condition satisfied live in the winner.** Spike B proves the exact-range quote highlight (`backgroundColor` attribute + `scrollRangeToVisible`, `EditorPane.applyAnchor`), whitespace-tolerant quote matching, and the stale-anchor alert with the exact web-proto wording — screenshots in `spike/textkit2/assets/spikeB-*`. PERF-3k: 2.4 ms anchor search, ≤1.1 ms full-doc attribute load. **v2 upgrade path: Paper-grade polish is iterative practice**, applied step by step whenever the surface feels short of calm — not a deferred phase, so nothing to un-defer. **ADR-0010 drafted:** `docs/adr/0010-native-textkit2-prose-editor.md` (working tree on `spike/editor-presentation`, uncommitted — committing to main is Alexander's call, outside the map). [Generated by AI]
Sign in to join this conversation.