1c697440d894a7b63af103ec2c494c5d5258d0f4
CI / ci (push) Canceled after 0s
Profiles S4: passes run on their OWN one-shot engines — `hermes acp -p museion-passN` spawns per pass run and tears down at the verdict, so a model switch costs nothing (the next spawn reads fresh config). The verdict streams into a TRANSIENT unrostered transcript (#129's ruling: one Sessions surface over the chat engine; a rostered pass session would be unresumable by the chat engine). `beginPassSession` died with it — passes never mint sessions; the #28 roster pins flipped to the transient posture. The chat engine stays resident (adopted museion profile): a Chat model change in Settings fires onChatSurfaceWrite after a successful chat-surface write only, wired to requestRestart — re-spawn in place when idle (resuming the pre-restart active session), deferred to turn end while any turn streams (#129). Missing-key posture (#132): refreshPassReadiness reads both pass profiles' providers and their .env keys at pane entry; Run Pass disables naming the provider with an Open Settings link, .unknown never blocks, and the guard refuses before anything touches disk. Finish-audit (ponytail/security/general fanout) applied: the general reviewer's Medium — a session/new/load/fork completing mid-pass stole the active surface and lost the Cancel to the wrong engine — fixed with ONE claimActive gate across the post-await activation writers, pinned deterministically via the fake's loadReplayHold park + a mode-file flip (flip-verified: guard off fails on the steal observables and the misrouted-cancel hang). Also fixed: a spawn-window cancel loss in stopStreaming (keyed on the transient entry, not the late-arriving wire id), and a PRE-EXISTING rescan bug where a stale scan snapshot "vanished" a just-opened piece and killed its session, cancelling the edit debounce — the vanish-kill now re-checks disk and the watched home. Ponytail cut ~59 lines of test duplication; the app target's only force-unwrap is gone. Suite 477 (was 472): EngineLifecycleTests new (own-engine end-to-end, held-pass cancel, idle + deferred restart ordering, readiness, steal pin), +3 Settings hook pins, one duplicate pin deduplicated. swiftformat clean, swiftlint at HEAD baseline. Closes #137
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%