3197b927) into fix/external-watch-compares-unnormalized-text (0.1.0 release wave)
Conflict resolution (keep-both, nothing from either side lost): - CHANGELOG.md: the branch external-watch entry stays under [Unreleased] (unreleased fix, PR #203); the owner 0.1.0 release entries stay in [0.1.0]. - docs/devlog/INDEX.md: union of rows, newest-first — the 2026-12-01 release row above the 2026-11-30 external-watch row. Purity: code dirs carry trunk3197b927hunks verbatim (diff-of-diffs cmp clean); fix code and the branch devlog are byte-identical to reviewed822b1b5.
Museion
The Agentic Writing Environment — a native macOS app where your text, your library, and a resident AI mentor work under one roof. Named for the Mouseion of Alexandria, the one place in history where they already did.
Museion is built for long-form writers who want to get better, not ghostwritten. The mentor critiques, demonstrates, and remembers your recurring weaknesses — and nothing ships without your hand on it. Everything you write is plain markdown in a folder you own.
Features
Writing
- Native prose editor (TextKit 2) with styled markdown source — headings scale, syntax dims, the plain file stays the truth. Autosaves about a second after you stop typing;
⌘Ssaves now. The dot in the toolbar tells the truth: changed, saved, or failed. - Reading mode (
⌘R) renders the piece for reading. Click anywhere to drop back into editing at that spot. - Focus mode (
⌥⌘F) recesses the library, the mentor, and the toolbar; they return on edge hover. - Cold Turkey — a writing lock inside focus mode. Set a goal (net new words, or minutes) and Museion goes into a fullscreen kiosk until you meet it. Quitting asks once. Nothing persists.
- Drop an image into prose: it is copied into the piece's
assets/and a markdown reference lands at the drop point with the alt text selected. - Lists —
Tab/⇧Tabindents and outdents,⌥↑/⌥↓moves the item with its subtree. Nested lists fold behind a gutter chevron. - External files —
⌘Oopens any.mdfile in place as a guest (never converted, never moved).⇧⌘Oimports.mdfiles as posts (copies; the originals stay put). - An edit from outside (Finder, iCloud, another editor) raises a Reload / Keep Local alert — never a silent overwrite. Cursor and scroll position come back on reopen.
Outlines
Outline pieces are plain nested bullets with LogSeq-style keys: ⌘↑ / ⌘↓ fold, Enter splits at the caret, double-click a bullet to zoom into its branch with breadcrumbs back out. Drag blocks to reorder or nest. Convert to Post… turns an outline into prose — verbatim bullets, or a headings ladder. One-way in v1.
Library
- Pieces live under projects and fold into an archive. The library column groups by project and Pass State, with collapse toggles and counts.
- Search across titles and bodies (frontmatter excluded), title matches first.
- Rename (retitles and moves the folder), move to project, archive, restore, trash — all from the row's menu. A folder move flushes pending edits first; a failed write aborts the move with nothing relocated.
- The library mirrors the folder live: a recursive file watcher picks up Finder edits, new pieces, and deletes.
The Mentor
- The mentor is a resident Hermes engine you install yourself, spawned as a child process over ACP under three isolated profiles —
museionfor Chat and Sessions,museion-pass1andmuseion-pass2for the passes. Model, provider, and reasoning effort are set per surface in Settings and written through Hermes' own config rail. z.ai, Anthropic, OpenAI, and Nous Portal are wired up; Test Connection says in plain words what is wrong. - Passes — Pass 1 critiques structure, argument, and flow (paragraph level and up); Pass 2 works at sentence level and below. Each pass streams live and ends in a verdict plus Fix Cards.
- Fix Cards are a first-class surface, never toasts. A mechanical card offers Apply behind a sheet showing the exact edit (anchored quote → replacement) — one card at a time, there is no apply-all. A demonstration card shows one annotated example on your own text and closes Done or Skip. A stale anchor (the text moved) flags the card instead of editing.
- Deslop lint runs natively in Swift at every pass invocation — banned-vocabulary tiers and em-dash density land as cards before the engine even sees the piece. Override the tables with
<Home>/deslop-lint.json. - Learnings — promote a card into a per-writer, per-content-type memory of your recurring weaknesses. Plain markdown files in the Home; every later pass consults them. Dismiss a Learning and it fades, resurfacing after 10 completed passes (doubling on each re-dismiss).
- Sessions — freeform conversations: new, resume, fork, compact, Stop. New Post turns a reply into a piece (stamped
origin: ai, never stats-eligible). A Brainstorm is a session with an opener. - Blind Read — an advisory A/B judgment of the current text against the pass-start snapshot, by a fresh session that never saw the history. Records nothing; you stay the judge.
- Research notes — mid-pass findings arrive as candidate cards with provenance. Keep lands a note in the piece's
research/; Reject vanishes. - Drill offers — two-minute craft drills riding the finding that motivates them. Declined drills vanish; drill output never touches the draft.
- The methodology ships as markdown skills seeded into the profiles (the Serif stack, deslop, pass and session personas, demonstrator doctrine, craft canon, the VOICE payload). Your own skills are never overwritten.
Measuring progress
Running a pass on an unaided first draft captures four style metrics — burstiness, type-token ratio, sentence variation, trigram repetition — before the mentor sees the text. The Trends pane charts them across captures with an honest improving / steady / slipping verdict per metric.
Publishing
Micro.blog via Micropub: Publish ▸ Send as Draft ▸ review on Micro.blog ▸ Publish. The app token lives in your login keychain. Illustrations upload first and ride inline where you placed them; a picture without alt text never ships. The piece on disk never changes.
Rails
- Hardened runtime on; sandbox off (the app spawns your
hermesbinary). - Daily backup of the three Hermes profiles, last seven kept — Help ▸ Open Backup Folder.
- Quit, navigation, and Home changes all pass one departure gate: an unanswered conflict or a failed save blocks the move. Edits are never dropped.
Requirements
- macOS 27 or later (Apple Silicon).
- Hermes engine — needed for Passes and Sessions. The editor, library, outlines, and publishing work without it. Install with
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash(installation guide). - A provider API key for the model the mentor should run on (Settings ▸ Provider Keys).
- A Micro.blog account — only if you publish.
Fonts
Museion's typography is set in Matthew Butterick's typefaces. They are commercial, so the app does not ship them — install them yourself (open each .otf in Font Book):
- Valkyrie OT, the B cut — body text, document titles, the mentor's prose.
- Concourse OT — headings and your side of the conversation.
- Ubuntu Mono Nerd Font — code and syntax dimming (free).
Without them Museion still works: the editor falls back to the system font (SF Pro), Reading mode to Georgia. The spacing is calibrated on the real faces, so install them for the intended look.
Install
Download Museion-<version>.dmg from Releases, open it, drag Museion to Applications.
The app is signed with a Developer ID and notarized with Apple, so it opens like any other app.
Quick start
- First launch picks your Museion Home — the folder everything lives in. Fresh installs get
iCloud Drive/Museionwhen iCloud Drive is on, otherwise~/Documents/Museion. Settings ▸ Content shows the path; repoint any time (Museion never moves files). - Install Hermes (one-liner above). Museion finds it on the next launch, creates the three profiles, and seeds the writing skills — nothing else to set up. The rail pill and the Mentor header show engine state; the status card carries Re-check.
- Add a provider key under Settings ▸ Provider Keys and hit Test Connection.
- Write.
⌘Nfor a new post,⇧⌘Nfor an outline. The first line is the title. - Run a Pass from the Mentor pane. Read the verdict, work the Fix Cards one at a time, promote the patterns worth remembering into Learnings.
- Publish when the piece is yours.
Keyboard shortcuts
| Action | Keys |
|---|---|
| New Post · New Outline · New Project… | ⌘N · ⇧⌘N · ⌥⌘N |
| Open a file as a guest · Import files | ⌘O · ⇧⌘O |
| Save | ⌘S |
| Toggle Reading Mode | ⌘R |
| Toggle Focus Mode | ⌥⌘F |
| Start Cold Turkey… | View menu (inside focus mode) |
| Check Spelling While Typing | Edit menu (off by default) |
| Prose list: indent · outdent · move item | Tab · ⇧Tab · ⌥↑ ⌥↓ |
| Outline: fold · move subtree · select blocks · split | ⌘↑ ⌘↓ · ⌥↑ ⌥↓ · ⇧↑ ⇧↓ · Enter |
| Composer: send · newline | Return · ⇧Return |
Your Museion Home
Everything you write lives in one folder — the Museion Home — as plain markdown you can reach from anywhere.
<Home>/
projects/<project>/<piece-id>/post.md one piece, one folder
assets/ illustrations (drop an image)
research/ kept research notes
cards/ the piece's fix cards
passes/ pass-start snapshots
archive/<project>/<piece-id>/post.md finished work, Finder-visible
learnings/<content-type>/… promoted patterns, one markdown file each
deslop-lint.json optional lint-table override
- Default for new Homes:
iCloud Drive/Museion—~/Library/Mobile Documents/com~apple~CloudDocs/Museion, resolved dynamically. When iCloud Drive is unavailable at first run, Museion silently falls back to~/Documents/Museion— no dialog; the Settings Home field shows the resolved path. An existing~/Documents/MuseionHome is never silently moved — it stays your Home until you migrate it yourself (#169). - Migrating an existing Home: Museion is repoint-only — it never moves content. Move the
Museionfolder in Finder (e.g.~/Documents/Museion→iCloud Drive/Museion), then repoint via Settings ▸ Content ▸ Museion Home ▸ Choose…. - Avoid eviction stalls: right-click the
Museionfolder in Finder and choose Keep Downloaded. Pinning keeps files local, so opening a piece never waits on a download (#168). - iCloud quirks are substrate, not bugs: editing the same file on two devices yields numbered duplicate siblings — iCloud keeps both, it never merges. An evicted file keeps its real name and size, but its first read blocks while the data downloads (#168).
- Companions: Textastic-class editors open and edit pieces in place on iPhone/iPad via the Files app / document picker; iCloud.com and iCloud for Windows reach the Home too (#168, #169).
Development
SwiftUI, Swift 6 (language mode 6, default MainActor isolation), macOS 27+, latest Xcode only — no backward compatibility, no pinned toolchains.
git clone https://git.babylondreams.de/AlexKucera/museion.git
cd museion
open Museion.xcodeproj # develop in Xcode
./scripts/build-and-run.sh # build + launch (⌘R equivalent)
xcodebuild -project Museion.xcodeproj -scheme Museion -destination 'platform=macOS' build
./scripts/full-test.sh start && ./scripts/full-test.sh status # full unit suite (verify rail)
swiftformat . && swiftlint . # lint (brew install swiftformat swiftlint)
./scripts/deploy.sh # Release build → /Applications
./scripts/release.sh # Developer ID-signed, notarized DMG → dist/
AGENTS.md is the binding work contract for agents and humans alike; GLOSSARY.md pins the vocabulary; decisions live in docs/adr/; one session log per task in docs/devlog/.
License
GPL-3.0-or-later — see LICENSE. The bundled reading renderer (apex) and its libyaml are MIT; see Museion/Resources/THIRD-PARTY-NOTICES.md.