c410c99bf83f0617350c880d6ae78e5841c2f8ec
Five root causes behind Alexander's calibration findings: - Wrap to column: both canvases had a fixed 640pt text container — clipped instead of wrapping when the editor column is narrower (library + mentor open). widthTracksTextView = true now; measure polish can return with calibration. - Tables: TextKit2 stacks NSTextTable rows vertically (each row its own content-width fragment — no grid). The reading canvas forces the TextKit1 bridge (replaceLayoutManager); probe-verified grid + column borders. Read-only canvas — nothing editing-grade lost. - Heading-tail: a chunk like "# Title" followed by body lines (single newline, legal markdown) dropped everything after line one. The heading now renders, then the remaining lines as a soft-joined paragraph. - Stale reload (data-loss vector): ProseTextView seeded from session.loadText (open-time snapshot) — after a reading⇄editing swap the recreated editor showed the pre-paste text, and a keystroke there flushed stale content over the user's real edits. Seeds from session.text (live) now. - Quote one-char-per-line: did not reproduce after the layout fixes; root cause was the broken layout state above. EditorSessionTests debounce flake (50ms margin under parallel load) passed on both re-runs — timing margin, not a regression. Full suite green (94 unit + UI smoke); lint clean.
Museion
The Agentic Writing Environment (AWE): where scholars, texts, and AI minds work under a single roof — named for the Mouseion of Alexandria, the one place in history where they already did.
An Obsidian-and-Copilot-class tool for long-form AI-assisted writing, with Ulysses/Scrivener depth and Paper elegance. Native macOS, built in SwiftUI.
Requirements
- macOS 26.5+ — developed against the latest Xcode (26.x) and Swift (6.3.x); no backward compatibility
- SwiftFormat and SwiftLint for linting (
brew install swiftformat swiftlint)
Getting started
git clone https://git.babylondreams.de/AlexKucera/museion.git
cd museion
open Museion.xcodeproj # develop in Xcode
xcodebuild -project Museion.xcodeproj -scheme Museion -destination 'platform=macOS' build # build
xcodebuild -project Museion.xcodeproj -scheme Museion -destination 'platform=macOS' test # test (unit + UI)
swiftformat . && swiftlint . # lint
Full Xcode project at the repo root — open Museion.xcodeproj and run.
License
GPL-3.0-or-later — see LICENSE.
Description
Museion — the Agentic Writing Environment: the Mouseion of Alexandria was the one place in history where scholars, texts,
and minds worked under a single roof — this tool is the second.
Readme
GPL-3.0
Cite this repository
55 MiB
0 Stars
1 Watchers
0 Forks
Releases
3
Museion 0.1.2
Latest
Languages
Swift
86%
HTML
10.2%
Shell
2.6%
Python
1%
CSS
0.2%