42bcfce9bab9ba39b12172e5670c909586ef69f1
CI / ci (push) Canceled after 0s
Measure the writer, not the text. Running Pass 1 or Pass 2 on an unaided draft (origin: writer, First Draft Pass State, post type - lenient defaults, so bare legacy posts qualify) computes four style metrics natively in Swift at the invocation - before the engine sees anything - and stamps stats_captured plus four stats_* values into the piece's frontmatter in place, so the S5.2 trend view is a plain scan of Post.frontmatter. Capture re-fires while still First Draft (latest draft wins); a cancelled pass keeps its capture; ai-origin and advanced pieces never qualify. The capture exposed an erasure class: the existingStamp-to-stamped block rewrite rebuilt frontmatter from three parsed fields, silently dropping everything else. advancePassState and overwrite now update their owned keys in place (stampingFrontmatter, widened internal per its own third-caller trigger; bare posts still normalize through stamped), so captured stats and foreign YAML survive pass completion AND mid-pass editor saves. Both fixes are flip-verified by pins. DraftStats carries the four metrics (burstiness, type-token ratio, sentence-length variation, trigram repetition) as a pure Foundation model - full precision out, %.3f at store time. 16 new pins across DraftStatsTests, PostStoreTests, and PassRunTests; full unit bundle 396/396 (sequential gate; parallel runs flake under external CPU load per the #30 learning). Finish-audit fanout (ponytail/security/ review) ran on the diff: its MEDIUM (overwrite erasure) and the converged deletions landed here. Closes #31
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%