feat: scaffold native SwiftUI app project

Establish the Agentic Writing Environment: an Xcode project
(filesystem-synchronized groups) with a minimal SwiftUI app shell
on macOS 26.5+, Swift 6, default MainActor isolation. Unit and UI
smoke tests pass via xcodebuild.

Repo tooling: SwiftFormat/SwiftLint configs, Gitea Actions CI
(dormant until a macOS runner registers), GPL-3.0-or-later
license, CITATION.cff, README, CHANGELOG, and a DOX AGENTS.md
tree with ADRs 0001-0003 (stack, license, forge).
This commit is contained in:
AlexKucera committed 2026-08-26 13:29:25 +02:00
1 parent 641cfc33a3
commit 96babe7c52
25 files changed
+1712

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
# docs
## Purpose
Durable documentation that records decisions, not diary entries.
## Ownership
Owned by the root AGENTS.md contract.
## Local Contracts
- ADRs live in `docs/adr/`, sequentially numbered `NNNNN-slug.md` (currently `0001`–`0003`: stack, license, forge/CI).
- ADR format follows the domain-modeling skill's `ADR-FORMAT.md`: short title + 1–3 sentences; optional Considered Options / Consequences only when they earn their place.
## Work Guidance
- Offer an ADR when a decision is hard to reverse, surprising without context, and a real trade-off. Scope out a new ADR's ceiling when it cuts a corner.
## Verification
- Sequential numbering, no gaps or duplicates.
## Child DOX Index
- None — `adr/` is covered by this doc's contracts.
@@ -0,0 +1,9 @@
# Native SwiftUI macOS app
Museion is a native SwiftUI macOS app, not Electron/Tauri or a native-shell-around-web-editor: the product promise is Paper-grade Mac elegance and deep OS integration, and the maintainer's stack is Swift. Targets macOS 26.5+ on the latest Xcode/Swift toolchain only — older OS and toolchain support is explicitly out of scope. Cost accepted deliberately: no CodeMirror/Lexical/ProseMirror ecosystem — editor features get built on TextKit 2 and SwiftUI from scratch.
## Considered Options
- **Web tech (Tauri/Electron)** — fastest path to Obsidian/Copilot parity, but not a native Mac citizen.
- **Swift + embedded web editor hybrid** — best of both on paper, two toolchains and an IPC seam in practice.
- **Native SwiftUI (chosen)** — highest ceiling for the stated ambition, full control of the editing experience.
@@ -0,0 +1,3 @@
# License: GPL-3.0-or-later
Museion is licensed GPL-3.0-or-later, matching the maintainer's tooling convention. As the sole copyright holder, relicensing later (e.g. for Mac App Store distribution, whose DRM terms are incompatible with GPLv3) remains possible — a consequence worth remembering before accepting external contributions.
+3
View File
@@ -0,0 +1,3 @@
# Forge: Gitea at git.babylondreams.de, CI via Gitea Actions
The repo lives on the maintainer's self-hosted Gitea instance (https://git.babylondreams.de/AlexKucera/museion) alongside his other projects, worked through the `tea` CLI. CI is Gitea Actions — GitHub-Actions-compatible workflow files under `.gitea/workflows/` running `swift build`, `swift test`, SwiftFormat and SwiftLint.