Wayfinder map: iCloud Home — default, companion, migration #167

Closed
opened 2026-11-05 11:11:42 +01:00 by AlexKucera · 0 comments
Owner

Destination

Museion Homes live in iCloud Drive as a supported product configuration: new Homes default into iCloud (silent ~/Documents/Museion fallback when iCloud is unavailable), existing Homes migrate via a documented manual move + Settings repoint, and the iOS/iPadOS companion shape (Obsidian vault vs any-editor plain files) is picked on research facts. Best-effort v1 robustness. The way is clear when the companion/location decision is locked, the default-Home spec is pinned (ADR/PRD amendments named), and numbered build slices exist as plain tickets that satisfy #145.

Notes

  • Origin: #145 (stays open as the destination's milestone; this map charts the route).
  • Settled at charting — do not re-ask (2026-11-05, two confirm rounds):
    1. Product surface — iCloud Homes are a supported configuration for every user, not an n=1 workflow.
    2. New Homes default into iCloud; existing Homes migrate by documented manual move + repoint — zero mover code; ADR-0004's repoint-only stands (the default flips, the never-moves rule does not).
    3. Best-effort v1 — tolerate eviction/conflict quirks and document them; harden only if it bites.
    4. iCloud unavailable at first run → silent fallback to ~/Documents/Museion.
    5. Supported = docs + existing repoint — no new Settings UI in v1.
    6. If the Obsidian-vault route lands: whole Home = vault (projects/, archive/, learnings/, research/ all visible; nothing hidden).
  • Facts pinned at charting (R1 re-derives whatever bounds its round): Obsidian on iPhone/iPad opens vaults ONLY inside its own container (iCloud Drive/Obsidian = ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/ on macOS); Textastic edits iCloud Drive proper; current Home ~/Documents/Museion (29 MB, 6 pieces, + learnings + archive); 10 Obsidian vaults registered on this machine, most in the Obsidian container; Museion's scan skips hidden files/dirs, so .obsidian/ is structurally tolerated; per #168, eviction on modern macOS = dataless APFS files with real names (rows survive a listing rescan; content reads block-and-materialize in app context, EDEADLK from daemon context; "Keep Downloaded" pins).
  • Skills: gitea-wayfinder for tracker ops; research (R1); SwiftFairy + swift6-concurrency before Swift edits in any build slice.
  • Standing rules: no autonomous commits/pushes — research factsheets land as resolution comments (+ scratch copy); docs/research/ landing rides authorized build commits. Language: English artifacts, English dialogue.

Decisions so far

  • iCloud Home facts — companion visibility, eviction, conflicts, first-run posture: Textastic/Taio CAN edit inside the Obsidian container on iOS (picker-mediated) — both companion aims share that one root; eviction = dataless APFS files with real names (rows survive a listing rescan; content reads block-and-materialize in app context, EDEADLK from daemon context; "Keep Downloaded" pins); iCloud forks numbered conflict siblings, never merges; TCC consent only for reading pre-existing files — creation is promptless; valid local path is com~apple~CloudDocs; facts favor iCloud Drive/Museion (CloudDocs) as product default, Obsidian container as the only Obsidian-mobile-openable alternative. Factsheet: resolution comment + scratch wf145/icloud-home-companions.md.
  • Companion + storage location — Obsidian vault vs iCloud Drive proper: CloudDocs wins — product default iCloud Drive/Museion (universal companion reach, promptless creation); Obsidian app on iPad out of the companion story; owner dogfoods the default (manual move + Settings repoint, Home is not a vault); Obsidian-route sub-questions mooted, Obsidian-compat fog deleted.
  • Default-Home spec — path, fallback, ADR/PRD amendments, migration docs: pin-once at first run with a legacy-Home guard (existing ~/Documents/Museion wins until the manual move); CloudDocs resolved dynamically (unprefixed), exists+isDirectory probe, silent Documents fallback; ADR-0004 amended + PRD line 14 touched, ADR-0009 untouched; graduated plain slices S1 #171, S2 #172, S3 #173 (dogfood gate, closes #145).
  • iOS capture shortcut — create a Museion post, open it in Textastic: recipe pinned — Share-sheet input (bare markdown, line 1 = title) → projects/captured/<yyyy-MM-dd-HHmm>/post.md → Textastic Open File (one-time external folder add; fullPath URL fallback); zero macOS code (tolerant scan + stamp-on-first-save); timestamp ids are never auto-re-slung — Rename… is the sole re-slug path. Execution: #138 (blocked by #173), wired to #145.

Not yet specified

(none — the way to the destination is clear)

Out of scope

  • Native iOS Museion client — PRD stays macOS-only.
  • Engine / profiles / sessions moving into iCloud — they stay local (~/.hermes/…, ~/Library/Application Support/Museion/).
  • Clouds other than iCloud (Dropbox, Syncthing, …).
  • Building an Obsidian plugin — Museion-side file compatibility only.
  • iCloud hardening (eviction-aware library rows, conflict-copy surfacing, offline posture) — behind a revisit trigger: real iPad/iCloud usage bites. Quirks get recorded on #173 (dogfood) and #138 (shortcut round-trip); a fired trigger charts a fresh map, never a resumption of this one.

[Generated by AI]

