docs(home): document iCloud default Home (#172)
CI / ci (push) Canceled after 0s

Amend ADR-0004's Home clause to the confirmed wording: iCloud
Drive/Museion by default for new Homes (resolved dynamically, never
hard-coded), silent ~/Documents/Museion fallback at first run, no-TCC
creation with consent-on-read for pre-existing iCloud files,
repoint-only. Add the "Your Museion Home" section to the README —
default + fallback, the Settings ▸ Content ▸ Museion Home ▸ Choose…
repoint control, manual migration via Finder move, Keep Downloaded
pinning, iCloud substrate quirks (numbered conflict siblings, dataless
files), and companion workflows (Textastic-class editors, iCloud.com,
iCloud for Windows). Append the default-Home sentence to PRD line 14
per the bundle and clear the now-contradicting ~/Documents/Museion
default claims at PRD lines 26 and 192. Facts cite the #168 factsheet
and the #169 resolution; ADR-0009 and the ADR sequence are untouched.

AGENTS.md carries only the gitnexus index-stats refresh (analyze
churn).

Closes #172
This commit is contained in:
AlexKucera committed 2026-11-05 13:18:58 +01:00
1 parent ad021b5267
commit 44978a4d4f
4 files changed
+15 -5

No files matched your search

+3 -3
View File
@@ -11,7 +11,7 @@
- Native SwiftUI macOS app, macOS 26.5+, Swift 6 (ADR-0001)
- GPL-3.0-or-later (ADR-0002)
- Forge: Gitea at git.babylondreams.de (ADR-0003)
- Plain markdown files on disk — no bespoke store. Content is folder-shaped under one Museion Home (ADR-0004): `posts/<post id>/post.md` + `research/` + `assets/` — still plain files, so Obsidian gravity weakens but holds.
- Plain markdown files on disk — no bespoke store. Content is folder-shaped under one Museion Home (ADR-0004): `posts/<post id>/post.md` + `research/` + `assets/` — still plain files, so Obsidian gravity weakens but holds. Default Home: iCloud Drive/Museion (CloudDocs), silent `~/Documents/Museion` fallback at first run (map #167).
- v1 = the Mentor Loop + library-light; long-form structure, multi-mind, Paper-grade polish deferred to v2+
- **Engine (G1, resolved):** Museion is the shell; Hermes (Python, NousResearch, MIT) is the engine, driven over **ACP** — spawned as a child process `hermes acp -p <surface profile>` (stdio JSON-RPC; ADR-0014). **User-installed Hermes** — no app-managed install, no bundled Python. Every launch runs `hermes acp --check` async at app start — nothing blocks; checking and failed states surface in a rail pill.
- **Profile isolation (G3, amended ADR-0014):** Museion runs Hermes under dedicated profiles, **one per LLM surface** — `museion` (Chat + Sessions), `museion-pass1`, `museion-pass2` (`~/.hermes/profiles/<name>/` — isolated config, memory, skills, credentials, chat history). Coding learnings and writing learnings never mix. Surface count not configurable in v1.
@@ -23,7 +23,7 @@
- **Model/provider (amended ADR-0014):** per-surface, edited in-app — Settings writes each profile's `model:` block via `hermes config set` (model, base_url, reasoning_effort) and provider keys into matching profiles' `.env`; reasoning effort is one key with per-provider dropdown vocabularies (zai low/high/max, OpenAI low/medium/high/xhigh/max, Anthropic low/medium/high/xhigh/max — Hermes clamps per route).
- **Publish (G2, resolved):** Micro.blog via Micropub. Media endpoint accepts PNG (also JPEG, GIF, WebP, SVG, JXL — verified) — ink-sketch illustrations upload as-is.
- **Build order:** loop-first — bridge spike (M0) before editor polish; the differentiator (critique memory) lands in M3, not last.
- **Museion Home:** `~/Documents/Museion` by default, editable in Settings; repoint-only — Museion never moves content.
- **Museion Home:** iCloud Drive/Museion (CloudDocs) by default for new Homes — silent `~/Documents/Museion` fallback at first run, pre-iCloud Homes migrate manually (ADR-0004, map #167); editable in Settings; repoint-only — Museion never moves content.
- **Workspace UI design reference (`ref/Web-Prototype/`):** OpenDesign handoff — `museion-workspace.html` is the visual contract for the Mentor Loop workspace (nav rail Posts/Sessions/Learnings/Settings, editor pane, mentor pane with Passes/Chat tabs, fix cards, promote-to-learnings dialog, engine status). Build from its tokens and layout geometry (`DESIGN-HANDOFF.md` + `DESIGN-MANIFEST.json`), not a loose reinterpretation; its web viewport matrix maps to macOS window sizes and pane collapse, not literal breakpoints. Visual contract only — user stories govern behavior and scope; the illustration `ref/` style guides stay author-side and outside app scope (G12).
## Problem
@@ -189,7 +189,7 @@ The mentor's mind ships as markdown skills inside the app, seeded additively int
- **G3a — Provisioning + skill seeding (this session; amended ADR-0014).** User decision: Museion creates the surface profiles if missing and copies its bundled writing skills (Serif stack, shipped as app resources) into each. Seeding is additive-only so it never clobbers the mentor's self-improved skills — a later Museion version adds new skills, never overwrites old ones.
- **G4 — Profile backup (this session).** User decision: Museion keeps timestamped snapshots of the whole `museion` profile — the mentor's memory and improved skills are irreplaceable state, not reinstallable. Defaults: daily on launch, last 7 kept, complete copy including credentials (same-machine threat model), restore manual in v1.
- **Build order → loop-first (this session).** M0 bridge spike before editor polish; differentiator (M3) before conveniences (M5–M6).
- **G5 — Content layout → one Home, lazy post folders (merged from both grill sessions).** Museion Home (`~/Documents/Museion` default, Settings-editable, repoint-only — pi session) with the main session's shape: `posts/<post id>/` holding `post.md`, `research/`, `assets/`, created lazily on first write; post id = slug of the first line at first save; explicit Rename moves the folder; external markdown edits as-is, Import (copy) makes it a Post. New content types copy the shape. ADR-0004.
- **G5 — Content layout → one Home, lazy post folders (merged from both grill sessions).** Museion Home (iCloud Drive/Museion default for new Homes, silent `~/Documents/Museion` fallback at first run — amended per map #167; Settings-editable, repoint-only — pi session) with the main session's shape: `posts/<post id>/` holding `post.md`, `research/`, `assets/`, created lazily on first write; post id = slug of the first line at first save; explicit Rename moves the folder; external markdown edits as-is, Import (copy) makes it a Post. New content types copy the shape. ADR-0004.
- **G6 — Writing tools → in-app Swift MCP server, minimal surface (merged).** Host from the main session (ADR-0008): the binary doubles as `museion-tools`, registered via `hermes mcp add` once the mode exists (#23) — provisioning never writes `mcp_servers` (#44); surface from the pi session: `query_learnings` + `submit_fix_cards` only, typed and quote-anchored (ADR-0006); passes Museion-driven over ACP — the app sends a minimal stub prompt, methodology stays in the skills; stats native in Swift at capture; research engine-native. Model/provider user-managed in the profile config.
- **G7 — Learnings → the Home, per content type (merged).** `<home>/learnings/<type>/`, one markdown file per learning with decay state in frontmatter (main session) — per-writer, portable, Museion-owned, fresh start with no legacy import (pi session; verified nothing to import). The engine owns nothing. ADR-0005.
- **G8 — Decay → output clock (merged).** Resurface after 10 passes of that content type (pi session), doubling per re-dismiss; per-learning `resurface_after` frontmatter override (main session).