feat(home): pin iCloud Home for fresh installs (#171)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
With no stored Home override, launch resolves once and PINS the winner, so the Home never silently moves: a legacy ~/Documents/Museion directory wins (existing Homes migrate manually, never silently), else <CloudDocs>/Museion when iCloud Drive is present (dynamically resolved unprefixed path, plain FileManager — no ubiquity entitlements, ADR-0009), else the silent Documents fallback. Repoint-only stands (ADR-0004), zero mover code. The ladder + probes live in HomeResolution.swift (own file — MuseionApp.swift stays under the lint line cap); init takes an injectable probe/defaults seam, and default constructions under hosted tests take an early return so the runner app's real iCloud state and defaults are never touched. 9 seam-driven tests replace the old default-Home pin; implement + finish-audit reviews landed the legacy-probe dir gate, the non-destructive hosted no-write guard, and the flip-verified CloudDocs spelling pin. Suite 628/628 (xcresult executed count). DOX: Museion/AGENTS.md, MuseionTests/AGENTS.md, GLOSSARY.md; devlog + INDEX + CHANGELOG. Closes #171 Co-Authored-By: Cipher <cipher@hermes.local>
This commit is contained in:
1 parent
c485cfac60
commit
ad021b5267
10 files changed
+282
-34
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ The Agentic Writing Environment: a native macOS app where the writer, the text,
|
||||
### Content
|
||||
|
||||
**Museion Home**:
|
||||
The single root folder holding all Museion-owned content, learnings, and archive (`~/Documents/Museion` by default; repoint-only — Museion never moves content). One home per writer.
|
||||
The single root folder holding all Museion-owned content, learnings, and archive (fresh installs pin `<CloudDocs>/Museion` when iCloud Drive is present, else `~/Documents/Museion`; an existing legacy `~/Documents/Museion` always wins — Homes migrate manually; repoint-only — Museion never moves content). One home per writer.
|
||||
_Avoid_: workspace, vault; calling the whole library "a project"
|
||||
|
||||
**Project**:
|
||||
|
||||
Reference in new issue
Block a user