## Destination Museion Homes live in iCloud Drive as a **supported product configuration**: new Homes default into iCloud (silent `~/Documents/Museion` fallback when iCloud is unavailable), existing Homes migrate via a documented manual move + Settings repoint, and the iOS/iPadOS companion shape (Obsidian vault vs any-editor plain files) is picked on research facts. Best-effort v1 robustness. The way is clear when the companion/location decision is locked, the default-Home spec is pinned (ADR/PRD amendments named), and numbered build slices exist as plain tickets that satisfy #145. ## Notes - Origin: #145 (stays open as the destination's milestone; this map charts the route). - Settled at charting — do not re-ask (2026-11-05, two confirm rounds): 1. **Product surface** — iCloud Homes are a supported configuration for every user, not an n=1 workflow. 2. **New Homes default into iCloud; existing Homes migrate by documented manual move + repoint** — zero mover code; ADR-0004's repoint-only stands (the default flips, the never-moves rule does not). 3. **Best-effort v1** — tolerate eviction/conflict quirks and document them; harden only if it bites. 4. **iCloud unavailable at first run → silent fallback to `~/Documents/Museion`.** 5. **Supported = docs + existing repoint** — no new Settings UI in v1. 6. **If the Obsidian-vault route lands: whole Home = vault** (projects/, archive/, learnings/, research/ all visible; nothing hidden). - Facts pinned at charting (R1 re-derives whatever bounds its round): Obsidian on iPhone/iPad opens vaults ONLY inside its own container (`iCloud Drive/Obsidian` = `~/Library/Mobile Documents/iCloud~md~obsidian/Documents/` on macOS); Textastic edits iCloud Drive proper; current Home `~/Documents/Museion` (29 MB, 6 pieces, + learnings + archive); 10 Obsidian vaults registered on this machine, most in the Obsidian container; Museion's scan skips hidden files/dirs, so `.obsidian/` is structurally tolerated; per #168, eviction on modern macOS = dataless APFS files with real names (rows survive a listing rescan; content reads block-and-materialize in app context, EDEADLK from daemon context; "Keep Downloaded" pins). - Skills: gitea-wayfinder for tracker ops; research (R1); SwiftFairy + swift6-concurrency before Swift edits in any build slice. - Standing rules: no autonomous commits/pushes — research factsheets land as resolution comments (+ scratch copy); `docs/research/` landing rides authorized build commits. Language: English artifacts, English dialogue. ## Decisions so far - [iCloud Home facts — companion visibility, eviction, conflicts, first-run posture](https://git.babylondreams.de/AlexKucera/museion/issues/168): Textastic/Taio CAN edit inside the Obsidian container on iOS (picker-mediated) — both companion aims share that one root; eviction = dataless APFS files with real names (rows survive a listing rescan; content reads block-and-materialize in app context, EDEADLK from daemon context; "Keep Downloaded" pins); iCloud forks numbered conflict siblings, never merges; TCC consent only for reading pre-existing files — creation is promptless; valid local path is `com~apple~CloudDocs`; facts favor `iCloud Drive/Museion` (CloudDocs) as product default, Obsidian container as the only Obsidian-mobile-openable alternative. Factsheet: resolution comment + scratch `wf145/icloud-home-companions.md`. - [Companion + storage location — Obsidian vault vs iCloud Drive proper](https://git.babylondreams.de/AlexKucera/museion/issues/169): CloudDocs wins — product default `iCloud Drive/Museion` (universal companion reach, promptless creation); Obsidian app on iPad out of the companion story; owner dogfoods the default (manual move + Settings repoint, Home is not a vault); Obsidian-route sub-questions mooted, Obsidian-compat fog deleted. - [Default-Home spec — path, fallback, ADR/PRD amendments, migration docs](https://git.babylondreams.de/AlexKucera/museion/issues/170): pin-once at first run with a legacy-Home guard (existing `~/Documents/Museion` wins until the manual move); CloudDocs resolved dynamically (unprefixed), exists+isDirectory probe, silent Documents fallback; ADR-0004 amended + PRD line 14 touched, ADR-0009 untouched; graduated plain slices S1 #171, S2 #172, S3 #173 (dogfood gate, closes #145). - [iOS capture shortcut — create a Museion post, open it in Textastic](https://git.babylondreams.de/AlexKucera/museion/issues/174): recipe pinned — Share-sheet input (bare markdown, line 1 = title) → `projects/captured/<yyyy-MM-dd-HHmm>/post.md` → Textastic Open File (one-time external folder add; fullPath URL fallback); zero macOS code (tolerant scan + stamp-on-first-save); timestamp ids are never auto-re-slung — Rename… is the sole re-slug path. Execution: #138 (blocked by #173), wired to #145. <!-- one line per closed ticket, enough to judge relevance, then zoom the link for the detail the ticket holds --> ## Not yet specified (none — the way to the destination is clear) ## Out of scope - Native iOS Museion client — PRD stays macOS-only. - Engine / profiles / sessions moving into iCloud — they stay local (`~/.hermes/…`, `~/Library/Application Support/Museion/`). - Clouds other than iCloud (Dropbox, Syncthing, …). - Building an Obsidian plugin — Museion-side file compatibility only. - iCloud hardening (eviction-aware library rows, conflict-copy surfacing, offline posture) — behind a revisit trigger: real iPad/iCloud usage bites. Quirks get recorded on #173 (dogfood) and #138 (shortcut round-trip); a fired trigger charts a fresh map, never a resumption of this one. [Generated by AI]
AlexKucera added the wayfinder:mapwayfinder:map labels 2026-11-05 11:11:42 +01:00
Sign in to join this conversation.