AlexKucera e3195d68fd
CI / ci (push) Canceled after 0s
feat(cold-turkey): pure goal engine (#161)
Wayfinder map #158, Build S1: the pure logic slice the writing
lock consumes — no chrome, no clock of its own.

WritingGoal (words | minutes, one goal per block, fixed at arm)
+ WritingGoalRun: update(text:) takes whole-document text and
netNewWords falls out of the delta (deleting costs — net, not
gross; a big paste counts). now is injected into every call, so
the countdown cannot pause by construction; the minutes deadline
is arm+minutes (inclusive), isMet is live truth, unlatched
(delete below target un-mets — complete on the first true tick),
and progress(now:) is the clamped 0…1 the readout hairline rides.
Word counting goes through the new internal DraftStats.words(in:)
— net-words and first-draft stats share one tokenizer and can
never drift.

Finish-audit fanout: the Int() conversion trap in secondsRemaining
fixed at the seam (isFinite + Double(Int.max).nextDown cap — the
naive cap is itself off-by-one at 2^63; flip-verified pin), two
unpinnable > 0 guards in progress deleted, baselineWords narrowed
to let. Equatable and the ?? armedAt fallback kept deliberately
(S2 consumes the former; removing the latter costs formula
duplication). S2 throttle note landed on #162.

Suite 602/602 (xcresult count), swiftformat + swiftlint clean in
app and test targets. Two traps filed to the swift wiki (bare
@Suite stripped by swiftformat; the Double(Int.max) cap).
2026-11-04 12:50:02 +01:00
2026-10-23 11:13:49 +02:00

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.

License: GPL v3

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.

S
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
Museion 0.1.2
Latest
2026-12-03 16:47:20 +01:00
Languages
Swift 86%
HTML 10.2%
Shell 2.6%
Python 1%
CSS 0.2%