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

+27
View File
@@ -0,0 +1,27 @@
# MuseionTests
## Purpose
Unit tests for the Museion application target, hosted in the app process (TEST_HOST).
## Ownership
Owned by the root AGENTS.md contract.
## Local Contracts
- Uses Swift Testing (`@Test`, `#expect`) — not XCTest.
- Imports `@testable import Museion`; app code is default-MainActor, so cross-actor tests need `@MainActor` or nonisolated declarations in app code.
- Deployment target and versions follow the app target; leave `CURRENT_PROJECT_VERSION = 1` here.
## Work Guidance
- Non-trivial logic leaves one runnable check behind: the smallest test that fails if the logic breaks. No fixtures or per-function suites unless asked.
## Verification
- `xcodebuild -project Museion.xcodeproj -scheme Museion -destination 'platform=macOS' -only-testing:MuseionTests test`
## Child DOX Index
- None — flat directory.
+14
View File
@@ -0,0 +1,14 @@
//
// MuseionTests.swift
// MuseionTests
//
// Created by Alexander Kucera on 26.08.26.
//
@testable import Museion
import Testing
@Test func `metadata names the app`() {
#expect(AppMetadata.name == "Museion")
#expect(AppMetadata.tagline == "The Agentic Writing Environment")
}